

html,
body {
    margin: 0;
    height: 100%;
    background: var(--bg);
    color: var(--txt);
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Helvetica, Arial, sans-serif;
}

#top {
    height: 7vh;
    background: var(--element);
    width: 100%;
    border-bottom: 1px solid var(--accent);

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
}

.title {
    font-size: xx-large;
    font-weight: bold;
}

.title-addition {
    font-size: small;
    text-wrap: nowrap;
}

#title_div {
    margin-left: 1%;
    cursor: pointer;
    width: 15%;
}

#tabs {
    height: 100%;
    width: 90%;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: center;

    font-family: Arial, Helvetica, sans-serif;
    font-size: medium;
    font-weight: bolder;

    cursor: pointer;
}

.tab {
    transition: all 0.3s ease-in-out;
}

.tab:hover {
    color: color-mix(in srgb, var(--accent) 80%, black);
    transform: scale(1.1 , 1.1);
}

.tab.selected {
    color: var(--accent);
    transform: scale(1.2, 1.2);
    text-shadow: 0px 0px 5px var(--muted);
}

#main_frame {
    width: 100%;
    height: 86vh;
    border: none;
}

.footer {
    border-top: 1px solid var(--border);
    padding: 16px;
    background: var(--element);
    text-align: center;

    position: fixed;
    bottom: 0;
    width: 100%;

    height: 7vh;
}

.footer a {
    color: var(--accent);
    text-decoration: none;
    margin: 0 8px;
}

.footer .muted {
    font-size: 12px;
    color: var(--muted);
    margin-top: 8px;
}



@media (max-width: 768px) {
    #top {
        height: fit-content;
        flex-wrap: wrap;
    }

    #title_div {
        height: 50%;
        width: 100%;
        text-align: center;

        margin-top: 1%;
        margin-bottom: 2.5%;
    }

    #tabs {
        height: 50%;
        width: 100%;

        margin-bottom: 2.5%;
    }

    #main_frame {
        height: 71vh;
    }


    .footer {
        padding: unset;
        height: 10vh;
    }
}