@font-face {
    font-family: 'Stussy';
    src: url('font/Stussy Script Regular.woff2') format('woff2');
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Stussy;
}

html, body {   
    background-color: #221F1D;
    transition: background-color 0.5s ease;
}

a {
    text-decoration: none;
    color: #efefef;
    transition: filter 1s;
}

a:hover {
    filter: blur(3px);
}
.text-button {
    cursor: pointer;
    transition: filter 1s;
}

.text-button:hover {
    filter: blur(3px);
}

.wrapper {
    width: 100%;
    height: 100%;
    
}

.gallery {
    position: relative;
    top: 0;
    width: 85%;
    z-index: 1;
    transition: opacity 1.0s ease;
}

#gallery img{
    transition: opacity 1.0s ease;
}

img {
    width: 100%;
    height: 100%;
    object-fit:contain;
}

.videos{
    width: 100%;
    height: 100%;
}

.block {
    position: relative;
    width: 100%;
    display: flex;
    z-index: 0;
     /* Smooth fade-out */
}

.nav-grid{
    font-size: 40px;
    color: #efefef;
    background-color: none;
    width: 100vw;
    height: 100vh;
    padding: 50px;
    position: fixed;
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: 50px 1fr 1fr 1fr 1fr 1fr 1fr 1fr 100px;
    z-index: 10;
}

.hidden {
    opacity: 0;
    pointer-events: none;
    transition: opacity 1.0s ease;
}

.info {
    opacity: 0; /* Start hidden */
    pointer-events: none;
    transition: opacity 1.0s ease; /* Smooth fade-in */
}
  
.info.visible {
    opacity: 1;
    pointer-events: auto;
}

.xavi{
    grid-area: 1 / 1 / span 1 / span 1;
}

.works{
    grid-area: 1 / 2 / span 1 / span 1;
}

.yinyang {
    grid-area: 1 / 12 /span 1 / span 1;
    width: 30px;
    height: -30px;
    justify-self:right;
    align-items: center;
}

#colorToggle {

    cursor: pointer;
    transition: transform 0.5s ease;
}

#colorToggle:hover {
    transform: scale(1.1); /* Slight zoom effect on hover */
}

#colorToggle.rotate {
    transform: rotate(180deg); /* Rotate 180 degrees */
}

.bar {

    position: relative;
    width: 15%;
    height: 100vh;
    overflow: hidden;
    z-index: 0;
}

.item-vid-h {
    width: 65vw;
    margin: 150px auto;   
}

.item-vid-v9 {
    height: 80vh;
    margin: 150px auto;   
}

.item-vid-v4 {
    height: 75vh;
    margin: 150px auto;   
}

.item-vid-s {
    height: 70vh;
    margin: 150px auto;   
}


.item-img-v {
    height: 75vh;
    margin: 150px auto;
}

.item-img-h {
    width: 65vw;
    margin: 150px auto;
}

.item-img-s {
    height: 70vh;
    margin: 150px auto;
}

@media(max-width: 1200px) {
    .nav-grid {
        font-size: 30px;
    }

    .yinyang {
        width: 25px;
        height: 25px;
    }
}

@media(max-width: 900px) {

    .block{
        padding-top: 65px;
    }
    
    .works{
        grid-area: 1 / 3 / span 1 / span 1;
    }
    .bar {
        width: 0%;
    }

    .gallery {
        width: 100%;
    }

    .nav-grid{
        padding: 30px;
    }

    .item-vid-h {
        width: 90vw;
        height: auto;
        margin: 30px auto;   
    }

    .item-vid-s {
        width: 90vw;
        height: auto;
        margin: 30px auto;   
    }

    .item-vid-v4{
        width: 90vw;
        height: auto;
        margin: 30px auto;   
    }

    .item-vid-v9 {
        width: 90vw;
        height: auto;
        margin: 30px auto;   
    }

    .item-img-v {
        width: 90vw;
        height: auto;
        margin: 30px auto;
    }
    
    .item-img-h{
        width: 90vw;
        height: auto;
        margin:30px auto;
    }

    .item-img-s{
        width: 90vw;
        height: auto;
        margin:30px auto;
    }

    /*---INFO---*/

    

}


