/* latin */
@font-face {
    font-family: 'Anton SC';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('fonts/antonsc.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
    font-family: 'Noto Serif';
    font-style: normal;
    font-weight: 400;
    font-stretch: 100%;
    font-display: swap;
    src: url('fonts/notoserif.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

div.header
{
    font-size: min(3vw, 3rem);
    line-height: 100%;
    margin: 0;
    text-rendering: optimizeLegibility;
    letter-spacing: 0.2em;
    padding: 1px 1rem 0.5rem 2rem;

    background: #f28500;
    background: linear-gradient(0deg, rgba(242, 133, 0, 1) 0%, rgba(195, 34, 34, 1) 100%);

    color: #ffffff;
    border-bottom: solid 5px #ffc346;
}

.font-anton
{
    font-family: 'Anton SC', system-ui;
    font-weight: 400;
    font-style: normal;
}

div.content
{
    margin: 2em;
    font-family: 'Noto Serif', serif;
}

html
{
    font-size: 1rem;
    font-family: 'Noto Serif', serif;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    color: #000000;
    font-size: 1rem;
    font-family: 'Noto Serif', serif;
}

div#mainDiv
{
    /*
    background: #4ac6d4;
    background: linear-gradient(0deg,rgba(74, 198, 212, 1) 0%, rgba(150, 190, 115, 1) 80%, rgba(253, 187, 45, 1) 100%);
    */
    min-height: 100vh;
    display: flex;
    flex-direction: column
}

div#divGradient
{
    display: flex;
    flex-direction: column;
    background: #8bf0b7;
    background: linear-gradient(0deg, rgba(139, 240, 183, 1) 0%, rgba(149, 215, 240, 1) 32%, rgba(149, 215, 240, 1) 76%, rgba(237, 181, 83, 1) 100%);}

button
{
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    transition-duration: 0.3s;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
}

#divChallenge h1
{
    color: #133161;
}

button.record-button
{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: none;
    background: #373737;
    font-size: 2rem;
    text-align: center;
    padding: 0;
    margin: 0;
    color: #ba1919;
    display:inline-flex;
    justify-content: center;
    align-items: center;
}

button.record-button:hover
{
    background: #303030;
}

button.stop-button
{
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    border: solid 0.4rem black;
    background: #fefefe;
    font-size: 2rem;
    text-align: center;
    padding: 0;
    margin: 0;
    display:inline-flex;
    justify-content: center;
    align-items: center;
}



button.record-button:active
{
    background: #101010;
}

div#divVideoButtons
{
    display: flex;
    justify-content: left;
    margin-top: 1rem;
    gap: 1rem;
}

button.send-button
{
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    background: #0aa123;
    color: white;
}

button.send-button:hover
{
    background: #067518;

}

button.revert-button
{
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    background: #710e0e;
    color: white;
}

button.revert-button:hover
{
    background: #8a1212;
}

.video-player
{
    width: 100%;
    max-height: 400px;
    background-color: #303030;
    border-radius: 0.75rem;
    margin-bottom: 1.5rem;
    object-fit: contain;
}

div.footer
{
    color: #e0e0e0;
    padding: 5rem 0;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    background: #252525;
    font-size: 0.8rem;

}

div.footer a
{
    display: block;
    color: #b0b0b0;
    text-decoration: none;
}

.is-hidden
{
    display: none!important;
}

button.accept-challenge-button
{
    padding: 1rem 2rem;
    border-radius: 5px;
    border: none;
    background: #b5102c;
    color: white;
    font-size: 1rem;
}

button.accept-challenge-button:hover
{
    background: #97192d;
}

input[type=text]
{
    padding: 5px;
}

div.field
{
    display: flex;
    flex-direction: column;
    margin-top: 1rem;
}

div.field > label
{
    margin-bottom: 0.25rem;
}

div.field > input
{
    max-width: 20rem;
}

.countdownNumber
{
    font-size: 10rem;
    font-weight: bold;
    text-align: center;
    color: #ffffff;
}

.mr-1 {  margin-right: 1rem; }
.mr-2 {  margin-right: 2rem; }
.mr-3 {  margin-right: 3rem; }
.mr-4 {  margin-right: 4rem; }
.mr-5 {  margin-right: 5rem; }

.mt-1 {  margin-top: 1rem; }
.mt-2 {  margin-top: 2rem; }
.mt-3 {  margin-top: 3rem; }
.mt-4 {  margin-top: 4rem; }
.mt-5 {  margin-top: 5rem; }

label.label-button
{
    background: #0462ae;
    padding: 1rem 2rem;
    border: none;
    border-radius: 5px;
    transition-duration: 0.3s;
    display: inline-block;
    color: white;
    font-family: system-ui, sans-serif;
    font-size: 1rem;
}

label.label-button:hover
{
    background: #06589a;
}

.has-error
{
    color: #c82b2b!important;
}


/* Spinner */

.lds-ellipsis {
    /* change color here */
    color: #1c4c5b
}
.lds-ellipsis,
.lds-ellipsis div {
    box-sizing: border-box;
}
.lds-ellipsis {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ellipsis div {
    position: absolute;
    top: 33.33333px;
    width: 13.33333px;
    height: 13.33333px;
    border-radius: 50%;
    background: currentColor;
    animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
    left: 8px;
    animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
    left: 8px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
    left: 32px;
    animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
    left: 56px;
    animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
    0% {
        transform: scale(0);
    }
    100% {
        transform: scale(1);
    }
}
@keyframes lds-ellipsis3 {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(0);
    }
}
@keyframes lds-ellipsis2 {
    0% {
        transform: translate(0, 0);
    }
    100% {
        transform: translate(24px, 0);
    }
}

.text-violett
{
    color: #2c1751;
}

img.aufgabe-img
{
    max-height: 20rem;
}