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

html, body {
    max-width: 100%;
    /* overflow-x: hidden; */
}


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

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

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: -1;
    overflow: hidden;
}

/*---------------------------------Nav Bar------------------------ */
a{
    text-decoration: none;
}

#ToTop{
    position: fixed;
    backdrop-filter: blur(20px);
    background-color: none;
    box-shadow: 
    5px 5px 10px #0000004f,
    -5px -5px 10px rgba(255, 255, 255, 0.541);
    height: 50px;
    width: 50px;
    border-radius: 5vh;
    bottom: 3vh;
    right: 3vw;
    text-align: center;
    transition: 0.2s;
    z-index: 2;
}

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

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

#Hamburger{
    backdrop-filter: blur(20px);
    background-color: none;
    box-shadow: 
    5px 5px 10px #0000004f,
    -5px -5px 10px rgba(255, 255, 255, 0.541);
    height: 50px;
    width: 50px;
    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: 4px;
    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: block;
    align-items: center;
    justify-content: center;
    top: 0;
    /* background-color: red; */
}

header img{
    width:100vw;
    /* background-color: rgb(43, 0, 255); */
    height:80vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    object-fit: cover;
    object-position: left;
}


#intro{
    background-color: white;
    padding-top: 5vh;
    padding-bottom: 3vh;
}

#intro iframe{
    margin: auto;
}

#title-wrapper{
    /* position: absolute; */
    top: 0;
    height: 80vh;
    width: 100%;
    display: inline-flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    font-family: 'Montserrat', sans-serif;
}

.displayVideo{
    width: 100%;
    display: inline-flex;
    align-items: center;
    padding: none;
    margin: auto;
    padding-bottom:  3vh;
}

.displayVideo iframe{
    padding: 0;
    margin: auto;
}

header ul{
    width: 100%;
    padding-bottom:  3vh;
    padding-top: 3vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: 400;
    font-size: 1.5em;
}

header h3{
    text-align: center;
    padding-bottom:1vh;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    font-size: 1.5em;
}

header li{
    text-align: center;
}


#title-wrapper h2{
    font-weight: 500;
}

header h1{
    position: relative;
    top:3px;
    font-family: 'Raleway', sans-serif;
    font-size: 50px;
    color: black;
    font-weight: 700;
}

#info{
    display: none;
    width: 700px;
    height: 15vh;
    margin: auto;
    margin-top: 73vh;
    /* display: flex; */
    justify-content: center;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    box-shadow: 
    5px 5px 10px #00000025,
    -5px -5px 10px #00000025;
    margin-bottom:10vh;
}

#info *{
    /* width: 33%; */
    margin: auto;
}

#info h3{
    padding-bottom: 10px;
    font-size: smaller;
    font-weight: 900;
}

#info p{
    font-size: small;
    font-weight: 500;
}

.button_wrapper{
    display: flex;
    width: 100%;
    align-items: center;
    /* background-color: red; */
}

.button {
    border: none;
    color: rgb(255, 255, 255);
    padding: 20px 60px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: 20px;
    transition: 0.2s;
    border-radius: 10px;
  }

  .button:hover{
    background-color: white;
  }

/* -----------------General---------------- */
img{
    object-fit: cover;
}

.external{
    text-decoration: underline;
}


p{
    width: 80%;
    max-width: 700px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    padding-top: 5vh;
    /* padding-top: 5vh; */
    text-align: justify;
}

section{
    /* display: none; */
    padding: 50px;
}

section h1{
    width: 90%;
    max-width: 1300px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    font-size:xx-large;
    padding-top: 5vh;
}

.imgAndText{
    width: 70%;
    max-width: 900px;
    margin: auto;
    display: flex;
    justify-content: space-between;
    /* background-color: rgb(197, 194, 217); */
    /* padding-bottom: 5vh; */
    padding-top: 5vh;
    font-family: 'Montserrat', sans-serif;
}

.imgAndText > div > div {
    background-color: rgb(255, 255, 255);
    height: auto;
    padding-left: 50px;
    padding-top: 30px;
    padding-bottom: 30px;
    box-shadow: 
    5px 5px 10px #00000025,
    -5px -5px 10px #00000025;
}

