/* style.css */
.main-tarif {
    margin-top: 10px;
    width: auto;
    margin: 20px auto;
    padding: 20px;
    background-color: white;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

.h2-tarif {
    color: #FF9F42;
    border-bottom: 2px solid #f6ab0a;
    padding-bottom: 5px;
}

.ul-tarif {
    list-style-type: none;
    padding: 0;
}

ul .liste {
    background: #fae9c4;
    margin: 10px 0;
    padding: 10px;
    border-radius: 5px;
    list-style: none;
}
/* Alerte j'ai compris */
.overlay {
    z-index: 20;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}
.alert-box {
    width: 350px;
    background: rgb(247, 188, 78);
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    text-align: center;
    max-width: 90%;
}
.alert-box p {
    color: rgb(0, 0, 0);
    font-size: 18px;
    margin-bottom: 20px;
}
.close-btn {
    background: white;
    border: none;
    padding: 10px 20px;
    font-size: 16px;
    border-radius: 5px;
    cursor: pointer;
}
/* section ouverture menu */
.contenu {
    display: none;
    transition: max-height 0.3s ease-in-out;
}

.titre-liste {
    cursor: pointer;
    font-size: 1.2em;
position: absolute;
background-color:#FF9F42;
top:0px

}

.contenu.ouverture {
    display: block;
    padding: 0;
}

.liste, .ouverture {
    height: auto;
    position: relative;
    display: flex;
    justify-content: space-between;
}

.ouvert:hover{
    background-color: #f6ab0a;
    cursor: pointer;
}

@media screen and (max-width: 768px) {
    .main-tarif {
        margin: 20px auto 0 auto;
        border-radius: 0px;
    } 
}