body{
    background-image: url(images/background.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-attachment: fixed;
}

@media only screen and (max-width: 800px){
    body{
        background-image: url(images/sm/background.png);
        background-size: cover;
    }
}

.hidden{
    display: none;
}

a{
    text-decoration: none !important;
}

.title{
    width: 50%;
    position: absolute;
    left: 25%;
    z-index: 1000;
    text-align: center;
    
}

@media only screen and (max-width: 812px){
    .title{
        width: 75%;
        left: 12.5%;
    }
}

@media only screen and (max-width: 545px){
    .title{
        width: 100%;
        left: 0;
    }
}

#projects-title{
    text-align: center;
    color: white;
    font-family: 'Montserrat';
    font-size: 3em;
    font-weight: 700;
    margin-top: 50px;
}

#title-name{
    font-family: 'Merriweather Sans', sans-serif;
    font-size: 3em;
}

#title-desc{
    font-family: 'Montserrat';
}

@media only screen and (max-width: 445px){
    #title-name{
        font-size: 2em;
    }
    #title-desc{
        font-size: 1.5rem;
    }
}

.view-button{
    border: solid white 3px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: white;
    background-color: rgba(255,255,255,.3);
}

.project-button{
    border: solid white 3px;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    color: white;
    background-color: rgba(255,255,255,.3);
    transition: all 200ms ease-in;
    cursor: pointer;
}

.project-button:hover{
    border: solid #255297 3px;
    background-color: #255297;
    -webkit-box-shadow: 0px 0px 8px 3px rgba(255,255,255,1);
    -moz-box-shadow: 0px 0px 8px 3px rgba(255,255,255,1);
    box-shadow: 0px 0px 8px 3px rgba(255,255,255,1);
}

@media only screen and (max-width: 855px){
    .view-button{
        width: 65%;
    }
}

.view-button:hover img{
    transform: rotate(90deg);
}

.view-button-text{
    display: inline;
    font-family: 'Montserrat';
}

.project-button-text2{
    text-align: center;
    font-family: 'Montserrat';
    margin: 10px;
}

.project-title{
    color: white;
    font-size: 3em;
    text-align: center;
}

.project-title-sm{
    font-size: 1.5em;
    text-align: center;
    color: white;
}

.project-hidden{
    opacity: 0;
    transition: all 200ms ease-in;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    flex-direction: column;
}

#arrow{
    height: 25px;
    margin-top: 10px;
    margin-bottom: 10px;
    margin-left: 20px;
    transition: all 200ms ease-in;
}

@media only screen and (max-width: 992px){
    #arrow{
        transform: rotate(90deg);
    }
}

@font-face{
    font-family: Tempus;
    src: url(fonts/TEMPSITC.TTF) format("truetype");
}

.viewport-box{
    position: fixed;
    z-index: 100;
    height: 500px;
    width: 100%;
    top: 0;
    overflow: hidden;
}

.parallax-viewport{
    overflow: hidden;
    position: relative;
    z-index: 100;
}

#l1{
    z-index: 2;
}

#l2{
    z-index: 3;
}

#l3{
    z-index: 4;
}

#l4{
    z-index: 5;
}

#l5{
    z-index: 6;
}

#l6{
    z-index: 7;
}

#l7{
    z-index: 8;
}

#l8{
    z-index: 9;
}

#l9{
    z-index: 10;
}

#l10{
    z-index: 11;
}

#l11{
    z-index: 12;
}

.parallax-img{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
}

.parallax-img-moon{
    position: absolute;
    height: 25%;
    top: 5%;
    right: 5%;
}

.content{
    z-index: 100;
    position: relative;
}

#blue{
    background-color: #255297;
    width: 100%;
    z-index: 99998;
}

#blue-push{
    height: 0px;
}

nav{
    background-color: #255297;
    z-index: 99999;
    min-height: 64px;
}

.navbar{
    padding: 0 !important;
}

.nav-item{
    color: white;
    margin: 0 2em 0 2em;
}

.nav-item a:hover{
    color: gray;
}

.nav-link{
    color: white;
    font-size: 2em;
    font-family: 'Montserrat';
}

.navbar-toggler{
    margin-left: 1em;
    border: unset !important;
}

.about-box{
    width: 100%;
    background-color: rgba(216, 216, 216, .75);
}

#about-title{
    font-family: 'Montserrat';
    color: #595959;
    text-align: center;
    font-size: 36px;
    font-weight: 700;
    margin-top: 50px;
}

#about-img{
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 25px;
    margin-bottom: 25px;
}

#about-text{
    font-family: 'Montserrat';
    color: #595959;
    font-size: 18px;
    line-height: 36px;
    font-weight: 600;
    width: 75%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-bottom: 200px;
}

@media only screen and (max-width: 992px){
    #about-title{
        font-size: 24px;
    }
    #about-img{
        width: 75%;
    }
    #about-text{
        font-size: 14px;
        line-height: 28px;
    }
}

#skills-white-box{
    background-color: #d8d8d8;
    margin-top: -150px;
}

#skills-title{
    text-align: center;
    font-size: 36px;
    margin-top: 50px;
    font-family: 'Montserrat';
    color: #595959;
    font-weight: 700;
}

.skills-box{
    font-family: 'Montserrat';
    color: #595959;
}

.skills-box h3{
    text-align: center;
    margin-top: 25px;
}

