body {
    font-family: ClashDisplay-Semibold, sans-serif;
    --ds-color-purple-100: #595998;
    --page-background-color: radial-gradient(66.5% 200.21% at 133.03% -61.44%, rgb(120 18 215 / 40%) 0%, rgb(47 8 213 / 0%) 92.09%),
    radial-gradient(93.54% 126.91% at 29.15% -88.29%, rgb(73 54 217 / 70%) 0%, rgba(157, 121, 127, 0) 92.09%),
    radial-gradient(80.19% 101.84% at -17.13% -30.8%, rgb(222 34 216 / 70%) 0%, rgb(22 21 30) 92.09%),
    var(--ds-color-purple-100);
    background: var(--page-background-color);
    background-attachment: fixed;
    color: white;
}

html {
    scrollbar-width: none;
    overflow: scroll;
    overflow-x: hidden;
    user-select: none;
}

/*VIDEOS*/

.video-gallery {
    display: flex;
    justify-content: center;
    height: auto;
    margin-top: 10vh;
}

.video-container {
    width: 90%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    grid-auto-rows: 300px;
    grid-gap: 10px;
}

.video-item {
    background-color: none;
    padding: 10px;
    text-align: center;
    cursor: pointer;
}

.video-item h1 {
    max-width: 100%;
    font-size: 14px;
    text-align: left;
    font-family: "ClashDisplay-Medium";
}

.video-item p {
    max-width: 100%;
    font-size: 12px;
    text-align: left;
    color: #aaaa;
    font-family: "ClashDisplay-Regular";
}


.video-item :hover {
    transform: scale(1.03);
    border-radius: 10px;
}

.thumbnail-big {
    width: auto;
    display: block;
    justify-content: center;
    align-items: center;
}

.thumbnail-big img {
    height: 100%;
    aspect-ratio: 16 / 9;
    width: auto;
}

.thumbnail-container {
    width: 100%;
    height: auto;
    overflow: hidden;
}

.thumbnail-container img {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 10px;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 10px;
}

/* Quiz */
.quiz-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    margin-top: 10vh;
}

