@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');
/*----------root variables--------*/
:root {
/* --color-primary: #7380ec;*/
    --color-primary: #b71d17;
    --color-danger: #b71d17;
    --color-success: #b71d17;
    --color-warning: #b71d17;
    --color-white: #fff;
    --color-info-dark: #7f8da1;
    --color-button:#b71d17;
    --color-info-light: #dce1eb;
    --color-dark: #363949;
    --color-light: rgba(132, 139, 200, 0.18);
    --color-primary-variant: #940d08;
    --color-dark-variant: #677483;
    --color-background: #fff;

    /*
    
        --color-primary:#800000;
        --color-secondary:#fff;
        --color-secondary-dark:#000;
        --color-table-th: #85929E;
        --color-table-td1: #ECF0F1;
        --color-table-td2:#F8C8DC;
 
    */

    --card-border-radius: 2rem;
    --border-radius-1: 0.4rem;
    --border-radius-2: 0.8rem;
    --border-radius-3: 1.2rem;

    --card-padding: 1.8rem;
    --padding-1: 1.2rem;

    --box-shadow: 0 2rem 3rem var(--color-info-dark);

}

/*====DARK THEME VARIABLES====*/
.dark-theme-variables {
    --color-background: #181a1e;
    --color-white:#202528;
    --color-dark:#edeffd;
    --color-dark-variant:#a3bdcc;
    --color-light:rgba(0, 0, 0, 0.4);
    --box-shadow: 0 2rem 3rem var(--color--light)
}

* {
    margin: 0;
    padding: 0;
    outline: 0;
    appearance: none;
    border: 0;
    list-style: none;
    box-sizing: border-box;
}

html {
    font-size: 14px;
}

body {
    width: 100vw;
    height: 100vh;
    font-family: pippins, sans-serif;
    font-size: 0.88rem;
    background-color: #800000;
    user-select: none;
    overflow-x: hidden;
    color: var(--color-dark);
}

.container {
    display: grid;
    width: 96%;
    margin: 0 auto;
    gap: 1.8rem;
    grid-template-columns: 14rem auto 23rem;
    ;
}
a {
    color: var(--color-dark);
    text-decoration: none;
}

img {
    display: block;
    width: 100%;
}

h1 {
    font-weight: 800;
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
}

h2 {
    font-size: 1.4rem;
}
h3 {
    font-size:  0.87rem;
}
h4 {
    font-size: 0.8rem;
}
h5 {
    font-size: 0.77rem;
}
small{
    font-size: 0.76rem;
}
.prifile-photo {
    width: 2.8rem;
    height: 2.8rem;
    border-radius: 50%;
    overflow: hidden;
}

.main-title{
    color: var(--color-white);
}
/*texto algo menos visible*/
.profile-name{
    color: var(--color-white);
}
.text-muted {
    color: var(--color-white);
}

p {
    color: var(--color-dark-variant);
}
b {
    color: var(--color-dark);
}
.danger {
    color: var(--color-danger);
}
.success {
    color: var(--color-success);
}
.warning {
    color: var(--color-warning);
}

aside {
    height: 100vh;

}

aside .top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
}

aside .logo {
    display: flex;
    gap: 0.8rem;
}
aside .logo img {
    width: 2rem;
    height: 2rem;
}

aside .close{
    display: none;
}

/*======== SIDE BAR =======*/
aside .sidebar {
    display: flex;
    flex-direction: column;
    height: 86vh;
    position: relative;
    top: 3rem;
}
aside h3 {
    font-weight: 500;
}

aside .sidebar a {
    display: flex;
    color: var(--color-info-dark);
    margin-left: 2rem;
    gap: 1rem;
    align-items: center;
    position: relative;
    height: 3.7rem;
    transition: all 300ms ease;
}

aside .sidebar a span {
    font-size: 1.6rem;
    transition: all 300ms ease;
}

aside .sidebar a:last-child {
    position: absolute;
    bottom: 2rem;
    width: 100%;
}

aside .sidebar a.active {
    background-color: var(--color-light);
    color: var(--color-primary);
    margin-left: 0;
}

