@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}



body {
    margin: 0;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.page1 {
    min-height: 100vh;
    animation: fadeInUp 1s ease-out;
}

h1 {
    text-align: center;
    margin: 0;
}

h3 {
    margin: 0;
}

p {
    margin: 0;
}

h6 {
    margin: 0;
}


.rond {
    background-color: #f1f1f1;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    border: 2px solid black;
    position: relative;
    margin: 2% 0px 0px 4%;
}

.croix {
    width: 30px;
    height: 5px;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    border-radius: 50px;
}

.croix1 {
    width: 30px;
    height: 5px;
    background-color: black;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-45deg);
    border-radius: 50px;
}


.conteneur {
    margin-top: 50px;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: 20px;
    margin-bottom: 30px;
}

.film {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 10px;
    overflow: hidden;
    border-radius: 10px;
}

.film:hover {
    transition: 0.3s;
    transform: scale(1.1, 1.1);
}

.info_horaires{
    position: absolute;
    top: 0;
    width: 60%;
    height: 10%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 10px 0 10px 0;
    box-sizing: border-box;
    text-align: center;
}

.info_horaires>div{
    font-size: 10px;
}


.info_carre {
    position: absolute;
    bottom: 4px;
    width: 100%;
    height: 25%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 10px;
    border-radius: 0 0 10px 10px;
    box-sizing: border-box;
}

.titre_film {
    font-weight: bold;
    color: white;
    background-color: transparent;
    text-align: center;
    font-size: 14px;
}

.affiche_film {
    height: 300px;
    width: 225px;
    border-radius: 10px;
}

.film_informations {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px 64px;
}

.duree_affiche {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.duree_affiche>img {
    width: 9%;
    height: 9%;
}

.genre_affiche {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 12px;
}

.genre_affiche>img {
    width: 9%;
    height: 9%;
}


.film_details {
    padding: 16px;
    width: 110vh;
    height: 500px;
}

.film_details>h3 {
    margin-bottom: 20px;
    font-size: 64px;
}

.film_details>*:not(h3, .ba) {
    margin-top: 10px;
}


a.lien_ba {
    margin-top: 10px;
    color: white;
    transition: 0.4s;
    background-color: royalblue;
    padding: 8px 32px;
    border-radius: 10px;
    display: inline-block;
}

a.lien_ba:hover {
    text-decoration: underline;
    transform: scale(1.1);
}


.flex_horaires>div{
    border: 2px solid royalblue;
    border-radius: 10px;
    padding: 4px 8px;
    width: fit-content;
}




.affiche_detail {
    height: 500px;
    width: 375px;
    border-radius: 10px;
}


.duree{
    display: flex;
    align-items: center;
    gap: 10px;
}

.sortie{
    display: flex;
    align-items: center;
    gap: 10px;
}


.synopsis>div{
    border: 2px solid royalblue;
    border-radius: 10px;
    padding: 4px 8px;
}

.flex_acteurs{
    display: flex;
    gap: 10px;
}

.flex_acteurs>div{
    border: 2px solid royalblue;
    border-radius: 10px;
    padding: 4px 8px;
}

.flex_genre{
    display: flex;
    gap: 10px;
}

.flex_genre>div{
    border: 2px solid royalblue;
    border-radius: 10px;
    padding: 4px 8px;
}

.dropdown {
    max-width: 300px;
    height: 63px;
    border-radius: 5px;
    margin: 32px;
    color: #f1f1f1;
    background: url(../img/background/background_noir.jpg);
    transition: height 0.4s ease-in-out;
    clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

.bloc-top {
    padding: 20px;
    display: block;
    width: 100%;
    border: none;
    outline: none;
    font-size: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: url(../img/background/background_noir.jpg);
    color: #f1f1f1;
    cursor: pointer;
    border-radius: 5px;
    transition: 0.4s;
}

.bloc-links {
    padding: 0 22px;
}

/* Effet de soulignement */
.bloc-links>ul>li>a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    display: block;
    margin-top: 5px;
    right: 0;
    background: royalblue;
    transition: width 0.4s ease;
}

.bloc-links>ul>li:hover>a::after {
    width: 100%;
    left: 0;
    background: royalblue;
}

.bloc-links li {
    padding: 5px 0;
}

.bloc-links>ul>li::marker {
    color: black;
}

.bloc-links li a {
    font-size: 18px;
    color: #f1f1f1;
    margin-left: 5px;
}

.bloc-links li:last-child {
    padding-bottom: 25px;
}




.centre {
    display: flex;
    justify-content: space-around;
}

.centre a {
    color: black;
}

.centre a:hover {
    color: black;
    text-decoration: underline;
}

hr {
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    font-weight: bold;
}

.retour {
    padding: 32px 64px;
}

.retour>button {
    background-color: #B95825;
    color: #f1f1f1;
    border: none;
    padding: 8px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: 0.3s;
}

.retour>button:hover {
    transform: scale(1.05, 1.05);
}

.tourne {
    transform: rotate(180deg);
    transition: 0.4s;
}

span {
    transition: 0.4s;
}