html body {
    margin: 0;
    padding: 0;
}

.loop-project {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    overflow: hidden;
}

.frame {
    z-index: -2;
    position: fixed;
    display: flex;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    aspect-ratio: 16/9;
    border: none;
}

.btn {
    font-size: var(--primary-size);
    line-height: 1;
    font-weight: var(--black);
    text-transform: uppercase;
    transition: text-shadow 0.5s ease;
    margin-left: -0.3vw;
    letter-spacing: 0;
}

.play-btn {
    z-index: 0;
    display: flex;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.btn:hover {
    text-shadow: 0.2vw 0.2vw #FF4F38;
    cursor: pointer;
}

.scroll {
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: absolute;
    bottom: var(--padding);
    width: 100%;
    font-size: var(--secondary-size);
    line-height: var(--line-height);
    font-weight: var(--regular);
    letter-spacing: 0.1vw;
    text-transform: uppercase;
    gap: 0.5vw;
    opacity: 0;
}

.arrow-down {
    width: 1.5vw;
    transform: rotate(90deg);
    filter: invert(100);
    animation: scroll 0.7s ease infinite;
}

@keyframes scroll {
    from {transform: translateY(0px) rotate(90deg);}
    50%  {transform: translateY(10px) rotate(90deg);}
    to   {transform: translateY(0px) rotate(90deg);}
}

.container {
    width: 100%;
    position: relative;
    top: 100vh;
    background: #141414;
}

.content {
    width: 100%;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.description {
    font-size: 3vw;
    line-height: 3.2vw;
    font-weight: 300;
    margin-left: 45vw;
    width: 40%;
    white-space: pre-line;
    opacity: 0;
}

.gallery {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2vw;
    width: 100%;
    margin-bottom: 20vh;
}

.gallery > img {
    width: 60%;
}

.pagination {
    display: flex;
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
}

.next {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50%;
    height: 15vw;
    padding: 2vw;
    text-align: right;
    box-sizing: border-box;
}

.previous {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    border: 1px solid rgba(255, 255, 255, 0.3);
    width: 50%;
    height: 15vw;
    padding: 2vw;
    text-align: left;
    box-sizing: border-box;
}

.page {
    font-size: var(--secondary-size);
    font-weight: var(--regular);
    text-transform: uppercase;
}

.player {
    z-index: 13;
    position: fixed;
    top: 100%;
    left: 0;
    transition: top 1s ease;
    width: 100%;
    height: 100vh;
    background-color: black;
}

iframe {
    display: none;
}

.player-project {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    left: 50%;
    aspect-ratio: 16/9;
    border: none;
    position: fixed;
    transform: translateX(-50%);
    width: 100%;
    height: 100vh;
}

.close {
    display: none;
    position: fixed;
    width: 2vw;
    filter: invert(100);
    transition: transform 0.5s ease;
    cursor: pointer;
    z-index: 6;
    right: 0;
    transform: rotate(45deg) translateY(1.2vw);
}

.control {
    font-size: var(--secondary-size);
    font-weight: var(--regular);
    text-transform: uppercase;
    cursor: pointer;
    user-select: none;
    position: fixed;
    z-index: 6;
}

.play {
    display: none;
    transform: translate(10vw, 95vh);
}

.pause {
    transform: translate(10vw, 95vh);
}

.sound {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 0.8vw;
    transform: translate(85vw, 94vh);
}

.plus, .minus {
    font-size: 1.4vw;
}

.sound-off {
    display: none;
}

.duration {
    font-size: 0.7vw;
    transform: translate(85vw, 95vh);
}

.img-replace {
    width: 100%;
    height: 100vh;
    z-index: 0;
    position: fixed;
    top: 0;
    left: 0;
    object-fit: cover;
    object-position: center;
}

@media screen and (max-width: 767px) {
    html body {
        margin: 0;
        padding: 0;
    }

    .frame {
        z-index: -2;
        position: fixed;
        display: flex;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        aspect-ratio: 16/9;
        border: none;
    }

    .btn {
        font-size: var(--primary-size);
        line-height: 1;
        font-weight: var(--black);
        text-transform: uppercase;
        transition: text-shadow 0.5s ease;
        margin-left: -0.3vw;
        letter-spacing: 0;
    }

    .play-btn {
        z-index: 0;
        display: flex;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    .btn:hover {
        text-shadow: 0.2vw 0.2vw #FF4F38;
        cursor: pointer;
    }

    .scroll {
        z-index: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        position: absolute;
        bottom: var(--padding);
        width: 100%;
        font-size: var(--secondary-size);
        line-height: var(--line-height);
        font-weight: var(--regular);
        letter-spacing: 0.1vw;
        text-transform: uppercase;
        gap: 0.5vw;
        opacity: 0;
    }

    .arrow-down {
        width: 6vw;
        transform: rotate(90deg);
        filter: invert(100);
        animation: scroll 0.7s ease infinite;
    }

    @keyframes scroll {
        from {transform: translateY(0px) rotate(90deg);}
        50%  {transform: translateY(10px) rotate(90deg);}
        to   {transform: translateY(0px) rotate(90deg);}
    }

    .container {
        width: 100%;
        position: relative;
        top: 100vh;
        background: #141414;
    }

    .content {
        width: 100%;
        height: 50vh;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: center;
    }

    .description {
        font-size: var(--title-size);
        line-height: var(--line-height);
        font-weight: 300;
        margin-left: 5vw;
        width: 90%;
        white-space: pre-line;
        opacity: 0;
    }

    .gallery {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: 2vw;
        width: 100%;
        margin-bottom: 20vh;
    }

    .gallery > img {
        width: 90%;
    }

    .pagination {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: space-between;
        width: 100%;
    }

    .next {
        display: flex;
        flex-direction: column;
        align-items: flex-end;
        justify-content: flex-end;
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        height: auto;
        padding: 8vw 4vw 4vw 4vw;
        text-align: right;
        box-sizing: border-box;
    }

    .previous {
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-end;
        border: 1px solid rgba(255, 255, 255, 0.3);
        width: 100%;
        height: auto;
        padding: 8vw 4vw 4vw 4vw;
        text-align: left;
        box-sizing: border-box;
    }

    .page {
        font-size: var(--secondary-size);
        font-weight: var(--regular);
        text-transform: uppercase;
    }

    .player {
        z-index: 12;
        position: fixed;
        top: 120%;
        left: 0;
        transition: top 1s ease;
        width: 100vw;
        height: 100vh;
        background-color: var(--bg-color);
    }

    .player-project {
        display: flex;
        left: 50%;
        transform: translate(-50%, -5%);
        aspect-ratio: 1/1;
        border: none;
        position: fixed;
        width: 100vw;
        height: 100vh;
    }

    .close {
        position: fixed;
        width: 8vw;
        filter: invert(100);
        transition: transform 0.5s ease;
        cursor: pointer;
        z-index: 6;
        right: 0;
        transform: rotate(45deg) translateY(var(--padding));
    }

    .control {
        font-size: var(--secondary-size) + 1;
        font-weight: var(--regular);
        text-transform: uppercase;
        cursor: pointer;
        user-select: none;
        position: fixed;
        z-index: 6;
    }

    .play {
        display: none;
        transform: translate(var(--padding), 85vh);
    }

    .pause {
        transform: translate(var(--padding), 85vh);
    }

    .sound {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 0.8vw;
        transform: translate(70vw, 85vh);
    }

    .plus, .minus {
        display: none;
    }

    .sound-off {
        display: none;
    }

    .duration {
        font-size: 0.7vw;
        transform: translate(85vw, 95vh);
    }
}