aside .sidebar a.active::before {
    content: '';
    width: 6px;
    height: 100%;
    background: var(--color-primary);
}

aside .sidebar a.active span {
    color: var(--color-primary);
    margin-left: calc(1rem -3px);
}

aside .sidebar a:hover {
    color: var(--color-primary);
}

aside .sidebar a:hover {
    margin-left: 1rem;
}

aside .sidebar .message-count {
    background: var(--color-danger);
    color: var(--color-white);
    padding: 2px 10px;
    font-size: 11px;
    border-radius: var(--border-radius-1);
}

/**============== MAIN ===========*/
main {
    margin-top: 1.2rem;
}
/*----------------------------------------------------------------*/
main .container-menu {
    text-align: center;
    background: transparent;
}

main .container-menu p{
    font-size: 18px;
    padding: 5px;
}

main .container-logo img {
    height: auto;
    background: transparent;
    
}


main .datebar {
    display: inline-block;
    background-color: var(--color-background);/*var(--color-light);*/
    border-radius: var(--border-radius-1);
    margin-top: 1rem;
    padding: 0.5rem 1.6rem;
    width: 100%;
    position: relative;
    height: 50px; /* Definir una altura para el contenedor */
    overflow: hidden; /* Asegurar que el elemento no salga del contenedor */
}

.carousel {
    display: flex;
    animation: scrolls 20s linear infinite;
    height: 100%;
    align-items: center;
}

.carousel-item {
    flex: 0 0 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.carousel-item img {
    max-width: 100%;
    margin-right: 1rem;
    margin-left: 1rem;
}

.carousel-item p{
    flex-wrap: wrap;
    max-width: max-content;
}

@keyframes scrolls {
    0% {
        transform: translateX(0%);
    }
    100% {
        transform: translateX(-200%);
    }
}

/**animación para el título del juego*/
.spinner-text {
    font-size: 1.8rem;
    animation: spin-and-fade 5s ease-out forwards;
    transform-origin: center;
}


@keyframes spin-and-fade {
    0% {
        transform: rotateX(0deg);
        opacity: 1;
    }
    50% {
        transform: rotateX(720deg);
        opacity: 1;
    }
    100% {
        transform: rotateX(1080deg);
        opacity: 0;
    }
}

/*Animación de confeti para los ersultados de la partida*/
/*
.animated-confetti-popup {
    animation: confetti-fall 5s linear forwards;
}

@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotateZ(0deg);
    }
    100% {
        transform: translateY(100vh) rotateZ(360deg);
    }
}
*/
main .insights {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.6rem;
}

main .insights > div {
    background: var(--color-background);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    margin-top: 1rem;
    /*box-shadow: var(--box-shadow);*/
    transition: all 300ms ease;
}

main .insights > div:hover {
    box-shadow: none;
   /* border: 2px solid var(--color-info-dark);*/
}

main .insights > div span {
    background: #b71d17;
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
}

main .insights > div.people span {
    background-color: #b71d17;
}

main .insights > div.activities span {
    background-color: grey;
}

main .insights > div .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
main .insights h3 {
    margin: 1rem 0 0.6rem;
    width: 82px;
    height: 82px;
    border-radius: 50%;

}
main .insights svg {
    width: 7rem;
    height: 7rem;
}

main .insights svg circle{
    fill: none;
    stroke:var(--color-primary);
    stroke-width:  14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 82;
}

main .insights .players svg circle{
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
}

main .insights .people svg circle{
    stroke-dashoffset: 20;
    stroke-dasharray: 80;
}

main .insights .activities svg circle{
    stroke-dashoffset: 35;
    stroke-dasharray: 110;
}
main .insights .progress span:hover{
    color: var(--color-primary);
    background-color: #f5f5f5;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    cursor: pointer;
}

main.insights .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
/*
main.insights .progress .number img{
    border-radius: 15%;
}
*/
main .insights small {
    margin-top: 1.3rem;
    display: block;
}

/*game code*/
main .insights .game-container h2{
    text-align: center;
}
main .insights .game-container div{
    padding: 10px;
    display: flex;
    justify-content: space-between;

}
main .insights .game-container div button{
    font-size: 16px;
    background: var( --color-button);
    border-radius: 3px;
    padding: 10px;
    margin: 5px;
    color: white;
}
main .insights .game-container div a{
    color: white;
}

main .insights .game-container div button:hover {
    background: #c40004;
    transform: scale(1.5);

}

main .insights .game-container .playersList{
    display: none;
}

main .insights .game-container .playerone{
    display: none;
}

main .insights .onload{
    display: none;
}


main .insights .preguntas{
    display: none;
}

main .recent-orders {
    margin-top: 2rem;
}
main .recent-orders h2 {
    margin-bottom: 0.8rem;
}

main .recent-orders table {
    background: var(--color-white);
    width: 100%;
    border-radius:var(--border-radius-3);
    padding: var(--card-padding);
    text-align: center;
    /*box-shadow: var(--box-shadow);*/
    transition: all 300ms ease;
    /*border-collapse: collapse;*/
}

.recent-orders table th{
    background-color: #85929E;
    color: #fff;
    font-size: 16px;
    padding: 1px;
}

main .recent-orders table:hover {
    box-shadow: none;
}

main table tbody td {
    height: 2.8rem;
    border-bottom: 1px solid var(--color-light);
    color: var(--color-dark-variant);
}

tr:nth-child(even) td {
    background-color: #ABB2B9;/*#F8C8DC #85929E; /* Estilo para celdas pares */
    color: white;
}
tr:nth-child(odd) td {
    background-color: #ECF0F1;/* #F3CFC6 #FFB6C1; /* Estilo para celdas impares */
    color: black;
}

main table tbody tr:last-child td {
    border: none;
}

main .recent-orders a {
    text-align: center;
    display: block;
    margin: 1rem auto;
    color: var(--color-primary);
}
main .insights .players img {
    height: 200px;
    width: 200px;
}

/*========== RECENT ORDERS =========*/

.right {
    margin-top: 1.4rem;
}

.right .top {
    display: flex;
    justify-content: end;
    gap: 2rem;
}

.right .top button {
    display: none;
}

button{
    background: none;
}

.right .theme-toggler {
    background: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.6rem;
    width: 4.2rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);
}

