@import url('https://fonts.googleapis.com/css?family=Montserrat&display=swap');
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:Montserrat,'Courier New', Courier, monospace, sans-serif;
    /*background:#2b323c;*/
    background-color:#fff;
}

html{
    max-width:1540px;
    margin: 0 auto;
}

/* Header (navigation, etc) */  

header{
    padding-top:4vh;
    padding-bottom:3vh;
   /* background-color:#686e76;*/
   /*background:#2b323c;*/
   background-color:#fff;
   font-weight:bolder;
}

#header-container{
    display:flex;
    flex-direction:row;
}

#name-div{
    width:20%;
}

#nav-div{
    width:80%;
    text-align:right;
}

header h2{
    color:#484848;
    font-size:calc(5px + 1.8vw);
    padding-left:2vw;
}

a{
    text-decoration:none;
}

nav li{
    display:inline;
    font-size:calc(1vw + 5px);
    margin-left:1vw;
    margin-right:1vw;
}

li:hover{
    color:rgb(68, 0, 255);
}

nav a{
    text-decoration: none;
    color:#484848;
}

.socials-icon{
    width:2.1%;
}

/* footer */

footer{
    font-size:calc(5px + .5vw);
    text-align: center;
    margin:10vh auto;
}

#flex-container-1{
    display:flex;
    flex-direction:row;
    flex-wrap:wrap;
    margin-top:5vh;
    margin-bottom:20vh;
}

div #flex-item-1{
    width:auto;
    display:flex;
    flex-direction:column;
    justify-content:center;
    margin-left: auto;
    padding-right: 6vw;
}

div #flex-item-2{
    width:52%;
    justify-content:left;
}

.type-effect{
    width:auto;
    height:auto;
    color:#484848;
    display:flex;
    justify-content: center;
}

.type-effect h1{
    font-size:calc(1px + 2vw);
    font-weight:600;
}

.auto-type{
    color:rgb(68, 0, 255);
}

.hello{
    width:auto;
    height:auto;
    color:#484848;
    text-align: right;
}

.hello h1{
    font-size:calc(1px + 3vw);
}


#flex-container-2{
    height:auto;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    margin-bottom:20vh;
}

.project-title{
    width:50%;
    text-align:center;
}

.project-title h1{
    font-size:calc(5px + 2vw);
    margin:1vw;
}

.project-title h2{
    font-size:calc(10px + .5vw);
    margin:2vw;
    text-align:center;
}

.project-title h3{
    font-size:calc(5px + 1vw);
    margin:1vw;
}

#project-2-details{
    width:50%;
    align-items:right;
}

#flex-container-3{
    height:auto;
    display:flex;
    flex-direction:row;
    justify-content:center;
    align-items:center;
    margin-bottom:20vh;
}

#project-3-details{
    width:50%;
}

@keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

@-webkit-keyframes fadeInUp {
    from {
        transform: translate3d(0,40px,0)
    }

    to {
        transform: translate3d(0,0,0);
        opacity: 1
    }
}

.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
    -webkit-animation-duration: 1s;
    -webkit-animation-fill-mode: both
}

.animatedFadeInUp {
    opacity: 0
}

.fadeInUp {
    opacity: 0;
    animation-name: fadeInUp;
    -webkit-animation-name: fadeInUp;
} 

/* Special Button (it can be used across this whole page!) */

