body {
    min-height: 100vh;
    margin: 2rem auto;
    padding: 0;
    /*font-family: Arial, sans-serif;*/
    background: #0F2027;  /* fallback for old browsers */
    background: -webkit-linear-gradient(to top, #2C5364, #203A43, #0F2027);  /* Chrome 10-25, Safari 5.1-6 */
    background: linear-gradient(to top, #2C5364, #203A43, #0F2027); /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
}
.buttons{
    width: 300px;
    background-color: rgba(20, 20, 20, 0.8);
    z-index: 2;
}
/* Estilos del botón para mostrar/ocultar el menú */
.menu-button {            
    display: block;
    position: fixed;
    top: 10px;
    left: 10px;
    border-radius: 50%;
    z-index: 999999;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: 0.6s;
}

.cerrarSesion{
    text-decoration: none;
}

.salir-button {            
    display: block;
    position: fixed;
    /*width: 6rem;*/
    top: 10px;
    left: -300px;
    border-radius: 10px;
    z-index: 999999;
    background-color: #333;
    color: #fff;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    overflow-x: hidden;
    transition: 0.3s;
}

.menu-button:hover{
    color: black;
    background-color: greenyellow;
    box-shadow: 0 0 10px greenyellow, 0 0 40px greenyellow, 0 0 80px greenyellow;
}

.salir-button:hover{
    background-color: red;
    box-shadow: 0 0 10px red, 0 0 40px red, 0 0 80px red;
}
/* Estilos del menú lateral */
.sidebar {
    min-height: 100vh;
    width: 300px;
    position: fixed;
    top: 0;
    border: 1px solid #555c;
    border-radius: 0 1rem 1rem 0;
    left: -300px; /* Inicialmente oculto fuera de la pantalla */
    background-color: rgba(30, 30, 30, 0.8); /* Fondo con efecto de desenfoque */
    backdrop-filter: blur(5px); /* Efecto de desenfoque */
    overflow-x: hidden;
    transition: 0.3s;
    padding-top: 60px;
    z-index: 888888;
}
.sidebar ul {
    list-style: none;
    padding: 0;
}
.sidebar a {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 18px;
    color: #fff;
    display: block;
    font-size: 1rem;
    transition: 0.2s;
}
.sidebar a:hover {
    border-radius: 10px;
    background-color: #555;
}
/* Estilos para los submenús */
.sub-menu {
    border-radius: 10px;
    background-color:#444;
    display: none;
    margin-left: 1rem;
    margin-right: 1rem;
}
.sidebar li:hover .sub-menu {
    display: block;
}

li span{
    margin-right: 1rem;
}

/* Estilos para la línea separadora */
.separator {
    height: 1px;
    background-color: #555c;
    margin:0;
}
/* Estilos para el enlace de cierre de sesión */
.logout-link {
    width: 300px;
    position:absolute;
    bottom: 1rem;
    left: 0rem;
    color: #fff;
    text-decoration: none;
}
.user-info {
    display: flex;
    align-items: center;
    padding: 20px;
    color: #fff;
}
.user-info #userName{
    font-size: 1.2rem;
    margin-left: 0.5rem;
}
.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-right: 10px;
}
/* Estilos del contenido principal */
.content {
    margin-left: 0; /* Ajusta el margen cuando el menú está visible */
    padding: 20px;
}
