html{
    scroll-behavior: smooth;
    scroll-behavior: calc();
}


/* ---------------------------Shader Styling------------------ */

form{
    display: none;
    background-color: rgba(0, 0, 0, 0.365);
    position:fixed;
    bottom: 0;
    right: 0;
    padding: 10px;
    color: white;
    transition: 0.3s;
    transform: translateY(88%);

}

form h1{
    padding-top: 0px;
    padding-bottom: 10px;
}

form input{
    margin-bottom: 10px;
}

form:hover{
    transition: 0.3s;
    transform: translateY(0px);
    background-color: rgba(0, 0, 0,1);
}

* {
    margin: 0; 
    padding: 0;
}
::-webkit-scrollbar{
    width: 0px;
    background: transparent;
}
body{
    overscroll-behavior: none;
}

canvas {
    width:100vw;
    height:100vh;
    position:fixed;
    top:0;
    left:0;
    z-index: -2;
    overflow: hidden;
}

/*---------------------------------Nav Bar------------------------ */
#ToTop{
    position: fixed;
    backdrop-filter: blur(20px);
    background-color: none;
    box-shadow: 
    5px 5px 10px #1b441b59,
    -5px -5px 10px rgba(245, 255, 240, 0.869);
    height: 70px;
    width: 70px;
    border-radius: 5vh;
    bottom: 3vh;
    right: 3vw;
    text-align: center;
    transition: 0.2s;
    z-index: 1;
}

#ToTop:hover{
    background-color: #ffffffaa;
}

#ToTop h3{
    position: relative;
    top:3px;
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    color: black;
    font-weight: 900;
}

#Hamburger{
    backdrop-filter: blur(20px);
    background-color: none;
    box-shadow: 
    5px 5px 10px #1b441b59,
    -5px -5px 10px rgba(245, 255, 240, 0.869);
    height: 55px;
    width: 55px;
    border-radius: 5vh;
    position: fixed;
    top: 5vh;
    right: 3vw;
    z-index: 3;
    display: flex;
    transition: .25s;
    align-items: center;
    justify-content: space-around;
}

#Hamburger:hover{
    background-color: #ffffff;
}

.hamburger-lines{
    width: 50%;
    height: 45%;
    position: absolute;
    /* top: 0; */
    align-items: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.4s ease-in-out;
}

.hamburger-lines .line{
    display: block;
    background-color:rgb(0, 0, 0);
    width: 120%;
    height: 5px;
    border-radius: 10px;
    z-index: 4;
}

.hamburger-lines .line1{
    transform-origin: 0% 0%;
    transition: transform 0.4s ease-in-out;
    /* transform: rotate(45deg); */
}

.hamburger-lines .line2{
    transition: transform 0.2s ease-in-out;
}

.hamburger-lines .line3{
    transform-origin: 0% 100%;
    transition: transform 0.4s ease-in-out;
    /* transform: rotate(-45deg); */
}

.slide-menu{
    position:fixed;
    width: 100vw;
    height: 50vh;
    background-color: rgba(255, 255, 255, 0.957);
    right: -3vw;
    top: -5vh;
    z-index: -1;
    transition: transform 0.4s ease-in-out;
    transform: translateY(-50vh);
    display: flex;
    font-family: 'Raleway', sans-serif;
    color: black;
    font-weight: 400;
}

.slide-menu a{
    color: black;
    transition: 0.2s;
}

.slide-menu a:hover{
    color: rgb(190, 190, 190);
}

.slide-menu h1{
    font-size: 20px;
    color: rgb(190, 190, 190);
    font-weight: 400;
}

.slide-menu h2{
    font-size: 24px;
    padding-top: 20px;
    font-weight: 400;
}

.menu-sig{
    box-sizing: border-box;
    padding-top: 6vh;
    height: 100%;
    width: 50%;
    padding-left: 5vw;
    font-size: 36px;
}

.menu-sig h1{
    font-size: 30px;
    color: black;
}

.menu-sig h2{
    font-size: 24px;
    font-weight: 400;
    color: black;
    padding-top: 0;
}

.menu-info{
    box-sizing: border-box;
    padding-top: 6vh;
    height: 100%;
    width: 25%;
}
.menu-proj{
    box-sizing: border-box;
    padding-top: 6vh;
    height: 100%;
    width: 25%;
}



#Hamburger input{
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 5;
    -webkit-appearance: none;
	-webkit-tap-highlight-color: transparent;
	position: relative;
	border: 0;
	outline: 0;
	cursor: pointer;
    opacity: 50%;
}