.btn41-43 {
    margin:2vh auto;
    padding: 1.5vh 2.5vw;
    font-weight: 500;
    font-size:calc(5px + .7vw);
    background: transparent;
    outline: none !important;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
  }
  
  .btn-41 {
    border: 2px solid rgb(68, 0, 255);
    border-radius:10px;
    z-index: 1;
    color:rgb(68, 0, 255);
  }
  
  .btn-41:after {
    position: absolute;
    content: "";
    width: 0;
    height: 100%;
    top: 0;
    left: 0;
    direction: rtl;
    z-index: -1;
    background: rgb(68, 0, 255);
    border-radius:5px;
    transition: all 0.3s ease;
  }
  
  .btn-41:hover {
    color:#fff;
  }
  
  .btn-41:hover:after {
    left: auto;
    right: 0;
    width: 100%;
  }
  
  .btn-41:active {
    top: 2px;
  }


 /* Hide Hamburger Icon*/
 #hamnav label, #hamburger{display:none;}
 /* Small Screens */
 @media screen and (max-width:786px){
 /* Break into vertical menu */
 #ham-items{display:block;font-size: calc(2vw + 5px);}
 #ham-items a{
     display:block;
     width:100%;
     box-sizing:border-box;
     border-top:1px solid #fff;
     font-weight:bold;
 }
 /* Show Hamburger Icon */
 #hamnav label{
     display:inline-block;
     color:rgb(68, 0, 255);
     background:#fff;
     font-size:1.6em;
     padding:0 1vw;
 }
 /* Hide/collapse menu items for the default look */
 #ham-items{display:none;}
 #hamnav input:checked ~ #ham-items{display:block;}
 }

 @media only screen and (max-width:786px){
   /* html, body{width:90%;}*/
    header h2{padding-left:0;display:flex;justify-content: center;}
    #name-div{width:40%;}
    #name-div h2{font-size:calc(4px + 3.5vw);align-items: flex-end;}
    #nav-div{width:55%;}
    nav li{font-size: calc(3vw + 10px);}
    ul#ham-items{margin:4vh 0;}
    a{margin:6vh 0;}
    .socials-icon{width:10%;}
    #flex-container-1{flex-direction:column;justify-content: center;align-items: center;margin-top:10vh;height:auto;}
    #flex-item-1{width:100%;}
    div#flex-item-1{padding-left:0;margin:5vh auto;width:100%;padding-right:0;}
    .type-effect{padding-left:0;width:100%;justify-content: center;}
    .type-effect h1{font-size:calc(1px + 3.5vw);}
    .hello{width:100%;margin-left:0;text-align:center;justify-content: center;}
    .hello h1{margin-top:2vh;font-size:calc(1px + 5vw);}
    #flex-container-2{flex-direction:column;justify-content: center;align-items: center;margin-top:30vh;height:auto;}
    div#flex-item-2{display:flex;justify-content: center;width:80%;margin:0 auto;}
    .project-title{margin-top:2vh;width:90%;}
    #project-2-details{width:90%;}
    #flex-container-3{flex-direction:column-reverse;justify-content: center;align-items: center;margin-top:40vh;height:auto;}
    #project-3-details{width:90%;}

    /* button */
    .btn41-43{font-size:calc(1px + 2vw);margin:2vh 13vw;}
 }

 /*@media only screen and (max-width:680px){
   /* html, body{width:80%;}
    #flex-container-1{height:100vh;margin-bottom:10vh;}
    #flex-container-2{margin-top:16vh;height:80vh;}
    #flex-container-3{margin-top:8vh;height:80vh;}
 } */

 @media only screen and (max-width:600px){
   /* html, body{width:100%;}*/
    header{margin-top:0;}
    header h2{margin-top:1vh;}
    div#flex-item-1{width:100%;}
    div#flex-item-2{width:100%;padding-left:0;}
    .hello h1{margin-top:0;font-size:calc(1px + 5vw);}
    div.type-effect{height:6vh;width:100%;padding:0;}
    .type-effect h1{font-size:calc(1px + 4vw);}
    #flex-container-1{height:auto;margin-bottom:10vh;}
    #flex-container-2{margin-top:16vh;height:auto;}
    #flex-container-3{margin-top:8vh;height:auto;}
    .project-title h1{font-size:calc(4vw + 2px);}
    .project-title h2{width:100%;font-size:calc(3vw + 2px);}
    .project-title h3{font-size:calc(3vw + 1.5px);}
    
    /* button */
     .btn41-43{font-size:calc(1px + 3vw);margin:2vh 16vw;}
 }



 @media only screen and (min-width:1540px){

    .type-effect h1{font-size:34px;}
    .hello h1{margin-top:60px;font-size:51px;}
    header h2{font-size:40px;}
    nav li{font-size:25px;}
    .project-title h1{font-size:40px;}
    .project-title h2{font-size:24px;}
    .project-title h3{font-size:28px;}
    
 }
    /* Header (navigation, etc) */  
/*
header{padding-top:30px;padding-bottom:20px;}
#name-div{width:300px;}
#nav-div{width:1240px;}
header h2{font-size:30px;padding-left:30px;}
nav li{font-size:20px;margin:0 18px;}
.socials-icon{width:28px;}

/* footer */
/*
footer{font-size:14px;margin:80px auto;}

/* intro section */
/*
#flex-container-1{margin-top:50px;}
div #flex-item-1{width:750px;}
div #flex-item-2{width:750px;padding-left:10px;}

.type-effect{width:750px;height:150px;padding-left:220px;}
.type-effect h1{font-size:34px;}
.hello{width:600px;height:140px;margin-top:0;margin-left:48px;}
.hello h1{margin-top:60px;font-size:51px;}
 }
 */