
section{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    padding-block: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.d-none{
    display: none;
}
.active{
    display: block;
}
.inscription{
    width: 70vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form__header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 100%;
}
.form__header img{
    padding: 15px;
    background-color: var(--white);
    width: 35%;
}
h1{
    font-family: 'Krona One';
    text-align: center;
    font-weight: 200;
    font-size: clamp(12px, 4vw, 25px);
    width: 70%;
}

.inscription .form{
    margin-top: 50px;
    width: 50vw;
    padding-bottom: 50px;
}


.inscription > a{
    color: var(--orange);
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}
.inscription > a:hover{
    color: var(--black);
    transition: 0.3s;
}
form h2{
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 20px;
}
form h2.center{
    color: var(--orange);
    text-transform: uppercase;
    margin-bottom: 20px;
    text-align: center;
}

.etape1-inputs,
.etape2-inputs,
.etape3-2-inputs {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-column-gap: 40px;
    grid-row-gap: 20px;
}
.etape1-inputs,
.etape2-inputs {
    grid-template-rows: repeat(2, 1fr);
}
.etape4-inputs{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}
.etape4-inputs > div{
    width: 33%;
}
.etape4-inputs > .input{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}
.etape4-inputs picture{
    width: 15vw;
    height: 15vw;
    border-radius: 50%;
    background-color: #fbbd515b;
}
.etape4-inputs picture img{
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.picture__name,
.picture__recommandation{
    padding-bottom: 60px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.picture__recommandation a{
    text-decoration: none;
    color: var(--white);
    font-weight: bold;
    padding: 7px 25px;
    background-color: var(--blue);
    border-radius: 5px;
    width: fit-content;
    margin-top: 10px;
}
.picture__recommandation a:hover{
    opacity: 0.8;
}
.picture__recommandation p{
    opacity: 0.8;
}

.picture__name h3{
    font-size: 2rem;
    font-family: 'Krona One';
}
.picture__name p{
    font-size: 1.8rem;
    opacity: 0.8;
}
.back-home{
    position: absolute;
    top: 50px;
    left: 50px;
    text-decoration: none;
}
.back-home i{
    transform: translateY(2px);
    padding-right: 5px;
    transition: 0.2s;
}
.back-home:hover i{
    transform: translate(-3px, 2px);
}
@media (max-width: 1440px) {
    .form__header{
        max-width: 90%;
    }
    .inscription form{
        width: 50%;
    }
    h1{
        width: 80%;
    }

}
@media (max-width: 1024px) {
    .inscription{
        width: 80vw;
    }
    h1{
        width: 90%;
    }
    .etape4-inputs{
        flex-wrap: wrap;
        justify-content: space-around;
        gap: 20px;
    }

}
@media (max-width: 768px) {
    .form__header{
        max-width: 100%;
    }
    .form__header img{
        padding: 15px;
        background-color: var(--white);
        width: 80%;
    }
    .inscription .form{
        width: 70vw;
    }
    form h2{
        text-align: center;
        font-size: 1.2rem;
        margin-bottom: 10px;
    }
    .etape1-inputs,
    .etape2-inputs{
        display: grid;
        grid-template-columns: repeat(1, 1fr);
        grid-template-rows: repeat(1fr);
        grid-row-gap: 0px;
    }
    .responsive{
        display: none;
    }
    .etape4-inputs{
        display: flex;
        flex-direction: column;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        gap: 0px;
    }
    .picture__recommandation{
        display: none;
    }
    .picture__name{
        text-align: center;
    }
    .etape4-inputs > .input{
        gap: 20px;
    }
    .etape4-inputs picture{
        width: 30vw;
        height: 30vw;
    }
    .etape4-inputs > div{
        width: 75%;
    }
    .etape4 .row-end {
        width: 100%;
        display: flex;
        justify-content: center;
    }
}
@media (max-width: 600px) {
    .back-home{
        top: 25px;
        left: 25px;
    }
}
@media (max-width: 425px) {
    .inscription form{
        width: 80%;
    }
}