.imgAndText > div{
    width: 45%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.imgAndText p{
    padding: 0;
    margin: 0;
    text-align: center;
}

.mobile{
    width: 268px;
    height: 426px;
    background-color: darkgrey;
}

.cardSmall{
    width: 250px;
    height: 250px;
    background-color: darkgrey;
}

.cardMedium{
    width: 400px;
    height: 400px;
    background-color: darkgrey;
}

.keyPoints{
    width: 80%;
    max-width: 1000px;
    display: flex;
    margin: auto;
    padding-top: 5vh;
    justify-content: space-between;
}

.keyPoints div{
    /* background-color: red; */
    /* height: 300px; */
    /* width: 45%; */
    display: flex;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
}

.keyPoints img{
    /* background-color: rgba(0, 0, 0, 0.039); */
    width: 80px;
    height: 80px;
    margin: auto;
    margin-top: 0;
    margin-bottom: 20px;
}

.keyPoints p{
    /* background-color: blue; */
    width: 100%;
    margin-top: 10px;
    font-size: 20px;
    font-weight: 600;
    padding: 0;
    text-align: center;
}

.keyPoints h3{
    width: 100%;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
    font-size: 20px;
    font-family: 'Montserrat', sans-serif;
}

.blockText{
    width: 60%;
    max-width: 500px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    font-size: larger;
    font-weight: 700;
    box-shadow: -4px 0px 0 #000;
    padding-left: 30px;
    margin-top: 5vh;
    margin-bottom: 5vh;
}

.blockText p{
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: left;
}

.paragraph + p{
    padding-top: 2vh;
}

.paragraph{
    width: 80%;
    max-width: 700px;
    margin: auto;
    font-family: 'Montserrat', sans-serif;
    display: flex;
    justify-content: space-between;
    /* margin-top: 3vh; */
    padding-top: 5vh;
}

.paragraph h2{
    text-align: left;
    padding-right: 5%;
}

.paragraph p{
    width: 75%;
    text-align: left;
    padding: 0;
    margin: 0;
}

.showcase{
    width: 70vw;
    margin: auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.gallery2 iframe{
    width: 40vw;
    margin: auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cardLarge{
    width: 40vw;
    margin: auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cardLarge img{
    width: 100%;
    /* height: 50vh; */
    background-color: darkgray;
    margin: auto;
    /* margin-top: 5vh; */
}

.showcase video{
    width: 100%;
    max-height: 50vh;
    background-color: darkgray;
    margin: auto;
}

.gallery2{
    display: flex;
    width: 70%;
    max-width: 900px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    padding-top: 0vh;
    flex-direction: column;
}

.mobile_showcase{
    max-width: 500px;
    width: 80vw;
    margin: auto;
    padding-top: 5vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.mobile_showcase iframe{
    width: 100%;
    height: 1120px;
    /* max-height: 50vh; */
    background-color: darkgray;
    margin: auto;
}

.mobile_showcase img{
    width: 100%;
    /* height: 50vh; */
    background-color: darkgray;
    margin: auto;
}

.showcase img{
    width: 100%;
    /* height: 50vh; */
    background-color: darkgray;
    margin: auto;
    /* margin-top: 5vh; */
}

.caption{
    padding: 0;
    margin: 0;
    width: 100%;
    text-align: center;
    display: inline-block;
    align-items: center;
    padding-top: 20px;
}

.gallery{
    display: flex;
    width: 70%;
    max-width: 900px;
    margin: auto;
    align-items: center;
    justify-content: space-between;
    padding-top: 5vh;
    
}

.gallery div{
    display: flex;
    align-items: center;
    flex-direction: column;
}

.gallery2 div{
    display: flex;
    align-items: center;
    flex-direction: column;
}

/*------------------footer--------------*/
#nextProject_Gap{
    height: 20vh;
    width: 100vw;
    padding: 0;
    margin: 0;
    display: inline-flex;
    align-items: center;
    text-align: center;
    flex-direction: column;
    justify-content: space-around;
    font-family: 'Montserrat', sans-serif;
}

#nextProject_Gap span{
    width: 100vw;
    /* height: 100%; */
    /* opacity: 0; */
    /* background-color:rgb(0, 0, 0); */
}

#nextProject_Gap img{
    height: 260px;
}

#nextProject_Img{
    /* width: 100vw; */
    display: block;
    height: 20vh;
    position: fixed;
    bottom: 0;
    z-index: -2;
    object-fit: cover;
    object-position: left;
}

footer a{
    color: white;
}

footer h1{
    font-family: 'Raleway', sans-serif;
    font-size: 40px;
    font-weight: 400;
}

/*------------------Media Adjustments--------------*/

@media screen and (max-width: 1200px) {

    .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;
        
    }

    #info{
        width: 80vw;
    }

    .imgAndText{
        flex-direction: column;
        width: 100%;
        margin-top: 0;
        padding-bottom: 0;
    }

    .imgAndText .cardMedium{
        margin: auto;
    }

    .imgAndText > div{
        width: 60%;
        margin: auto;
        padding-bottom: 5vh;
    }

    .gallery{
        flex-direction: column;
    }

    .gallery div{
        padding-bottom: 5vh;
    }

    .gallery2 div{
        padding-bottom: 5vh;
    }

    .keyPoints{
        flex-direction: column;
        align-items: center;
    }

    .keyPoints div{
        padding-bottom: 5vh;
    }

    .keyPoints p{
        margin: auto;
    }

    #ToTop{
        bottom: 2vh;
        right: 3vw;
        height: 50px;
        width: 50px;
        background-color:none;
        box-shadow: none;
        backdrop-filter: none;
    }

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


@media screen and (max-width: 550px) {
    #Hamburger{
        top: 3vh;
        right: 3vw;
        height: 50px;
        width: 50px;
        backdrop-filter: none;
        box-shadow: none;
    }

    header span{
        width: 80vw;
    }

    header h1{
        font-size: 30px;
    }

    header h2{
        /* width: 50vw; */
        font-size: 16px;
        font-family: 'Montserrat', sans-serif;
    }

    header h3{
        font-size: 25px;
    }

    header li{
        font-size: 20px;
    }

    .button{
        font-size: 20px;
        padding: 20px 30px;
    }

    .paragraph{
        flex-direction: column;
    }

    .paragraph h2{
        padding-bottom: 30px;
        font-family: 'Montserrat', sans-serif;
    }

    .paragraph p{
        width: 100%;
    }

    .gallery2{
        width: 90%;
    }

    .gallery2 iframe{
        width: 100%;
    }


    section{
        padding: 20px;
    }

    .imgAndText > div{
        width: 100%;
        margin: auto;
        padding-bottom: 5vh;
    }

    .imgAndText p{
        font-size: 4vw;
    }

    .cardMedium{
        width: 300px;
        height: 300px;
        background-color: darkgrey;
    }

    .mobile_showcase iframe{
        height: 600px;
    }

    .showcase{
        width: 90vw;
    }

    .cardLarge{
        width: 90vw;
    }

    footer h1{
        font-size: 20px;
    }

    iframe{
        width: 80vw;
    }
}



