@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lilita+One&display=swap');
@font-face {
  font-family: 'Gobold-Bold';
  src: url('../assets/Gobold-Bold.woff') format('woff');
}
:root {
    --text-color: white;
    --green1-color: #55B039;
    --green2-color: #3EA935;
    --green3-color: #2B672D;
    --green4-color: #17361C;
  }

body {
    background-color: black; /* Set background color to black */
    color: white; /* Ensure text color is white */
    margin: 0;
    padding: 0;
    height: 100%;
}

.conteneur {
  margin-top: 150px;
  justify-content: center;
  z-index: 1;
  margin-bottom:100px;
  padding-bottom : 25px;
  

}


.conteneur .titre h1 {
  font-family: "Lilita One", sans-serif;
  font-weight: 300;
  font-size: 64px;
  color: white;  
  text-align: center;
}

hr {
    margin-top: 64px;
    margin-bottom: 55px;
    color: white;
    border: 0;
    opacity: 100%;
    border-top: var(--bs-border-width) solid;

}

body {
  background-color: #000000;
}

.formulaire{
    background-color: var(--green1-color) ;
    font-size: 28px;
    font-family: "Lilita One", sans-serif;
    color:white;
    font-weight: 300;
    max-width: 785px;
    height: 387px;
    border-radius:50px;
    padding:40px;
    margin-left:auto;
    margin-right:auto;
    display:flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-content: center;
}

.formulaire input::placeholder{
    font-family:  'Roboto', sans-serif;
    font-size:16px;
    color:white;
}
.formulaire input:focus{
    font-family:  'Roboto', sans-serif;
    font-size:16px;
    color:white;
}

.formulaire #password{
    background-color:#2B672D;
    border-radius: 15px;
    width:645px;
    height:40px;
    padding-left: 15px;
    margin-bottom:20px;
    margin-top: 10px;
}
.formulaire #password:hover{
    background-color: #19361d;
}

.formulaire #mail{
    background-color:#2B672D;
    border-radius: 15px;
    width:645px;
    height:40px;
    padding-left: 15px;
    margin-bottom: 54px;
    margin-top: 10px;
}
.formulaire #mail:hover{
    background-color:var(--green4-color);
}

.formulaire #envoyer{
    color:white;
    background-color:#000000;
    border-radius: 15px;
    font-size:28px;
    font-family:"Lilita One", sans-serif;
    width:165px;
    height:45px;
    align-self: flex-end ; /* Place le bouton submit à la fin du formulaire */
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

}
.formulaire #envoyer:hover{
    color:#000000;
    background-color: white;
}

.article {
    display: flex;
    align-items: center;
    max-width: 647px;
    margin-left: auto;
    margin-right: auto;
}

.article h2{
    font-size: 16px;
    font-family:'Roboto', sans-serif;
    color: white;
    text-align: center;
    font-weight: 400;
}
.article a{
    font-size: 16px;
    font-family:'Roboto', sans-serif;
    color: #55B039;
    text-align: center;
    padding-left: 5px;
    font-weight: 400;
}

@media (max-width:700px) {
    .contenu .titre h1 {
        font-family: "Lilita One", sans-serif;
        font-weight: 300;
        font-size: 40px;
        color: white;  
        text-align: center;
    }

    .formulaire{
        background-color: #55B039;
        font-size: 20px;
        font-family: "Lilita One", sans-serif;
        color:white;
        font-weight: 300;
        max-width:400px;
        border-radius:25px;
        padding:40px;
    }

    .formulaire input::placeholder{
        font-family:  'Roboto', sans-serif;
        font-size:12px;
    }    

    .formulaire #password{
        width:340px;
        height:40px;
    }
    .formulaire #mail{
        width:340px;
        height:40px;
    }

    .formulaire #envoyer{
        width:200px;
        height:40px;
        font-size: 20px;
    }

    .article {
        display: flex;
        align-items: center;
        max-width: 400px;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width:430px) {
    .contenu .titre h1 {
        font-family: "Lilita One", sans-serif;
        font-weight: 300;
        font-size: 40px;
        color: white;  
        text-align: center;
    }

    .formulaire{
        background-color: #55B039;
        font-size: 20px;
        font-family: "Lilita One", sans-serif;
        color:white;
        font-weight: 300;
        max-width:300px;
        border-radius:25px;
        padding:40px;
    }

    .formulaire input::placeholder{
        font-family:  'Roboto', sans-serif;
        font-size:12px;
    }    

    .formulaire #password{
        width:250px;
        height:40px;
    }
    .formulaire #mail{
        width:250px;
        height:40px;
    }

    .formulaire #envoyer{
        width:115px;
        height:40px;
        font-size: 20px;
    }

    .article {
        display: flex;
        align-items: center;
        max-width: 300px;
        margin-left: auto;
        margin-right: auto;
    }
    
}

