/* Estilos para pantallas más pequeñas */
@media screen and (max-width: 768px) {
    .card {
        width: calc(50% - 20px);
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active .line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active .line:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -8px);
    }

    .nav-items {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--color-blanco);
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        z-index: 99;
      }
    
      .nav-items.active {
        display: flex;
      }
    
      .nav-items li {
        margin: 0;
        text-align: center;
        width: 100%;
      }
    
      .nav-items li a {
        padding: 15px 0;
        font-size: 18px;
      }
}

/* Estilos para pantallas más pequeñas */
@media screen and (max-width: 480px) {
    .card {
        width: calc(100% - 20px);
    }
}

@media only screen and (min-width: 600px) {
    .section-bg {
        flex-direction: row; /* En pantallas más grandes, se mostrarán en fila */
    }

    .section-form{
        flex-direction: row;
    }
}