@import url('https://fonts.googleapis.com/css2?family=Poppins&display=swap');

*,
::after,
::before {
    box-sizing: border-box;
}

body {
    margin: 0;
    /*background-image: url("https://codzsword.github.io/bootstrap-sidebar/background-image.jpg");*/
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
}


a {
    cursor: pointer;
    text-decoration: none;
}

li {
    list-style: none;
}

/* Layout skeleton */

.wrapper {
    align-items: stretch;
    display: flex;
    width: 100%;
}

#sidebar {
    max-width: 264px;
    min-width: 264px;
    transition: all 0.35s ease-in-out;
    background: #f8f9fa;
    box-shadow: 0 0 35px 0 rgba(49, 57, 66, 0.5);
    z-index: 1111;
}

.contendor{
    display: flex;
    flex-direction: column;
    height: 100%; 
}


/* Sidebar collapse */

#sidebar.collapsed {
    margin-left: -264px;
}

.main {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    width: 100%;
    overflow: hidden;
    transition: all 0.35s ease-in-out;
}

.sidebar-logo {
    padding: 1.15rem 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center; 
}

.profile-picture {
    /*margin-right: 11px;*/
    width: 120px; 
    height: 120px; 
    border-radius: 50%;
    /*object-fit: contain;*/
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.sidebar-logo a {
    color: #0b3b6a;
    font-size: 1.25rem;
    font-weight: 600;
}

.sidebar-nav {
    padding: 0;
}

.sidebar-header {
    color: #0b3b6a;
    font-size: .75rem;
    padding: 1.5rem 1.5rem .375rem;
}

a.sidebar-link {
    padding: .625rem 1.625rem;
    text-decoration: none;
    color: #0b3b6a;
    position: relative;
    display: block;
    font-size: 1rem;
}

.sidebar-subitem :hover {    
    color: #0394db;
}

.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-link[data-bs-toggle="collapse"].collapsed::after {
    transform: rotate(45deg);
    transition: all .2s ease-out;
}

.content {
    flex: 1;
    max-width: 100vw;
    width: 100vw;
}

.sidebar-footer {
    margin-top: auto; 
    background-color: #f8f9fa;
    text-align: center;
}

.icon-flip {
    transform: scaleX(-1); /* Voltea el icono horizontalmente */
}

.menu{
    color: #fff;
}

/* Responsive */

@media (min-width:768px) {
    .content {
        width: auto;
    }

    
}

@media (max-width: 800px) {
    .header-image {
        width: 33% !important;    
    }
}