/*STYLES DE LA PAGE DES AVIS*/

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

/*BOUTON POUR REMONTER LA PAGE*/

.top {
    position: fixed;
    bottom: 5%;
    right: 5%;
    height: auto;
    z-index: 6;
}

.top a {
    font-size: 2rem;
    margin: 0px;
    list-style: none;
}

.top i {
    color: #950101;
}

.top i:hover {
    color: #ff0606;
    transition: 1s;
}


/*AVIS*/

.comments {
    padding: 40px 45px 50px 45px;
    text-align: center;
}

p {
    font-size: 1.2em;
    margin-bottom: 50px;
}

/*complément du code dans styles.css*/


/* FORMULAIRE */

.sect_form {
    display: flex;
    justify-content: center;
    gap: 100px;
    padding: 25px;
    flex-wrap: wrap;
    border: double 7px;
    border-image: linear-gradient(to right, #3D0000, #950101);
    border-image-slice: 1;
    max-width: 1500px;
    margin: auto;
    margin-bottom: 50px;

}

form {
    display: flex;
    flex-direction: column;
    max-width: 300px;
    align-items: center;
    padding: 25px;
    border-radius: 3px;
    justify-content: center;
}

label {
    color: #333;
    font-weight: bold;
    margin-bottom: 5px;
    text-transform: uppercase;
}

input {
    margin-bottom: 25px;
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 3px;
    font-size: .875rem;
}

.bouton {
    padding: 7px 15px;
    background-color: #3D0000;
    color: white;
    border: none;
    border-radius: 3px;
    cursor: pointer;
    transition: 0.3s ease;
    margin-top: 30px;
    margin-bottom: 0;
    height: 44px;
    width: 100px;
}

.bouton:hover {
    background-color: #950101;
}


input:required {
    border-bottom: 2px solid #950101;
}

input:required:valid {
    border-bottom: 2px solid rgb(66, 202, 12);
}

.italic {
    font-weight: bold;
    font-style: italic;
}

.dark_red {
    font-weight: bold;
    color: #950101;
}

legend {
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.txt_form {
    width: 500px;
    height: 200px;
}

.txt_com {
    color: #950101;
    font-weight: bold;
    margin-top: 20px;
    font-size: 1.2rem;
    text-decoration: none;
}

.txt_com:hover {
    text-decoration: underline;
}

.txtdroits {
    margin-bottom: 0;
}

@media screen and (width <=560px) {
    .txt_form {
        max-width: 320px;
        height: 270px;
    }
}