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

h1 {
    font-family: 'Mohave';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px;
    color:#1C2321;
}

h2 {
    font-family: 'Mohave';
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: 36px;
    color:#1C2321;
}

h3{
    font-family: 'Poppins';
    font-size: 32px;
    font-style: normal;
    font-weight: 800;
    line-height: 48px;
    color:#1C2321;
}

label {
    font-family: 'Mohave';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    color:#1C2321;
}

a {
    text-decoration: none;   
}

header{
    display: flex;
    width: 100%;
    padding: 12px 8px;
    justify-content: center;
    align-items: center;
    background-color: #1C2321;
    position: fixed;
    top:0px;
    z-index:2;
}

header a{
    color: #fff;
    font-family: 'Poppins';
    font-size: 28px;
    font-style: normal;
    font-weight: 800;
    line-height: 42px;
}

main{
    overflow: hidden;
    margin-top: 64px;
}

.formulaire{
    position: relative;
}

.text{
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    align-self: stretch;
    text-align:justify;
}

.text p{
    color:#1C2321;
    font-family: 'Mohave';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    align-self: stretch;
}

.text figure{
    width:64px;
    height:64px;
}
.text figure img{
    object-fit:cover;
}

form{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
    text-align: left;
}

input[type="text"], input[type="email"]{
    appearance: none;
    border:none;
    border-bottom: 1px solid #80817a;
    background: #FFF;
    align-self: stretch;
    display: flex;
    padding: 4px 8px;
    align-items: center;
}

input[type="text"]:focus, input[type="email"]:focus{
    outline: none;
    border-bottom: 1px solid #0F0;
}

.check{
    display:flex;
    gap: 8px;
}

input[type="checkbox"]{
    appearance: none;
    width: 12px;
    height: 12px;
    border:1px solid #80817a;
    align-self:baseline;
    margin:2px;
}

input[type="checkbox"]:checked{
    background-color: #0F0;
}

input[type="checkbox"]:hover{
    background-color: #9F9;
}

input:-webkit-autofill{
    background-color: #9F9!important;
    transition: background-color 5000s ease-in-out 0s;   
}

button{
    border: 3px solid #0F0;
    background-color: #FFF;
    display: flex;
    max-width: 700px;
    padding: 10px 20px;
    justify-content: center;
    align-items: center;
    gap: 8px;
    font-family: 'Mohave';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    
}

button:hover{
    background-color: #9F9;
    transition: 25ms;
}

button:active{
    background-color: #0F0;
    transition: 25ms;
}

.error-message {
    color: red; 
    font-family: 'Mohave';
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21px;
    display: block;
    text-align: left;
    margin-top: -16px;
    width: 100%;
}

.description{
    display: flex;
    padding: 32px;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    align-self: stretch;
}

.description p, ul{
    font-family: 'Mohave';
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

ul{
    padding-left:10%;
}

.motto{
    display: flex;
    padding: 32px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
    text-align: center;
}

.mobile{
    background-color: #1C2321;
    display: flex;
    width: 100%;
    padding: 16px;
    justify-content: space-between;
    align-items: center;
}

.logo img{
    width: 100px;
    height: 100px;
}

.socialmedia a, .mobile nav a, .contact a, .lscreen nav a{
    font-family: 'Mohave';
    font-size: 16px;
    font-style: normal;
    font-weight: 600;
    line-height: 24px; 
    color:#FFF;
}

.socialmedia{
    display:flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.mobile nav a{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: flex-end;
}

.contact a{
    display: flex;
    align-items: center;
    gap: 4px;
}

@media screen and (max-width: 480px){
    .lscreen{
        display: none;
    }

    .hero img{
        width:100%;
        height:401px;
        object-fit: cover;
        object-position: center;
    }

    .color-square.green{
        background:#0F0;
        width: 50%;
        height: 10%;
        transform: rotate(-32.586deg);
        position: absolute;
        left: -35%;
        top: 90%;
        z-index:-1;
    }
    
    .color-square.pink{
        background:#f92988;
        width: 50%;
        height: 10%;
        transform: rotate(31.724deg);
        position: absolute;
        left: 70%;
        top:37%;
        z-index:-1;
    }
}

@media screen and (min-width: 481px){
    .mobile{
        display: none;
    }

    .lscreen{
        background-color: #1C2321;
        display: flex;
        width: 100%;
        padding: 16px 32px;
        justify-content: space-between;
        align-items: center;
        position: relative;
    }
    
    .contact{
        display: flex;
        padding: 0px;
        flex-direction: column;
        justify-content: flex-end;
        align-items: flex-start;
    }

    .contact a{
        padding: 4px 0px;
    }
    
    .lscreen nav{
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-end;
        gap: 8px;
    
    }

    .hero{
        display: flex;
        padding: 32px;
        width: 100%;
        height: 600px;
        overflow: hidden;
    }

    .hero img{
        width:100%;
        object-fit: cover;
        object-position: center;
    }

    .color-square.green{
        background:#0F0;
        width: 1471.243px;
        height: 224.475px;
        transform: rotate(-25.586deg);
        position: absolute;
        left: -190.345px;
        top: -190px;
        z-index:-1;
    }

    .color-square.pink{
        background:#f92988;
        width: 150%;
        height: 15%;
        transform: rotate(30.145deg);
        position: absolute;
        left: -20%;
        top: 30%;
        z-index:-1;
    }
}

@media screen and (min-width: 900px){
    .lscreen{
        padding: 32px;
    }

    .contact{
        display: flex;
        flex-direction: row;
        padding: 30px 0px;
        justify-content: center;
        align-items: center;
        gap: 32px;
    }

    .lscreen nav{
        display: flex;
        flex-direction: row;
        justify-content: center;
        align-items: center;
        gap: 32px;
    
    }
    .formulaire{
        display: flex;
        align-items: flex-start;
        height:max-content;
    }

    .hero{
        width: 55%;
        height: 80%;
        overflow: hidden;
    }

    .hero img{
        max-height: 100%;
    }

    .text{
        display: flex;
        padding: 32px;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        flex: 1 0 0;
        align-self: stretch;
    }

    form{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 16px;
        align-self: stretch;
    }

    .color-square.green{
        transform: rotate(-32.586deg);
        top: -120px;
    }

    .color-square.pink{
        width: 120%;
        height: 10%;
        transform: rotate(15.145deg);
        left: -100px;
        top: 85%;
    }   
}

@media screen and (min-width: 907px){
    .color-square.pink{
        height: 15%;
        top:80%;
    }
}

@media screen and (min-width: 1250px){
    .hero{
        display: flex;
        padding: 64px;
        align-items: flex-start;
        width: 60%;
        height: 864px;
    }

    .text{
        padding: 64px 64px 64px 0;
    }

    form{
        gap: 32px;
    }
   
    .error-message {
        margin-top: -26px;
        
    }

    .description{
        padding: 64px;
        gap: 32px;
    }

    .lscreen{
        padding: 32px 64px;
    }

    .color-square.pink{
        height: 20%;
        top: 80%;
    }
}