#Hamburger input:checked ~ .hamburger-lines{
    transform: translateX(26%) scaleX(120%) scaleY(130%);
}

#Hamburger input:checked ~ .hamburger-lines .line1{
    transform: rotate(42deg);
}

#Hamburger input:checked ~ .hamburger-lines .line2{
    transform: scaleY(0);
}

#Hamburger input:checked ~ .hamburger-lines .line3{
    transform: rotate(-42deg);
}

#Hamburger input:checked ~ .slide-menu{
    transform: translateY(0vh);
}


/* ---------------------------Header------------------ */
header{
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 90vh;
}

header div{
    transform: translate(0,5vh);
}


header h1{
    text-align: center;
    font-size: 8vh;
    font-family: 'Raleway', sans-serif;

}

header h2{
    text-align: center;
    font-size: 2vh;
    font-family: 'Raleway', sans-serif;
    padding: 30px;
}

/* --------------------------------Project List--------------------- */
a{
    text-decoration: none;
}

#Projects{
    box-sizing: border-box;
    width: 100vw;
    padding: 10vw;
    padding-top: 0;
    margin: auto;
    display: flex;
    align-items: center;
    flex-direction: column;
    padding-bottom: 0px;
}

.Project_Preview{
    width: 95vw;
    max-width: 1300px;
    height: 600px;
    background-color: rgba(37, 37, 37, 0.112);
    margin-bottom: 2vw;
    background-size: cover;
    background-position: center;
    
}

.background_fade{
    background-color:rgba(0, 0, 0, 0.583);
    opacity: 0;
    width: 100%;
    height: 100%;
    transition: 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.background_fade:hover{
    opacity: 100%;
}

.background_fade div{
    width: 70%;
    color: #f3fdee;
    font-family: 'Raleway', sans-serif;
    text-align: left;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}


.Project_Preview span{
}

.Project_Preview h1{
    font-size: 60px;
    /* color: red; */
}

.Project_Preview h2{
    font-size: 2vh;
    opacity: 70%;
    padding-bottom: 10px;
    font-weight: 400;
    font-style: italic;
}

.Project_Preview p{
    font-size: 2em;
}

@media screen and (max-width: 1830px) {
    #Menu{
        display: none;
    }

    /* #Hamburger{
        display: flex;
    } */
}

@media screen and (max-width: 1530px) {
    #ToTop{
        box-shadow: none;
        background-color: rgba(217, 241, 217, 0.385);
    }
    
    .Project_Preview h1{
        font-size: 60px;
    }

    /* #Hamburger{
        box-shadow: none;
        background-color: rgba(217, 241, 217, 0.385);
    } */
}

@media screen and (max-width: 1200px) {
    .Project_Preview{
        height: 500px;
    }

    

    .slide-menu{
        transform: translateY(-100vh);
        flex-direction: column;
        height: 100vh;
        background-color: white;
    }

    .menu-sig{
        width: 100%;
        height: auto;
    }

    .menu-info{
        width: 100%;
        text-align: center;
        padding-top: 7vh;
        height: auto;
    }

    .menu-proj{
        padding-top: 7vh;
        width: 100%;
        text-align: center;
        
    }
}

@media screen and (max-width: 950px) {
    .background_fade{
        opacity: 100%;
    }
}

@media screen and (max-width: 800px) {
    .Project_Preview{
        height: 400px;
    }

    .text_wrapper{
        width: 80%;
    }

    .Project_Preview span{
        top: 0;
        transform: translateY(0px);
    }

    .Project_Preview h1{
        padding-top: 60px;
        font-size: 40px;
    }

    .Project_Preview p{
        font-size: 1.3em;
    }



}

@media screen and (max-width: 550px) {
    .Project_Preview{
        height: 300px;
    }

    .Project_Preview span{
        position: relative;
    }

    .Project_Preview h1{
        font-size: 30px;
    }

    .Project_Preview h2{
        font-size: 12px;
    }

    .Project_Preview p{
        display: none;   
    }

    #Hamburger{
        bottom: 2vh;
        right: 3vw;
        height: 50px;
        width: 50px;
    }

    #ToTop{
        bottom: 2vh;
        right: 3vw;
        height: 50px;
        width: 50px;
    }

    #ToTop h3{
        top:0px;
        font-size: 30px;
    }
}

/* ------------------------------------Footer----------------------------- */
footer{
    height: 5vh;
    display: flex;
    margin: auto;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-family: 'Inter', sans-serif;
    font-weight: 300;
    font-size: 20px;
}


