@font-face {
    font-family: 'Brocats';
    src: url('/fonts/brocats/Brocats.tff') format('truetype');
}

@font-face {
    font-family: 'SuperPositive';
    src: url('/static/fonts/Super Positive Personal Use.ttf') format('truetype');
}

body {
    margin: 0;
    padding: 0;
    background-color: #1d2634;
    color: #9e9ea4;
    font-family: 'Montserrat', sans-serif;
}

.material-icons-outlined {
    vertical-align: middle;
    line-height: 1px;
    font-size: 35px;
}

.grid-container {
    display: grid;
    grid-template-columns: 260px 1fr 1fr 1fr;
    grid-template-rows: 0.2fr 3fr;
    grid-template-areas: 'sidebar header header header' 'sidebar main main main';
    height: 100vh;
}

/* ---------- HEADER ---------- */

.header {
    grid-area: header;
    height: 70px;
    display: flex;
    align-items: center;
    display: none;
    justify-content: space-between;
    padding: 0 30px 0 30px;
    box-shadow: 0 6px 7px -3px rgba(0, 0, 0, 0.35);
}

.menu-icon {
    display: none;
}

/* ---------- SIDEBAR ---------- */

#sidebar {
    grid-area: sidebar;
    height: 100%;
    background-color: #263043;
    overflow-y: auto;
    padding: 15px;
    transition: all 0.5s;
    -webkit-transition: all 0.5s;
}

.sidebar-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.sidebar-title>span {
    display: none;
}

.sidebar-brand {
    margin-top: 15px;
    font-size: 20px;
    font-weight: 700;
}

.sidebar-list {
    padding: 0;
    margin-top: 15px;
    list-style-type: none;
}

.sidebar-list-item {
    padding: 20px 20px 20px 20px;
    font-size: 18px;
}

.sidebar-list-item:hover {
    background-color: rgba(255, 255, 255, 0.2);
    cursor: pointer;
}

.sidebar-list-item>a {
    text-decoration: none;
    color: #9e9ea4;
}

.sidebar-responsive {
    display: inline !important;
    position: absolute;
    /*
    the z-index of the ApexCharts is 11
    we want the z-index of the sidebar higher so that
    the charts are not showing over the sidebar
    on small screens
  */
    z-index: 12 !important;
}

/* ---------- MAIN ---------- */

.main-container {
    grid-area: main;
    overflow-y: auto;
    padding: 5px 5px;
    color: rgba(255, 255, 255, 0.95);
}

.main-title {
    display: flex;
    justify-content: space-between;
}

.main-cards {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 20px;
    margin: 20px 0;
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px;
    border-radius: 5px;
}

.card:first-child {
    background-color: #2962ff;
}

.card:nth-child(2) {
    background-color: #ff6d00;
}

.card:nth-child(3) {
    background-color: #2e7d32;
}

.card:nth-child(4) {
    background-color: #d50000;
}

.card-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.card-inner>.material-icons-outlined {
    font-size: 45px;
}

.charts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-top: 60px;
}

.charts-card {
    background-color: #263043;
    margin-bottom: 20px;
    padding: 25px;
    box-sizing: border-box;
    -webkit-column-break-inside: avoid;
    border-radius: 5px;
    box-shadow: 0 6px 7px -4px rgba(0, 0, 0, 0.2);
}

.chart-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ---------- MEDIA QUERIES ---------- */

/* Medium <= 992px */

@media screen and (max-width: 992px) {
    .grid-container {
        grid-template-columns: 1fr;
        grid-template-rows: 0.2fr 3fr;
        grid-template-areas: 'header' 'main';
    }
    #sidebar {
        width: 70%;
        display: none;
    }
    .menu-icon {
        display: inline;
    }
    .header {
        display: flex;
    }
    .sidebar-title>span {
        display: inline;
    }
}

/* Small <= 768px */

@media screen and (max-width: 768px) {
    .main-cards {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 0;
    }
    .charts {
        grid-template-columns: 1fr;
        margin-top: 30px;
    }
}

/* Extra Small <= 576px */

@media screen and (max-width: 576px) {
    .hedaer-left {
        display: none;
    }
}

.welcospa {
    color: #fff;
    width: 100%;
    font-size: 0.78rem;
    text-align: center;
}

.saldomesg {
    background: #4aeba1;
    color: #1d3f4b;
    padding: 0.6rem;
    font-size: 120%;
    font-weight: 900;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    border-radius: 0.5rem;
}

.saldomesg img {
    width: 1.2rem;
}

.sidemenuTitle img {
    width: 1.2rem;
}

.sidemenuTitle {
    padding: 0.4rem;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    margin-top: 0.78rem;
    font-size: 110%;
    background: #1d2634;
    font-weight: 900;
    border-radius: 0.5rem;
}

.imagemTopHeard {
    display: flex;
    position: absolute;
    left: 50%;
    transform: translate(-50%);
    justify-content: center;
    width: auto;
}

.imagemTopHeard img {
    width: 60%;
}

.depositButton {}

.depositButton button {
    background: transparent;
    font-size: 200%;
    padding: 0.6rem;
    border-radius: 1.5rem;
    color: #ffc158;
}

.div_notification {
    position: fixed;
    right: 1.5rem;
    top: 1.2rem;
    cursor: pointer;
    color: #ffc158;
    font-size: 150%;
}

.marginNotification {
    position: relative;
}

.value_notify {
    position: absolute;
    top: 0;
    right: -0.3rem;
    width: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 1rem;
    background: #d50000;
    font-size: 0.7rem;
    border-radius: 50%;
    color: #fff;
}