.log-background{
    height: 100vh;
    background-image: url('garage.jpg');
    display: flex;
    justify-content: start;
    align-items: center;
}

.h1{
    color: red;
}

.log-background::before {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /* Dégradé linéaire avec différentes opacités */
    background-image: linear-gradient(to right,
    rgba(0, 0, 0, 1) 30%,
    rgba(0, 0, 0, 0.5),
    rgba(0, 0, 0, 0));
}
.login{
    margin-left: 5%;
    z-index: 10;
    display: flex;
    justify-content: start;
    align-items: center;
    background: #e7e7e7;
    height: 90%;
    width: 35%;
    border-radius: 25px;
    overflow: hidden;
}
.container {
    display: flex;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.bandeau {
    position: relative;
    width: 35%;
    background: #212529;
    height: 98%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    margin-left: 10px;
    border-radius: 15px;
    z-index: 11;

}
.form-base{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 65%;
    height: 100%;
}
.message-base{
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 65%;
    height: 100%;
}
.login-form{
    position: relative;
    z-index: -10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width:620px;
}
.login-form-head{
    width: 100%;
    display: flex;
    justify-content: end;
}
.password-grp div{
    display: flex;
    flex-direction: column;
}
.name-grp{
    display: flex;
    justify-content: space-between;
}
.name{
    display: flex;
    flex-direction: column;
    width: 48%;
}

.inputLog{
    border-radius: 15px;
    height: 40px;
    border: solid 1px #b6b6b6;
    margin: 15px 0 15px  0 ;
    background: #f5f5f5;
    transition: all 0.5s;
    padding-left: 10px;
}
.inputLog:hover{
    border: solid 1px #e7e7e7;
    background: #ffffff;
    transition: all 0.5s;
}
.action-menu{
    display: flex;
    justify-content: space-between;
}
.action-div{
    display: flex;
    justify-content: space-between;
}
#check{
    width: 16px;
    height: 16px;
}
.submit-btn{
    border-radius: 15px;
    height: 45px;
    border:0;
    width:300px;
    margin: 15px 0 15px  0;
    cursor: pointer;
    background: #ba8b00;
    color: white;
    transition: all .5s;
}
.subscribe-btn{
    border-radius: 15px;
    height: 45px;
    border:0;
    width:300px;
    margin: 15px 0 15px  0;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #969696;
    transition: all .5s;
}
.subscribe-btn:hover{
    background: #bebebe;
    transition: all .5s;
}
.btn-submit-subscribe{
    display: flex;
    justify-content: center;
}
.submit-btn:hover{
    background: #e1ae17;
    transition: all .5s;
}
.background-image {
    background: #494949;
}
.bandeau-head{
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    height: 70px;
}
.back-btn{
    display: flex;
    justify-content: center;
    align-items: center;
    height: 40px;
    margin-left: 20px;
    background: #ba8b00;
    color: white;
    width: 200px;
    border-radius: 15px;
}
.back-btn:hover{
    background: #e8b722;
}

.bandeau-content{
    width: 80%;
}
.bandeau-end{
    display: flex;
    justify-content: center;
}
.bulle{
    border-radius: 15px;
    padding: 15px;
    width: 80%;
    margin-bottom: 30px;
    background: #ba8b00;
}
.login {
    /* Ajoutez ces propriétés pour appliquer l'animation */
    animation: expand-login 2s  forwards ;
    animation-delay: .1s; /* Ajoutez cette ligne */
    visibility: hidden;
}

.message-base,
.form-base {
    /* Ajoutez ces propriétés pour appliquer l'animation */
    animation: slide-form-base 2s forwards;
    animation-delay: .1s; /* Ajoutez cette ligne */
    visibility: hidden;
}
.hide-children > * {
    position: relative;
    top:-30px;
    animation: fadeIn 2s forwards;
    animation-delay: 2s; /* Ajoutez cette ligne */
    opacity: 0;
}
.logo-content{
    width: 100%;
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
}
.logoRbs{
    width: 300px;
}
.logo{
    width: 300px;
    border-radius: 25px;
}
.faq-link{
    height: 50px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
}
@keyframes fadeIn {
    0% {
        top:-30px;
        opacity: 0;
    }
    100% {
        opacity: 1;
        top:0;
    }
}