.right .theme-toggler span {
    font-size: 1.2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .theme-toggler span.active {
    background: var(--color-primary);
    color: white;
    border-radius: var(--border-radius-1);
}

.right .top .profile {
    display: flex;
    gap: 2rem;
    text-align: right;
}

.right .recent-updates {
    margin-top: 1rem;
    background: #dce1eb;
}

/*-----Image profile--------*/
.right img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
}
.right .recent-updates h2 {
    margin-bottom:  0.8rem;
}

.container-submenu {
    padding-top: 110px;
    display: flex;
    justify-content: center;
    align-items: center;
    /*padding-bottom: 5px;*/
}

.submenu {
    width: 100%;
    display: flex;
    list-style: none;
    padding: 5px;
    margin: 0;
    border-radius: 5px;
    background: var(--color-background);
    gap:40px;
    position: fixed;
    bottom: 0;
    align-items: center;
    justify-content: center;
}

.submenu li {
    margin-right: 10px;
    padding: 5px;
}

.submenu li a {
    text-decoration: none;
    color: #800000;
    font-size:22px;
}

.submenu li a:hover {
    transform: scale(1.5);
}
/* Ocultamos por defecto el número de contacto */

/* Al hacer hover sobre el ícono "call", mostramos el número de contacto y ocultamos el ícono */
/*
.submenu li:nth-child(4) .contact-number {
    display: none;
}
.submenu li:nth-child(4) .contact-number:hover {
    display: block;
    scale: (2);
    transform: translateY(-40px);
}
*/
/*----------------------------------------------------*/

.right .recent-updates .updates {
    background: #dce1eb;
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    transition: all 300ms ease;
}

