/* 
    Créditos: Cristhian Yalle 
    Descripción: Estilos responsivos para el sitio web de la comunidad de desarrolladores Grupo Yalle.
    Fecha: 2025-06-15
    Licencia: MIT License
    Este archivo contiene estilos CSS para hacer que el sitio web sea responsivo y se adapte a diferentes tamaños de pantalla.
*/

/* Navbar lateral */
.sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 80px;
    height: 100vh;
    background-color: white;
    /*rgba(255, 255, 255, 0.7);*/
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    z-index: 100;
    transition: all 0.3s ease;
    border-right: 0.5px solid #d4d4d4;
}

.sidebar:hover {
    background-color: #420098;
    /*rgba(0, 0, 0, 0.9);*/
}

/*.logo {
                width: 50px;
                height: 50px;
                background-color: #ff00ff;
                border-radius: 50%;
                display: flex;
                align-items: center;
                justify-content: center;
                color: white;
                font-weight: bold;
                font-size: 20px;
                margin-bottom: 40px;
            }*/

.logo img {
    width: 50px;
    height: 50px;
    background-color: #ff00ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 40px;
}

.icon-social-media {
    width: 40px;
    height: 40px;
}

.nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.nav-item {
    color: #ff8eff;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    color: #ff8eff;
    transform: scale(1.2);
}

.social-icons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.social-icon {
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #ff00ff;
}

/* Mega menú */
.mega-menu {
    position: fixed;
    left: -100%;
    top: 0;
    width: 50%;
    height: 100vh;
    background-color: #420098;
    /* rgba(0, 0, 0, 0.95);*/
    z-index: 99;
    padding: 20px;
    transition: all 0.5s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.mega-menu.active {
    left: 80px;
}

.mega-menu-item a {
    color: white;
    font-size: 64px;
    margin: 15px 0;
    padding: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-left: 3px solid transparent;
    font-weight: 600;
    line-height: 100px;
    letter-spacing: -1px;
    text-decoration: none;
}

.mega-menu-item a:hover {
    color: #ff8eff;
    border-left: 3px solid #ff8eff;
    padding-left: 20px;
}