* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
.logo{
    img{
        width: 100px;
    }
}



input[type='radio'], input[type='checkbox'] {
    position: absolute;
    opacity: 0;
    user-focus: unset;
    overflow-scrolling: unset;
}




#l1:checked ~ header .btn-lang-en{
    display: none;
}

#l1:checked ~ header .btn-lang-ch{
    display: flex;
}
#l2:checked ~ header .btn-lang-en{
    display: flex;
}

#l2:checked ~ header .btn-lang-ch{
    display: none;
}

.nav-mobile{
    transition: all .3s ease-in-out;
    flex-wrap: nowrap;

}

.nav-mobile{
    display: flex;
    overflow: hidden;
    flex-direction: column;
    height: 0;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: 0;
    z-index: 9;
    background: white;
    inset: 0;
    margin: 0;
}

.ham {
    width: 40px;
    height: 40px;
    background-image: url("../media/icon_menu.svg");
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 99;
}


.full-label {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    inset: 0;
}

header {
    position: sticky;
    top: 0;
    z-index: 9;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(15px);
}


.ham{
    display: flex;
}


#mobile-nav:checked ~ header .nav-mobile{
    height: 100vh;
}

#mobile-nav:checked ~ header .ham{
    background-image: url("../media/icon_close.svg");

}




.dot{
    width: 20px;
    height: 20px;
    border: 1px solid black;
    border-radius: 50%;
}

.hero {
    img{
        width: 100vw;
        height: 100vh;
        filter: brightness(.5);
    }
}


.filter-item {
    display: none;
}

.nav a{
    color: black !important;
}
.nav{
    perspective: 1000px;
    transform-style: preserve-3d;
}

.nav a{
    transition: all .3s ease-in-out;
}

.nav a:hover {
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.58) !important;
    transform: translateZ(20px) rotate(5deg);
}


#filter-All:checked ~ .container-fluid .filter-item-All{
    display: flex !important;
}
#filter-All:checked ~ .container-fluid .filter-All{
    background: black;
    color: white;
}

#filter-2020s:checked ~ .container-fluid .filter-item-2020s{
    display: flex !important;
}
#filter-2020s:checked ~ .container-fluid .filter-2020s{
    background: black;
    color: white;
}

#filter-2010s:checked ~ .container-fluid .filter-item-2010s{
    display: flex !important;
}
#filter-2010s:checked ~ .container-fluid .filter-2010s{
    background: black;
    color: white;
}

#filter-2010:checked ~ .container-fluid .filter-item-2010{
    display: flex !important;
}
#filter-2010:checked ~ .container-fluid .filter-2010{
    background: black;
    color: white;
}

#filter-Modern:checked ~ .container-fluid .filter-item-Modern{
    display: flex !important;
}
#filter-Modern:checked ~ .container-fluid .filter-Modern{
    background: black;
    color: white;
}

#filter-Classic:checked ~ .container-fluid .filter-item-Classic{
    display: flex !important;
}
#filter-Classic:checked ~ .container-fluid .filter-Classic{
    background: black;
    color: white;
}


#project-1-a:checked ~ .container-fluid .btn-project-1-a{
    background: black;
    color: white;
}
#project-1-b:checked ~ .container-fluid .btn-project-1-b{
    background: black;
    color: white;
}
#project-1-c:checked ~ .container-fluid .btn-project-1-c{
    background: black;
    color: white;
}


#project-1-a:checked ~ .container-fluid .project-1-a-item{
    display: flex !important;
}
#project-1-b:checked ~ .container-fluid .project-1-b-item{
    display: flex !important;
}
#project-1-c:checked ~ .container-fluid .project-1-c-item{
    display: flex !important;
}




#project-2-a:checked ~ .container-fluid .btn-project-2-a{
    background: black;
    color: white;
}
#project-2-b:checked ~ .container-fluid .btn-project-2-b{
    background: black;
    color: white;
}
#project-2-c:checked ~ .container-fluid .btn-project-2-c{
    background: black;
    color: white;
}