.right .recent-updates .updates:hover {
    box-shadow: none;
}

.right .recent-updates .updates .update {
    display: grid;
    grid-template-columns: 2.6rem auto;
    gap: 1rem;
    margin-bottom: 1rem;
}

.right .players-analitics {
    margin-top: 2rem;
}

.right .players-analitics h2 {
    margin-bottom: 0.8rem;
}

.right .players-analitics .item {
    background: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding: 1.4rem var(--card-padding);
    border-radius: var(--border-radius-3);
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
}

.right .players-analitics .item:hover {
    box-shadow: none;
}

.right .players-analitics .item .right {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 0;
    width: 100%;
}

.right .players-analitics .item .icon {
    padding: 0.6rem;
    color: var(--color-white);
    border-radius: 50%;
    background: var(--color-primary);
    display: flex;
}

.right .players-analitics .item.offline .icon {
    background: var(--color-danger);
}

.right .players-analitics .item.customers .icon {
    background: var(--color-success);
}


.right .players-analitics .add-game {
    background: transparent;
    border: 2px dashed var(--color-primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.right .players-analitics .add-game:hover {
    background: var(--color-primary);
    color: white;
}

.right .players-analitics .add-game div{
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.right .players-analitics .add-game h3 {
    font-weight: 600;
}

/*CSS for games form*/
main h2{
    padding: 6px;
    color: #fff;
    border-radius: 5px;
    text-align: center;
}
.game-box h2{
    color: #181a1e;
}
/*
main .new-login{
    padding: 6px;
    width: 100%;
    background-color: #007bff;--------------------------------------------------------------------------------------------------------------
}

.container .login-back{
    background-image: url('../img/fondo.png');
    background-size: cover;
    background-position: center;
}
*/
.login-back{
    padding: 10px;
}
main .allforms .insights {
    box-shadow: var(--box-shadow);
}
.formularios label {
    display: inline-block;
    width:100%;
    font-weight:bold;
    font-size: 16px;
    margin: 5px;
    padding: 5px;
    
}

.formularios input[type="text"]{  
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:3px 6px;
    border:var(--color-info-light);
    background-color: rgb(201, 198, 198);
    border: 2px solid rgb(61, 58, 58);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}
.formularios input[type="textarea"]{
    width: 200px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:3px 6px;
    border:var(--color-info-light);
    background-color: rgb(201, 198, 198);
    border: 2px solid rgb(61, 58, 58);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}

.formularios input[type="email"]{  
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:2px 6px;
    border:var(--color-info-light);
    background-color: rgb(201, 198, 198);
    border: 2px solid rgb(61, 58, 58);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
}

.formularios input[type="password"]{   
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:3px 3px;
    border:var(--color-info-light);
    background-color: rgb(201, 198, 198);
    border: 2px solid rgb(61, 58, 58);
    border-radius: 5px;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 10px;
}

.formularios input[type="checkbox"] {
    padding: 6px 6px;
    border: 2px solid rgb(61, 58, 58);
    margin-right: 5px; /* Espacio entre el checkbox y el texto */
    cursor: pointer; /* Hace el checkbox clickeable */
    background-color: #007bff;
}

/* Estilos para el texto al lado del checkbox */
.formularios input[type="checkbox"] + label {
    display: inline-block;
    vertical-align: middle;
}


/*select*/
.formularios select {
    width: 50%;
    border: none;
    font-size: 18px;
    border-bottom: 1px solid rgb(77, 70, 70);

}

.formularios select option {
    font-size: 14px;
    border: none;
    border-bottom: 1px solid #fff;

}

.formularios input[type="submit"]{
    width: 200px;
    border-radius: 5px;
    border: none;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:6px 6px;
    border-radius:5px;
    color:white;
    background-color:var(--color-button);
    margin-top:10px;
    margin-bottom:10px;
    margin-left: auto;
    margin-right: auto;

}


form input[type="submit"]:hover{
    background: var(--color-button);
    color: white;
}

/**PROGRESS BAR SECTION nuevo*/
.progress-bar-container{
    height: 80px;
    background-color: #fff;
    position: relative;
    border-radius: 7px;
}

.progress-bar-container .progress-bar1{
    position: absolute;
    height: 40%;
    background-color: #00ffaa;
    border-radius: 7px;
    width: 0%;
    transition: width 0.5s ease; /* Suaviza la transición del ancho */
}
.progress-bar-container .progress-bar0{
    position: relative;
    height: 20px;
    align-items: center;
    margin: auto;
    top: 33px;
    display: flex;
    flex-direction: row;
}
.recordtitle{
    font-size: 20px;
    font-weight: bold;
    padding: 10px;
    background-color: #7f8da1;
    margin-bottom: 2px;
    border-radius: 5px;
    color: #fff;
}
.retotit{
    color: #fff;
    background-color: #7f8da1;
    border-radius: 5px;
}
.showcounter{
    min-width: 200px;
    font-size: 14px;
    font-weight: bold;
}
.progress-bar0 .circle-point{
    margin-left: 4px;
    display: none;
}

.progress-bar0  #circle, #circle2, #circle3{
    box-sizing: border-box;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: gray; /* Color base */
    position: relative;
    text-align: center;
    align-items: center;
    padding: 2px;
    transition: background-color 0.3s ease; /* Transición de color */
}

#circle.active {
    background-color: gold; /* Color cuando está activo */
}

#circle2.active {
    background-color: gold; /* Color cuando está activo */
    animation: pulse 1s infinite alternate; /* Animación de pulso */
}

