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

::after,
::before {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    
}
html {
    font-size: clamp(14px, 3.7vw, 18px);
  }
  

.container {
    margin-bottom: 20px;
}

a {
    text-decoration: none !important;
}

li {
    list-style: none;
}

body {
    font-family: 'Poppins', sans-serif;
}

.wrapper {
    display: flex;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 10vh;
    transition: all 0.35s ease-in-out;
    background-color: #fff;
    min-width: 0;
}

/* codigo muy importante  */
#main {
    position: relative;
    padding: 0 0px 0 0;
    margin-left: 4.5rem; /* Ajusta este valor según sea necesario */
}

@media screen and (max-width: 900px) {
    #main {
        margin-left: 0; /* Elimina el margen izquierdo en pantallas pequeñas */
    }
    
}

#sidebar {
    position: fixed;
    width: 70px;
    min-width: 70px;
    height: 100%;
    z-index: 100;
    transition: all .25s ease-in-out;
    background-color: #0e2238 ;
    display: flex;
    flex-direction: column;
}

#sidebar a {
    text-decoration: none;
}

#sidebar.expand {
    width: 260px;
    min-width: 260px;
}

.toggle-btn {
    background-color: transparent;
    cursor: pointer;
    border: 0;
    margin: 1rem
}

.toggle-btn i {
    color: #FFF;
    font-size: 2rem; /* Ajusta este valor según sea necesario */
    
}


.sidebar-logo {
    margin: auto 0;
}

.sidebar-logo a {
    color: #FFF;
    font-size: 1.15rem;
    
    font-weight: 600;
    width: 80px;
}

#sidebar:not(.expand) .logo .logo-image{
    display: none;
}

#sidebar:not(.expand) #sempregtech{
    display: none;
}

#sempregtech {
    position: absolute;
    top: 90vh;
    
    
}

@media (max-width: 428px) {
    #sempregtech {
        position: relative;
        margin: auto;
        top: 30vh;
    }


}


#sidebar:not(.expand) .sidebar-logo,
#sidebar:not(.expand) a.sidebar-link span {
    display: none;
}


#sidebar.expand .sidebar-logo,
#sidebar.expand a.sidebar-link span {
    animation: fadeIn .25s ease;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0.5;
    }

    100% {
        opacity: 1;
    }
}

.sidebar-nav {
    padding: 2rem 0;
    flex: 1 1 auto;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    color: #FFF;
    
    display: block;
    font-size: 0.9rem;
    white-space: nowrap;
    border-left: 3px solid transparent;
}

/* Estilos generales para los íconos */
.sidebar-link i,
.dropdown-item i {
    font-size: 1.1rem;
    margin-right: .75rem;
;
}

/* Estilos específicos para pantallas pequeñas */
@media (max-width: 428px) {
    .sidebar-link i, 
    .dropdown-item i
    
    
     {
        
        font-size: 1.5rem; /* Ajusta este valor según sea necesario */
        margin-left: 1rem; /* También puedes ajustar el margen si lo necesitas */
    }

    .MuiContainer-root .MuiButton-root {
        margin: 5px;
    }
   
  


    .modal-backdrop {
        width: 100% !important; 
        height: 100% !important;
    }


      a.sidebar-link {
        padding: 1rem .5rem;
        

    }
    
    #sempregtech {
        text-align: center; /* Centra el texto */
        
        /* Ajusta este valor según sea necesario */
    }
}


.sempregC{
position: relative;
top: 9%;
left: 2px;  
}
  
a.sidebar-link:hover {
    background-color: rgba(255, 255, 255, .075);
    border-left: 3px solid #FFF;
}

.sidebar-item {
    position: relative;
}

#sidebar:not(.expand) .sidebar-item .sidebar-dropdown {
    position: absolute;
    top: 0;
    left: 70px;
    background-color: #0e2238;
    padding: 0;
    min-width: 15rem;
    display: none;
}

#sidebar:not(.expand) .sidebar-item:hover .has-dropdown+.sidebar-dropdown {
    display: block;
    max-height: 15em;
    width: 100%;
    opacity: 1;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"]::after {
    border: solid;
    border-width: 0 .075rem .075rem 0;
    content: "";
    display: inline-block;
    padding: 2px;
    position: absolute;
    right: 1.5rem;
    top: 1.4rem;
    transform: rotate(-135deg);
    transition: all .2s ease-out;
}

#sidebar.expand .sidebar-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}


/*navbar*/
.navbar {
    background-color: #f5f5f5;
    box-shadow: 0 0 2rem 0 rgba(33, 37, 41, .1);
    z-index: 99;
}

#navbar {
    position: fixed;
    width: 100%;
    height: 50px;
}

/*perfil*/
.navbar-expand .navbar-nav .dropdown-menu{
    position: absolute;
    background-color: #0e2238;
    }




.navbar-expand .navbar-collapse {
    min-width: 200px;
}

.avatar {
    height: 40px;
    width: 40px;
}


