/* Styles de base */
body {
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: url('web_images/fond.jpg') no-repeat center center fixed;
    background-size: cover;
    margin: 0;
}

/* Conteneur principal */
.container {
    text-align: center;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    max-width: 90vw;
}

/* Titre */
h1 {
    color: #b22222;
    font-size: 3em;
    margin-bottom: 30px;
}

/* Grille du calendrier */
.calendar {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 15px;
}

/* Style des jours */
.day {
    background-color: #eee;
    color: #555;
    border-radius: 10px;
    padding: 20px;
    font-size: 2em;
    cursor: pointer;
    position: relative;
    text-align: center;
    transition: transform 0.2s, background-color 0.2s;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.day.locked {
    background-color: #ccc;
    cursor: not-allowed;
    color: #999;
}

.day:hover {
    background-color: #b22222;
    color: #fff;
    transform: scale(1.05);
}

/* Icône de chaque jour */
.day-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 10px;
}

/* Responsive pour petits écrans */
@media (max-width: 768px) {
    .calendar {
        grid-template-columns: repeat(4, 1fr);
    }

    .day {
        padding: 15px;
        font-size: 1.5em;
    }

    h1 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .calendar {
        grid-template-columns: repeat(3, 1fr);
    }

    .day {
        padding: 10px;
        font-size: 1.2em;
    }

    .day-icon {
        width: 40px;
        height: 40px;
    }

    h1 {
        font-size: 1.5em;
    }
}
