/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Cuerpo */
body {
    font-family: Arial, Helvetica, sans-serif;
    background-color: #000;
    color: #fff;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #111;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;
    z-index: 1000;
    box-shadow: 0 2px 5px rgba(0,0,0,0.5);
}

.logo {
    font-size: 24px;
    letter-spacing: 2px;
}

/* Botón Hamburguesa */
.menu-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 25px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    cursor: pointer;
    z-index: 1001;
}

.menu-btn span {
    display: block;
    height: 4px;
    width: 100%;
    background: #fff;
    border-radius: 2px;
    transition: all 0.4s ease;
}

/* Transformar en X */
.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.menu-btn.active span:nth-child(2) {
    opacity: 0;
}
.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Sidebar */
.sidebar {
    position: fixed;
    top: 0;
    right: -300px;
    width: 250px;
    height: 100%;
    background: #222;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: right 0.4s ease;
    flex-direction: column;
    z-index: 999;
}

.sidebar.show {
    right: 0;
}

/* Navegacion Links */
.nav-links {
    display: flex;
    flex-direction: column;
    gap: 20px;
    opacity: 0;
    transform: translateY(20px);
    animation: slideIn 0.5s forwards;
}

.nav-links a {
    font-family: 'Dancing Script', cursive;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
    color: #ff9800;
    transform: scale(1.1);
}


.container {
    padding: 2rem;
    color: white;
    text-align: center;
}

.features {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    color: white;
}

.feature {
    max-width: 300px;
    margin-bottom: 2rem;
    color: white;
}


/* Animacion de los links */
@keyframes slideIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Main */
main {
    padding-top: 80px;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    .logo {
        font-size: 20px;
    }
    .nav-links a {
        font-size: 18px;
    }
}