.skills-box ul{
    list-style: none;
    padding-inline-start: 0 !important;
}

.skills-box ul li{
    text-align: center;
}

.skill-icon{
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.sh{
    z-index: 99;
    position: absolute;
    padding-left: 2em;
    color: white;
    font-size: 6em;
    font-family: 'Orbitron', sans-serif;
}

.project-img{
    width: 100%;
    position: relative;
    z-index: 100;
    opacity: 0;
    transition: all 500ms ease-in;
}

.project-box{
    height: 100%;
    width: 100%;
    position: absolute;
    z-index: 101;
    transition: all 200ms ease-in;
}

.project-img-animate{
    opacity: 1;
}

.project-box h1{
    display: none;
    width: 100%;
    text-align: center;
    position: relative;
    bottom: 5px;
    z-index: 102;
    color: white;
    font-family: 'Montserrat', sans-serif;
}

@media only screen and (min-width: 992px){
    .project-box:hover{
        background-image: linear-gradient(to bottom, rgba(0,0,0,.85), rgba(0,0,0,1));
    }
    
    .project-box:hover > .project-hidden{
        opacity: 1;
    }
}

.col-proj-img{
    padding: 0;
    margin: 15px 30px 15px 0;
}

@media only screen and (max-width: 992px){
    .col-proj-img{
        margin: 15px;
    }
}

.detail-button{
    width: 100%;
    background-color: white;
    position: absolute;
    z-index: 99;
    bottom: 0;
    height: 50px;
    -webkit-transition: 1s ease-in-out;
    -moz-transition: 1s ease-in-out;
    -o-transition: 1s ease-in-out;
    transition: 1s ease-in-out;
}

#mashify-details{
    background-color: black;
}

.toggle-box h1{
    color: white;
    text-align: center;
}

.toggle-box h2{
    color: white;
    text-align: center;
}

#contact-top-img{
    width: 100%;
}

.contact-box{
    background-color: #255297;
}

#contact-title{
    text-align: center;
    color: white;
}

.form-input{
    display: block;
    width: 50%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px;
    background-color: #1a3d72;
    border: 0;
    color: white;
    min-height: 40px;
}

@media only screen and (max-width: 991px){
    .form-input{
        width: 75%;
    }
}

#contact-submit{
    width: 25%;
    margin-left: auto;
    margin-right: auto;
    display: block;
    margin-top: 20px;
    margin-bottom: 50px;
    background-color: rgba(255,255,255,.3);
    border: solid white 3px;
    color: white;
    font-family: 'Montserrat';
    padding: 5px;
}

@media only screen and (max-width: 792px){
    #contact-submit{
        width: 35%;
    }
}

@media only screen and (max-width: 540px){
    #contact-submit{
        width: 50%;
    }
}

#paper-plane{
    height: 25px;
    margin-top: 5px;
    margin-bottom: 5px;
    margin-left: 20px;
    transition: all 200ms ease-in;
}

#contact-submit:hover #paper-plane{
    animation: fly .5s 1;
}

@keyframes fly{
    49%{ 
        transform: translateX(100%); 
    }
    50%{
        opacity: 0; 
        transform: translateX(-100%); 
    }
    51%{
        opacity: 1;
    }
}

.icon-box{
    width: 75px;
    height: 75px;
    border-radius: 1000px;
    background-color: white;
    margin: 20px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    transition: all 200ms ease-in;
}

.footer-box{
    background-color: #1a3d72;
}

.icon-img{
    width: 50px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    padding-top: 10px;
    transition: all 200ms ease-in;
}

.icon-box:hover .icon-img{
    width: 40px;
    padding-top: 13px;
}

.icon-box:hover{
    border: solid #255297 7px;
}

.divider{
    width: 50%;
    height: 3px;
    margin-left: auto;
    margin-right: auto;
    display: block;
    background-color: white;
}

#footer-text{
    text-align: center;
    color: white;
    font-family: 'Montserrat';
    margin-top: 10px;
    margin-bottom: 50px;
}

#detail-window{
    position: fixed;
    width: 95%;
    left: 2.5%;
    height: 95%;
    top: 2.5%;
    background-color: white;
    z-index: 99999999;
    display: none;
    overflow-y: scroll;
    overflow-x: hidden;
}

#close-button{
    position: fixed;
    right: 4%;
    top: 4%;
    height: 36px;
    z-index: 100000001;
    cursor: pointer;
}

.info-block{
    margin-top: 20px;
}

.mashify-info{
    padding: 20px;
}

#exclamation{
    width: 100%;
    font-size: 128px;
    font-weight: 900;
    color: red;
    text-align: center;
}

#not-found{
    width: 100%;
    font-size: 28px;
    font-weight: 600;
    color: red;
    text-align: center;
}

#study{
    position: absolute;
    top: 10px;
    width: 500px;
    max-width: 90%;
    left: 5%;
    z-index: 9999999999;
    background-color: rgba(216, 216, 216, .75);
    padding: 20px;
}

#study-info{
    color: #255297;
}

.participate{
    text-align: center;
    margin-top: 5px;
}

#participate-button{
    background-color: #255297;
    border-color: #255297;
}

#participate-link div:hover{
    background-color: #2a7fff;
    border-color: #2a7fff;
}

#close-study{
    position: absolute;
    top: 5px;
    right: 5px;
    width: 25px;
}