@import url('https://fonts.googleapis.com/css2?family=Kodchasan:wght@200&family=Nunito+Sans:opsz,wght@6..12,200&display=swap');

h1 {
    font-family: Kodchasan;
    font-size: 84px;
    }

h2, .ecriture li{
    font-family: Nunito Sans;
    font-size: 32px;
    font-weight: bold;
    }

.ecriture{
        padding-left: 10%;
        display: block;
        }
.formulaire{
        margin-left: 25%;
        margin-right: 25%;
        padding: 3%;
        display: block;
        background-color: #D9D9D9;
        width: 50%;
        position: relative;
        }
.test{
    margin: 5%;
}

input{
    border-radius: 8px;
    border-color: #D9D9D9;
}

input[type=text]:focus {
    border: 3px solid #555;
  }
  
textarea{
    border-radius: 8px;
}

label{
    font-family: Nunito Sans;
}

@media only screen
and (max-device-width: 576px)
and (orientation: portrait) {
    
    h1 {
        font-size: 40px;
        text-align: center;
    }

    h2 {
        text-align: center;
    }

    .ecriture {
        padding: 0 0 0 0;
    }

    .ecriture li {
        font-size: 20px;
    }

    .formulaire {
        width: 300px;
        height: 420px;
        margin: 0 0 0 0;
    }
    
    .test {
        display: flex;
        justify-content: center;
    }
}