.hero {
    text-align: center;
    padding: 20px;
}

.hero__title {
    padding-bottom: 39px;
}

.hero__list {
    list-style: disc;
    padding-left: 40px;
    text-align: left;
}

.hero__item {
    margin: 5px 0;
}

img {
    max-width: 100%;
    height: auto;
}

.films__gallery {
    display: flex;
    gap: 16px;
    overflow-x: scroll;
    scroll-behavior: smooth;
    margin-left: -24px;
    margin-right: -24px;
    scroll-snap-type: x mandatory;
    margin-left: 0.8px;
    margin-right: 2px;
}

.films__gallery img {
    flex: 0 0 auto;
    scroll-snap-align: center;
    display: block;
    border-radius: 10px;
    width: 200px;
    height: auto;
}

.carousel__controls {
    display: flex;
    gap: 16px;
    align-items: center;
    justify-content: center;
    margin: 1em 16px 2em;
}

.carousel__button {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid;
    border-radius: 30px;
}

.carousel__button--prev {
    transform: rotate(0.5turn);
}

.schedule {
    padding: 20px;
}

.schedule__title {
    color: #000;
    font-family: "Rounded Mplus 1c";
    font-size: 17px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
    letter-spacing: 0.85px;
    text-align: left;
}

.schedule__day {
    margin-bottom: 30px;
}

.schedule__date {
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 40px;
    text-transform: uppercase;
    display: inline-flex;
    align-items: flex-start;
    margin-bottom: -70px;
}

.schedule__film {
    margin-bottom: 20px;
    padding: 15px;
    text-align: center;
    background-color: white;
    border-radius: 5px;
}

.schedule__film-title {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.schedule__film-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    border-radius: 10px;
    margin-bottom: 10px;
}

.schedule__film-info {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.schedule__film-detail {
    margin: 5px 0;
}

.schedule__film-link {
    display: inline-block;
    margin-top: 10px;
    background-color: #D9534F;
    color: #FFF;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.schedule__film-link:hover {
    background-color: #C9302C;
}

/* lightbox */
dialog {
    border: 5px solid #777;
    border-radius: 25px;
    padding: 20px;
    overflow: visible;
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

dialog[open] {
    opacity: 1;
    transform: scale(1);
}

dialog.entrée {
    animation: fadeIn 0.3s ease forwards;
}

dialog.sortie {
    animation: fadeOut 0.3s ease forwards;
}

dialog::before {
    display: flex;
    position: absolute;
    top: -10px;
    right: -10px;
    width: 40px;
    background-color: #777;
    border-radius: 50%;
    place-content: center;
    vertical-align: middle;
    line-height: 40px;
    border: 5px solid #fff;
    cursor: pointer;
}

::backdrop {
    background-color: burlywood;
    opacity: 0.5;
    transition: background-color 0.3s ease;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes fadeOut {
    from {
        opacity: 1;
        transform: scale(1);
    }

    to {
        opacity: 0;
        transform: scale(0.8);
    }
}

.download-btn-container {
    display: inline-block;
    margin-top: 10px;
    background-color: #D9534F;
    color: #FFF;
    border: none;
    padding: 10px 15px;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}