main
{
    min-width: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

.item_container
{
    width: 95%;
    height: 100%;
    margin: 25px auto;
    margin-top: 25px;
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.item
{
    width: 250px;
    max-width: 350px;
    height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    border: 1px solid lightgray;
    box-shadow: 0 10px 10px rgba(0 , 0, 0, 0.05);
    border-radius: 10px;
    background-color: white;
}


.item_haut
{
    display: flex;
    height: 47%;
    align-items: center;
    justify-content: center;
    
}

.img_item
{
    width: 95%;
    height: 95%;
    object-fit: cover;
    border-radius: 10px;
}

.item_milieu
{
    width: 100%;
    padding: 0 10px;
    display: flex;
    flex-direction: column;
    padding-left: 1em;
    text-align: left;
    
}

.item_bas
{
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 5px 0;
}


.item h2,.item h3,.item p,.item h4
{
    font-size: 0.75rem;
    height: 20px;
    margin-bottom: 5px;
}



.item p
{
    resize: none;
    height: 90px;
    padding-bottom: 5px;
    overflow: hidden;
    text-overflow: ellipsis;
}


.item a
{
    width: 50%;
}



.button_item
{
    width: 30%;
    background-color: rgb(36, 102, 133);
    border-radius: 5px;
    cursor: pointer;
    color: white;
    font-size: 0.7rem;
    padding: 5px 15px;
    outline: none;
    cursor: pointer;
    transition: transform 0.5s;
}

.button_item:hover
{
    transform: scale(1.05);
}

.modal_container
{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    width: 100vw;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
}



/*.modal_reserver.closed 
{ 
    display: none; 
}*/

.modal_overlay
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vw;
    z-index: 198;
}

.modal_reserver
{
    position: relative;
    display: flex;
    width: 80%;
    height: 275px;
    min-width: 540px;
    max-width: 675px;
    justify-content: space-between;
    align-items: center;
    background-color: rgb(254, 250, 250);
    border-radius: 10px;
    overflow: hidden;
    z-index: 199;
}

.modal_container .close
{
    position: absolute;
    top: 5px;
    right: 10px;
    font-size: 24px;
    background-color: rgb(235, 133, 150);
    border-radius: 50%;
    color: white;
    cursor: pointer;
}


main.show .modal_container
{
    opacity: 1;
    pointer-events: auto;
}

.modal_reserver .item_modal
{
    margin-right: 30px;

}

.modal_reserver .item_modal h3, .modal_reserver .item_modal h4
{
    margin-left: 30px;
    font-size: 0.75rem;
}

.modal_reserver .item_modal h3
{
    margin-top: 10px;
    margin-bottom: 10px;
}

.modal_reserver .lp_modal
{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal_reserver .item_modal h4
{
    margin-top: 05px;
    margin-bottom: 10px;
}

.modal_reserver .div_img_modal
{
    margin-left: 20px;
    margin-right: 20px;
}

.modal_reserver .item_modal img
{
    width: 250px;
    object-fit: cover;
    border-radius: 10px;
}


.modal_reserver form
{
    
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-right: 20px;
}

.modal_reserver form h2
{
    margin-top: 10px;
    font-size: 0.85rem;
}

.modal_reserver form p
{
    width: 95%;
    min-width: 220px;
    margin: 10px 0;
    text-align: center;
    font-size: 0.9rem;
}

.modal_reserver form input
{
    width: 90%;
    min-width: 30%;
    height: 30px;
    margin: 10px 0;
    border-radius: 10px;
    padding-left: 15px;
}

.date_reserver
{
    display: flex;
    justify-content: space-between;
    width: 90%;
}

.modal_reserver form .date1, .modal_reserver form .date2
{
    width: 48%;
}

.modal_reserver form button
{
    background-color: black;
    color: white;
    height: 30px;
    width: 100px;
    border-radius: 10px;
    margin: 10px 0;
    cursor: pointer;
}

.modal_reserver form button:hover
{
    background-color: rgb(219, 152, 164);
}

.requete_container
{
    position: fixed;
    top: 0;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 200;
    width: 100vw;
    height: 100%;
    background-color: rgb(0, 0, 0, 0.4);
    opacity: 0;
    pointer-events: none;
}

main.showrequete .requete_container
{
    opacity: 1;
    pointer-events: auto;
}

.overlay_requete
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vw;
    z-index: 198;
}

.modal_requete
{
    position: relative;
    width: 350px;
    height: 275px;
    border-radius: 10px;
    background-color: white;
    z-index: 199;
}

.modal_requete .icone_requete
{
    position: absolute;
    top: -20%;
    left: 50%;
    width: 30%;
    transform: translateX(-50%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: white;
}

.modal_requete .img_requete
{
    width: 100%;
}

.modal_requete .contenu_requete
{
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 55px 10px 10px;
    font-size: 0.85rem;
}


.modal_requete .bouton_requete
{
    width: 100%;
    display: flex;
    justify-content: center;

}


.modal_requete button
{
    width: 50px;
    cursor: pointer;
    border-radius: 5px;
    background-color: black;
    color: white;
    width: 30%;
}

.modal_requete button:hover
{
    transform: scale(1.05);
}



@media screen and (max-width: 450px) 
{
    .item_container
    {
        display: flex;
        flex-direction: column;
    }

    .item
    {
        width: 95%;
    }

    .modal_reserver
    {
        width: 95%;
        height: auto;
        min-width: 315px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        margin: 0;
        margin-right: 20px;
        margin-left: 20px;
    }


    .modal_reserver .div_img_modal
    {
        width: 95%;
        display: flex;
        justify-content: center;
    }

    .modal_reserver .item_modal img
    {
        width: 100%;
    }
    .modal_reserver .item_modal
    {
        width: 100%;
        /*display: none;*/

    }

    .modal_reserver form 
    {
        width: 100%;
        margin: 0;
    }

    .modal_requete
    {
        width: 350px;
        height: 275px;
    }

}