.release-modal {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: var(--bg-color);
    overflow: hidden;
}

/* Volets */

.curtain {
    position: absolute;
    top: 0;
    width: 50%;
    height: 100%;
    background: #000;
    z-index: 20;
    transition: transform 1.4s cubic-bezier(.77, 0, .18, 1);
}

.curtain.left {
    left: 0;
}

.curtain.right {
    right: 0;
}

/* Ouverture */

.release-modal.open .left {
    transform: translateX(-100%);
}

.release-modal.open .right {
    transform: translateX(100%);
}

/* Bouton fermer */

.close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    z-index: 30;
    border: 0;
    background: transparent;
    color: var(--text-color);
    font-size: 32px;
    cursor: pointer;
    opacity: 0;
    transition: opacity .4s ease;
}

.release-modal.open .close-modal {
    opacity: 1;
}

/* Contenu */

.release-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -45%);
    text-align: center;
    width: min(90vw, 800px);
    opacity: 0;
    transition:
        opacity 1s ease,
        transform 1s ease;
    z-index: 10;
    color: white;
}

.release-modal.open .release-content {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.release-cover {
    width: 50%;
    max-width: 70vw;
    display: block;
    margin: 0 auto 30px;
}

.release-label {
    text-transform: uppercase;
    letter-spacing: .2em;

    margin-bottom: 10px;

    opacity: .7;
}

.release-title {
    margin-bottom: 30px;
}

.release-button {
    display: inline-block;
    padding: 14px 30px;
    border: 1px solid var(--text-color);
    color: var(--text-color);
    text-decoration: none;
    transition: .3s;
}

.release-button:hover {
    transform: translateY(-2px);
}

@media screen and (max-width: 1367px) {
    .release-title {
        font-size: 2rem;
        margin: 4px 0 11px 0;
    }

    .release-cover {
        margin: 0 auto 10px;
    }

    .release-label {
        margin: 0;
    }

    .release-button {
        padding: 7px 30px;

    }

}


@media screen and (max-width: 1024px) {
    .release-modal {
        z-index: 9999999;
    }

    .release-cover {
        max-width: 100vw;
    }

    .release-title {
        font-size: 2.1rem;
        margin: 15px 0 15px 0;
    }


}