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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; /* police d'ecriture */
    background-color: #1F1F3B; /* coleur de fond */
    color: #FFFFFF; /* couleur d'ecriture page profile */
}
/* ========== FOOTER ========== */
footer {
    background-color: gainsboro;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 16px;
    color: black;
}

footer a {
    text-decoration: none;
    font-weight: bold;
}

.accueil{
    text-align: center;
    padding: 5px;
    max-width: 900px;
    align-items: center;
    position: absolute;
    top: 40%;
    left: 19%;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(5px);
    border-radius: 12px;
    color: #fff;
    font-size: 2rem;
}

h2{
    text-align: center;
    font-weight: bold;
    margin: 1.5rem auto;
    color: #EDE9FE;
}
.coverimg{
    background-image: url("/assets/images/couverture.png");
    background-size:contain;
    background-position: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    height: 100vh;
}

@media(max-width:981px) {
    .coverimg , .accueil{
       display: none;
    }
}
.item-card{
    display: flex;
    justify-content: center;
    margin: 1.5rem auto;
    padding: 1rem;
    gap: 3rem;
    color: #1F1F3B;
    align-items: center;
    word-spacing: 2px;
    background-color: #EDE9FE;
    border-radius: 10px;
    box-shadow: 2px 2px 2px #EDE9FE;
    cursor: pointer;
    width: 80%;
}
.item-card:hover{
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}
.item-card img{
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease; /* transition sur l'ombre des boxe */
    display: block;
    margin-bottom: 1rem; /* margin au dessous de l'image de films et series*/
    margin-top: 1rem; /* margin au dessus du l'image des films et series  */
}
.item-card img:hover{
    transform: scale(1.05);
}
.item-infos p{
    font-size: 1.3em;
}