:root {
    --gold-gradient-background: linear-gradient(145deg,
            #8a4d14 0%,
            #d8b15d 18%,
            #fff3bf 30%,
            #8b4d14 52%,
            #5e2d08 74%,
            #e9c56d 88%,
            #7a3e10 100%);
    --black-gradient-background: linear-gradient(90deg, #7a7472 0%, #1e1d1c 55%, #000000 100%);
    --dark-blue-text-color: #0d1d4d;
    --blue-text-color: #002273;
    --background-color: #fbb900;
    --primary-color: #00295b;
    --bs-body-font-size: clamp(0.8rem, 1.2vw + 0.5rem, 1.2rem);
    --dark-gold: #77671c;
}

body {
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    place-items: center;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--dark-blue-text-color);
    max-width: 1200px;
    font-family: Roboto, Helvetica, sans-serif;
}

.shine {
    position: absolute;
    left: 2px;
    bottom: 2px;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    pointer-events: none;
    z-index: 2;
    background: radial-gradient(circle at 30% 70%,
            rgba(255, 255, 255, 0.95) 0%,
            rgba(255, 255, 255, 0.55) 18%,
            rgba(255, 255, 255, 0.08) 45%,
            transparent 70%);
}

.shine.big-shine {
    left: -0.5rem;
    bottom: -0.5rem;
    width: 4rem;
    height: 4rem;
    border-radius: 0;
}

.ui-input {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    font-size: 16px;
    color: var(--dark-blue-text-color);
    background: #e9e9e9;
    border-radius: 10px;
    border: 1px solid #b5b5b5;
    outline: none;
    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        /* top highlight */
        inset 0 -1px 2px rgba(0, 0, 0, 0.08),
        /* subtle inner depth */
        0 2px 4px rgba(0, 0, 0, 0.25);
    /* outer shadow */
}

.black-background-gradient {
    background: var(--black-gradient-background);
}

.white-background {
    background: #f7f7f7;
}

.text-align-center {
    text-align: center;
}

.text-align-start {
    text-align: start;
}

.text-align-end {
    text-align: end;
}

.max-w-80p {
    max-width: 80%;
}

.center-margin {
    margin: 0 auto;
}

hr {
    background: var(--gold-gradient-background);
    width: 100%;
    height: 4px;
    opacity: 1;
}

/* Landingpage */
.landing-content {
    text-align: center;
    color: white;
}

.landing-content h1 {
    font-weight: bold;
    padding-top: 2.33rem;
    color: var(--primary-color);
}

.landing-content p {
    color: var(--primary-color);
    font-size: 1.33rem;
    margin-top: 1.2rem;
}

#landing .langing-prices-image {
    padding: 0 1.2rem;
}

#landing .langing-prices-image img {
    max-width: 80%;
}

/* Quizseite */
#quiz .question-container {
    margin-bottom: 1.2rem;
}

.answers-container {
    text-align: left;
}

/* Default Radio-Button entfernen / ausblenden */
input[type="radio"].radioButton {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    display: none;
}

#questionIndex {
    text-align: end;
    font-size: 0.66rem;
    color: #666;
}

#questionHeader {
    margin-top: 2.33rem;
    font-weight: bold;
    font-size: 1.33rem;
}

#questionText {
    font-size: 1.25rem;
}

.radioLabel {
    display: block;
    align-items: center;
    margin-bottom: 0.5125rem;
    cursor: pointer;
    margin: 1.25rem;
    font-size: 1.25rem;
    padding: 0.5125rem 0;
    border-radius: 0.5125rem;
    border: 1px solid var(--primary-color);
    font-weight: bold;
    width: 100%;
    text-align: center;
    box-shadow: 0.5125rem 0.5125rem 0.33rem 0 rgba(0, 0, 0, 0.1);
}

.radioLabel.checked {
    background: var(--primary-color);
    color: white;
}

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

.question-navigation-container {
    margin-top: 1.2rem;
}

.hint-notice-article-link {
    padding-top: 1.66rem;
}

.hint-notice-article-link a {
    color: var(--primary-color);
}

/* Preis-Detail-Seite */
#prizeName {
    font-weight: bold;
    margin-bottom: 1.2rem;
}

.prize-text-container p {
    text-align: left;
}

/* Custom Popup */
.custom-popup {
    display: block;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.4);
    text-align: center;
}

.custom-popup.invisible {
    display: none;
}

.custom-popup-content {
    background-color: white;
    margin: 10% auto;
    padding: 1.2rem;
    border: 1px solid var(--primary-color);
    width: 80%;
    border-radius: 1.2rem;
}

.custom-popup-header {
    margin-bottom: 1.2rem;
    text-align: center;
}

.custom-popup-body {
    margin-bottom: 1.2rem;
}

.flag-bow-image {
    position: absolute !important;
    width: 110%;
    left: -5%;
    max-width: 110% !important;
}

.landing-header-container {
    margin-top: -7vh;
}

@media (max-width: 900px) {
    .landing-header-container {
        margin-top: -3vh;
    }
}

