/* Styles globaux pour la page index.php */
body {
    font-family: 'League Spartan', sans-serif;
    background-color: #f8f9fa;
    margin: 0;
    padding: 0;
}
p, li, th, td, tbody, tr, ul, .btn {
    font-family: 'League Spartan', sans-serif;
    font-weight: 400;
}
.pImage{
    display: flex;
}
.textP > p{
    font-size: 20px;
}

.pImage > p >  img{
    border: 2px solid rgba(0, 0, 0, 0.3);
    border-radius: 5px;
    width: 300px;
}
.textP{
    size: 23px;
    text-align: center;
    padding: 3% 0 0 0;
    margin: 0 auto;
    width: 80%;
}
header:after {
    background-color: #dbedf4 !important;
    content: "";
    position: absolute;
    z-index: -1;
    width: 100%;
    top: 100%;
    bottom: 0;
    min-height: 5vh;
    left: 0;
    clip-path: polygon(100% 0, 0 100%, 0 0);
}
h1, h2 {
    font-weight: 700;
    font-family: 'League Spartan', sans-serif;
}
.p-chaise {
    padding: 1% 0;
    margin-bottom: 0;
    margin-left: 5%;
}
.chaise {
    width: 120px;
}
header {
    position: relative;
    justify-content: space-between;
    background-color: #dbedf4 !important;
    display: flex;
}
.menu-head {
    position: absolute;
    right: 0;
}
.tit {
    padding: 2% 5%;
}
.container {
    background-color: white;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 800px;
    margin: 50px auto;
}
.Divsubmit{
    text-align: end;
}
a{
    color: #000;
}
.telephone  > a{
    text-decoration: none;
}
.submit{
    width: 30%;
}

h2 {
    text-align: center;
    margin-bottom: 20px;
}

/* Formulaire */
form {
    margin-top: 20px;
}

label {
    font-weight: bold;
    margin-bottom: 5px;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="checkbox"] {
    width: 100%;
    padding: 10px;
    margin: 10px 0;
    border-radius: 5px;
    border: 1px solid #ddd;
}

input[type="checkbox"] {
    width: auto;
    display: inline-block;
    margin-top: 10px;
}

button {
    background-color: #007bff;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    width: 100%;
    margin-top: 20px;
}

button:hover {
    background-color: #0056b3;
}

/* Pour l'affichage de la case Accord du tuteur */
#accord_tuteur_div {
    display: none;
    margin-top: 10px;
}

/* Footer avec les images */

.foot-div {
    padding-top: 5%;
    padding-bottom: 1%;
    background-image: url(../img/foot.png);
    display: flex;
    background-repeat: no-repeat;
    justify-content: space-between;
    align-items: center;
    background-size: cover;
}
.span-f {
    padding: 2% 8%;
    display: inline-flex;
    margin: 2%;
    border-radius: 25px;
    border-color: #156b9c;
    background: #187bb2;
    color: #fff;
}
.fa-brands, .fab {
    margin-right: 3%;
    font-size: 20px;
    color: #fff;
}
.facebook {
    background: #fff;
    border-radius: 0 25px 25px 0;
    text-align: right;
    width: 75%;
}
.mobil-phone {
    display: none;
}
.apppz {
    margin: 0 auto !important;
    padding: 3% 10%;
    background-color: #187bb2;
    border-radius: 20px;
    text-align: center;
    color: #fff;
}
.part {
    width: 350px;
    margin-bottom: 5%;
}
.foot-f {
    width: 30%;
}
.legal, .contat {
    text-align: center;
}
.contat {
    padding: 0 2%;
}

/* Styles pour la barre de recherche sur mobile */
#searchInput {
    width: 100%;
    padding: 10px;
    margin-top: 10px;
    border-radius: 5px;
    border: 1px solid #ddd;
}




















/* Responsive Design */
@media (max-width: 768px) {
    
    
    .pImage {
        display: flex;
        flex-direction: column;
    }
    .foot-f {
        margin-bottom: 5%;
        width: 100%;
    }
    .foot-div {
        padding-top: 20%;
        padding-bottom: 20%;
        display: flex;
        background: #dbedf4;
        flex-direction: column;
        flex-wrap: nowrap;
    }
    .menu-head {
        width: 70%;

    }
    .mobil-phone {
        display: block;
    }
    .contat {
        margin-top: 0;
    }
    .part {
        width: 300px;
        margin-bottom: 0;
    }
    .facebook {
        background: #fff;
        text-align: center;
        width: 90%;
        padding: 1%;
        border-radius: 0;
        margin: 0 auto;
    }
    .tit {
        z-index: 1;
        font-size: 3rem;
    }
    .container {
        padding: 15px;
    }

    h2 {
        font-size: 1.5em;
    }

    input[type="text"],
    input[type="email"],
    input[type="date"],
    input[type="checkbox"] {
        padding: 8px;
    }

    button {
        padding: 10px;
    }

   
}

@media (max-width: 480px) {
    .tit {
        font-size: 2rem;
    }
    .textP {
        width: 90%;
        padding: 10% 0 0 0;
    }
    .container {
        width: 85%;
        padding: 20px !important
    }
    .textP > p {
        font-size: 14px;
    }

    h2 {
        font-size: 1.2em;
    }

    input[type="text"],
    input[type="email"],
    input[type="date"],
    input[type="checkbox"] {
        padding: 6px;
    }

    button {
        padding: 8px;
    }

    footer {
        flex-direction: column;
        align-items: center;
    }

    footer img {
        width: 80%;
        margin-bottom: 10px;
    }
}
