/* General Styles */
body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.sidebar {
    height: 100vh;
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #1a1818;
    z-index: 1000;
    width: 300px; /* Aumentado el ancho */
    transition: transform 0.3s ease;
    padding: 20px; /* Agregado padding para más espacio interno */
}

.sidebar.closed {
    transform: translateX(-100%);
}

.main-content {
    margin-left: 320px; /* Aumentado el margen para coincidir con el nuevo ancho del sidebar */
    margin-bottom: 100px;
    transition: margin-left 0.3s ease;
}

.footer {
    position: fixed;
    height: 100px;
    bottom: 0;
    width: 100%;
    z-index: 1000;
    background-color: #1a1818;
    padding: 10px 0;
    text-align: center;
}

.text-center h2 {
    margin-top: 20px;
    opacity: 0;
    transform: translateY(-20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.text-center p {
    margin: 20px 0;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.social-icon {
    font-size: 25px;
}

.nav-link {
    position: relative;
    transition: all 0.3s ease;
    color: white;
    font-size: 20px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
    margin-bottom: 15px; /* Margen inferior para espaciado */
    text-decoration: none; /* Eliminar subrayado */
}

.nav-link,
.nav-link:focus,
.nav-link:active,
.nav-link:hover,
.nav-link:visited {
    text-decoration: none !important;
}

.nav-link::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    background-color: white;
    bottom: -2px;
    left: 0;
    transition: all 0.3s ease;
}

.nav-link:hover::before {
    width: 100%;
}

.logo-img {
    transition: transform 0.3s ease;
}

.logo-img:hover {
    transform: scale(1.05);
}

.text-center h2,
.text-center p {
    opacity: 1;
    transform: translate(0);
}

/* Responsive Styles */
@media (max-width: 768px) {
    .sidebar {
        width: 200px;
        transform: translateX(-100%);
    }

    .sidebar.open {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        padding: 20px;
    }

    .footer {
        position: static;
    }

    .hamburger-menu {
        display: flex;
        justify-content: center;
        align-items: center;
        cursor: pointer;
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        width: 40px;
        height: 40px;
        background-color: #000;
    }

    .hamburger-menu span {
        display: block;
        width: 25px;
        height: 3px;
        background: white;
        margin: 4px 0;
        transition: all 0.3s ease;
    }

    .hamburger-menu.open span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger-menu.open span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.open span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}
