*, *::before, *::after{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    content: 0;
}
/***heading***/
h1{
    font-family: 'Exo', sans-serif;
    font-weight: 100;
    font-size: 10vmin;
    color: white;
}
h2{
    font-family: 'Exo', sans-serif;
    font-size: 40px;
}
/***sub heading***/
h3{
    font-family: 'Trirong', serif;
    font-size: 30px;
    font-weight:100;
    color: #000000;
}
h4{font-family: 'Trirong', serif;
    font-size: 25px;
}
/***paragraph***/
p.title {
    font-size: 35px;
    color: #ffffff;
}
p{
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
}

ol,ul,li{
    font-family: 'Titillium Web', sans-serif;
    font-weight: 400;
    font-size: 20px;
}



/********* general styles ************/
a{ 
    cursor: pointer;
}

.section {
    width: 100%;
    text-align: center;
}
.container {
    overflow: auto;
    margin:auto;
    width:90%;
    max-width:1170px;
}
.left{
    float:left;
}
.content-text{
    padding: 10px 0;
}

 
.underline{
    height:5px;
    width:150px;
    margin:auto;
    border-radius: 2.5px;
    background-color:#ffffff;
}
@media (max-width: 600px){
    .underline{
        width:80%
    }
}
/**************************************/








/* navigation area */
.navigation{
    position:relative;
    width: 100%;
    height:100px;
    background: #2098d1;
    z-index: +1;
    padding: 20px;
}
.navbar-logo img{
    height: 60px;
}
.menu-image {
        display:none;
    } 
/* navigation dropdown */
.navbar-logo{
    float: left;
    width:80px;
}
.navbar-nav{
    float:right;
    text-align: center;
}
.navbar-nav ul{
    list-style:none;
    display: inline;
    position: relative;
    padding:0;  
}
.navbar-nav ul a{
    text-decoration: none;
    color: white;
}
.navbar-nav ul li{
    list-style:none;
    position:relative;
    display: inline-block;
    width:160px;
    padding: 15px;
    font-family: 'PT Sans', sans-serif;
    font-weight: 400;
    font-size: 20px;

}
.navbar-nav ul li:hover a{
    border-bottom: 2px solid white;
    
}
@media (max-width: 1150px){
    .navigation{
        /*height: 15vmin;
        min-height: 80px;*/
        height: 80px;
        padding: 0px;
    }
    .navbar-logo img{
        /*height: calc(15vmin - 40px);
        min-height: 40px;*/
        position:absolute;
        height: 40px;
        top: 20px;
        left: 20px;
        
    }
    .menu-image {
        display:block;
        position:absolute;
        /*height: calc(15vmin - 40px);
        min-height: 40px;*/
        height: 40px;
        top: 20px;
        right: 20px;
        cursor: pointer;
    } 
    /*.menu-image:hover {
        background-color: #DC9927;
    }*/
    ul.navbar-menu{
        position:absolute;
        top: 80px;
        right: 0;
        background-color: #2098d1;
        display:none;
    }
    ul.navbar-menu li{
        display:block;
        padding: 14px;
        width: 100vw;
        height: 10vmin;
        min-height: 50px;
        text-align: center;
        color: white;
        cursor: pointer;
    }
    ul.navbar-menu li:hover a{
        border-bottom: 2px solid white;
    }
    ul.navbar-menu.show{
        display:block;
    }
    span.dropdown{
        font-size: 4.5vmin;
    }
}
/********************/
/********************/

 


/******header***********/
header {
    width: 100%;
    height: 80vh;
    background-color: #2098d1;
}
.header-title{
    padding: 25vh 0 0 0;
}
/********************/





/*******about me***********/
#about{
    background-color: #ffffff;
    position: relative;
}
.square{
    width:35%;
    height: 35vw;
    display: inline-block;
    background-color: #ffffff;
    position:absolute;
    left: 0;
    top: 0;
}
.rectangle{
    width:63vw;
    display: inline-block;
    padding: 50px 0;
    margin: 0 0 0 35vw;
}
#andy {
    height: 35vw;
}
@media (max-width: 1150px){
    #about{
        position: relative;
    }
    #about.section{
    height: auto;
    }
    #about .left{
        float: none;
    }
    .square{
        position:relative;
        margin-top: 50px;
        width:50vw;
        height:50vw;
    }
    #andy{
        height: 50vw;
        border-radius: 50%;
    }
    .rectangle{
        width: 100%;
        text-align: center;
        margin: auto;
    }
    
}
/***************************/