.left,
.right {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.middle {
    flex: 2;
    display: flex;
    justify-content: center;
    align-items: center;
}

.middle img {
    width: 80%;
    height: auto;
}

.left img,
.right img {
    width: 90%;
    height: auto;
}

.quiz-container button {
    background-color: transparent;
    border: none;
    padding: 1vh 0;
    cursor: pointer;
    margin: 0 1vw;
}

/*
.quiz-container button img {
    background-color: none;
    height: auto;
    width: 80%;
    margin: auto;
}

#prev img {
    transform: rotate(-90deg);
}

#next img {
    transform: rotate(90deg);
}

.quiz-container button img:hover {
    height: 105%;
    width: 1055%;

}*/

/*
Logo
*/

.shadow2 {
    text-shadow: 10px 6px 17px rgba(0, 0, 0, 0.66);
}

.shadow3 {
    filter: drop-shadow(9px 9px 20px #000000);
}

@media (max-width: 768px) {
    #logo {
        display: none;
    }
}

.timer {
    text-align: center;
    font-size: 70px;
    font-weight: bold;
    padding-top: 30px;
    padding-bottom: -50px;
}

@media (max-width: 768px) {
    .quiz-container button {
        padding: 0.5vh 0;
        margin: 0 1vw;
    }


    .quiz-container button i {
        font-size: large;
        margin-left: 10px;
        margin-right: 10px;

    }

    .left img,
    .right img {
        display: none;
    }

    .quiz-container,
    .video-container {
        flex-direction: column;
    }

    .timer {
        font-size: 60px;
        margin-top: 30px;
        margin-bottom: -15px;
    }
}

/*Ergebnisse*/

.result-popup {
    --ds-color-purple-100: #595998;
    background: radial-gradient(66.5% 200.21% at 133.03% -61.44%, rgb(120 18 215 / 40%) 0%, rgb(47 8 213 / 0%) 92.09%),
    radial-gradient(93.54% 126.91% at 29.15% -88.29%, rgb(73 54 217 / 70%) 0%, rgba(157, 121, 127, 0) 92.09%),
    radial-gradient(80.19% 101.84% at -17.13% -30.8%, rgb(222 34 216 / 70%) 0%, rgb(22 21 30) 92.09%),
    var(--ds-color-purple-100);;
    background-attachment: scroll;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1000;
    flex-direction: column;
    justify-content: space-between;
    scrollbar-width: none;
    overflow: scroll;
    overflow-x: hidden;
}

.result-container {
    position: relative;
    width: 100%;
    margin-top: 200px;
    max-height: 50%;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.thumbnail-container-result {
    max-width: 500px;
    min-width: 500px;
    max-height: 100%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    grid-gap: 20px;
}

.thumbnail-icon {
    width: 150px;
    height: 90px;
    background-color: #4c4c4c;
    border-radius: 10px;
    box-shadow: 5px 5px 10px 0px rgba(255, 255, 255, 0.2);
}

.thumbnail-big {
    width: 300px;
    height: 169px;
    background-color: #4c4c4c;
    border-radius: 10px;
    overflow: hidden;
}

.thumbnail-big img {
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: cover;
}

.first {
    margin-top: -90px;
    margin-left: -150px;
}

.middle-result p {
    text-align: center;
    font-size: 80px;
    font-weight: bold;
    background-color: transparent;
    z-index: 1;
}

.middle-result {
    display: flex;
    justify-content: center;
    align-items: center;
}

.correct-result {
    box-shadow: 5px 5px 10px 0px rgba(9, 255, 0, 0.5);
}

.selected-result {
    box-shadow: 5px 5px 10px 0px rgba(255, 0, 0, 0.5);
}

/* CSS für Button-Container */
.button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    /* Abstand zum unteren Rand */
}

/*.result-button {
    background-color: transparent;
    font-weight: bolder;
    font-size: 34px;
    color: white;
    border: none;
    padding: 10px 200px;
    margin: 0 10px;
    cursor: pointer;
    font-family: ClashDisplay-Bold, sans-serif;;
}*/

.animate-slowFadeIn {
    animation: fadeIn .5s ease;
}

.result-button {
    transform: scale(0.8);
    margin: 0 10px 0 10px;
    padding: 10px 20px;
    border-radius: 100px;
    border: 1px solid rgb(155, 61, 255);
    font-size: 14px;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 2px;
    background: transparent;
    color: #fff;
    overflow: hidden;
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    top: 0;
    right: 0;
}

.result-button:hover:disabled {
    cursor: not-allowed;
    -webkit-animation: wobble 0.5s 0s linear;
    -moz-animation: wobble 0.5s 0s linear;
    animation: wobble 0.5s 0s linear;
}

.result-button:hover {
    background: rgb(132, 61, 255);
    box-shadow: 0 0 30px 5px rgba(149, 0, 236, 0.81);
    -webkit-transition: all 0.2s ease-out;
    -moz-transition: all 0.2s ease-out;
    transition: all 0.2s ease-out;
}

.result-button:hover::before {
    -webkit-animation: sh02 0.5s 0s linear;
    -moz-animation: sh02 0.5s 0s linear;
    animation: sh02 0.5s 0s linear;
}

.result-button::before {
    content: '';
    display: block;
    width: 0px;
    height: 86%;
    top: 7%;
    left: 0%;
    opacity: 0;
    background: #fff;
    text-shadow: 0 0 50px 30px #fff;
    -webkit-transform: skewX(-20deg);
    -moz-transform: skewX(-20deg);
    -ms-transform: skewX(-20deg);
    -o-transform: skewX(-20deg);
    transform: skewX(-20deg);
}


.result-button:active {
    box-shadow: 0 0 0 0 transparent;
    -webkit-transition: box-shadow 0.2s ease-in;
    -moz-transition: box-shadow 0.2s ease-in;
    transition: box-shadow 0.2s ease-in;
}

.result-button:disabled {
    color: #4c4c4c;
}

.calculation-contrainer {
    display: flex;
    align-items: center;
    /* margin-left: -50px; */
    flex-direction: column;
    font-weight: bold;
    font-size: 40px;
}

.calculation-contrainer div {
    width: 200px;
    align-items: center;
    display: flex;
}


.calculation-contrainer p {
    font-family: "ClashDisplay-Light";
    font-weight: 200;
    height: 100%;
    line-height: 100%;
    font-size: 18px;
    align-items: center;
    float: left;
    text-align: left;
    width: 100px;
    margin: 0;
}

.calculation-contrainer .right-values {
    font-family: "ClashDisplay-Semibold";
    font-size: 40px;
    float: right;
    text-align: right;
    width: 100px;
    margin: 0;
}

#end-points-container {
    border-bottom: 1px solid rgb(255, 255, 255);
}

