@import url('https://fonts.googleapis.com/css2?family=Ubuntu:ital,wght@0,300;0,400;0,500;0,700;1,300;1,400;1,500;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300..700&display=swap');

*{
    margin:0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Ubuntu', sans-serif;
}

:root{
    --black: #222;
    --white: #fff;
    --grey: #f5f5f5;
    --black2: #999;
}

body{
    min-height: 100vh;
    overflow-x: hidden;
}


#pc-view{
    transform: scale(0.75);
    transform-origin: 0 0;
    width: 133.33%;
    height: 133.33%;
}


.content{
    position: relative;
    width: 100%;
}

.navigation{
    position: fixed;
    width: 300px;
    height: 133.33vh;
    /* height: 100%; */
    background: var(--black);
    border-left: 10px solid var(--black);
    transition: 0.5s;
    overflow: hidden;
}

.navigation.active {
    width: 80px;
}

.navigation ul {
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 0;
    width: 100%;
}

a{
    text-decoration: none;
}

li{
    list-style: none;
}

.offcanvas-body ul{
    padding-left: 0;
}

.offcanvas-body ul li a{
    color: var(--white);
}

.navigation ul li{
    position: relative;
    width: 100%;
    border-radius: 8px 0 0 8px;
}

.navigation ul li:hover,
.navigation ul li.hovered{
    background: var(--white);
}

#brand:hover, #brand.hovered{
    background: var(--black);
}


.navigation ul li:first-child{
    margin-bottom: 40px;
}

.navigation ul li a{
    position: relative;
    display: flex;
    width: 100%;
    text-decoration: none;
    color: var(--white);
}

.navigation ul li:hover a,
.navigation ul li.hovered a{
  color: var(--black)  
}

#brand:hover a, #brand.hovered a{
    color: var(--black2);
}

.navigation ul li a .icon{
    position: relative;
    display: block;
    min-width: 60px;
    height: 60px;
    line-height: 70px; 
    text-align: center;
    
}

.navigation ul li a .icon i{
    line-height: 2;
    font-size: 1.75em;
}


.navigation ul li a .title{
    position: relative;
    display: block;
    padding: 0 10px;
    height: 60px;
    line-height: 60px; 
    text-align: start;
    white-space: nowrap;
}

.navigation ul li:hover a::before,
.navigation ul li.hovered a::before{
    content: '';
    position: absolute;
    right: 0;
    top: -50px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: transparent;
    box-shadow: 35px 35px 0 10px var(--white);
    pointer-events: none;
}

#brand:hover a::before,
#brand.hovered a::before{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}

.navigation ul li:hover a::after,
.navigation ul li.hovered a::after{
    content: '';
    position: absolute;
    right: 0;
    bottom: -50px;
    width: 50px;
    height: 50px;
    border-radius: 8px;
    background: transparent;
    box-shadow: 35px -35px 0 10px var(--white);
    pointer-events: none;
}

#brand:hover a::after,
#brand.hovered a::after{
    content: '';
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    height: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    pointer-events: none;
}


#anavila{
    font-family: 'Comfortaa', sans-serif;
    font-size: 2em;
    font-weight: 700;
    margin-top: 0.33em;
}

#anavila-icon{
    font-size: 1.3em;
    margin-left: 35px;
    transition: 0.5s;
}

#anavila-icon.active{
    margin-left: 0;
}

.main{
    position: absolute;
    width: calc(100% - 300px);
    left: 300px;
    min-height: 133.33vh;
    background: var(--white);
    border-left: solid 1px var(--white);
    transition: 0.5s;
}

.main.active {
    width: calc(100% - 80px);
    left:  80px;
}

.topbar{
    width: 100%;
    height: 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 10px;
}

.toggle{
    position: relative;
    top: 0;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    font-size: 2.5em;
    cursor: pointer;
}

.user-config{
    width: 180px;
}

.user-config .settings, .user-config .logout{
    width: 50px;
    height: 50px;
    font-size: 1.5em;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}

.user{
    position: relative;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}


.user-cel{
    position: relative;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    overflow: hidden;
    cursor: pointer;
}

.user-cel img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}   

.row .carta::after{
    content: 'Silla';
    font-family: 'Poppins', sans-serif;
    position: absolute;
    top: 60%;
    left: -5%;
    font-size: 10em;
    font-weight: 800;
    font-style: italic;
    color: #00000050;
}

.card:hover img{
    width: 240px;
}