#project-2-a:checked ~ .container-fluid .project-2-a-item{
    display: flex !important;
}
#project-2-b:checked ~ .container-fluid .project-2-b-item{
    display: flex !important;
}
#project-2-c:checked ~ .container-fluid .project-2-c-item{
    display: flex !important;
}


#project-3-a:checked ~ .container-fluid .btn-project-3-a{
    background: black;
    color: white;
}
#project-3-b:checked ~ .container-fluid .btn-project-3-b{
    background: black;
    color: white;
}
#project-3-c:checked ~ .container-fluid .btn-project-3-c{
    background: black;
    color: white;
}


#project-3-a:checked ~ .container-fluid .project-3-a-item{
    display: flex !important;
}
#project-3-b:checked ~ .container-fluid .project-3-b-item{
    display: flex !important;
}
#project-3-c:checked ~ .container-fluid .project-3-c-item{
    display: flex !important;
}


.project-item{
    display: none;
}


.bs-modal {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.67);
    backdrop-filter: blur(5px);
    justify-content: center;
    align-items: center;
    display: none;
    z-index: 999;

    img{
        width: 50vw;
    }

    label{
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: 99;
    }
}


#img-1:checked ~ .modal-img-1{
    display: flex;
 }
#img-2:checked ~ .modal-img-2{
    display: flex;
}
#img-3:checked ~ .modal-img-3{
    display: flex;
}
#img-4:checked ~ .modal-img-4{
    display: flex;
}
#img-5:checked ~ .modal-img-5{
    display: flex;
}
#img-6:checked ~ .modal-img-6{
    display: flex;
}
#img-7:checked ~ .modal-img-7{
    display: flex;
}
#img-8:checked ~ .modal-img-8{
    display: flex;
}
#img-9:checked ~ .modal-img-9{
    display: flex;
}
#img-10:checked ~ .modal-img-10{
    display: flex;
}
#img-11:checked ~ .modal-img-11{
    display: flex;
}


.mobile-wrapper{
    scroll-snap-type: x mandatory;

    .card{
        flex: 0 0 100% !important;
        scroll-snap-align: center;
    }
}





#project-mobile-1-a:checked ~ .container-fluid .btn-project-mobile-1-a{
    background: black;
    color: white;
}
#project-mobile-1-b:checked ~ .container-fluid .btn-project-mobile-1-b{
    background: black;
    color: white;
}
#project-mobile-1-c:checked ~ .container-fluid .btn-project-mobile-1-c{
    background: black;
    color: white;
}


#project-mobile-1-a:checked ~ .container-fluid .project-mobile-1-a-item{
    display: flex !important;
}
#project-mobile-1-b:checked ~ .container-fluid .project-mobile-1-b-item{
    display: flex !important;
}
#project-mobile-1-c:checked ~ .container-fluid .project-mobile-1-c-item{
    display: flex !important;
}




#project-mobile-2-a:checked ~ .container-fluid .btn-project-mobile-2-a{
    background: black;
    color: white;
}
#project-mobile-2-b:checked ~ .container-fluid .btn-project-mobile-2-b{
    background: black;
    color: white;
}
#project-mobile-2-c:checked ~ .container-fluid .btn-project-mobile-2-c{
    background: black;
    color: white;
}


#project-mobile-2-a:checked ~ .container-fluid .project-mobile-2-a-item{
    display: flex !important;
}
#project-mobile-2-b:checked ~ .container-fluid .project-mobile-2-b-item{
    display: flex !important;
}
#project-mobile-2-c:checked ~ .container-fluid .project-mobile-2-c-item{
    display: flex !important;
}


#project-mobile-3-a:checked ~ .container-fluid .btn-project-mobile-3-a{
    background: black;
    color: white;
}
#project-mobile-3-b:checked ~ .container-fluid .btn-project-mobile-3-b{
    background: black;
    color: white;
}
#project-mobile-3-c:checked ~ .container-fluid .btn-project-mobile-3-c{
    background: black;
    color: white;
}


#project-mobile-3-a:checked ~ .container-fluid .project-mobile-3-a-item{
    display: flex !important;
}
#project-mobile-3-b:checked ~ .container-fluid .project-mobile-3-b-item{
    display: flex !important;
}
#project-mobile-3-c:checked ~ .container-fluid .project-mobile-3-c-item{
    display: flex !important;
}


