@import url(menu.css);

*,
::before,
::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    overflow-x: hidden;
}

h2 {
    margin: 0;
    padding-top: 210px;
    width: 100%;
    color: #f1f1f1;
    font-size: 80px;
    text-align: center;
}


.rebours {
    text-align: center;
    color: white;
    width: 600px;
    height: 550px;
    padding: 30px;
    border-radius: 25px;
    background: black;
    border: 5px solid blue;
}

.boutton {
    position: relative;
    top: 80px;
    left: 100px;
    width: 260px;
    padding: 20px;
    font-size: 20px;
    border-radius: 10px;
    text-decoration: none;
    border: 3px solid blue;
}

#accueil {
    position: relative;
    top: 120px;
    left: 830px;
    font-size: 55px;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
    color: white;
}

/* Image debut accueil */
.conteneur {
    position: relative;
    top: 150px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.photos {
    max-width: 23%;
}

.photos img {
    border: 3px solid blue;
    width: 100%;
    height: auto;
    transition: all 0.8s ease;
}

.photos img:hover {
    transform: scale(1.05);
    opacity: 0.7;
}

.photos {
    font-size: 1.5em;
    align-items: center;
    width: 100%;
}

/* Style pour les écrans tailles moyennes et tablettes */
@media screen and (min-width:768px) and (max-width:1024px) {
    .photos {
        max-width: 40%;
    }

    #formulaire {
        opacity: 0;
    }

    .agrandissement {
        opacity: 0;
    }
}

/* Style pour les cellulaires */
@media screen and (min-width:320px) and (max-width:767px) {
    .photos {
        max-width: 100%;
    }

    #formulaire {
        opacity: 0;
    }

    .agrandissement {
        opacity: 0;
    }
}

/* Mon formulaire */
form {
    background-color: white;
    position: absolute;
    top: 150%;
    left: 15%;
    transform: translate(-50%, -50%);
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    padding: 30px;
    border-radius: 15px;
    border: 4px solid blue;
}

form h1 {
    font-size: 40px;
}

form .separation {
    width: 100%;
    height: 2px;
    background-color: blue;
}

form .corps-formulaire {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 30px;
}

form .corps-formulaire .groupe {
    margin-top: 20px;
    position: relative;
    display: flex;
    flex-direction: column;
}

form .corps-formulaire .gauche .groupe input {
    margin-top: 5px;
    padding: 10px 5px 10px 30px;
    border: 1px solid #c9c9c9;
    outline-color: blue;
    border-radius: 5px;
}

form .corps-formulaire .gauche .groupe i {
    position: absolute;
    left: 0;
    top: 25px;
    padding: 9px 8px;
    color: blue;
}

form .corps-formulaire .droite {
    margin-left: 40px;
}

form .corps-formulaire .droite .groupe {
    height: 100%;
}

form .corps-formulaire .droite .groupe textarea {
    margin-top: 5px;
    padding: 10px;
    background-color: #f8f8f8;
    border: 2px solid blue;
    outline: none;
    border-radius: 5px;
    resize: none;
    height: 72%;
}

form .pied-formulaire input {
    margin-top: 10px;
    background-color: blue;
    color: white;
    font-size: 15px;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    outline: none;
    cursor: pointer;
    transition: transform 0.5s;
    position: absolute;
    top: 300px;
    left: 150px;

}

form .pied-formulaire input:hover {
    transform: scale(1.05);
}

h4 {
    font-size: 15px;
}

/* formulaire validation  */
.erreur {
    color: red;
}

.invalide {
    border: 2px solid red !important;
    background-color: palevioletred !important;
}

.valide {
    border: 2px solid green !important;
    background-color: white !important;
}

.label {
    color: red;
}

.labelOk {
    color: green;
}

/* CSS aide-surgissante */

.aide {
    margin-top: -20px;
    margin-left: 90px;
    padding: 25px;
    width: 260px;
}

.tooltip {
    --balloon-color: blue;
    --balloon-font-size: 12px;
}

.connecter {
    color: black;
    text-decoration: none;
}

button input {
    transition: transform 0.5s;
}

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


/* agrandissement texte */
.plus-texte {
    display: none;
}

.texte.voirPlus .plus-texte {
    display: inline;
    height: auto;
}

.texte.voirPlus .fin {
    display: none;
}

.bouton-lire-plus {
    cursor: pointer;
    padding: 3px;
    font-weight: bold;
    text-align: center;
    display: block;
    padding: 15px 60px;
}

.agrandissement {
    display: flex;
    justify-content: space-around;
}

.boite1 {
    position: absolute;
    top: 900px;
    width: 100px;
    text-align: center;
    width: 40%;
    padding: 30px;
    background-color: black;
    border: 5px solid blue;
    border-radius: 15px;
    color: white;
    font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
}

h4 {
    position: relative;
    top: 50px;
    font-size: 16px;
}

/* Menu */
.container {
    height: 150vh;
}