
:root {
    --black: #121212;
    --primary: #c1c1bd;
    --secondary: #B3B2AE;
    --white: #000000;
    --accent: #505fff;
    --abcwght: 900;


}

.projects-content-box{
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: start;
    justify-content: start;
}
/*

.projects-content-box div{
    border: #505fff 1px solid;
}

*/

.square-bg-rot{
    margin-left: -120px;
    transform: rotate(10deg);
    transform-origin: top left;
    width: 200%;
}

.projects-container{
    display: flex;
    width: 80%;
    flex-direction: column;
    row-gap: 20px;
    margin-left: 20px;
}

.project-page-title{
    display: flex;
    width: 100%;
    height: auto;
    justify-content: space-between;
    align-items: end;
    margin-top: 300px;
    margin-bottom: 40px;
}



.project-title{
    font-size: 100px;
    font-weight: 900;
    letter-spacing: -5px;
    color: var(--white);
    line-height: 1em;
    margin-bottom: -30px;
}

.project-info-box{
    display: flex;
    align-items: start;
    justify-content: start;
    height: 100%;
    width: 60%;
    background-color: var(--primary);
    border: var(--secondary) 2px solid;
    margin-left: 40px;
}

.pinfo-box{
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    height: 100%;
    width: 100%;
    font-family: "Archivo", sans-serif;
}

.project-icons-box{
    display: flex;
    align-items: start;
    justify-content: space-between;
    flex-wrap: 3;
    color: var(--primary);
    font-family: "Archivo", sans-serif;
    line-height: 0.8em;
    font-weight: 300;
    row-gap: 20px;
    column-gap: 20px;
    transition: transform 1.3s cubic-bezier(.12,.6,.53,.97);


}

.project-icons-box-inactive{
    transform: translateX(-20%);
}




.pr-icons-row2{
    transition-delay: 0.2s;
}

.pr-icons-row3{
    transition-delay: 0.4s;
}

.pr-icons-row4{
    transition-delay: 0.6s;
}

.project-icons{
    display: flex;
    align-items: end;
    justify-content: space-between;
    background: url(https://i.pinimg.com/564x/78/67/6b/78676b3555892ec60ebcba9bd67fc5a3.jpg) ;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: 100%;
    aspect-ratio: 16 / 9;
    width: 33%;
    overflow: hidden;
    transition: all 0.7s cubic-bezier(.12,.6,.53,.97);
    padding: 0px;
    filter:grayscale(0);
    text-decoration: none;
    color: var(--primary);

}

/* PROJECT ICONS */

#pr0{
    background-image: url(/assets/thumbnails/thumbnail.jpg);
}


#pr1{
    background-image: url(/assets/thumbnails/nk1.webp);
}

#pr2{
    background-image: url(/assets/thumbnails/36days3.webp);
}

#pr3{
    background-image: url(/assets/thumbnails/imaginefx3.webp);
}

#pr4{
    background-image: url(/assets/thumbnails/unitrei1.webp);
}

#pr5{
    background-image: url(/assets/thumbnails//otis1.webp);
}

#pr6{
    background-image: url(/assets/thumbnails/alont0.webp);
}

#pr7{
    background-image: url(/assets/thumbnails/blender3.webp);
}

#pr8{
    background-image: url(/assets/thumbnails/inv1.webp);
}

#pr9{
    background-image: url(/assets/thumbnails/inspod1.webp);
}

#pr10{
    background-image: url(/assets/thumbnails/spinewave1.webp);
}

#pr11{
    background-image: url(/assets/thumbnails/sketch1.webp);
}

#pr12{
    background-image: url(/assets/thumbnails/acc1.webp);

}    

/* PROJECT ICONS */

.project-icons:hover{
    background-size: 120%;
    filter: grayscale(1);
}

.project-icons div{
    transform: translateY(150%);
    transition: transform 0.2s ease-in-out;
    color: var(--black);
    text-transform: uppercase;
    font-weight: 300;
    font-size: 26px;
    background-color: var(--primary);
    width: 50%;
    padding: 0px 3px 3px 3px;
}

.project-icons > div:nth-child(2){
    text-align: right;
}

.project-icons:hover div{
    transform: translateY(0);
}

.double-vh-screen{
    height: 90vw;
}

.project-info-box{
    display: none;
}


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

    .double-vh-screen{
        height: 110vw;
    }
}

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


    .double-vh-screen{
        height: 120vw;
    }
}

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


    .pinfo-box{
        font-size: 16px;
    }

}

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

    .projects-container{
        row-gap: 5px;
    }

    .project-icons-box{
        column-gap: 5px;
    }

    .project-title{
        font-size: 85px;
        line-height: 1.2em;
    }

    .double-vh-screen{
        height: 130vw;
    }

    .projects-container{
        width: 100%;
        padding: 0px 20px 0px 20px;
        margin-left: 0px;
    }
}

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

    .project-icons{
        aspect-ratio: 1/1;
        background-size: auto 100%;
    }

    .project-icons:hover{
        background-size: auto 120%;
        filter: grayscale(1);
    }

    .project-title{
        font-size: 65px;
        letter-spacing: -4px;
        margin-bottom: -10px;
    }

    .project-page-title{
        flex-direction: column;
        height: auto;
        margin-bottom: 0px;
        margin-top: 140px;
    }

    .project-page-title > div{
        width: 100%;
    }

    .pinfo-box{
        padding: 20px 0px;

    }

    .pinfo-box a{
        color: var(--accent);
        font-weight: 700;
    }

    .double-vh-screen{
        height: 180vw;
    }
    
}

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



    .double-vh-screen{
        height: 180vw;
    }

    .project-icons div{
        transform: translateY(0%);
        font-size: 18px;
        line-height: 0.9em;
        font-weight: 200;
    }
}

@media screen and (max-width: 768px) {
    .project-icons div{
        display: none;
    }

    
}

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


    .double-vh-screen{
        height: 200vw;
    }

    .projects-container{
        width: 100%;
        padding: 0px 5px 0px 5px;
        margin-left: 0px;
    }

    .project-page-title{
        margin-left: -3px;
        font-size: 70px;
    }

    .project-icons div{
        font-size: 15px;

    }

    .project-icons > div:nth-child(2){
        display: none;
    }
    
}

@media screen and (max-width: 465px) {
    .project-title{
        font-size: 60px;
    }
    
}