/* Anpassungen für kleine Bildschirme */
@media (max-width: 768px) {
    .thumbnail-container-result {
        width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        margin-top: -10%;
    }


    .thumbnail-icon {
        display: none;
    }

    .middle-result {
        display: block;
        background-color: transparent;
        box-shadow: none;
    }

    .first {
        margin: 0;
    }


    .middle-result p {
        font-size: 40px;
    }

    .result-container {
        margin-top: 50px;
    }
}

.rounded-custom:hover {
    border-radius: 10px;
}


/* Live-Bar */
.life-text {
    margin-left: 10px;
    margin-bottom: 5px;
    text-shadow: 2px 2px 2px #000000;
}

.lives {
    z-index: 100;
    margin-left: 10px;
    padding: 5px;
}

.life-container {
    width: 300px;
    height: 30px;
    margin-bottom: 10px;
    border: black solid 1px;
    margin-top: 25px;
    margin-left: 55px;
    position: absolute;
    border-radius: 50px;
    box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
}

.pfp {
    margin-top: 5px;
    border-radius: 50%;
    border: black solid 2px;
    box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
    -webkit-box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
    -moz-box-shadow: 10px 10px 27px 0px rgba(0, 0, 0, 0.75);
}

.life {
    height: 100%;
    width: 60%;
    /* Leben */
    border-radius: 50px;
    background: -moz-linear-gradient(80deg, rgba(99, 41, 149, 1) 0%, rgba(104, 35, 119, 1) 19%, rgba(101, 43, 95, 1) 38%, rgba(111, 40, 148, 1) 62%, rgba(116, 49, 144, 1) 84%, rgba(99, 41, 149, 1) 100%);
    background: -webkit-linear-gradient(80deg, rgba(99, 41, 149, 1) 0%, rgba(104, 35, 119, 1) 19%, rgba(101, 43, 95, 1) 38%, rgba(111, 40, 148, 1) 62%, rgba(116, 49, 144, 1) 84%, rgba(99, 41, 149, 1) 100%);
    background: linear-gradient(80deg, rgba(99, 41, 149, 1) 0%, rgba(104, 35, 119, 1) 19%, rgba(101, 43, 95, 1) 38%, rgba(111, 40, 148, 1) 62%, rgba(116, 49, 144, 1) 84%, rgba(99, 41, 149, 1) 100%);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#632995", endColorstr="#632995", GradientType=1);
    animation: 40s linear infinite gradient;
}

#searchbar {
    user-select: text;
}

@keyframes gradient {
    to {
        background-position: 100vh
    }
}

@media (max-width: 768px) {
    .lives {
        margin: 3px;
    }
}

@keyframes wobble {
    0% {
        transform: translateX(0);
    }

    15% {
        transform: translateX(-5px);
    }

    30% {
        transform: translateX(5px);
    }

    45% {
        transform: translateX(-5px);
    }

    60% {
        transform: translateX(5px);
    }

    75% {
        transform: translateX(-5px);
    }

    90% {
        transform: translateX(0px);
    }
}

@keyframes sh02 {
    from {
        opacity: 0;
        left: 0%;
    }

    50% {
        opacity: 1;
    }

    to {
        opacity: 0;
        left: 100%;
    }
}
