:root{
    --color1: #FFF9F3;
    --color2: #f89898;
    --color3: #f89898;
}

html{
    font-size: 16px;
}
body{
    padding: 0;
    margin: 0;
    background-color: var(--color1);
    overflow-x: hidden;
}

*{
    font-family: "Gasoek One", sans-serif;
    font-weight: 400;
    font-style: normal;
}

.noiseLayer{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-image: url(Resources/Rectangle.png);
    z-index: 10000;
    opacity: 4%;
    pointer-events: none;
}
.noiseLayer2{
    width: 100vw;
    height: 100vh;
    position: fixed;
    background-image: url(Resources/Rectangle2.png);
    z-index: 9999;
    opacity: 20%;
}
.navBar{
    width: calc(100vw - 10px);
    position: fixed;
    display: flex;
    align-items: center;
    padding-left: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
    gap: 20px;
    background-color: var(--color1);
    z-index: 1000;
    animation: navBarAni 2s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 2s 1 forwards;
    opacity: 0;
}
@keyframes navBarAni{
    0%{
        transform: translateY(-100px);
        opacity: 0;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
    }

}
.navLink{
    color: var(--color3);
    text-decoration: none;
    font-size: 1.5rem;
    text-shadow: 0px 0px 0px #c96868;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.navLink:hover{
    transform: translateY(-3px);
    text-shadow: 0px 3px 0px #c96868;
}
.heroSection{
    width: 100vw;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 50px;
    height: calc(100vh - 55px);
}
.herosquare{
    width: 80vw;
    height: 60px;
    background-color: var(--color2);
    border-radius: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: heroIntroStage2 2s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 2s 1 forwards;
}
.heroText{
    font-size: 16rem;
    color: var(--color3);
    line-height: 17rem;
    margin: 0;
    animation: introAniTitle 2s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 1 forwards;
}
@keyframes introAniTitle{
    0%{
        opacity: 0;
        transform: scale(1);
        text-shadow: 0px 0px 0px 0px #c96868;
    }
    80%{
        opacity: 1;
        transform: scale(1.1);
        text-shadow: 0px 10px 0px #c96868;
    }
    100%{
        opacity: 1;
        transform: scale(1);
        text-shadow: 0px 0px 0px #c96868;
    }
}
.CTABtn{
    display: block;
    background-color: var(--color2);
    color: #FFFFFF;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 20px;
    font-size: 3rem;
    text-decoration: none;
    box-shadow: 0px 0px 0px 0px #c96868;
    opacity: 0;
    animation: heroIntroStage2 2s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 2s 1 forwards;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.CTABtn:hover{
    transform: translateY(-7px);
    box-shadow: 0px 7px 0px 0px #c96868;
}
@keyframes heroIntroStage2{
    0%{
        opacity: 0;
        scale: 1;
    }
    80%{
        opacity: 1;
        scale: 1.05;
    }
    100%{
        opacity: 1;
        scale: 1;
    }
}
.squiggleHolder{
    width: 1920px;
}
.squiggle{
    width: 100%;
}
.aboutSection{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 2rem;
    background-color: var(--color2);
    padding-bottom: 40px;
    padding-top: 20px;
}
.textSide{
    width: 80vw;
    padding-left: 10px;   
}
.sectionHeader{
    font-size: 4rem;
    width: 100%;
    color: var(--color1);
    opacity: 0;
}
.sectionContents{
    font-size: 2rem;
    color: var(--color1);
    opacity: 0;
}
.imageSide{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 50vw;
    position: relative;
}
.sectionImage{
    width: 30%;
    border-radius: 20px;
    outline: solid 20px var(--color2);
    position: absolute;
    right: 10;
    top:0;
}
.projectSection{
    width: 100%;
    position: relative;
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.caraHolder{
    width: 80vw;
    height: 60vh;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 60px;
}
.arrowHolder{
    height: 60vh;
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
}
.circle{
    background-color: var(--color2);
    opacity: 1;
    width: 50px;
    height: 50px;
    border-radius: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all ease 0.3s;
    box-shadow: 0px 0px 0px 0px #c96868;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.circle:hover{
    cursor: pointer;
    transform: translateY(-7px);
    box-shadow: 0px 7px 0px 0px #c96868;
    opacity: 1;
}
.arrowLeftMask{
    mask-image: url(Resources/chevron-left-svgrepo-com.svg);
    mask-position: center;
    mask-size: cover;
    mask-repeat: no-repeat;
    background-color: var(--color1);
    width: 30px;
    height: 30px;
}
.arrowRightMask{
    mask-image: url(Resources/chevron-right-svgrepo-com.svg);
    mask-position: center;
    mask-size: cover;
    mask-repeat: no-repeat;
    background-color: var(--color1);
    width: 30px;
    height: 30px;
}
.caraDisplay{
    width: calc(100% - 220px);
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.caraHide{
    display: none;
}
.linkHolder{
    display: block;
}
.caraIMG{
    width: 100%;
    border-radius: 20px;
    box-shadow: 4px 8px 0px 0px #c96868;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.caraIMG:hover{
    transform: scale(1.05);
    box-shadow: 8px 12px 0px 0px #c96868;

}
.caraTitle{
    width: fit-content;
    text-align: center;
    font-size: 3rem;
    color: var(--color3);
    line-height: 3rem;
    margin: 0;
    margin-bottom: 20px;
}
.caraItem{
    
    justify-content: center;
    align-items: center;
    flex-direction: column;
}
.caraHolder{
    opacity: 0;
}
.caraShow{
    display: flex;
    animation: caraAni 0.6s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) forwards;
}
@keyframes caraAni {
    0%{
        opacity: 0;
        transform: scale(0);
    }
    100%{
        opacity: 1;
        transform: scale(1);
    }
}
@keyframes caraAniReverse {
    0%{
        opacity: 1;
        transform: scale(1.1);
    }
    100%{
        opacity: 0;
        transform: scale(0);
    }
}
.projectsectionHeader{
    color: var(--color3);
    text-align: left;
    width: 100%;
    font-size: 4rem;
    margin-left: 20vw;
    line-height: 6rem;
    opacity: 0;
}
.respectifulIMG{
    width: 80vw;
    border-radius: 20px;
    margin-top: 20px;
}
.imgCaption{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--color3);
    font-size: 3rem;
}
.ctaBTN2{
    opacity: 0;
    display: block;
    background-color: var(--color2);
    color: var(--color1);
    padding-top: 5px;
    padding-bottom: 5px;
    padding-left: 10px;
    padding-right: 10px;
    border-radius: 20px;
    font-size: 3rem;
    text-decoration: none;
    margin-bottom: 60px;
    margin-top: 80px;
    box-shadow: 0px 0px 0px 0px #c96868;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.ctaBTN2:hover{
    cursor: pointer;
    transform: translateY(-7px);
    box-shadow: 0px 7px 0px 0px #c96868;
}
.projectGrid{
    width: 80vw;
    margin-left: 10vw;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap:20px;
}
.projectCard{
    max-width: 400px;
    min-width: 280px;
    background-color: var(--color2);
    border-radius: 20px;
    display: flex;
    opacity: 1;
    align-items: center;
    flex-direction: column;
    padding:10px;
    text-decoration: none;
    box-shadow: 0px 0px 0px 0px #c96868;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s;
}
.projectCard:hover{
    transform: translateY(-7px);
    box-shadow: 0px 7px 0px 0px #c96868;
}


.projectIMG{
    width: 100%;
    border-radius: 18px;
}
.title{
    width: 100%;
    text-align: left;
    color: var(--color1);
    font-size: 2rem;
}
.description{
    width: 100%;
    text-align: left;
    color: var(--color1);
    font-size: 1.2rem;
    margin-top: 10px;
    letter-spacing: 1px;
}
.titleAniClass{
    animation: sectionTitleAni 1s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s forwards;
}
@keyframes sectionTitleAni {
    0%{
        transform: translateY(0px);
        opacity: 0;
        text-shadow: 0px 0px 0px #c96868;
    }
    70%{
        transform: translateY(-5px);
        opacity: 1;
        text-shadow: 0px 5px 0px #c96868;
    }
    100%{
        transform: translateY(0px);
        opacity: 1;
        text-shadow: 0px 0px 0px #c96868;
    }
}
.caraAniClass{
    animation: caraFadeIN 1s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.5s forwards;
}
.projectHeroText{
    font-size: 10rem;
    color: var(--color3);
    line-height: 11rem;
    margin: 0;
    animation: introAniTitle 2s linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 1 forwards;
}
@keyframes caraFadeIN{
    0%{
        opacity: 0;
        scale: 1;
    }
    70%{
        scale: 1.05;
        opacity: 1;
    }
    100%{
        scale: 1;
        opacity: 1;
    }
}

.imageWaterfall{
    width: 80vw;
    margin-left: 10vw;
    column-count: 3;
}
.imageOuter{
    width: 100%;
    display: flex;
    justify-content: center;

}
.imgElm{
    max-width: 100%;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.3s;
}
.imgElm:hover{
    cursor: pointer;
}
.imageLayer{
    width: 100vw;
    height: 100vh;
    position: fixed;
    z-index: 1002;
    background-color: rgba(0, 0, 0, 0.491);
    backdrop-filter:blur(15px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events:none;
}
.blownImage{
    max-width: 95vw;
    max-height: 95vh;
    box-shadow: 3px 7px 0px 0px #c96868;
    border-radius: 5px;
}
.closeBG{
    width: 52px;
    height: 52px;
    border-radius: 10px;
    background-color: #FFF9F3;
    position: absolute;
    top: 15px;
    left: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all linear(0, 0.402 7.4%, 0.711 15.3%, 0.929 23.7%, 1.008 28.2%, 1.067 33%, 1.099 36.9%, 1.12 41%, 1.13 45.4%, 1.13 50.1%, 1.111 58.5%, 1.019 83.2%, 1.004 91.3%, 1) 0.3s;
    box-shadow: 0px 0px 0px 0px #c96868;
}
.closeBG:hover{
    box-shadow: 0px 7px 0px 0px #c96868;
    transform: translateY(-7px);
    cursor: pointer;
}
.close{
    mask-image:url(Resources/close-svgrepo-com.svg);
    mask-position: center;
    mask-repeat: no-repeat;
    mask-size: cover;
    width: 48px;
    height: 48px;
    background-color: #f89898;
    
}


@media (max-width: 780px) {
    .projectCard{
        width: 250px;
        max-width: 250px;
        min-width: 250px;
    }
    .projectGrid{
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    html{
        font-size: 12px;
    }
}
@media (max-width: 660px) {
    .caraDisplay{
        width: 120%;
        z-index: -1;
    }
    .arrowHolder{
        width: 75px;
    }
    .projectCard{
        width: 200px;
        max-width: 200px;
        min-width: 200px;
    }
    .projectGrid{
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }
    
}
@media (max-width: 600px) {
    html{
        font-size: 10px;
    }
    .caraHolder{
        height: 45vw;
    }
    .arrowHolder{
        height: 45vw;
    }
    .circle{
        width: 40px;
        height: 40px;
    }
    .imageWaterfall{
        column-count: 2;
    }
}
@media (max-width: 540px){
    .projectGrid{
        width: 95vw;
        margin-left: 2.5vw;
    }
    .projectCard{
        margin-left: calc((100% - 220px) / 2);
    }
}
@media (max-width: 480px){
    .projectHeroText{
        font-size: 8rem;
        line-height: 9rem;
    }
}
@media (max-width: 450px){
    .projectGrid{
        width: 95vw;
        margin-left: 2.5vw;
        grid-template-columns: repeat(auto-fit, minmax(95vw, 1fr));
    }
    .projectCard{
        margin-left: calc((100% - (70vw + 20px)) / 2);
        width: 70vw;
        max-width: 70vw;
        min-width: 70vw;
    }
    .heroText{
        font-size: 13rem;
        line-height: 14rem;
    }
    .imageWaterfall{
        column-count: 2;
        width: 90vw;
        margin-left: 5vw;
    }
}
@media (max-width: 450px){
    .projectGrid{
        width: 95vw;
        margin-left: 2.5vw;
        grid-template-columns: repeat(auto-fit, minmax(95vw, 1fr));
    }
    .projectCard{
        margin-left: calc((100% - (70vw + 20px)) / 2);
        width: 70vw;
        max-width: 70vw;
        min-width: 70vw;
    }
    .heroText{
        font-size: 13rem;
        line-height: 14rem;
    }
}
@media (max-width: 390px){
    .projectHeroText{
        font-size: 6rem;
        line-height: 7rem;
    }
    .heroText{
        font-size: 11rem;
        line-height: 12rem;
    }
    .arrowLeftMask{
        width: 25px;
        height: 25px;
    }
    .arrowRightMask{
        width: 25px;
        height: 25px;
    }
}