.sidebar .text{
    font-size: 16px;
    font-weight: 500;
    color: var(--text-color);
    transition: var(--tran-05);
    white-space: nowrap;
    opacity: 1;
    z-index: 10;
}
.sidebar.close .text{
    opacity: 0;
    transition: var(--tran-02);
}
.sidebar .image{
    min-width: 60px;
    display: flex;
    align-items: center;
}
.sidebar{
    position: fixed;
    top: 0;
    left: 0;
    height: 100%;
    width: 250px;
    padding: 10px 14px;
    background: var(--sidebar-color);
    transition: var(--tran-05);
    overflow: hidden;
}
.sidebar.close{
    width: 88px;
    overflow: hidden;
}
.sidebar li{
    height: 50px;
    margin-top: 10px;
    list-style: none;
    display: flex;
    align-items: center;
    transition: var(--tran-04);
}
.sidebar li .icon{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-size: 20px;
}
.sidebar li .icon,
.sidebar li .text{
    color: var(--text-color);
}
.sidebar header{
    position: relative;
}
.sidebar .image-text img{
    width: 60px;
    border-radius: 6px;
}
.sidebar header .image-text{
    display: flex;
    align-items: center;
}
header .image-text .header-text{
    display: flex;
    flex-direction: column;
}
.header-text .name{
    margin-left: 10px;
    font-size: 27px;
}
.header-text .profession{
    margin-top: -2px;
}
.sidebar header .toggle{
    position: absolute;
    top: 50%;
    right: 0px;
    transform: translateY(-50%) rotate(180deg);
    height: 50px;
    width: 60px;
    background: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 20%;
    color: var(--icon-color-revise);
    font-size: 21px;
    transition: var(--tran-04);
    cursor: pointer;
    z-index: 12;
}
.sidebar.close header .toggle{
    transform: translateY(-50%);
}
.sidebar .search-box{
    background-color: var(--primary-color);
    border-radius: 10px;
}
.sidebar li .iconse{
    color: var(--icon-color-revise);
}
.search-box input{
    height: 100%;
    width: 100%;
    outline: none;
    border: none;
    border-radius: 10px;
    background: var(--keres-color);
    color: #FFF;
    background-color: transparent;
}
body.dark .search-box input{
    background: none;
    color: #000;
}
.sidebar li a{
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    text-decoration: none;
    border-radius: 10px;
}
.sidebar li a:hover{
    background: var(--icon-color);
}
body.dark .sidebar .search-box li a:hover{
    background: var(--primary-color);
}
.sidebar li a:hover .icon,
.sidebar li a:hover .text{
    color: var(--icon-color-revise);
}
.sidebar li .iconse{
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    font-size: 20px;
}
.sidebar .menu-bar{
    height: calc(100% - 50px);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
.menu-bar .mode{
    position: relative;
    border-radius: 6px;
    background: var(--primary-color-light);
}
.menu-bar .mode .moon-sun{
    height: 50px;
    width: 60px;
    display: flex;
    align-items: center;
}
.menu-bar .mode i{
    position: absolute;
}
.menu-bar .mode i.sun{
    opacity: 0;
}
body.dark .menu-bar .mode i.sun{
    opacity: 1;
}
body.dark .menu-bar .mode i.moon{
    opacity: 0;
}
.menu-bar .mode .toggle-switch{
    position: absolute;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    min-width: 60px;
    cursor: pointer;
    z-index: 12;
}
.toggle-switch .switch{
    position: relative;
    height: 22px;
    width: 44px;
    border-radius: 25px;
    background: var(--toggle-color);
}
.switch::before{
    content: '';
    position: absolute;
    height: 15px;
    width: 15px;
    border-radius: 50%;
    top: 50%;
    left: 5px;
    transform: translateY(-50%);
    background: var(--sidebar-color);
    transition: var(--tran-03);
}
body.dark .switch::before{
    left: 20px;
}
.menu-bar .menu .menu-links .nav-- {
    position: relative;
    height: 5px;
}
.menu-bar .menu .menu-links .nav-- i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
    margin-left: 10px;
}
.sidebar.close .menu-bar .menu .menu-links .nav-- i {
    width: 40px;
}
.menu-bar .bottom-content .nav-- {
    position: relative;
    height: 5px;
}
.menu-bar .bottom-content .nav-- i {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 200px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
    margin-left: 10px;
}
.sidebar.close .menu-bar .bottom-content .nav-- i {
    width: 40px;
}
.sidebar.close ~ .header1 {
    position: fixed;
    display: grid;
    grid-template-columns: 50% 50%;
    top: 30px;
    width: calc(100% - 88px);
    margin-left: 88px;
    z-index: 10;
    transition: 0.5s;
}
.sidebar ~ .header1 {
    width: calc(100% - 250px);
    margin-left: 250px;
    position: fixed;
    display: grid;
    grid-template-columns: 50% 50%;
    top: 30px;
    z-index: 10;
    transition: 0.5s;
}
.header1 .logo-img a {
    position: relative;
    width: 100px;
    display: flex;
}
.header1 .logo-img a img{
    position: relative;
    width: 100px;
    border-radius: 5px;
    display: flex;
    margin-left: 10px;
}
.header1 .profile-box{
    position: relative;
}
.header1 .profile {
    position: relative;
    height: 50px;
    min-width: 176px;
    border-radius: 40px;
    background-color: #285565;
    float: right;
    margin-right: 25px;
    transition: all 0.5s ease-in-out;
    overflow: hidden;
}
body.dark .header1 .profile {
    background-color: #000000;
    transition: 0.5s;
}
.header1 .profile a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.header1 .profile h3 {
    color: #FFF;
    margin-top: 10px;
    margin-left: 23px;
}
.header1 .profile.bb {
    border-radius: 27px;
    height: 215px;
    transition: 0.5s;
}
.header1 .profile .cont{
    display: grid;
    grid-template-columns: auto auto;
    align-items: center;
    padding-top: 5px;
    padding-bottom: 5px;
    transition: 0.5s;
}
.header1 .profile .cont.gg {
    display: none;
    transition: 0.5s;
}
.header1 .profile .img {
    position: relative;
    height: 40px;
    width: 40px;
    border-radius: 50%;
    background: #FFF;
    margin-left: 6px;
    overflow: hidden;
}
.header1 .profile .img img{
    position: relative;
    height: 40px;
    width: 40px;
}
.header1 .profile .profil-name {
    position: relative;
    color: #FFF;
    display: flex;
    padding-right: 10px;
    padding-left: 10px;
}
.header1 .profile .profil-name .icon {
    margin-top: 2px;
    padding-left: 7px;
    padding-right: 5px;
    font-size: 20px;
    cursor: pointer;
}
.profile-box .profile .menu {
    display: none;
    transition: 0.5s;
}
.profile-box .profile .menu.aa {
    display: flex;
    position: relative;
    padding: 10px;
    color: #FFF;
    transition: 0.5s;
}
.profile-box .profile.bb .menu ul {
    list-style: none;
    height: 0px;
    width: 100%;
    transition: 3s;
}
.profile-box .profile.bb .menu.aa ul {
    height: auto;
    transition: 3s;
}
.profile-box .profile .menu ul li {
    margin-bottom: 5px;
}
.profile-box .profile .menu ul li a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
}
.profile-box .profile.bb .menu.aa ul li a:hover {
    border: 2px solid #FFF;
    border-radius: 10px;
    padding-top: 5px;
    padding-right: 10px;
    padding-left: 3px;
    padding-bottom: 3px;
}
.profile-box .profile .menu ul .nav-- {
    position: relative;
    height: 5px;
}
.profile-box .profile .menu ul .nav-- i {
    position: absolute;
    left: 0;
    bottom: 7px;
    width: 156px;
    height: 3px;
    background: white;
    border-radius: 10px;
    overflow: hidden;
    transition: 0.5s;
    pointer-events: none;
}
.profile-box .profile .menu .icon {
    font-size: 20px;
    padding-right: 5px;
    margin-top: 3px;
}
.profile-box .profile .menu span {
    position: relative;
    font-size: 17px;
}
.header1 .profile .alert,
.header1 .profile .alert2 {
    display: none;
    transition: 0.5s;
}
.header1 .profile.cc {
    border-radius: 27px;
    border: 2px solid #ffee00;
    width: 280px;
    transition: 0.5s;
    height: 50px;
    overflow: hidden;
}
.header1 .profile .alert.dd,
.header1 .profile .alert2.dd{
    position: relative;
    display: flex;
    height: 50px;
    justify-content: center;
    text-align: center;
    padding: 8px;
    padding-bottom: 10px;
    transition: 0.5s;
    overflow: hidden;
}
.header1 .profile .alert.dd .icon,
.header1 .profile .alert2.dd .icon {
    position: relative;
    font-size: 22px;
    margin-top: 2px;
    margin-right: 3px;
}
.header1 .profile .alert.dd h3,
.header1 .profile .alert2.dd h3 {
    position: relative;
    color: #FFF;
    margin: 3px;
    margin-top: 0;
    margin-left: 0;
    font-size: 20px;
}