.menu {
    position: sticky;
    width: 60px;
    height: 580px;
    background-color: #061a5a;
    z-index: 2;
    top: 0;
    bottom: 0;
    left: 10px;
    margin: auto;
    border-radius: 0.8rem;
    transition: 0.3s ease 0.15s;
    font-family: sans-serif;
    margin-top: 5%;
    /*margin-left: 80%;*/
}

.mobile-content{
    display: none;
}
.desktop-content{
    display: block;
}

.center{
    margin: 0 auto;
    text-align: center;
}

.menu a {
    text-decoration: none;
}

.menu .actionsBar {
    width: 100%;
    height: 14%;
    padding: 0.5rem;
    overflow: hidden;
}

.menu .actionsBar div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 0.15rem;
    transition: 0.3s ease;
}

.menu .actionsBar div button {
    background-color: transparent;
    outline: none;
    border: none;
    border-radius: 0.15rem;
    color: #fff;
    width: 45px;
    height: 45px;
    transition: 0.3s ease;
    font-size: 1rem;
}

.menu .actionsBar div button:hover {
    background-color: #48525B;
}

.menu .actionsBar div h3 {
    width: calc(100% - 45px);
    text-align: center;
}

.menu .optionsBar {
    overflow: hidden;
    display: flex;
    width: 100%;
    height: 100%;
    padding: 0 0.5rem;
    align-items: center;
    flex-direction: column;
}

.menu .optionsBar .menuItem {
    width: 100%;
    height: 42px;
    margin: 0.3rem;
}

.menu .optionsBar .menuItem .menuOption {
    font-size: 1rem;
    outline: none;
    border: none;
    background-color: transparent;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 0.5rem;
    transition: 0.3s ease;
} 

.menu .optionsBar .menuItem .menuOption:hover {
    background-color: #48525B;
}

.menu .optionsBar .menuItem .menuOption i {
    width: 45px;
    text-align: center;
    color: #fff;
}

.menu .optionsBar .menuItem .menuOption h5 {
    width: calc(100% - 45px);
}

.menuText {
    color: rgba(255, 255, 255, 0.8);
    transform: translateX(-250px);
    opacity: 0;
    transition: transform 0.3s ease 0.1s;
    font-size: 15px;
}

.menu .about {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding: 1rem;
    flex-direction: column;
    font-family: sans-serif;
    opacity: 0;
    white-space: nowrap;
    transition: 0.3s ease 0.15s;
}

.menu .about.open3 {
    opacity: 1;
}

.menu .about p {
    font-size: 0.7rem;
}

.menu.open {
    width: 260px;
    /*margin-left:80%;*/
}

.menu:hover{
    width: 260px;
    .menuText {
        opacity: 1;
        transform: translateX(0);
    }
}

.menu:not(:hover){
    .hide-item{
        display: none;
    }
    .adjustHeight{
        height: 580px !important;
    }
}

.menuText.open2 {
    opacity: 1;
    transform: translateX(0);
}

.menu .menuBreak {
    width: 100%;
    height: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.menu .menuBreak hr {
    width: 70%;
    height: 3px;
    background-color: #fff;
    border: none;
    border-radius: 5px;
}

.menu .themeBar {
    overflow: hidden;
    width: 100%;
    height: 10%;
    padding: 0.5rem;
}

.menu .themeBar div {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    border-radius: 0.5rem;
    transition: 0.3s ease;
}

.menu .themeBar div button {
    background-color: transparent;
    outline: none;
    border: none;
    border-radius: 0.5rem;
    color: #fff;
    width: 100%;
    height: 45px;
    transition: 0.3s ease;
    font-size: 1rem;
}

.menu .themeBar div button:hover {
    background-color: #48525B;
}

.menu .menuUser {
    width: 100%;
    height: 10%;
}

.menu .menuUser a {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-decoration: none;
    padding: 0.5rem;
    position: relative;
}

.menu .menuUser a div {
    width: 45px;
    height: 45px;
    position: relative;
    border-radius: 0.5rem;
}

.menu .menuUser a div img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0.5rem;
}

.menu .menuUser a .Username {
    width: calc(70% - 45px);
}

.menu .menuUser a p {
    width: calc(30% - 45px);
}

.menu .menuUser a:hover p{
    animation: animArrow 0.3s ease 2;
}

@keyframes animArrow {
    0% {
        transform: translateX(0);
    }
    50% {
        transform: translateX(5px);
    }
    100% {
        transform: translateX(0);
    }
}

.menu .menuUser .userInfo {
    position: absolute;
    width: 20rem;
    height: 18rem;
    opacity: 0;
    pointer-events: none;
    top: 34%;
    left: 1.5rem;
    transition: 0.3s ease;
    transform: scale(0);
    transform-origin: bottom left;
}

.menu .menuUser .userInfo div {
    position: relative;
    width: 100%;
    height: calc(100% - 20px);
    box-shadow: 0px 0px 40px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-top-left-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-right-radius: 1rem;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    flex-direction: column;
}

.menu .menuUser .userInfo div h1 {
    font-size: 8rem;
}

.menu .menuUser .userInfo div::before {
    content: '';
    position: absolute;
    bottom: -18px;
    left: -2px;
    width: 0;
    height: 0;
    border-top: 15px solid transparent;
    border-bottom: 15px solid transparent;     
    border-right:15px solid #fff;
    transform: rotate(45deg);
}

.menu .menuUser:hover .userInfo {
    pointer-events: all;
    opacity: 1;
    transform: scale(1);
}

@media(max-width:480px){
    .menu{
        margin-left: 2%;
        margin-top: 10%;
        width: 40px;
    }
    .menu.open{
        margin-left: 2%;
    }
}

#menu-label:hover{
    cursor: pointer;
}
  
.collapse-menu-display {
transition: transform 0.3s;
transform-origin: top;
}

.collapse-menu {
transform: scaleY(0);
height: 0;
}

.adjustHeight{
    transition: transform 0.3s;
    height: 960px !important;
}

.adjust-actionsBar{
    height:8% !important;
}

@media(max-width:430px){
    .nice-select .list{
        left:-37% !important;
    }
}

@media(max-width:309px){
    .card__footer span:nth-of-type(1) {
        font-size: calc(var(--size)* 0.07);
    }
    .card__footer span:nth-of-type(2) {
        font-size: calc(var(--size)* 0.05);
    }
}

/*TOGGLE SWITCH CSS*/
.switch {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 20px;
  }
  
  .switch input { 
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    -webkit-transition: .4s;
    transition: .4s;
    width: 40px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: 12px;
    width: 12px;
    left: 4px;
    bottom: 4px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #2196F3;
  }
  
  input:focus + .slider {
    box-shadow: 0 0 1px #2196F3;
  }
  
  input:checked + .slider:before {
    -webkit-transform: translateX(26px);
    -ms-transform: translateX(26px);
    transform: translateX(26px);
  }
  
  /* Rounded sliders */
  .slider.round {
    border-radius: 34px;
  }
  
  .slider.round:before {
    border-radius: 50%;
  }

/* Make menu stay open when switch is checked */
/* Menu state when toggle is checked (adds the 'open' class) */
.menu.open {
    width: 260px;  /* Width when menu is opened */
}

.menuText {
    opacity: 0;
    transform: translateX(-250px);
    transition: transform 0.3s ease 0.1s;
}

.menu.open .menuText {
    opacity: 1;
    transform: translateX(0);
}
/*END OF TOGGLE SWITCH CSS*/