@charset "utf-8";
body {
   font-family: "rival-sans", sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 14px;
    padding: 0px;
    margin: 0px;
    background-color: #DEE4E6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}
.topnav ul {
    margin: 0px;
    position: 0px;
    list-style-type: none;
    display: flex;
    padding: 0px;
    justify-content: flex-end;
    background-color: #6EA3B0;
}
.topnav a {
    display: block;
    width: 100px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #FFFFFF;
    font-weight: 700;
    text-decoration: none;
}
.subnav a {
    display: block;
    width: 100px;
    height: 50px;
    text-align: center;
    line-height: 50px;
    color: #000000;
    font-weight: 700;
    text-decoration: none;
}
.subnav a:hover {
    color: #6EA3B0;
}
.portfolio {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-wrap: wrap;
}
.portfolioitem {
    width: 200px;
    height: 200px;
    background-color: #DEE4E6;
    margin-top: 17px;
    margin-bottom: 17px;
    overflow-x: hidden;
    overflow-y: hidden;
    position: relative;
    margin-left: 17px;
    margin-right: 17px;
}
.portfolioitem p {
    justify-content: center;
    /* [disabled]position: absolute; */
    text-align: center;
    line-height: 355px;
    /* [disabled]color: #E5DD6E; */
    left: -30px;
    bottom: 46px;
    font-size: 0px;

}
.ppage {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
    display: flex;
    max-width: 785px;
    text-align: center;
    padding-right: 20px;
    padding-left: 20px;
}

.portfolioitem a  {
    text-decoration: none;
    color: #E5DD6E;
    display: block;
    width: 200px;
    height: 200px;
    font-weight: 800;
    font-size: 0pt;
    position: absolute;
    bottom: 1px;
}
.portfolioitem p a:hover {
    font-size: 12pt;
    background-color: rgba(0,0,0,0.10);
    text-shadow: 1px 1px #6EA3B0;
}









.topnav a:hover {
    color: #000000;
    background-color: #E5DD6E;
}
header {
    height: 130px;
    background-image: url(images/header.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    position: relative;
    background-position: center center;
    justify-content: center;
    align-content: center;
}

header h1 {
    font-family: "contralto-medium", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 48pt;
    /* [disabled]position: absolute; */
    margin-left: auto;
    line-height: 48px;
    color: #e5dd6e;
    letter-spacing: 10px;
    margin-right: auto;
    left: auto;
    padding-left: 0px;
    display: block;
}

main {
    margin-left: auto;
    margin-right: auto;
    
}
.mainimg {
    margin-left: 0;
    margin-right: 0;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 0;
    padding-right: 0;
    display: block;
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 340px;
}
.lowersection p {
    margin-left: 30px;
    margin-right: 30px;
    color: #000000;
    display: flex;
    flex-wrap: wrap;
}
.articlep {
    width: 70%;
}
.articleimg {
    justify-content: center;
    margin-left: 37px;
    margin-right: -20px;
    margin-top: 10px;
}
.portraitimg  {
    display: flex;
    margin: 10px;
    flex-wrap: wrap;
    width: 80%;
    height: 80%;
    max-width: 140px;
    max-height: 128px;
}
.lowersection .article {
    flex-wrap: wrap;
    display: flex;
}
.lowersection {
    flex-wrap: wrap;
    display: flex;
    justify-content: center;
    margin-top: 19px;

}
.lowersection.intro {
    width: 80%;
    max-width: 637px;
    margin-left: auto;
    margin-right: auto;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
    gap: 22px;
}
.lowersection.intro .articleimg {
    margin-left: 0;
    margin-right: 0;
    flex-shrink: 0;
}
.lowersection.intro .articlep {
    width: auto;
    flex: 1;
    min-width: 0;
}
.lowersection.intro .portraitimg {
    margin: 0;
}
.lowersection.intro .articlep p,
.lowersection.intro p {
    margin-left: 0;
    margin-right: 0;
}
.hero-link {
    display: block;
    text-decoration: none;
    border: none;
    color: inherit;
    width: 80%;
    max-width: 637px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
    padding-left: 0;
    padding-right: 0;
}

.about-content {
    width: 70%;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    box-sizing: border-box;
}
.about-content .lowersection.intro,
.about-content .lowersection.resume {
    width: 100%;
    max-width: none;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
}
.about-content .lowersection.resume .articlep {
    width: 100%;
}



footer {
    background-position: center center;
    background-color: #6EA3B0;
    margin-top: auto;
}
footer ul {
    padding-top: 12px;
    padding-left: 12px;
    padding-bottom: 12px;
    list-style-type: none;
    display: flex;
    justify-content: center;
}
.socmedia a {
    display: block;
    width: 65px;
    margin-top: 10px;
    margin-right: 10px;
    margin-left: 10px;
    margin-bottom: 10px;
    height: 73px;
}
footer .socmedia {
    padding-right: 5px;
    padding-left: 5px;
    padding-bottom: 5px;
    margin-bottom: 7px;
}

footer p {
    text-align: center;
    color: #FFFFFF;
    font-weight: 700;
    letter-spacing: 1px;
    padding-bottom: 17px;
    margin-top: -8px;
}
.lowersection .socmedia {
    list-style-type: none;
    display: flex;
    margin-left: auto;
    padding: 0px;
    margin-right: auto;
}

.lowersection ul {
    justify-content: center;
}
.lowersection .socmedia {
    background-size: 20%
% auto;
    background-position: 0% 0%;
}




.facebook {
    background-image: url(images/socialmedia/svg/facebook.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -10000px;
}
.twitter {
    background-image: url(images/socialmedia/svg/twitter.svg);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    text-indent: -10000px;
}
.mail {
    background-image: url(images/socialmedia/svg/mail.svg);
    background-position: center center;
    background-size: contain;
    background-repeat: no-repeat;
    text-indent: -10000px;
}
.subnav {
}
.subnav ul {
    margin: 0px;
    position: 0px;
    list-style-type: none;
    padding: 0px;
    display: flex;
    justify-content: center;
}
.portfolioitem img {
    width: 200px;
    height: 200px;
}
main h2  {
    display: flex;
    justify-content: center;
}
.lowersection h2 {
    display: flex;
    justify-content: center;
    margin-top: -5px;
    margin-bottom: 25px;
}


.portfoliop {
    padding-left: 15px;
    padding-right: 15px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 0;
    justify-content: center;
    margin-top: 11px;
    margin-bottom: 11px;
}

/* Create four equal columns that sits next to each other */
.column {
    flex: 25%;
    max-width: 25%;
    padding-top: 0;
    padding-right: 12px;
    padding-left: 12px;
    padding-bottom: 0;
}

.column img {
  margin-top: 8px;
  vertical-align: middle;
  width: 100%;
}
.row img {
    padding-bottom: 12px;
}
section h1 {
    font-weight: bolder;
    text-decoration: underline;
}
.lowersection h1 {
    color: #6EA3B0;
    text-decoration: underline;
}
.articlep p a:hover {
    color: #E5DD6E;
}

.lowersection h2 a {
    color: #000000;
    text-decoration: none;
}
.articlep h2 a:hover {
    color: #6EA3B0;
}
footer .socmedia ul {
    margin-left: auto;
    margin-right: auto;
    justify-content: center;
}
.resumea  {
    color: #6EA3B0;

}










/* Responsive layout - makes a two column-layout instead of four columns */
@media screen and (max-width: 762px) {
  .column {
    flex: 50%;
    max-width: 72%;
  }

}

/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .column {
    flex: 100%;
    max-width: 75%;
    max-height: 75%;
  }
  .lowersection.intro .articlep {
    flex-basis: 100%;
  }
  .lowersection.intro .articleimg {
    margin-right: 0;
  }
}





@media (max-width:630px){
nav ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;

}
header {

}
header h1 {
    text-align: center;
    left: 0px;
    right: 0px;
    top: 190px;
    margin-top: 40px;
    margin-right: 40px;
    margin-left: 40px;
    margin-bottom: 40px;


}	
nav {
}



}

@media (max-width:350px){

header h1 {
    left: 0px;
    right: 0px;
    top: 190px;
    margin-top: 40px;
    margin-right: 40px;
    margin-left: 40px;
    margin-bottom: 40px;
    text-align: center;
	
}
header {
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;	
}
footer ul {
    flex-direction: column;
    justify-content: center;
    align-items: center;
}





}
.mainimg {
}
.facebook {
}

@media (max-width:762px){
header h1 {
    left: 0px;
    right: 0px;
    top: 158px;
    margin-top: 40px;
    margin-right: 40px;
    margin-left: 40px;
    margin-bottom: 40px;
    text-align: center;
}
header {
    height: 150px;
    display: flex;
    justify-content: center;
    align-items: center;
}


}
.topnav {
}
.imgsize {
    width: 50%;
    height: 50%;
}
.ppage {
}
.resume {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
}
.article a {
    color: #6EA3B0;
}
.resumea {
}

/* Phone layout: horizontal nav, fitting title, bio wraps around portrait.
   Placed last so it overrides earlier max-width:762px / 630px / 600px rules.
   Desktop is unchanged. */
@media (max-width: 630px) {
  .topnav ul {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
  }
  .topnav a {
    width: auto;
    min-width: 72px;
    flex: 1 1 72px;
    max-width: 100px;
    box-sizing: border-box;
    padding: 0 6px;
  }
  header {
    height: auto;
    min-height: 72px;
    padding: 12px 8px;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  header h1 {
    font-size: clamp(16px, 6vw, 36px);
    letter-spacing: 0.06em;
    line-height: 1.2;
    margin: 0;
    padding: 0 4px;
    max-width: 100%;
    box-sizing: border-box;
    text-align: center;
    white-space: nowrap;
  }
  .lowersection.intro {
    display: block;
  }
  .about-content {
    width: auto;
    max-width: none;
    margin-left: 16px;
    margin-right: 16px;
  }
  .lowersection.intro .articleimg {
    float: left;
    margin: 0 22px 8px 0;
  }
  .lowersection.intro .articlep {
    flex-basis: auto;
    width: auto;
    display: block;
  }
  .lowersection.intro .articlep p,
  .lowersection.intro p {
    display: block;
    margin-left: 0;
    margin-right: 0;
  }
  .lowersection.intro .portraitimg {
    display: block;
    margin: 0;
  }
  .lowersection.intro::after {
    content: "";
    display: table;
    clear: both;
  }
  .portfolio {
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: flex-start;
    padding: 8px 16px 24px;
    box-sizing: border-box;
  }
  .portfolioitem {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    max-width: 100%;
    height: auto;
    margin: 8px 0;
    margin-left: 0;
    margin-right: 0;
    overflow: visible;
    box-sizing: border-box;
  }
  .portfolioitem img {
    width: 120px;
    height: 120px;
    flex-shrink: 0;
    order: 1;
  }
  .portfolioitem p {
    order: 2;
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.3;
    text-align: center;
    position: static;
    left: auto;
    bottom: auto;
    background-color: #c5d4d8;
  }
  .portfolioitem a,
  .portfolioitem p a {
    position: static;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    min-height: 120px;
    font-size: 16px;
    font-weight: 700;
    color: #000000;
    text-decoration: none;
    text-shadow: none;
    background-color: transparent;
    box-sizing: border-box;
    padding: 12px;
  }
  .portfolioitem p a:hover {
    font-size: 16px;
    background-color: rgba(0, 0, 0, 0.06);
    text-shadow: none;
    color: #000000;
  }
  .portfolioitem:nth-child(even) img {
    order: 2;
  }
  .portfolioitem:nth-child(even) p {
    order: 1;
  }
}

.portrait-trigger {
    display: block;
    text-decoration: none;
    border: none;
    color: inherit;
    cursor: pointer;
    background: none;
    padding: 0;
}
.lightbox {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 10000;
    background-color: rgba(0, 0, 0, 0.85);
    justify-content: center;
    align-items: center;
    padding: 16px;
    box-sizing: border-box;
    cursor: pointer;
}
.lightbox.is-open {
    display: flex;
}
.lightbox img {
    max-width: calc(100vw - 32px);
    max-height: calc(100vh - 32px);
    width: auto;
    height: auto;
    object-fit: contain;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.4);
}