.project-mobile-item{
    display: none;
}




.mobile-wrapper {
    overflow: hidden !important;
    position: relative;
    width: 100%;
    height: 600px;

}

.mobile-wrapper .card{
    position: absolute;
    left: -100%;
    width: 100%;
    opacity: 0;
}

#project-mobile-1:checked ~ .container-fluid .project-mobile-1-card{
   animation: in .3s ease-in-out forwards;
    opacity: 1;
}



#project-mobile-1:checked ~ .container-fluid .project-mobile-3-card{
    animation: out .3s ease-in-out forwards;
    opacity: 1;
}

#project-mobile-1:checked ~ .container-fluid .project-mobile-2-card{
    opacity: 0;
}





#project-mobile-2:checked ~ .container-fluid .project-mobile-2-card{
    animation: in .3s ease-in-out forwards;
    opacity: 1;
}



#project-mobile-2:checked ~ .container-fluid .project-mobile-1-card{
    animation: out .3s ease-in-out forwards;
    opacity: 1;
}

#project-mobile-2:checked ~ .container-fluid .project-mobile-3-card{
    opacity: 0;
}




#project-mobile-3:checked ~ .container-fluid .project-mobile-3-card{
    animation: in .3s ease-in-out forwards;
    opacity: 1;
}



#project-mobile-3:checked ~ .container-fluid .project-mobile-2-card{
    animation: out .3s ease-in-out forwards;
    opacity: 1;
}

#project-mobile-3:checked ~ .container-fluid .project-mobile-1-card{
    opacity: 0;
}





.project-mobile-container {
    display: none;
}




@keyframes in {
    from{
       left: -100%;
    }

    to{
       left: 0;
    }
}
@keyframes out {
    from{
        left: 0;
    }

    to{
        left: 100%;
    }
}


#project-mobile-1:checked ~ .dot-wrapper .dot-1 {
    background: black;
}

#project-mobile-2:checked ~ .dot-wrapper .dot-2 {
    background: black;
}
#project-mobile-3:checked ~ .dot-wrapper .dot-3 {
    background: black;
}



#project-mobile-1:checked ~ .dot-wrapper .next-1, .dot-wrapper .next-3 {
    display: none;
}

#project-mobile-2:checked ~ .dot-wrapper .next-2, .dot-wrapper .next-1 {
    display: none;
}
#project-mobile-3:checked ~ .dot-wrapper .next-3, .dot-wrapper .next-2 {
    display: none;
}



#project-mobile-1:checked ~ .dot-wrapper .prev-1, .dot-wrapper .prev-3 {
    display: none;
}

#project-mobile-2:checked ~ .dot-wrapper .prev-2, .dot-wrapper .prev-1 {
    display: none;
}
#project-mobile-3:checked ~ .dot-wrapper .prev-3, .dot-wrapper .prev-2 {
    display: none;
}



#project-mobile-1:checked ~ .dot-wrapper .next-2{
    display: flex;
}

#project-mobile-2:checked ~ .dot-wrapper .next-3 {
    display: flex;
}
#project-mobile-3:checked ~ .dot-wrapper .next-1{
    display: flex;
}



#project-mobile-1:checked ~ .dot-wrapper .prev-2{
    display: flex;
}

#project-mobile-2:checked ~ .dot-wrapper .prev-3 {
    display: flex;
}
#project-mobile-3:checked ~ .dot-wrapper .prev-1{
    display: flex;
}

.dot-wrapper {
    display: none !important;
}

@media (min-width: 1200px) {
    .hero h1{
        font-size: 100px !important;
    }
}

@media (max-width: 768px) {

    .project-mobile-container {
        display: block !important;
    }
    .project-desktop-container {
        display: none;
    }

    #mobile-nav:checked ~ header .nav-mobile{
        height: 100dvh;
    }

    .bs-modal {
        img{
            width: 90vw !important;
        }
    }

    .dot-wrapper {
        display: flex !important;
    }

}