.container{
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;

}
.box{
    height: fit-content;
    width: fit-content;
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Définit 4 colonnes de largeur égale */
    grid-gap: 15px;
    align-items: center;
    justify-content: space-evenly;
    grid-area: 2 / 2 / 4 / 4;

}
.days{
    background-color: white;
    margin: 10px;
    width: 255px;
    border-radius: 10px;
    box-shadow: rgba(0, 0, 0, 0.18) 0 2px 4px;
}
/*
.days:hover{
    transition: 0.2s ease-in;
    width: 25%;
    box-shadow: rgba(0, 0, 0, 0.4) 0px 2px 4px, rgba(0, 0, 0, 0.3) 0px 7px 13px -3px, rgba(0, 0, 0, 0.2) 0px -3px 0px inset;
}

 */
.days.active_day{
    background-color: #2ecc71;
    color: white;
    font-weight: 400;
}
.dayname{
    border: grey solid;
    border-width: 0 0 1px 0;
    padding: 10px;
    width: 100%;
    text-align: center ;
}
.active_day .dayname{
    border: white solid;
    border-width: 0 0 1px 0;

}
.subject{
    padding: 10px;
}
.subject.active_hour{
    color: #2ecc71;
    background-color: white;
}
@media screen and  (max-width: 800px) {
.days{
    width: 80%;
}
    /*
        .days:hover{
        width: 85%;
    }
     */
}
@media (pointer: coarse) and (orientation: portrait) and (max-width: 700px){
    .box{
        grid-template-columns: repeat(1, 1fr); /* Définit 4 colonnes de largeur égale */
        width: 100%;
        height: 100%;
        padding: 50% 0 30% 0;
        overflow: auto;
    }
    .days{
        justify-self: center;
        width: 80%;
    }
}
@media (max-width: 1000px){
    .box{
        grid-template-columns: repeat(3, 1fr); /* Définit 4 colonnes de largeur égale */
    }

}
@media (max-width: 800px){
    .box{
        grid-template-columns: repeat(2, 1fr); /* Définit 4 colonnes de largeur égale */
    }

}
@media (max-width: 650px){
    .box{
        grid-template-columns: repeat(1, 1fr); /* Définit 4 colonnes de largeur égale */
        width: 100%;
        height: 100%;
        padding: 50% 0 30% 0;
        overflow: auto;
    }
    .days{
        justify-self: center;
        width: 80%;
    }
}
