@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap');

body {
    background-color: #121212;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    display: flex;
    margin: 0;
}

/* Estilos del botón de menú */
.menu-toggle {
    position: fixed;
    top: 15px;
    left: 15px;
    background: #0ff;
    color: #000;
    border: none;
    padding: 10px 15px;
    font-size: 20px;
    cursor: pointer;
    z-index: 1000;
    border-radius: 5px;
    box-shadow: 0px 0px 10px cyan;
}

/* Menú lateral */
 .sidebar {
    width: 250px;
    background-color: #1a1a1a;
    padding: 20px;
    position: fixed;
    height: 100vh;
    box-shadow: 4px 0px 10px rgba(0, 255, 255, 0.2);
    text-align: center;
    left: -300px; /* Oculto por defecto */
    transition: 0.3s ease-in-out;
} 

.sidebar.show {
    left: 0;
}

.sidebar img {
    width: 100px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px rgba(0, 255, 255, 0.8);
}

.sidebar h2 {
    color: cyan;
    text-shadow: 0px 0px 10px cyan;
}

.sidebar nav {
    margin-top: 20px;
}

.sidebar a {
    display: block;
    color: #0ff;
    text-decoration: none;
    margin: 10px 0;
    font-weight: bold;
    padding: 10px;
    transition: 0.3s;
}

.sidebar a:hover {
    color: #ff00ff;
    background: rgba(255, 0, 255, 0.2);
    border-radius: 5px;
}

.sidebar button {
    width: 100%;
    background: linear-gradient(45deg, #ff00ff, #0ff);
    color: white;
    padding: 10px;
    border: none;
    cursor: pointer;
    font-size: 16px;
    margin-top: 20px;
    transition: 0.3s;
}

.sidebar button:hover {
    box-shadow: 0px 0px 10px cyan;
}

/* Ajuste para el contenido */
.content {
    margin-left: 270px;
    padding: 20px;
}

/* Para móviles */
@media (max-width: 768px) {
    .content {
        margin-left: 0;
    }
}
