:root {
    --body: #1f2122;
    --navbar: #121212;
    --cards: #121212;

    --font: #e8eef5;
    --primary: #0466cf;
    --success: #9bd5a5;
    --warning: #e19866;
    --danger: #f07580;
}

::-webkit-scrollbar {
    width: 0px;
}

@font-face {
    font-family: "Inter UI";
    src: url("./Inter UI.ttf");
}

body {
    margin: 69px 0 0 0;
    background-color: var(--body);
    font-family: "Inter UI", sans-serif;
    color: var(--font);

    overflow-y: scroll;

    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.primary {
    color: var(--primary);
}

.success {
    color: var(--success);
}

.warning {
    color: var(--warning);
}

.danger {
    color: var(--danger);
}

a {
    color: #5277bd;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

nav {
    z-index: 99999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    position: fixed;
    background-color: var(--cards);
    margin: 0;
    width: 100%;
    height: 70px;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .2);
}

nav p {
    margin: 0;
    display: flex;
    padding-left: 40px;
    font-size: 30px;
    font-weight: 900;
}

nav .toggle-container {
    font-size: 28px;
    margin-right: 25px;
    padding: 4px;
    cursor: pointer;
    width: 28px;
    display: flex;
    justify-content: center;
}

.container {
    padding-right: 1rem;
    padding-left: 1rem;
    margin-left: auto;
    margin-right: auto;
    width: auto;
    max-width: 1012px;
}

@media (min-width: 1012px) {
    .container {
        padding-right: 1rem;
        padding-left: 1rem;
    }
}

@media (min-width: 544px) {
    .container {
        padding-right: 2.5rem;
        padding-left: 2.5rem;
    }
}

.container>div:nth-last-child(2) {
    margin-bottom: 60px;
}

.title {
    font-size: 25px;
    margin: 30px 0 15px 0;
    width: 852px;
}

.container>div:first-child .title {
    padding-top: 60px;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-bottom: 30px;
}

.row .box {
    box-shadow: 0px 2px 10px rgba(0, 0, 0, .2);
    border-radius: 5px;
    width: 416px;
    min-height: 58px;
    height: fit-content;
    background-color: var(--cards);
    align-items: center;
    margin: 10px 0;
    font-weight: 600;
}

.row .box:last-child:nth-child(even) {
    margin-right: 436px;
}

.row .box:nth-child(2),
.row .box:nth-child(3) {
    margin: 0 0 10px 0;
}

.row .box:nth-child(odd) {
    margin-left: 10px;
}

.row .box:nth-child(even) {
    margin-right: 10px;
}

@media (max-width: 995px) {

    .row .box:last-child:nth-child(even) {
        margin-right: 436px;
    }

    .title {
        width: 852px !important;
    }
}

@media (max-width: 931px) {

    .row .box,
    .title {
        margin-left: 160px !important;
        margin-right: 160px !important;
        width: 100% !important;
    }

    .row {
        justify-content: center !important;
    }

    .row .box:nth-child(3) {
        margin: 10px 160px !important;
        width: 100% !important;
    }
}

@media (max-width: 912px) {

    .row .box,
    .title {
        margin-left: 80px !important;
        margin-right: 80px !important;
        width: 100% !important;
    }

    .row .box:nth-child(3) {
        margin: 10px 80px !important;
        width: 100% !important;
    }
}

@media (max-width: 554px) {

    .row .box,
    .row .box:nth-child(3),
    .title {
        margin-left: 0px !important;
        margin-right: 0px !important;
        width: 100% !important;
    }
}

.row .box .details {
    min-height: 58px;
    width: 100%;
    display: flex;
    align-items: center;

}

.row .box .collaps {
    margin: 0 15px;
}

.row .box:has(.details>.collaps) .details {
    cursor: pointer;
}

.row .box:not(:has(.details>.collaps)) {
    cursor: default;
}

.row .box:not(:has(.details>.collaps)) .description>p {
    margin-left: 44px;
}

.row .box .description {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.row .box .dropdown {
    width: 100%;
    transition: opacity .3s;
}

.row .box .dropdown hr {
    margin: 0;
}

.row .box .dropdown .child {
    width: 100%;
    display: flex;
    align-items: center;
    min-height: 48px;
}

.row .box .dropdown i {
    margin: 10px 44px;
    margin-right: 20px;
}

.row .box .dropdown .child .description {
    margin: 0;
}

.row .box .dropdown .child .description p {
    margin: 5px;
    margin-left: 0px;
}

.row .box .dropdown .child:last-child {
    margin-bottom: 5px;
}

.row .box .state {
    font-size: 20px;
    margin-right: 20px;
}

.legend {
    margin-bottom: 40px;
}

.legend .row {
    margin: 10px 30px;
    justify-content: space-evenly;
}

.legend .row .tile {
    display: flex;
    align-items: center;
    margin: 10px;
}

.legend .row .tile p {
    margin: 0;
    margin-left: 10px;
}

/* Spinner */

.spinner {
    margin-right: 17px;
    border: 3px solid transparent;
    border-top: 3px solid #3498db;
    border-radius: 50%;
    width: 17px;
    height: 17px;
    animation: spin 1.3s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
        opacity: .4;
    }

    50% {
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: .4;
    }
}
