/* === GENERAL === */
:root {
    --color-blue-darker: #06080D;
    --color-grey-light-transparent-10: #f4f6f710;
    --color-blue-dark: #303e4c;
    --color-white: #fff;
    --color-disabled: #707070;
    --color-grey-light: #f4f6f7;
}

*:focus-visible {
    outline: none;
}

body {
    margin: 0 !important;
    font-family: "qhyts", Arial, Sans-serif !important;
    font-weight: 300;
    overflow-x: hidden;
    box-sizing: border-box;
    background-color: #111112;
    color: var(--color-white);
    --textColor: #eee;
    --theme-color: #fff;
    --theme-color-2: #D2D9DE;

}

body.light {
    background-color: #111112;
    color: var(--color-grey-light);
    --textColor: #f4f6f7;
    --theme-color: #232323;
    --theme-color-2: #2b3139;
}

@font-face {
    font-family: "qhyts";
    src: url("/src/fonts/qhyts.ttf");
    font-weight: 400;
    font-style: normal;
}

::-webkit-scrollbar {
    width: 10px;
}

/* Track */
::-webkit-scrollbar-track {
    background: var(--color-blue-dark);
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: var(--color-orange);
    border-radius: 3px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background-color: var(--color-orange-transparent-e8);
}

html {
    font-size: 16px;
}

table {
    border: 2px solid var(--color-blue-darker);
    border-radius: 5px;
    overflow: hidden;
}

select option:checked,
select option:hover {
    box-shadow: 0 0 10px 100px #000 inset;
    padding: 50px;
}

.page-content {
    min-height: 400px;
}

select,
p,
td,
span,
a,
button,
textarea,
label,
input {
    font-family: "qhyts", Arial, Sans-serif;
}

input {
    border: 2px solid var(--color-blue-darker);
    font-size: 1rem;
    padding: 2px;
    border-radius: 5px;
}

input:focus-visible {
    outline: none;
    box-shadow: 0 0 0 1.5px white;
}

button {
    border: 3px solid var(--color-blue-dark);
    border-radius: 10px;
    display: block;
    transition: 0.2s all ease-in-out;
}

fieldset {
    margin-bottom: 1rem;
    border-radius: 10px;
    border-color: var(--color-blue-dark);
    font-weight: 400;
}

.row {
    margin-bottom: 50px;
}

.page-content h1 {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    border: 4px solid #d1d1d1;
    border-radius: 15px;
    width: 33%;
    min-width: 270px;
}

select,
textarea,
input {
    transition: .3s ease-in-out;
}

input[type="checkbox"] {
    cursor: pointer;
}

input:hover,
input:focus {
    transform: scale(1.05);
}

select:hover,
#comment-box:hover,
select:focus,
#comment-box:focus {
    cursor: pointer;
    opacity: 1;
    transform: scale(1.05);
}

select:focus,
#comment-box:focus {
    border-image: conic-gradient(from var(--angle), var(--color-orange), var(--textColor)) 1;
    border-image-width: 3px;
    animation: 2s rotate ease infinite;
}

.lightbox {
    background-color: var(--theme-color);
    margin-top: 4%;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
}

a {
    text-decoration: none;
    color: var(--textColor);
    transition: .3s ease-in-out;
}

a:hover {
    color: var(--color-orange);
}

#lightbox__overlay {
    position: absolute !important;
    height: 100vh;
    top: 0px;
    left: 0px;
    bottom: 0px;
    right: 0px;
    background-color: #000 !important;
    opacity: 0.8;
    z-index: 2;
}

#lightbox__overlay-container {
    position: absolute;
    inset: 0;
    z-index: 3;
}

#rights {
    font-weight: 400;
    display: block;
    text-align: center;
    font-size: .8rem;
}

#mobile-nav-icon {
    display: none;
    width: 20px;
    height: 20px;
    left: 20px;
    top: 22px;
    position: absolute;
}

#mobile-nav-icon>span {
    scale: 1.7;
    display: block;
    text-align: center;
}

#mobile-nav-dropdown {
    position: relative;
    width: 60px;
    margin-left: 1rem
}

#mobile-nav-icon:hover {
    cursor: default;
}

nav h1{
    font-size: 2.5rem;
}

nav img {
    width: 3rem;
    margin-bottom: -10px;

}

nav .row, nav .col-6 {
    margin: 0
}

#headline {
    display: inline;
}

button:hover,
button:focus {
    background-color: var(--color-orange);
    color: var(--color-white);
    cursor: pointer;
}

.error {
    color: red;
    font-weight: bold;
    border: var(--color-white);
}

#lightbox__overlay-session-timeout {
    width: 400px;
    height: 280px;
    margin-left: auto;
    margin-right: auto;
    margin-top: 2rem;
    background-color: var(--theme-color);
    border-radius: 15px;
    padding: 2rem
}

#lightbox__overlay-session-timeout>h1 {
    text-align: center;
    margin-bottom: 2.5rem;
}

#lightbox__overlay-session-timeout>p {
    margin-bottom: 3rem;
    text-align: center;
}

#lightbox__overlay-session-timeout>button {
    display: inline-block;
    width: 150px;
    height: 40px;
    font-weight: bold;
}

#lightbox__overlay-session-timeout>button:nth-of-type(1) {
    float: left;
}

#lightbox__overlay-session-timeout>button:nth-of-type(2) {
    float: right;
}

@media(max-width:1200px) {
    .page-content h1 {
        width: 60%;
    }
}

.colored-active {
    background-color: var(--color-orange) !important;
}

/* === GRID-SYSTEM === */
.container {
    width: 95%;
    margin-left: auto;
    margin-right: auto;
}

.row::after {
    content: "";
    clear: both;
    display: block;
}

[class*='col-'] {
    float: left;
    min-height: 1px;
    padding-top: 0.8rem;
    padding-bottom: 0.8rem;
}

.col-0-5 {
    width: 8.333%
}

.col-1 {
    width: 16.666%
}

.col-1-5 {
    width: 24.999%
}

.col-2 {
    width: 33.333%
}

.col-3 {
    width: 50%
}

.col-4 {
    width: 66.666%
}

.col-6 {
    width: 100%
}