@keyframes expand-login {
    0% {
        width: 35%;
    }
    100% {
        width: 90%;
        visibility: visible;
    }
}

@keyframes slide-form-base {
    0% {
        transform: translateX(-100%);

        visibility: hidden;
    }
    100% {
        transform: translateX(0);

        visibility: visible;
    }
}
.arrow-menu {
    width: 24px;
    height: 24px;
    margin: 5px 10px 5px 10px;
}
.arrow-menu.rotate {
    transform: rotate(90deg);
    transition: transform .3s ease;
}

.arrow-menu.rotate-back {
    transform: rotate(-180deg);
    transition: transform 1s ease;
}
.connected {
    height: 50px;
    width: 200px;
    margin: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: 0.5s;
    background: #b6b6b7;
    border-radius: 20px;
}
.connected.clicked {
    background:#212529;
    border-radius: 20px;
}
.connected:hover {
    display: flex;
    align-items: center;
    border-radius: 20px;
    background: #6a6e73;
    transition: 0.5s;
}
.profil-img {
    margin: 5px 10px 5px 10px;
    border-radius: 50%;
    background: #ffffff;
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.dropdown-menu {
    position: absolute;
    top: 80px;
    right: 20px;
    width: 200px;
    background-color: #3a3f44;
    border-radius: 20px;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transform: translateY(-10px);
    transition: max-height 0.3s ease, opacity 0.3s ease, transform 0.3s ease;
}
.dropdown-menu.show {
    max-height: 400px; /* Ajustez cette valeur selon la hauteur de votre menu */
    opacity: 1;
    transform: translateY(0);
}
.dropdown-item {
    display: block;
    padding: 10px 20px;
    color: white;
    text-decoration: none;
}
.dropdown-item:hover {
    background-color: #53585d;
}

@media screen and (max-width: 1200px) {
    .login-form{
        width: 80%;
    }
    .submit-btn{
        width: 45%;
    }
    .subscribe-btn{
        width: 45%;
    }
    .logo{
        width: 90%;
    }
}

@media screen and (max-width: 1080px) {
    .connected{
        margin-top: 15px;
        margin-right: 15px;
        margin-bottom: 0;
    }
    .login{
        display: flex;
        justify-content: center;
        z-index: 10000;
        width: 100%;
        height: 100%;
        margin: 0;
        border-radius: 0;
        animation: expand-login .5s  forwards ;
    }
    .message-base,
    .form-base {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        /* Ajoutez ces propriétés pour appliquer l'animation */
        animation: slide-form-base .1s forwards;
        animation-delay: .1s; /* Ajoutez cette ligne */
        visibility: visible;
    }
    .bandeau{
        display: none;
    }
    .form-base{
        width: 100%;
        height: 100%;
    }
    .login-form{
        width: 80%;
        height: initial;

    }
    .log-background{
        position: relative;
        visibility: hidden;
        background: #e7e7e7;
    }
    .log-background::before{
        display: none;
    }
    .action-div{
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    .hide-children > * {
        position: relative;
        top:-30px;
        animation: fadeIn 1s forwards;
        animation-delay: .5s; /* Ajoutez cette ligne */
        opacity: 0;
    }
    .submit-btn{
        width: 100%;
    }
    .subscribe-btn{
        width: 100%;
    }
    @keyframes expand-login {
        0% {
            width: 100%;
        }
        100% {
            width: 100%;
            visibility: visible;
        }
    }
    @keyframes slide-form-base {
        0% {
            transform: translateX(0);

            visibility: visible;
        }
        100% {
            transform: translateX(0);

            visibility: visible;
        }
    }
}