*{
    padding: 0;
    margin: 0;
    font-family: arial;
    list-style-type: none;
    text-decoration: none;
}

h2, h1, h3 {
    text-align: center;
    font-weight: bold;
    color:white;
}

h3 {
    color: #4BB559;
}

/*erreur*/
#error2, #error1, #error3 {
    color: white;
    font-weight: normal;
    margin-top: 3px;
    padding: 0;
    font-size: 10px;
}

#error1 {
    margin-left: 55%;
}


/*HEADER*/
header {
    background-image: url("/poele_granules/img/background-granules.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    height: 650px;
    color: white;
    font-weight: bold;
}

h1 {
    padding-top: 20px;
}

#title {
    width: 500px;
    margin: auto;
}

#txt-form-header {
    width: 80%;
    margin: auto;
    margin-top: 40px;
    /*background-color: red;*/
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#container-text-header{
    width: 35%;
    font-size: 20px;
    padding-right: 30px;
    padding-top: 30px;
}

header span {
    color: #4BF50F;
}

/*FORMULAIRE*/

#form {
    background-color: #5E8763;
    opacity: 0.8;
    width: 50%;
    height: 10%;
    border-radius: 10px;
    padding: 30px;
}

#titre-form {
    font-size: 20px;
}

.fl, .fl-error {
    width: 95%;
    margin: auto;
}

.fl {
    margin-top: 30px;
}

.f2pl {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
}

.fl input, .fl select {
    width: 100%;
}

#acceptations {
    font-weight: normal;
    font-size: 12px;
}

#fb {
    margin: auto;
    display: flex;
    justify-content: flex-end;
    margin-top: 30px;
}

#fb input{
    width: 45%;
    padding-top: 5px;
    padding-bottom: 5px;
    background-color: white;
    border-radius: 5px;
    color: black;
}


#hbutton {
    height: 50px;
    cursor: pointer;
    margin-top: 10px;
}

#hbutton[type="submit"] {
    font-weight: bold;
}

#hbutton:hover {
    background-color: antiquewhite;
}

#fb input:nth-child(1), #fb input:nth-child(5){
    width: 4%;
}

header select, input{
    background-color: transparent;
    border: 0px;
    border-bottom: 1.5px solid white;
    padding-bottom: 3px;
    padding-left: 3px;
    outline: none;
    color: white;
    width: 45%;
}

header option {
    background-color: white;
    color: black;
}

header input::placeholder {
    color: white;
    opacity: 100%;
}

.exeption input{
    padding: 0px;
    width: 4%;
}

/*FIRST CONTAINER*/
.contenu {
    width: 70%;
    margin: auto;
    margin-top: 200px;
}

.contenu h2 {
    color: black;
    font-size: 40px;
}

.contenu h3 {
    color: #4BB559;
    text-align: left;
}

.under-containt {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.under-containt img{
    margin-right: 50px;
}

#first-img {
    padding-left: 100px;
    padding-top: 50px;
    padding-bottom: 25px;
}

.txt-prime {
    width: 50%;
}

.txt-prime p {
    margin-top: 15px;
}

video {
    width: 400px;
    height: 400px;
}

#green-house {
    width: 250px;
    padding: 25px;
}

button {
    background-color: #53BF2D;
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 25px;
    padding-right: 25px;
    border: none;
    border-radius: 5px;
    text-align: center;
    margin: auto;
    font-weight: bold;
    font-size: 16px;
    box-shadow: 0px 4px 8px #888888;
    color: white;
}

button:hover {
    background-color: #58e327;
    cursor: pointer;
}

.contant-button {
    display: flex;
    justify-content: center;
    margin: auto;
}

#no-shadow{
    box-shadow: none;
}

/* BANDEAU */
.bandeau {
    margin-top: 100px;
    background-color: #5E8763;
    padding-top: 75px;
    padding-bottom: 75px;
    font-size: 25px;
}

/*SECOND CONTAINER*/
#illustration {
    width: 60%;
}

#bold {
    font-weight: bold;
}

.contenu li {
    padding-top: 10px;
    padding-bottom: 10px;
}

.contenu li:last-child {
    margin-bottom: 20px;
}

#pac {
    font-size: 30px;
}

.green-list {
    color: #4BB559;
    font-weight: bold;
}

#contenu2 {
    margin-top: 50px
}

/* BANDEAU DISPO GOUV */
#logo {
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-top: 40px;
    margin-bottom: 40px;
}

#logo img {
    height: 80px;
}

#logo img:first-child {
    height: 60px;
}

/* FOOTER */
footer {
    text-align: center;
    padding: 30px;
}

/* RESPONSIVE */

@media (max-width: 1000px) {

    /*HEADER*/

    #container-text-header{
        font-size: 16px;
    }
    /* FORM */
    #fb {
        flex-wrap: wrap;
    }

    #titre-form {
        font-size: 16px;
    }

    /*CONT 1*/

    .contenu {
        margin-top: 250px;
    }

    /*CONT2*/
    #illustration {
        display: none;
    }

    .txt-prime {
        margin-top: 50px;
        margin-bottom: 30px;
        width: 100%;
    }

    #logo {
        width: 80%;
        justify-content: center;
        flex-wrap: wrap;
    }
}

@media (max-width: 900px) {
    .under-containt {
        flex-wrap: wrap;
        justify-content: center;
    }

    #green-house {
        display: none;
    }

    .txt-prime {
        margin-top: 0px;
        margin-bottom: 30px;
    }

    /*BANDEAU*/

    #logo {
        justify-content: center;
        flex-wrap: wrap;
        gap: 20px;
    }

    #logo img:first-child {
        height: 60px;
    }
}

@media (max-width: 649px) {

    #title {
        font-size: 12px;
        width: 100%;
    }

    .contenu {
        margin-top: 530px;
    }
    #txt-form-header {
        flex-wrap: wrap-reverse;
        justify-content: center;
        width:80%;
    }

    /*#txt-form-header p {
        color: black;
        width:80%;
        text-align: center;
    }*/

    #form {
        width: 80%;
        color: white;

    }

    #txt-form-header span {
        color: #4BB559;
    }

    #container-text-header{
        padding-right: 0;
        color: black;
        width:80%;
        text-align: center;
    }
}

@media (max-width: 430px) {
    .contenu {
        margin-top: 730px;
    }

    .f2pl {
        flex-wrap: wrap;
    }

    .f2pl select, .f2pl input {
        width: 100%;
        margin-bottom: 20px;
    }

    .fl {
        margin-bottom: 0px;
    }
    #error1 {
        margin-left: 0px;
    }
}

@media (max-width: 391px) {
    .f2pl {
        flex-wrap: wrap;
    }

    .f2pl select, .f2pl input {
        width: 100%;
        margin-bottom: 20px;
    }

    .fl {
        margin-bottom: 0px;
    }

    .contenu {
        margin-top: 800px;
    }
}
