
section{
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    padding-block: 100px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}
.connexion{
    width: 60vw;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.form__header{
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 70%;
}
.form__header img{
    padding: 15px;
    background-color: var(--white);
    width: 100%;
}
h1{
    font-family: 'Krona One';
    text-align: center;
    font-weight: 200;
    font-size: clamp(12px, 4vw, 25px);
}
h1.responsive{
    display: none;
}
.alert-danger {
    color: var(--red);
}

.connexion form{
    margin-top: 50px;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 35%;
}
.connexion form a{
    width: 100%;
    text-align: end;
    margin-top: -10px;
    color: var(--orange);
    margin-bottom: 20px;
}
.connexion form a:hover{
    color: var(--black);
}

.separation{
    width: 30%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-block: 40px;
}
.separation::before{
    content: "";
    border-bottom: solid 1px var(--black);
    width: 100%;
}
.separation::after{
    content: "";
    border-bottom: solid 1px var(--black);
    width: 100%;
}
.connexion > a{
    color: var(--orange);
    font-weight: bold;
    font-size: 1.2rem;
    transition: 0.3s;
}
.connexion > a:hover{
    color: var(--black);
    transition: 0.3s;
}
.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%;
    }
    .connexion form{
        width: 40%;
    }
    .separation{
        width: 50%;
        gap: 20px;
    }
}
@media (max-width: 1024px) { 
    .connexion{
        width: 80vw;
    }
}
@media (max-width: 768px) { 
    .form__header{
        max-width: 100%;
    }
    .form__header img{
        padding: 15px;
        background-color: var(--white);
        width: 80%;
    }
    .connexion form{
        width: 60%;
    }
    .separation{
        width: 70%;
        gap: 20px;
    }
}
@media (max-width: 600px) {
    h1{
        display: none;
    }
    h1.responsive{
        display: block;
    }
    .separation{
        width: 90%;
        gap: 20px;
    }
    .back-home{
        top: 25px;
        left: 25px;
    }
}
@media (max-width: 425px) { 
    .connexion form{
        width: 80%;
    }
}