html {
    margin: 0;
    min-height: 100%;
}

body {
    margin: 0;
    background-color: #f0f0f0;
    color: #111111;
    min-height: 100%;
    font-family: 'fira_sansregular', sans-serif;
}

nav {
    font-family: 'fira_sansmedium', sans-serif;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 3.5rem;
    background-color: #000000D0;
    color: white;
    width: 100%;
    position: sticky;
    top: 0;
    backdrop-filter: blur(5px);
}

nav>span {
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav>span>a {
    padding: 0 1rem;
    height: 100%;
    line-height: 3.5rem;
    transition: all 100ms;
    text-decoration: none;
}

nav>span>a:hover {
    background-color: #ffffff20;
    box-shadow: inset 0 -0.2rem #8BC34A;
    transition: all 100ms;
}

h1 {
    font-size: 2.2rem;
    margin: 1.2rem;
    text-align: center;
    font-family: 'bitterregular';
}

h2 {
    font-size: 1.5rem;
    margin: 1.2rem;
    text-align: center;
    font-family: 'bitterregular';
}

h3 {
    font-size: 1.2rem;
    margin: 1.2rem;
    text-align: center;
    font-family: 'bitterregular';
}

p {
    margin-left: 1.2rem;
    margin-right: 1.2rem;
}

a {
    color: inherit;
    text-decoration: underline;
}

code {
    display: inline-block;
}

bold {
    font-family: 'fira_sansbold';
}

form {
    max-width: 20rem;
    margin: auto;
}

table {
    font-size: smaller;
    margin: auto;
}

th {
    padding: 10px;
}

.hidden {
    display: none;
}

.menu {
    overflow-x: auto;
}

.menu>a {
    display: inline-block;
    white-space: nowrap;
}

.h-expander-3 {
    min-height: 3rem;
}

.index_content_holder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100%;
}

.profile_pic {
    max-width: 5rem;
    border-radius: 50%;
    border: #222222 solid 2pt;
    margin: auto;
}

.centered {
    display: block;
    margin: auto;
    text-align: center;
}

.description {
    font-size: smaller;
    margin-top: 0;
}

.error {
    display: block;
    margin: auto;
    text-align: center;
    border-style: solid;
    border-color: #ff1800;
    border-width: 0.15rem;
    border-radius: 0.2rem;
    padding: 0.5rem 2rem;
    margin: 0.5rem;
}

.grid {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.grid>*>* {
    height: 4.5rem;
    margin: 1rem;
}

.slim_container {
    max-width: 800px;
    margin: auto;
}

.inputfield {
    display: flex;
    justify-content: flex-start;
    align-items: baseline;
    margin: 1rem auto;
}

.inputfield>* {
    margin: 0.25rem 0.5rem;
    flex: 1 0 25%;
}

.inputfield>input {
    flex: 3 1 75%;
    background-color: #00000000;
    border: none;
    box-shadow: inset 0 -0.1rem #565756;
    transition: all 300ms;
}

.inputfield>input:hover {
    border: none;
    box-shadow: inset 0 -0.15rem #565756;
    transition: all 300ms;
}

.inputfield>input:focus {
    border: none;
    box-shadow: inset 0 -0.2rem #8BC34A;
    transition: all 300ms;
}

.inputfield>.button {
    box-shadow: none;
    background-color: #8BC34A;
    font-weight: normal;
}

.inputfield>.button:hover {
    box-shadow: none;
}

.inputfield>.button:focus {
    box-shadow: none;
}

.button {
    background-color: #8BC34A;
    color: white;
    text-decoration: none;
    text-align: center;
    border-radius: 0.2rem;
    padding: 0.5rem 2rem;
    margin: 0.5rem;
    transition: all 300ms;
}

.button:hover {
    background-color: #9CCC65;
    transition: all 300ms;
}

.button:active {
    background-color: #7CB342;
    transition: all 300ms;
}

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

.row>* {
    margin-left: 1rem;
    margin-right: 1rem;
}

.popup {
    background-color: #d8d7d7;
    border-radius: 0.2rem;
    margin: 1rem;
    padding: 1rem;
    min-width: 300px;
    box-shadow: 0 4pt 15pt 1pt #000000C0;
    position: fixed;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
}

.popup>a {
    display: block;
}

.popup>* {
    margin: 0.5rem;
}

@media(max-width: 600px) {
    .grid {
        flex-wrap: wrap;
    }

    .grid>* {
        box-sizing: border-box;
        width: 50%;
        text-align: center;
    }

    .grid>*>* {
        height: 5rem;
    }
}

@media(max-width: 300px) {
    .grid {
        flex-direction: column;
        justify-content: start;
    }

    .grid>*>* {
        height: 5rem;
    }

    .popup {
        min-width: unset;
        width: 100%;
    }
}

::-webkit-scrollbar {
    width: 7px;
    height: 4px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #55555550;
}

::-webkit-scrollbar-thumb:hover {
    background: #555555AA;
}