#circle3.active {
    background-color: gold; /* Color cuando está activo */
    animation: pulse2 1s infinite alternate;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.3);
        background-color: yellow;
    }
}

@keyframes pulse2 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.5);
        background-color: yellow;
    }
}

.progress-bar-container .progress-bar2{
    position: absolute;
    height: 24px;
    background: linear-gradient(to right, #ffcccc, #ff0000); 
    bottom: 0;
    border-radius: 6px;
    width: 0%;
    transition: width 0.5s ease, background-color 0.5s ease; /* Suaviza la transición del ancho */

}

#progress-bar2{
    animation: progress-animation 120s forwards;
}

/**PROGRESS BAR ANIMATION*/
@keyframes progress-animation{
    0% {width: 0%;}
    100%{width: 100%;}
}

/*
@keyframes progress-animation {
    0% { background-color: #4CAF50; } 
    50% { background-color: #ff9800; } 
    100% { background-color: #4CAF50; } 
}

#progress-bar2.animated {
    animation: progress-animation 2s linear infinite;
}
*/
/*Border animation section*/

/*CSS for self quiz*/
#encabezado {
    font-size: 25px;
    text-align: center;
    width: 100%;
    min-height: 100px;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #b71d17;
    border-radius: 10px;
    margin: 10px;
    padding: 5px;
}

