@font-face {
    font-family: 'Thunder';
    src: url('Thunder/Thunder-BlackLC.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'Thunder';
    src: url('Thunder/Thunder-BlackLCItalic.ttf') format('truetype');
    font-weight: bold;
    font-style: italic;
}

html, body {
    margin: 0;
    padding: 0;
    min-height: 100%;
    height: auto;
}

h1, h2 {
    color: #F2CF66;
    font-family: 'Thunder', 'Trebuchet MS', Arial, sans-serif;
    font-weight: normal;
    line-height: 0.8;
    font-size: 120px;
}

p, li {
    color: white;
}

.header {
    text-align: center;
    font-size: 120%;
}

.logo {
    display: inline-block;
    height: 70px;
    padding-top: 20px;
}

h2 {
    padding-top: 20vh;
    margin: auto; /* Centre horizontalement */
    display: flex;
    justify-content: center; /* Centre le contenu */
    align-items: center; /* Centre le contenu */
}

.player {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-bottom: 5vh;
}


.LaProg{
    display: flex;
    flex-direction: column;
    gap: 20px;
}

#planning {
        max-width: 100vh;
        max-height: 300vh;
       /* overflow: auto;*/
        margin: auto; /* Centre horizontalement */
        display: flex;
        justify-content: center; /* Centre le contenu */
        align-items: center; /* Centre le contenu */
        padding-left: 5vh;
        padding-right: 5vh;
}

#residents-container {
    margin-bottom: 50vh;
    display: flex;
    flex-wrap: wrap;
    justify-content: center; /* Centrer les cartes horizontalement */
    gap: 20px;  /* Laisser un peu d'espace entre les cartes */
    padding: 20px;
}

.resident-card {
    background-color: #333;
    margin: 10px;
    padding: 20px;
    padding-bottom: -50px;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* Assure-toi que le contenu est bien espacé */
    align-items: center;
    width: 270px;  /* Limite la largeur de chaque carte */
    height: 350px;  /* Ajuste la hauteur des cartes pour mieux s'adapter */
    gap: 15px;  /* Espacement entre les éléments à l'intérieur de la carte */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box;
}

.resident-image {
    width: 100px;  /* Augmenter la taille de l'image */
    height: 100px;
    border-radius: 50%;  /* Donner un aspect circulaire à l'image */
    object-fit: cover;  /* Pour s'assurer que l'image couvre l'espace sans déformation */
}

.resident-card h2 {
    font-size: 3em; /* Ajuster la taille du titre */
    color: #F2CF66;
    text-align: center;
    margin-top: -100px;
}

.resident-card p {
    text-align: center;  /* Centrer le texte de la description et horaire */
    font-size: 0.9em;
    color: white;
    margin-top: -10px;
    
}

.footer {
    display: flex;
    width: 100%;
    height: 15%;
    background-color: #F2CF66;
    justify-content: center;
    flex-direction: row;
    gap: 50px;
    position: fixed;
    bottom: 0;
    margin-top: 20vh;
}

.menu-item {
    height: 80px;
    padding: 20px 0;
}
.menu-item:hover{
    transform: scale(1.1);
}
.insta {
    height: 20px;
    width: 20px;
}