@media (max-width: 700px) {
    .landing-header-container {
        margin-top: -1.5vh;
    }
}

@media (max-width: 500px) {
    .landing-header-container {
        margin-top: 0;
    }
}

h1 {
    margin-top: 0;
    color: var(--blue-text-color);
}

h3 {
    color: var(--blue-text-color);
    font-size: calc(1rem + .6vw);
}

.image-container-max {
    display: flex;
    flex-direction: column;
    height: 90vh;
}

.image-container-max img {
    object-fit: contain;
    flex-grow: 1;
    max-height: 90vh;
}

.image-container {
    display: flex;
    height: 10vh;
}

.image-container img {
    object-fit: contain;
    flex-grow: 1;
    max-width: 100%;
}

.background-colored {
    background: var(--black-gradient-background);
    border: 1px solid var(--gold-gradient-background);
}

.row-reverse {
    flex-direction: row-reverse;
}

.open-bottom {
    max-height: none;
}

.open-bottom h1 {
    margin-top: 1.2rem;
}

.flex {
    display: flex;
    flex-direction: column;
}

.flex.active {
    display: flex;
    flex-direction: column;
}

.flex-img {
    flex-grow: 1;
    align-content: center;
    text-align: center;
    display: flex;
    align-items: center;
}

.flex-img img {
    max-width: 100%;
    width: auto;
}

.flex-img-sm {
    flex-grow: 1;
}

.flex-element {
    flex-grow: 1;
}

.flex-element-center {
    flex-grow: 1;
    align-content: center;
}

.flex-element-1000 {
    flex-grow: 1000;
}

.align-end {
    align-content: end;
}

.nav-buttons {
    display: block;
    text-align: center;
}

.logo-container {
    text-align: left;
    margin-bottom: 0.5125rem;
}

.content-padding {
    padding: 0 1.8rem;
}

.active {
    display: block;
}

.no-padding {
    padding: 0 !important;
}

.no-margin {
    margin: 0 !important;
}

.height-5 {
    height: 5vh;
}

.height-90 {
    height: 90vh;
}

.margin-bottom-20 {
    margin-bottom: 1.2rem;
}

.margin-bottom-40 {
    margin-bottom: 2.4rem;
}

.margin-top-20 {
    margin-top: 1.2rem;
}

.margin-top-40 {
    margin-top: 2.4rem;
}

.padding-bottom-20 {
    padding-bottom: 1.2rem;
}

.padding-top-20 {
    padding-top: 1.2rem;
}

.padding-top-0 {
    padding-top: 0 !important;
}

.page-logo {
    position: relative;
    top: 2rem;
    left: 1.5rem;
    max-width: 20%;
    margin-bottom: 3.5rem;
}

.page-logo img {
    max-width: 100%;
}

.page-logo-absolute {
    position: absolute;
    top: 2rem;
    left: 1.5rem;
    max-width: 20%;
}

.page-logo-absolute img {
    max-width: 100%;
}

.max-height-5 {
    max-height: 5vh;
}

.max-height-80 {
    max-height: 80vh;
}

.max-height-90 {
    max-height: 90vh;
}

.max-height-100 {
    max-height: 100%;
}

.max-w-100 {
    max-width: 100%;
}

.overflow-x-hidden {
    overflow-x: hidden;
}

.negative-margin-top-20 {
    margin-top: -20px !important;
}

.negative-margin-top-40 {
    margin-top: -40px !important;
}

.width-padding-40p {
    padding: 0 40px;
}

.w-100p {
    width: 100%;
}

.w-10p {
    width: 10%;
}

.curved-header {
    font-size: calc(1.375rem + 1.0vw);
    font-weight: bold;
}

#curved-header-part3 {
    font-weight: bold;
}

.header-text-image {
    margin-top: -1rem;
    max-width: 70% !important;
}

/* Teilnahmebedingungen */
#legalPage h1 {
    hyphens: auto;
    margin-bottom: 1.2rem;
    text-align: center;
}

#legalPage h2 {
    hyphens: auto;
    margin-bottom: 1.2rem;
    text-align: center;
    font-weight: bold;
}

#legalPage p {
    text-align: justify;
    margin-bottom: 1.2rem;
}

#legalText {
    max-width: 800px;
    margin: 0 auto;
}

/* Für Screens kleiner als 768px Breite, Phones hauptsächlich */
@media (max-width: 767px) {
    .landing-content {
        padding-top: 0;
    }

    .image-container-max {
        height: fit-content;
        margin-bottom: 1.2rem;
    }

    .height-90 {
        height: auto;
    }

    .curved-header {
        font-size: calc(1.375rem + 0.5vw);
    }

    .header-text-image {
        margin-top: 0;
        max-width: 94% !important;
    }
}

/* Für Screens kleiner als 992px Breite, Phones hauptsächlich */
@media (max-width: 991px) {
    #questionHeader {
        margin-top: 0;
    }

    .content-padding {
        padding: 0;
    }
}

/* Für Screens kleiner als 1200px Breite, Tablets hauptsächlich */
@media (max-width: 1199px) {
    .landing-content {
        padding-top: 4%;
    }
}