@keyframes slide-down {
    0% {
        top: -5rem;
    }

    25% {
        top: 2rem;
    }

    75% {
        top: 2rem;
    }

    100% {
        top: -5rem;
    }
}

@keyframes fade-in {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

html {
    font-size: 10px;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    font-family: "Roboto", sans-serif;
    font-size: 1.5rem;
    visibility: visible;
    transition: visibility 0s 0.5s;
}

body.disabled {
    overflow: hidden;
}

body.disabled>:not(#menu) {
    visibility: hidden;
    transition: visibility 0s 0.5s;
}

*.hidden {
    display: none !important;
}

.bold {
    font-weight: 700;
}

.material-icons {
    -webkit-user-select: none;
    user-select: none;
}

.heading {
    color: #5c4086;
    font-size: 2.5rem;
    font-weight: 700;
}

.sub-heading {
    color: #5c4086;
    font-size: 2rem;
    font-weight: 400;
}

.label {
    display: block;
    margin: 1.5rem 0;
    font-weight: 700;
}

.input {
    appearance: none;
    display: block;
    box-sizing: border-box;
    width: 100%;
    padding: 1rem;
    border: none;
    border-bottom: 0.2rem solid #a5a5a5;
    border-radius: 0;
    outline: none;
    background-color: #ededed;
    color: black;
    font-family: inherit;
    font-size: 1.5rem;
    resize: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.input:focus {
    border-bottom: 0.2rem solid #5c4086;
}

.input:not(textarea, input[type="file"]) {
    height: 5rem;
}

.input::file-selector-button {
    padding: 1rem;
    margin-right: 1rem;
    border: none;
    color: white;
    background-color: #5c4086;
}

.input-disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.anchor {
    color: #5c4086;
}

.error {
    color: red;
    font-weight: 700;
}

.success {
    color: green;
    font-weight: 700;
}

.button {
    appearance: none;
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    margin: 1rem 0;
    width: max-content;
    height: max-content;
    border: none;
    background-color: #5c4086;
    color: white;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.button:hover {
    background-color: #5c4086;
}

.row {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: max-content;
}

.row-top {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    height: max-content;
}

.column {
    flex: 1;
}

.container {
    box-sizing: border-box;
    width: 100rem;
    max-width: 100%;
    padding: 1rem;
    margin: 0 auto auto auto;
}

.navbar {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 1;
    background-color: #ededed;
}

.navbar .row {
    justify-content: right;
}

.navbar-item {
    appearance: none;
    position: relative;
    display: flex;
    align-items: center;
    border: none;
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item:hover,
.navbar-item-active {
    background-color: #dbdbdb;
}

.navbar-item.active .navbar-item-dropdown {
    display: block;
}

.navbar-item.active .navbar-item-heading .material-icons {
    transform: rotate(180deg);
}

.navbar-item-heading {
    appearance: none;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-item-heading .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.navbar-item-dropdown {
    position: absolute;
    top: 4rem;
    left: 0;
    display: none;
    padding: 1rem;
    background-color: white;
    box-shadow: 0 0 1rem #c9c9c9;
}

.navbar-item-dropdown .dropdown-item {
    position: relative;
    display: block;
    padding: 1rem;
    color: black;
    font-weight: 700;
    text-decoration: none;
    transition-property: background-color;
    transition-duration: 0.25s;
    -webkit-user-select: none;
    user-select: none;
}

.navbar-item-dropdown .dropdown-item:hover {
    background-color: #ededed;
}

.checkbox-list-container {
    display: flex;
    gap: 2.5rem;
}

.checkbox-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox {
    position: relative;
    display: flex;
    width: 2.5rem;
    height: 2.5rem;
    border: 0.2rem solid #a5a5a5;
    background-color: #ededed;
    -webkit-user-select: none;
    user-select: none;
    transition-property: border-color;
    transition-duration: 0.25s;
}

.checkbox:focus-within {
    border-color: #5c4086;
}

.checkbox.active {
    border-color: #5c4086;
}

.checkbox input {
    position: absolute;
    opacity: 0;
}

.checkbox .material-icons {
    margin: auto;
    color: #ededed;
    transition-property: color;
    transition-duration: 0.25s;
}

.checkbox.active .material-icons {
    color: #5c4086;
}

.break {
    width: 75rem;
    max-width: 100%;
    margin: 2.5rem auto;
    border: none;
    border-bottom: 0.2rem solid #5c4086;
    color: #5c4086;
}

.tab {
    display: flex;
    justify-content: center;
    padding: 1rem;
    color: black;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
    transition-property: background-color;
    transition-duration: 0.25s;
}

.tab:not(.tab-active):hover {
    background-color: #ededed;
}

.tab-active {
    background-color: #dbdbdb;
    font-weight: 700;
}

.table-container {
    overflow: auto;
}

.table {
    table-layout: fixed;
    width: 98rem;
    border-collapse: collapse;
    text-align: center;
}

.table caption {
    margin-bottom: 1rem;
    text-align: left;
}

.table th,
.table td {
    padding: 1rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table thead tr {
    background-color: #dbdbdb;
}

.table tbody tr:nth-child(even) {
    background-color: #ededed;
}

.table tbody tr:nth-child(odd) {
    background-color: white;
}

.table a {
    display: flex;
    justify-content: center;
    color: #5c4086;
    text-decoration: none;
}

.menu-item {
    box-sizing: border-box;
    display: block;
    width: max-content;
    max-width: 100%;
    padding: 1rem;
    margin-left: auto;
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: right;
    text-decoration: none;
    -webkit-user-select: none;
    user-select: none;
}

.menu-item .material-icons {
    transform: rotate(0);
    transition-property: transform;
    transition-duration: 0.5s;
}

.menu-item-active {
    text-decoration: underline;
}

.menu-item-heading {
    appearance: none;
    display: flex;
    align-items: center;
    padding: 0;
    border: none;
    background: none;
    color: white;
    font-family: inherit;
    font-size: 2.5rem;
    font-weight: 700;
}

.menu-item-dropdown {
    max-height: 0;
    overflow: hidden;
    border-left: 0.2rem solid white;
    transition: max-height 0.5s, visibility 0s linear 0.5s;
    visibility: hidden;
}

.menu-item.active .menu-item-dropdown {
    max-height: 25rem;
    visibility: visible;
    transition: max-height 0.5s, visibility 0s;
}

.menu-item.active .material-icons {
    transform: rotate(180deg);
}

.menu-item-dropdown .dropdown-item {
    display: block;
    padding: 1rem;
    color: white;
    text-decoration: none;
}

#login {
    box-sizing: border-box;
    width: 50rem;
    max-width: 100%;
    padding: 1rem;
    margin: auto;
}

#toolbar {
    background-color: #5c4086;
    color: white;
}

#user {
    font-weight: 700;
}

#logout {
    display: flex;
    align-items: center;
    gap: 1rem;
    height: max-content;
    margin-left: auto;
    color: white;
    text-decoration: none;
}

#mobile-navbar {
    display: none;
}

#open-menu {
    display: flex;
}

