*{
    font-family: 'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    padding:0;
    margin:0;
    box-sizing: border-box;
}

:root{
    /*color*/
    --cor-body: white;
    --sidebar-background: url("../img/bannerMenuSol.jpg");
    --siderbar-color:white;
    --primary-color:#fca944;
    --primart-color-light: #f6f5ff;
    --toggle-color: #ddd;
    --text-color: #fca944;

    /*transition*/
    --tran-03:all 0.2s ease;
    --tran-03:all 0.3s ease;
    --tran-04:all 0.2s ease;
    --tran-05:all 0.2s ease;
}

body{
    min-height: 100vw;
    background-color: var(--cor-body);
    transition:var(--tran-05);
}

::selection{
    background-color: var(--primary-color);
    color:white;
}

body.dark{
    --cor-body:#18191a;
    --sidebar-background: url("../img/bannerNoite.jpg");
    --siderbar-color:#242526;
    --primary-color:#3a3b3c;
    --primart-color-light: #3a3b3c;
    --toggle-color: #fff;
    --text-color: #ccc;
}

/*siderbar*/
.siderbar{
    position: fixed; /*depois de tudo pronto mudar de relative para para fixed*/
    top: 0;
    left: 0;
    width: 250px;
    height: 100%;
    padding:10px 14px;
    background: var(--sidebar-background);
    background-size: cover;
    transition: var(--tran-05);
    z-index: 999;
}
.siderbar.close{
    width: 88px;
}

.siderbar li{
    height: 50px;
    list-style: none;
    display: flex;
    align-items: center;
    margin-top: 10px;
}

.siderbar header .image,
.siderbar .icon{
    min-width: 60 px;
    border-radius: 6px;
}

.siderbar.icon{
    min-width: 60 px;
    border-radius: 6px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}
.siderbar .text,
.siderbar .icon{
    color: var(--text-color);
    transition: var(--tran-03);
}
.siderbar.text{
    font-size: 17px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 1;
}
.siderbar.close .text{
    opacity: 0;
}
.siderbar header{
    position: relative;

}

.siderbar header .image-text{
    display: flex;
    align-items: center;
}

header .image-text .name{
   margin-top: 2px;
   font-size: 18px;
   font-weight: 70;
    
}

header .image-text .profession{
    margin-top: -2px;
    font-size: 16px;
    display: block;
 }
.siderbar header .toggle{
    position: absolute;
    top: 50%;
    right: -25px;
    transform: translateY(-50%) rotate(180deg);
    width: 25 px;
    height: 25 px;
    background-color: var (--primary-color);
    color: var(--siderbar-color);
    border-radius: 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    cursor: pointer;
    transition: var(--tran-05);
 }
 .siderbar.close .toggle{
    transform: translateY(-50%) rotate(0deg);
 }

 .siderbar .menu{
    margin: 20px;
 }

 .siderbar li.search-box{
    border-radius: 10px;
    background-color: var(--primart-color-light);
    cursor: pointer;
    transition: var(--tran-05);

 }

 .siderbar li.search-box input{
   width: 100%;
   height: 100%;
   outline: none;
   border: none;
   background-color: var(--primart-color-light);
   border-radius: 10px;
   font-size: 17px;
   font-weight: 500;
   transition: var(--tran-05); 
 }
 .siderbar li a{
    list-style: none;
    height: 100%;
    background: rgba (0,0,0,0,689);
    display: flex;
    align-items: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    text-decoration: none;
    transition: var(--tran-03);
 }
 .siderbar li a:hover{
    background-color: var (--primary-color);
 }
 .siderbar li a:hover .icon,
 .siderbar li a:hover .text{
    color: var (--siderbar-color);
 }
 .siderbar .menu-bar{
    height: calc(100% - 55px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: scroll;
 }

 .menu-bar::-webkit-scrollbar{
    display: none;

 }

 .siderbar .menu-bar .mode{
    border-radius:6px;
    background-color: var (--primart-color-light);
    position: relative;
    transition: var(--tran-05);
}

.menu-bar .mode .sun-moon {
    width: 60px;
    height: 50px;
}

.mode .sun-moon i{
    position: absolute;
}

.menu-bar .botton-content .toogle-switch {
    position: absolute;
    right: 0;
    min-width: 60px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    cursor:pointer;
}

.toogle-switch .switch{
    position: absolute;
    width: 40px;
    height: 22px;
    border-radius: 25px;
    background-color: var(--toggle-color);
    transition: var(--tran-05);   
} 

.switch::before{
    content:"";
    position: absolute; /*depois de pronto mudar de relative para absolute*/
    width: 15px;
    height: 15px;
    border-radius: 50px;
    top:50%;
    left:5px;
    transform: translateY(-50%);
    background-color: var(--siderbar-color);
    transition: var(--tran-04);
}

.home{
    position: absolute;
    top:0;
    left:250px;
    height: 100vh;
    width: calc(100% - 78%);
    background-color: var(--cor-body);
    transition: var(--tran-05);
}

.home .text{
    font-size: 30px;
    font-weight: 500;
    color:var(--text-color);
    padding:12px 60px;
}

.siderbar.close ~ .home{
    left:78px;
    height: 100vh;
    width: calc(100% - 78px);
}

body.dark .home .text{
    color:vr(--text-color);

}

parou em 40:39 h