/*start general*/

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Tajawal', sans-serif;
}

::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-thumb {
    background-color: #947DB8;
    border-radius: 25px;
}

::-webkit-scrollbar-track{
    background-color: #FFF;
}

@keyframes calendar{
    0%{
        transform: translateX(-200px);
    }
    100%{
        transform: translateX(0);
    }
}

@keyframes go-down{
    0%{
        transform: translateY(-20px);
    }
    100%{
        transform: translateY(0);
    }
}

@keyframes statistic{
    0%{
        transform: translateY(30px);
    }
    100%{
        transform: translateY(0);
    }
}

@keyframes go-left{
    0%{
        transform: translateX(20px);
    }
    100%{
        transform: translateX(0);
    }
}

@keyframes go-right{
    0%{
        transform: translateX(-20px);
    }
    100%{
        transform: translateX(0);
    }
}

@keyframes stretch {
    0% {
      transform: scale(.9);
    }
    100% {
      transform: scale(1);
    }
}

@keyframes day-stretch {
    0% {
      transform: scale(.4);
    }
    100% {
      transform: scale(1);
    }
}

.go-down{
    animation: go-down .7s ease-out 0s alternate none running;
}

.go-left{
    animation: go-left .7s ease-out 0s alternate none running;
}

.go-right{
    animation: go-right .7s ease-out 0s alternate none running;
}

/* .stretch{
    animation: stretch .5s ease-out 0s alternate none running;
} */


html{
    overflow: hidden;
}

body:not(.login-body){
    background-image: linear-gradient(to right top, #A73C58, #5E498C, #703E7B, #483466, #0F0A1E);
}

.body-img{
    position: fixed;
    right: 15px;
    bottom: -150px;
    height: 400px;
    transform: translateX(43%);
    z-index: -1;
}

body > .main-container{
    height: 100vh;
    padding: 20px 0 20px 30px;
    display: flex;
    overflow: hidden;
}

.toggle-sidebar{
    color: #FFF;
    background-color: #A73C58;
    position: absolute;
    top: 5rem;
    right: 0;
    border: none;
    border-radius: 5px 0 0 5px;
    display: none;
    z-index: 3;
}

.toggle-sidebar:hover{
    color: #A73C58;
    background-color: #FFF;
    border: 2px solid #A73C58;
}

.toggle-sidebar:focus{
    box-shadow: 0 0 0 0.25rem rgb(167 60 88 / 25%);
}

.side-bar{
    z-index: 2;
    flex-shrink: 0;
    padding: 5px;
}

.side-bar .content-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.side-bar .logo{
    margin-bottom: 40px;
}

.side-bar .logo img{
    width: 120px;
    display: block;
    margin: 0 auto;
}

.side-bar .menu{
    padding: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: fit-content;
}

.side-bar .menu > li{
    margin-bottom: 30px;
    display: block;
}

.side-bar .menu > li > a{
    padding: 5px;
    display: inline-block;
    position: relative;
    border-radius: 5px;
    transition: .25s linear;
}

.side-bar .menu > li > a:hover{
    background-color: #FFF;
}

.side-bar .menu li.sidedrop > a{
    color: #FFF;
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.side-bar .menu li svg:first-of-type{
    fill: #FFF;
    width: 30px;
    height: 30px;
}

.side-bar .menu > li > a:hover svg{
    fill: #522D82;
    color: #522D82;
}

.main-content{
    flex: 1;
    min-width: 500px;
    overflow: hidden;
    background-color: #FFF;
    border-radius: 25px;
}

.main-content > .wrapper{
    /*padding: 25px 35px;*/
    max-height: calc(100vh - 40px);
    overflow-y: auto;
    overflow-x: hidden;
}

/*elements*/

a{
    text-decoration: none;
}

ul{
    list-style-type: none;
}