#menu {
    position: fixed;
    top: 0;
    right: -100%;
    z-index: 1;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow: auto;
    background-color: #5c4086;
    transition: right 0.5s, visibility 0s linear 0.5s;
    visibility: hidden;
}

#menu.active {
    right: 0;
    visibility: visible;
    transition: right 0.5s, visibility 0s;
}

#close-menu {
    appearance: none;
    display: flex;
    border: none;
    background: none;
    padding: 0;
    margin: 2.5rem 0 2.5rem auto;
    color: white;
    text-align: right;
}

#close-menu .material-icons {
    font-size: 48px;
}

#snackbar-container {
    position: relative;
    width: 30rem;
    margin: 0 auto;
}

#snackbar {
    position: fixed;
    top: -5rem;
    z-index: 2;
    box-sizing: border-box;
    width: inherit;
    padding: 1rem;
    box-shadow: 0 0 1rem black;
    background-color: green;
    color: white;
    text-align: center;
    animation-name: slide-down;
    animation-duration: 2s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent-container {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    animation-name: fade-in;
    animation-duration: 0.5s;
    animation-delay: 0.5s;
    animation-fill-mode: forwards;
}

#consent {
    box-sizing: border-box;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    width: 100rem;
    max-width: 100%;
    padding: 2.5rem;
    margin: auto;
    box-shadow: 0 0 1rem black;
    background-color: white;
}

#header {
    display: block;
    width: 100%;
    margin-bottom: 2.5rem;
    border-bottom: 0.2rem solid #5c4086;
}