@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400&display=swap');
*{
    margin: 0;
    font-family: 'Montserrat', sans-serif;
}

body{
    background-color: rgb(30, 30, 30);
}

.dernier{
    border: solid 2px white;
    width: 60%;
    margin-left: auto;
    margin-right: auto;
    margin-top: 15%;
    text-align: center;
    color: white;
    line-height: 300%;
    padding-top: 2%;
    padding-bottom: 2%;
    border-radius: 50px;
}

p{
    font-size: 25px;
}

button{
    width: 25%;
    font-size: 25px;
    background-color: white;
    border: none;
    border-radius: 25px;
    padding-top: 1%;
    padding-bottom: 1%;
}

button:hover{
    filter: brightness(70%);
}

.popup{
    background-color: white;
    position: absolute;
    top: 28%;
    width: 62%;
    left: 19%;
    border-radius: 50px;
    text-align: center;
    line-height: 300%;
    padding-top: 5%;
    padding-bottom: 5%;
}

input{
    height: 45px;
    width: 75%;
    border-radius: 25px;
    border: solid 1px rgb(129, 129, 129);
    padding-left: 2%;
}

#valider{
    background-color: rgb(30, 30, 30);
    margin-top: 2%;
    color: white;
}

#none{
    background-color: none;
    position: absolute;
    width: 5%;
    top: 3%;
    padding-top: 0;
    padding-bottom: 0;
    left: 93%;
}

#none:hover{
    filter: none;
}

#none img:hover{
    width: 110%;
}

#none img{
    width: 100%;
}

.historique{
    position: absolute;
    left: 2%;
    top : 5%;
    color: white;
    line-height: 200%;
}

.day{
    border-top: 2px solid white;
}

@media (max-width : 1040px) {
    .dernier{
        width: 90%; /**/
        margin-top: 10%; /**/
        border-radius: 50px;
    }
        
    button{
        width: 70%; /**/
        padding-top: 2%; /**/
        padding-bottom: 2%; /**/
    }
    
   
    .popup{
        top: 5%; /**/
        width: 93%; /**/
        left: 3%; /**/
        padding-top: 10%; /**/
        padding-bottom: 11%; /**/
    }
    
    input{
        height: 60px;/**/
        width: 80%;/**/
    }
    
    #valider{
        background-color: rgb(30, 30, 30);
        margin-top: 2%;
        color: white;
    }
    
    #none{
        background-color: none;
        position: absolute;
        width: 15%;
        top: 3%;
        padding-top: 0;
        padding-bottom: 0;
        left:82%;
    }
        
    #none img{
        width: 90%;
    }
    
    .historique{
        margin-left: auto;
        margin-right: auto;
        width: 90%;
        position: static;
        margin-top: 5%;
    }
}