@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;
}
.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: auto;
    margin-right: auto;
    padding-top: 40px;
    padding-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
    display: block;
    width: 80%;
    height: 80%;
    max-width: 637px;
    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;

}



footer {
    background-position: center center;
    background-color: #6EA3B0;
}
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%;
  }
}





@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 {
}