#encabezado .btnAyuda {
    width: 100px;
    border-radius: 5px;
    border: none;
    font-size: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding:3px 3px;
    border-radius:5px;
    color:black;
    background-color:var(--color-info-light);
    margin-left: auto;
    margin-right: auto;
    margin-top: 12px;
    margin-bottom: 6px;
}
#encabezado span {
    border-radius: 0;
    background: 0;
    font-size: 18px;
}
.imagen-enzabezado {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.opcion {
    width: 70%;
    background: white;
    border-radius: 10px;
    margin: 10px;
    margin-left: 35px;
    padding: 5px;
    cursor: pointer;
}

.opcion:hover{
    background: lightblue;
}


/*CÓDIGO  PARA EL PAGINADOR DE TABLAS*/
/* Estilos personalizados para el paginador */
.custom-pagination {
    text-align: center;
    margin-top: 23px;
    display: none;
}

.pagination-list {
    display: inline-block;
    list-style: none;
    padding: 4px;
    margin-top: 7px;
}

.page-item {
    display: inline-block;
    margin: 0 5px;
}

.page-link {
    text-decoration: none;
    padding: 5px 10px;
    border: 1px solid #ccc;
    background-color: #fff;
    color: #333;
    border-radius: 3px;
    display: flex;
    align-items: center;
}

.page-link span{
    margin-right: 5px; /* Espacio entre el icono y el texto */
    display: inline-block; /* Evita que el icono se salga del enlace */
    font-size: 16px; /* Ajusta el tamaño de los iconos según sea necesario */
}

.page-item.active .page-link {
    background-color: #007bff;
    color: #fff;
}

.page-item.disabled .page-link {
    pointer-events: none;
    background-color: #eee;
    color: #999;
    border: 1px solid #eee;
}




/*=============MEDIA QUERIES tablets and small acreens=========*/
@media screen and (max-width: 1200px) {
    .container {
        width: 94%;
        grid-template-columns: 7rem auto 23;
    }

    aside .logo h2 {
        display: none;
    }

    aside .sidebar h3 {
        /*display: none;*/
    }

    aside .sidebar a {
        width: 5.6rem;
    }

    aside .sidebar a:last-child {
        position: relative;
        margin-top: 1.8rem;
    }

    main .insights{
        grid-template-columns: 1fr;
        gap: 0;
    }
    
    main #encabezado {
        grid-template-columns: 1fr;
        gap: 0;
        width: 94%;
    }
    
    main .recent-orders {
        width: 94%;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin: 2rem 0 0 0.8rem;
    }

    main .recent-orders table {
        width: 84vw;
    }

    main table thead tr th:last-child,
    main table thead tr th:first-child {
        display: none;
    }

    main table tbody tr td:last-child,
    main table tbody tr td:first-child {
        display: none;
    }
    
}


/*=============MEDIA QUERIES for mobile=========*/

@media screen and (max-width: 768px){
    .container {
        width: 100%;
        grid-template-columns: 1fr;
    }

    aside {
        position: fixed;
        left: -100%;
        background: var(--color-white);
        width: 18rem;
        z-index: 3;
        box-shadow: 1rem 3rem 4rem var(--color-light);
        height: 100vh;
        padding-right: var(--card-padding);
        display: none;
        animation: showMenu 400ms ease forwards;
    }

    @keyframes showMenu {
        to{
            left: 0;
        }
    }
    
    aside .logo {
        margin-left: 1rem;
    }

    aside .logo h2 {
        display: inline;
    }

    aside .logo h3 {
        display: inline;
    }
    
    aside .sidebar a {
        width: 100%;
        height: 5rem;
    }
    aside .sidebar a:last-child {
        position: absolute;
        bottom: 5rem;
    }

    aside .close {
        display: inline-block;
        cursor: pointer;
    }

    main {
        margin-top: 8rem;
        padding: 0 1rem;
        margin-bottom: 2rem;
    }
    main .recent-orders {
        position: relative;
        margin: 3rem 0 0 0;
        width: 100%;

    }

    main .recent-orders table {
        width: 100%;
        margin: 0;
    }

    .right {
        width: 94%;
        margin: 0 auto 4rem;
    }

    .right .top {
        position: fixed;
        top: 0;
        left: 0;
        align-items: center;
        padding: ' '.8rem;
        height: 4.6rem;
        background: var(--color-white);
        width: 100%;
        margin: 0;
        z-index: 2;
        box-shadow: 0 1rem 1rem var(--color-light);
        border-bottom: 2px solid #7f8da9;
    }

    .right .top .theme-toggler {
        width: 4.4rem;
        position: absolute;
        left: 66%;
    }
    .right .profile .info {
        display: none;
    }

    .right .top button {
        display: inline-block;
        background: transparent;
        cursor: pointer;
        color: var(--color-dark);
        position: absolute;
        left: 1rem;
    }

    .right .top button span {
        font-size: 2rem;
    }
    .right .recent-updates {

        bottom: 0px;
        position: fixed;
    }
    .main-title{
        color: var(--color-dark);
    }
    
}

@media only screen and (min-width: 1200px){
    .recent-updates{
        width: 300px;
    }
    .submenu{
        justify-content: start;
        width: 320px;
    }
}
