@media only screen and (max-width: 1200px) {

    #menu ul {
        gap:1rem;
    }
    .container-texte-seul {
        width: 100%;
        border-radius: 0rem;
    }

    .container_cards {
        width:90%;
        margin: auto;
        margin-top:50px;
    }

    .section-droite {
        width:90%;
        margin: auto;
        margin-top:50px;
    }

    .section-gauche {
        width:90%;
        margin: auto;
        margin-top:50px;
        background: none;
    }

    .lien-card a {
        font-size: 0.8rem;
    }
}

@media only screen and (max-width: 600px) {

    .nav {
        padding: 0rem 0.5rem;
    }

    .navbar {
        padding: 0.5rem;
    }

    #logo img {
        width: 35px;
    }

    #hamburger {
        display: block;
    }

    #login-mobile {
        display: block;
    }

    #container-login {
        display: none;
    }

    .hero-logo {
        display: none;
    }

    .hero-title {
        font-size: 50px;
    }

    .hero-subtitle {
        font-size: 18px;
        font-weight: 400;
        line-height: 155.556%;
        max-width: 600px;
        margin: 20px auto 30px;
        text-align: center;
        width:90%;
    }

    .hero-illustration {
        opacity: 0.3;
    }


    #menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        height: 100vh;
        background: #0f172a;
        flex-direction: column;
        justify-content: center;
        padding: 2rem;
        transition: right 0.3s ease-in-out;
        z-index: 1000;
    }
    #menu.open {
        right: 0;
    }
    #menu ul {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }

    .container_cards {
        flex-direction: column;
    }
    .card-02 {
        position:relative;
        width:100%;
        background: var(--dark-color);
        padding: 1rem;
        border-radius: 1rem;
        display: flex;
        align-items: center;
    }

    .illustration-card {
        width:100%;
    }


    .card {
        width:100%;
    }

    .container-section {
        flex-direction: column;
    }

    .section-gauche .container-section {
        flex-direction: column;
    }

    .section-image {
        width:100%;
    }

    .section-content {
        width:100%;
    }

    .footer-top {
        flex-direction: column-reverse;
    }

    .col-footer {    
        width:100%;
        text-align: center;
        margin-bottom:20px;
    }
}