/*******portfolio***********/
#portfolio{
    cursor: pointer;
}
#portfolio .columns{
    display: inline-block;
    width: 50%;
    height: 25vw; 
}
#exyo {
    position: relative;
    background-color: #FFF4F4;
    overflow: hidden;
}
#exyo img{
    margin: 7.5vw;
    height: 10vw;
}
#morganOpticians{
    position: relative;
    background-color: gray;
    overflow:hidden;
}
#morganOpticians img{
    height: 5vw;
    margin: 10vw;
}
#morganOpticians:hover img, #exyo:hover img{
        /*animation: imageShrink 200s;*/
    transform: scale(0.8);
    transition: ease-out 200ms;
}
/*@keyframes imageShrink {
    0% {
    }
    0.1% {
        animation-timing-function: ease-out; 
        transform: scale(0.9);
    }
    100% {
        transform: scale(0.9);
    }
}*/

.site-details{
    height: 3vw;
    background: black;
    position: absolute;
    width: 100%;
    bottom: -3vw;
    opacity: 0.8;
    text-align: left;
    padding: 0 3vw;
} 

.site-details p{
    line-height: 3vw;
    color: white;
}


/* Hover Section Up */
.hover-up:hover .hover-section, .hover-up:focus .hover-section, .hover-up:active .hover-section {
  -webkit-animation-name: hover-up;
  animation-name: hover-up;
  -webkit-animation-duration: 200s;
  animation-duration: 200s;
  -webkit-animation-timing-function: ease-out;
  animation-timing-function: ease-out;
}

@-webkit-keyframes hover-up {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  } 
  0.1% {
    -webkit-transform: translateY(-3vw);
    transform: translateY(-3vw);
  }
  100% {
    -webkit-transform: translateY(-3vw);
    transform: translateY(-3vw);
  }
}
@keyframes hover-up {
  0% {
    -webkit-transform: translateY(0);
    transform: translateY(0);
  }
  0.1% {
    -webkit-transform: translateY(-3vw);
    transform: translateY(-3vw);
  }
  100% {
    -webkit-transform: translateY(-3vw);
    transform: translateY(-3vw);
  }
}
/***************************/
@media (max-width: 1150px){
    #portfolio{
        height: 100vw;
    }
    #portfolio .columns{
        width: 100%; 
        height: 50vw
    }
    #exyo img{
        margin: 15vw;
        height: 20vw;
    }
    #morganOpticians img{
        height: 10vw;
        margin: 20vw;
    }
    .site-details{
        height: 60px;
        bottom: -60px;
    } 
    .site-details p{
        line-height: 30px;
        color: white;
    }

    /* Hover Section Up */

    @-webkit-keyframes hover-up {
      0.1% {
        -webkit-transform: translateY(-60px);
        transform: translateY(-60px);
      }
      100% {
        -webkit-transform: translateY(-60px);
        transform: translateY(-60px);
      }
    }
    @keyframes hover-up {
      0.1% {
        -webkit-transform: translateY(-60px);
        transform: translateY(-60px);
      }
      100% {
        -webkit-transform: translateY(-60px);
        transform: translateY(-60px);
      }
    }
    /****************************/
}



/****************************/








/********contact me**********/
#contact{
    background-color: white;
    text-align: left;
}
.email{
    color: #2098d1;
}
input {
    width: 100%;
    border-bottom: 1px solid;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px; 
    outline: none;
}
input:focus, input:active {
    border-bottom: 2px solid;
} 
textarea{
    width: 100%;
    height: 20vh;
    border-bottom: 1px solid;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
    outline: none;
}
textarea:focus, textarea:active {
    border-bottom: 2px solid;
} 
button{
    background-color: #2098d1;
    font-family: 'Titillium Web', sans-serif;
    font-size: 20px;
    color: #ffffff;
    border-bottom: 1px solid #2098d1;
    outline: none;
    height: 40px;
    width: 100px;
    position: relative;
    cursor: pointer;
}
/*****************************/
 



 




/* footer area */

.credits{
    height:50px;
    background-color: black;
    padding: 16px 0;
}
.credits p{
    color: white;
    font-size: 15px;
}
.copyright{
    width:29%;
    display: inline-block;
    float:left;
    text-align:left;
}
.built-by{
    width:69%;
    display: inline-block;
    float:right;
    text-align:right;
}
@media (max-width: 1150px){
    .credits{
        height: 150px;
    }
}
/********************/