body {
    background-color: white;
}

.container-login {
    min-height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 2rem;
    background-color: white;
}

.login-content {
    width: 50%;
    height: 47vh;
    background-color: #1B2B65;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
    order: 2;
}

.login-title {
    font-family: Avenir, sans-serif;
    font-weight: 600;
    color: white;
    text-align: center;
    width: 90%;
    max-width: 600px;
    font-size: clamp(2rem, 4vw, 3.2rem);
    line-height: 1.2;
    margin-bottom: clamp(1.5rem, 4vh, 2.5rem);
}

.login-button {
    display: inline-block;
    background-color: white;
    color: #1B2B65;
    padding: clamp(0.8rem, 1.5vw, 1rem) clamp(1.5rem, 2.5vw, 2.5rem);
    border-radius: 50px;
    text-decoration: none;
    font-family: Avenir, sans-serif;
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    font-weight: 500;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.login-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: #1B2B65;
}

.logo-container {
    width: 50%;
    height: 47vh;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    order: 1;
    padding: 2rem;
}

.logo-moji {
    width: auto;
    height: auto;
    max-width: 90%;
    max-height: 80%;
    object-fit: contain;
}

@media (max-width: 1024px) {
    .login-title {
        font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    }

    .logo-moji {
        max-width: 95%;
    }
}

@media (max-width: 768px) {
    .container-login {
        flex-direction: column;
        padding: 0;
        justify-content: flex-start;
    }

    .login-content, .logo-container {
        width: 100%;
    }

    .login-content {
        height: 23vh;
        order: 2;
        padding: 1.5rem;
    }

    .logo-container {
        height: 25vh;
        order: 1;
        padding: 1.5rem 1.5rem 0 1.5rem;
    }

    .login-title {
        font-size: clamp(1.6rem, 4vw, 2.2rem);
        max-width: 500px;
    }

    .logo-moji {
        max-height: 85%;
        max-width: 90%;
    }

    .login-footer {
        padding: 1rem;
        font-size: 16px;
    }
    
    .login-footer img {
        height: 64px;
    }
}

@media (max-width: 480px) {
    .login-content {
        height: 20vh;
        padding: 1rem;
    }
    
    .logo-container {
        height: 22vh;
        padding: 1rem 1rem 0 1rem;
    }
    
    .login-title {
        font-size: clamp(1.4rem, 3.5vw, 1.8rem);
        width: 95%;
    }

    .logo-moji {
        max-height: 75%;
        max-width: 95%;
    }
}

/* Pour les écrans très larges */
@media (min-width: 1600px) {
    .login-title {
        max-width: 800px;
    }
    
    .logo-moji {
        max-height: 75%;
        max-width: 85%;
    }
}

.logo-octo {
    display: block;

    width: 16%;
    margin: 7em auto 5em;
}

.connect{
    text-align: center;
    color: #00a9c5;

}

.connect-div{
    display: block;
    width: 350px;
    border: 1px; border: solid;
    border-color: #00a9c5;
    border-radius: 0.25em;
    padding-top: 1em;
    margin: auto auto 10em;

}

.login-footer {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.2rem;
    font-family: Avenir, sans-serif;
    font-style: normal;
    font-weight: normal;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.02em;
    color: #0E2356;
    gap: 0.5rem;
    background-color: white;
}

.login-footer img {
    height: 80px;
    width: auto;
    margin-left: 0.5rem;
}

