@import url("https://fonts.googleapis.com/css2?family=Inter:opsz,wght@14..32,100..900&family=Montserrat:wght@100..900&display=swap");

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Inter, sans-serif;
    text-decoration: none;
}

body{
    height: 100vh;
    width: 100%;
    background-color: #f9fafb;
    flex-direction: column;
    min-height: 100vh; /* Esto garantiza que el contenido ocupe toda la pantalla */
}

.sidebar{
    position: fixed;
    width: 250px;
    height: 100%;
    overflow: hidden;
    padding: 20px 15px;
    background-color: #feffff; 
    transition: width 0.5s ease, background-color 0.3s ease;
    box-shadow: 5px 0 10px rgba(126, 126, 126, 0.2);
}

.mini-sidebar{
    width: 80px; 
}

.sidebar span{
    white-space: nowrap;
    font-size: 20px;
    text-align: left;
    font-style: 25px;
    opacity: 1;
    transition: opacity 0.5s ease, width 0.5s ease;
}

.sidebar span.oculto{
    opacity: 0;
    width: 0;
}

.sidebar .name-page{
    width: 100%;
    height: 45px;
    color: black;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    font-weight: 700;
}

.logo {
    width:10px;
}

/* Configuración del logo */
.sidebar .name-page img{
    min-width: 50px;
    font-size: 40px;
    cursor: pointer;
}

/* Distancia entre el texto del titulo y el logo */
.sidebar .name-page span{
    margin-left: 5px;
}

/* --------------------------------------------> Navegation Menu */
li{
    list-style: none;
    display: flex;
    margin-bottom: 5px;
}

a{
    width: 100%;
    height: 45px;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
    color: #535d6a;
}

a:hover{
    background-color:#EFF6FF;
    color: #2663eb;
}

ion-icon{
    min-width: 50px;
    font-size: 20px;
}

/* Estilo del botón que indica la página activa en la navegación */
#active-page{
    background-color: #EFF6FF;
    color: #2663eb;
}

/* --------------------------------------------> Main*/
main{
    margin-left: 250px;
    padding: 20px;
    transition: margin-left 0.5s ease;
}

/* Estilo cuando el menú está minimizado */
main.min-main{
    margin-left: 80px;
}

.box{
    background-color: #feffff;
    border-radius: 10px;
    box-shadow: 5px 5px 16px rgba(126, 126, 126, 0.4);
    display: flex;
    height: 360px;
    align-items: center;
    gap: 10px;
    flex-direction: column; /* Esto asegura que los elementos se apilen verticalmente */
}

.logo_box{
    height: 60px;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.title{
    font-family: "Inter", sans-serif;
    font-weight: 700;
    font-size: 36px;
    margin-top: 16px;
    justify-content: center;
    display: flex;
}

.description{
    font-family: "Inter", sans-serif;
    font-weight: 600;
    font-size: 18px;
    color: #535d6a;
    padding-top: 10px;
}

footer {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: margin-left 0.5s ease;
    margin-top: 360px;
}

.footer p {
    font-size: 14px;
    color: #535d6a;
    font-weight: 400;
}
