/* Estilos de la navegación */
.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 23px;
    margin-right: 78px;
    float: right;


    font: 13px/20px 'Roboto', Arial, sans-serif;
    text-transform: uppercase;
}

.nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list li {
    margin-left: 20px;
    position: relative;
}

.nav-list li.active > a {
    font-weight: bold; /* O cualquier otro estilo que desees */
    color: #e1d583; /* Un color diferente para resaltar */
}

.nav-list li a {
    text-decoration: none;
    color: #ffffff;
    padding: 10px 15px;
    display: block;
}

.nav-list li a:hover {
    background-color: #72ccb7;
}

.submenu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #4EBCA2;
    list-style: none;
    padding: 0;
    width: 200px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    z-index: 1000;
}

.nav-list li:hover .submenu {
    display: block;
}

.submenu li a {
    padding: 10px 15px;
}

/* Estilos del menú de hamburguesa */
.hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
}

.hamburger span {
    height: 3px;
    background-color: #333;
    transition: 0.4s;
}

.hamburger.active span:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* Media queries para responsividad */
@media (max-width: 768px) {
    .nav-list {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: #72ccb7;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }

    .nav-list.active {
        display: flex;
    }

    .nav-list li {
        margin: 0;
        width: 100%;
        text-align: center;
    }

    .nav-list li a {
        padding: 15px;
    }

    .hamburger {
        display: flex;
    }

    .grid_3 {
        width: 48%;
    }
}

@media (max-width: 480px) {
    .grid_3 {
        width: 100%;
    }
}
