@import url("./fonts.css");
@import url("./questionnaire.css");
@import url("./loading-animation.css");
@import url("./modal.css");
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --black: #000000;
    --dark: #2c2c2c;
    --accent: #4e6086;
    --sopro-red: #E20017;
    --white: #ffffff;
}

ul {
    list-style: none;
}
html {
    font-family: var(--font-primary), sans-serif;
    scroll-behavior: initial;
    font-size: 10px;
}
html.sopro {
    width: 100vw;
}
html.smooth {
    scroll-behavior: smooth;
}
@media screen and (min-width: 800px) {
    html.sopro {
        overflow: hidden;
    }
}


body {
    background: #fff;
}
.sopro body {
    display: flex;
    flex-direction: column;
    height: 100vh;
    top: 0;
    position: relative;
    justify-content: flex-start;
    background: url('../img/beton_900w.jpg');
    background-size: 100% auto;
    background-repeat: repeat-y;
}
@media screen and (min-width: 450px) {  
    .sopro body {
        background: url('../img/beton_3840w.jpg');
        background-size: 1920px auto;
        background-repeat: repeat-y;
    }
}
@media screen and (min-width: 1920px) {  
    .sopro body {
        background: url('../img/beton_3840w.jpg');
        background-size: 100% auto;
        background-repeat: repeat-y;
    }
}
.btn {
    text-align: center;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-style: normal;
    font-weight: 900;
    line-height: 1.1;
    cursor: pointer;
    transition: all 300ms ease;
    text-decoration: none;
    text-transform: uppercase;
    border-radius: 3em;
    padding: 0.2em 0.7em;
    opacity: 1;
}
@media screen and (min-width: 600px) {
    .btn {
        font-size: 2.5rem;
    }
}

@media screen and (min-width: 1200px) {
    .btn {
        font-size: 3rem;
    }
}

@media screen and (min-width: 1600px) {
    .btn {
        font-size: 3.2rem;
    }
}
.btn.primary {
    display: flex;
    width: fit-content;
    justify-content: center;
    align-items: center;
    gap: 0.3em;
    flex-shrink: 0;
    background: #000;
    color: var(--White, #FFF);
    border: 0.2em solid #000;
}
.btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
.btn:hover {
    box-shadow: 0.1rem 0.2rem 1rem rgba(0, 0, 0, 0.3);
}

.btn:disabled:hover {
    box-shadow: none;
}
.btn.secondary {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.3em;
    flex-shrink: 0;
    border: 0.2em solid #000;
    background: #FFF;

    /* button text */
    color: #000;
}

.btn svg {
height: 0.9em;
width: auto;
}

.btn.hidden {
    display: none;
}

main {
    display: flex;
    flex-direction: column;
    width: 100%;
    background-size: 1890px auto;
    max-height: calc(100% - 3.5rem);
    /* margin-top: 3.5rem; */
}


.red-row {
    width: 100%;
    height: 1.5rem;
    background-color: var(--sopro-red);
    position: relative;
    top: 0;
    min-height: 1.5rem;
}
@media screen and (min-width: 800px) {
    main {
        scrollbar-width: thin;
        height: auto;
        /* padding-bottom: 3.5rem; */
        flex-direction: row;
    }
    
    .red-row {
        height: 3.5rem;
        min-height: 3.5rem;
    }
}


.container {
    /* max-width: 1920px; */
    display: none;
}
.container.active {
    /* max-width: 1920px; */
    display: flex;
}

.left-fixed-container {
    flex: 1;
    height: auto;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3em;
    gap: 3em;
    font-size: 1rem;
    max-height: 120rem;
    align-self: start;
}
@media screen and (min-width: 450px) {
    
    .left-fixed-container {
        font-size: 2rem;
        gap: 2em;
    }
}
@media screen and (min-width: 600px) {
    .left-fixed-container {
        padding: 1em 3em;
        font-size: 3rem;
    }
}
@media screen and (min-width: 800px) {
    .left-fixed-container {
        flex: 1;
        height: 100%;
        width: 50%;
        position: relative;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow-y: hidden;
        font-size: 2rem;
    }
}

@media screen and (min-width: 1200px) {
    .left-fixed-container {
        font-size: 3rem;
    }    
}
@media screen and (min-width: 2000px) {
    .left-fixed-container {
       
        padding: 7rem;
    }    
}


.left-fixed-container img {
    width: auto;
    max-width: 70%;
    height: auto;
    max-height: 100%;
    min-width: 0;
    min-height: 0;
}

@media screen and (min-width: 800px) {
    .left-fixed-container img {
        max-width: 100%;
    }   
}
.main-scrollable-content {
    width: 100%;
    box-sizing: border-box;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
}

.main-scrollable-content .container {
    display: hidden;
    width: 100%;
    padding: 3em 3em;
    padding-bottom: 0;
    background: rgba(255, 255, 255, 0.7);
    flex-direction: column;
    height: fit-content;
    gap: 3em;
    align-self: stretch;
    flex: 1;
}
.main-scrollable-content .container.active {
    display: flex;
}
.main-scrollable-content h1,
.main-scrollable-content h2 {
    color: #000;
    font-size: 4rem;
    font-style: normal;
    font-weight: 900;
    line-height: 100%;
}

.main-scrollable-content .voucher {
    width: 55%;
    max-width: 50em;
    /* border-radius: 2em; */
    /* transform: rotate(-5deg); */

}

@media screen and (min-width: 600px) {
    .main-scrollable-content h1,
    .main-scrollable-content h2 {
        font-size: 5rem;
    }
    .main-scrollable-content .voucher {
        width: 50%;
    
    }
}
@media screen and (min-width: 800px) {
   
    .main-scrollable-content {
        flex: 0 0 50%;
        width: 100%;
        padding: 0 2em 0 0;
        height: 100%;
        overflow-y: auto;
        scrollbar-width: thin;
        box-sizing: border-box;
        min-height: 100vh;
        padding-bottom: 3.5rem;
    }
    .main-scrollable-content h1,
    .main-scrollable-content h2 {
        font-size: 4rem;
    }
    .main-scrollable-content .voucher {
        width: 55%;
    
    }
}
@media screen and (min-width: 1000px) {
    .main-scrollable-content .container {
        padding: 3em 4em;
    } 
    
}
@media screen and (min-width: 1200px) {
    .main-scrollable-content .container {
        padding: 5em 7em;
    }
    .main-scrollable-content h1,
    .main-scrollable-content h2 {
        font-size: 5rem;
    }
    .main-scrollable-content .voucher {
        width: 50%;
    
    }
}
@media screen and (min-width: 1400px) {
    .main-scrollable-content h1,
    .main-scrollable-content h2 {
        font-size: 6rem;
    }
    .main-scrollable-content .voucher {
        width: 45%;
    }
}

@media screen and (min-width: 1600px) {
    .main-scrollable-content {
        padding-right: 8em;
    }
}
@media screen and (min-width: 2000px) {
    .main-scrollable-content {
        font-size: 1.2rem;
    }
}
@media screen and (min-width: 3000px) {
    .main-scrollable-content {
        font-size: 1.4rem;
    }
}

.row {
    display: flex;
    align-items: center;
}

.row-text-img {
    align-items: center;
    /* margin-top: 1em; */
    gap: 2em;
}

.row-text-img .txt-wrapper {
    width: 45%;
    min-width: 13rem;
}

.black-bg-txt {
    display: inline-flex;
    padding: 0.2em 0.5em;
    justify-content: center;
    align-items: center;
    background-color: var(--black);
    margin-bottom: 0.5em;
    font-size: 2.5rem;
}
.txt-wrapper .part {
    color: #000;
    font-family: var(--font-primary);
    font-size: 2rem;
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;
}

.black-bg-txt h1, .black-bg-txt h2, .black-bg-txt h3, .black-bg-txt span {
    color: #FFF;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 900;
    line-height: 1;
    text-transform: uppercase;
    font-size: inherit;
}

@media screen and (min-width: 450px) {
    
    .txt-wrapper .part {
        font-size: 2.5rem;
    }
}
@media screen and (min-width: 600px) {
    .black-bg-txt {
        font-size: 3rem;
    }
    
    .txt-wrapper .part {
        font-size: 3rem;
    }
}
@media screen and (min-width: 800px) {
    .black-bg-txt {
        font-size: 2rem;
    }
    
    .txt-wrapper .part {
        font-size: 2rem;
    }
}
@media screen and (min-width: 1000px) {
    .black-bg-txt {
        font-size: 3rem;
    }
    .txt-wrapper .part {
        font-size: 2.5rem;
    }
}
@media screen and (min-width: 1200px) {
   
    .black-bg-txt {
        font-size: 4rem;
    }
    .txt-wrapper .part {
        font-size: 3rem;
    }
    .row-text-img {
        gap: 4em;
    }
    
}
@media screen and (min-width: 1600px) {
    
    .row-text-img {
        padding: 0 4em;
    }
}
@media screen and (min-width: 1800px) {
    
    .txt-wrapper .part {
        font-size: 3.6rem;
    }
}


.card {
    /* max-width: 760px; */
    width: 100%;
    flex-shrink: 0;
    border-radius: 5em;
    background: rgba(144, 144, 144, 0.30);
    margin: 0 auto;
    padding: 2em;
}

.card .row {
    width: 100%;
    justify-content: space-between;
    font-size: 2rem;
    gap: 1em;
    margin-bottom: 1em;
}

.card .row p {
    color: #000;
    font-family: var(--font-primary);
    font-style: normal;
    font-weight: 500;
    line-height: 1.2;  
    flex: 0 1 auto;
    max-width: 70%;
}
.card .row .intro-icon {
    min-width: 4em;
    width: 30%;
    height: auto;
    max-width: 30em;
  } 
  @media screen and (min-width: 400px) {
    .card .row {
        font-size: 2.2rem;
    }
  }
  @media screen and (min-width: 450px) {
    .card {
        padding: 3em;
    }
    .card .row {
        font-size: 2.5rem;
    }
  }
  @media screen and (min-width: 600px) {
    .card .row .intro-icon {
        min-width: 5em;
        width: 30%;
        height: auto;
        max-width: 8em;
      }
  }
  @media screen and (min-width: 800px) {
    .card .row .intro-icon {
        min-width: 3em;
      }
      .card .row {
        font-size: 2.2rem;
      }
  }
  @media screen and (min-width: 1000px) {
      
    .card .row {
        font-size: 2.5rem;
      }
  }
  @media screen and (min-width: 1200px) {
    .card {
        padding: 4em;
    }
    .card .row {
        font-size: 3rem;
        padding: 0.2em 0;
    }
    
      
  }
  @media screen and (min-width: 1400px) {
    .card {
        padding: 6em;
    }
  }

  @media screen and (min-width: 1600px) {
 
    .card .row {
        font-size: 3.6rem;
        gap: 2em;
        margin-bottom: 0;
    }
  }

  @media screen and (min-width: 2500px) {
 
    .card .row {
        margin-top: -1em;
    }
  }
  @media screen and (min-width: 3000px) {
 
    .card .row {
        margin-top: -1.5em;
    }
  }




.counter {
    display: flex;
    flex-direction: column;
    gap: 2em;
    padding: 0.5em;
    align-items: center;
}


.counter h4 {
    color: var(--black, #000);
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
}

.counter .row {
    gap: 2em;
}

.counter .time-box {
    /* padding: 5px; */
    position: relative;
    /* border: 0.4em solid var(--black); */
    border-radius: 0.2em;
    background-color: #d9d9d9;
    width: 1.5em;
    height: 1.5em;
    text-align: center;
    font-size: 4.8rem;
}

.counter .time-box svg {
    width: 100%;
    height: auto;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 90;
    /* bottom: 50%; */

}

.counter .row div {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2em;
    justify-content: center;
}

.counter .row span {
    color: #000;
    text-align: center;
    font-family: var(--font-primary);
    line-height: 1;
    font-size: 3rem;
    font-style: normal;
    font-weight: 500;

}

.counter .row .ticker {
    
    text-align: center;
    font-family: var(--font-secondary);
    line-height: 1;
    font-size: 1em;
    font-style: normal;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--sopro-red);

}

@keyframes squashText {
    0% {
        transform: scaleY(1);
    }
    50% {
        transform: scaleY(0.1);
    }
    100% {
        transform: scaleY(1);
    }
}

.text-animate {
    display: inline-block;
    animation: squashText 300ms ease-out;
}



@media screen and (min-width: 450px) {
    .counter .time-box {
        font-size: 6rem;
    }
    .counter h4 {
        color: var(--black, #000);
        font-family: var(--font-primary);
        font-size: 3rem;
        font-style: normal;
        font-weight: 700;
        line-height: normal;
        text-transform: uppercase;
    }
}
@media screen and (min-width: 600px) {
    .counter .time-box {
        font-size: 8rem;
    }
    .counter .row {
        gap: 3em;
    }
}
@media screen and (min-width: 800px) {
    .counter .time-box {
        font-size: 6rem;
    }
    .counter .row {
        gap: 2em;
    }
}
@media screen and (min-width: 1000px) {
    .counter .time-box {
        font-size: 8rem;
    }
    .counter .row {
        gap: 3em;
    }
}
@media screen and (min-width: 1300px) {
    .counter .time-box {
        font-size: 10rem;
    }
    .counter h4 {
        font-size: 4rem;
    }
}
@media screen and (min-width: 1600px) {
    .counter .time-box {
        font-size: 12rem;
    }
    .counter .row {
        gap: 5em;
    }
}



.center-btn {
    margin: 1em auto;
}




footer {
    margin: 0;
    background: rgba(255, 255, 255, 0.7);
    gap: 0;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    flex: 1 0 auto;
    height: fit-content;
}

footer .swoosh {
    width: 110%;
    height: auto;
    margin: 0 -5% -2em;
    opacity: 0.5;
}
footer .logo {
    margin: 0 auto -16% auto;
    max-width: 20em;
    z-index: 1;
}
footer .logo img {
    margin: 0;
    width: 100%;
    height: auto;
}
footer .ft-links {
    background-color: var(--dark);
    padding: 1em 2.5em;
    display: flex;
    gap: 1.5em;
    flex-direction: column;
    z-index: 1;
}

footer .ft-link {
    color: #FFF;
    font-family: var(--font-primary);
    font-size: 1.8rem;
    font-style: normal;
    font-weight: 700;
    line-height: 1.3;
    text-decoration: none;
    transition: all 300ms ease;
    background: none;
    border: none;
    outline: none;
    cursor: pointer;
}

footer .ft-link:hover {
    text-decoration: underline;
}
footer .ft-link:focus-visible {
    outline: 0.3rem solid var(--accent);
}

@media screen and (min-width: 400px) {
    footer .ft-links {
        flex-direction: row;
        padding: 1.5em;
    }
    footer .ft-link {
        font-size: 1.6rem;
    }
    footer .logo {
        max-width: 30em;
    }
}
@media screen and (min-width: 450px) {
    footer .ft-links {
        padding: 1.5em 2.5em;
    }
    footer .ft-link {
        font-size: 1.8rem;
    }
}
@media screen and (min-width: 600px) {
    footer .logo {
        max-width: 40em;
    }
}
@media screen and (min-width: 800px) {
    footer .ft-links {
        padding: 1.5em;
    }
    footer .ft-link {
        font-size: 1.6rem;
    }
    footer .logo {
        display: none;
    }
    footer {
        flex: 0 0 auto;
    }
}
@media screen and (min-width: 1000px) {
    footer .ft-link {
        font-size: 2.0rem;
    }
    footer .ft-links {
        padding: 2em 3.5em;
    }
    
}
@media screen and (min-width: 1200px) {
    footer .ft-link {
        font-size: 2.2rem;
    }
    footer .ft-links {
        padding: 2em 3.5em;
    }
}
@media screen and (min-width: 1600px) {
    footer .ft-link {
        font-size: 2.5rem;
    }
}

.error {
    color: var(--sopro-red);
    line-height: 1.4;
    font-family: var(--font-primary);
    font-size: 1.6rem;
    margin: 0 1rem;
    opacity: 1;
    visibility: visible;
}

.error.hidden {
    opacity: 0;
    visibility: hidden;
    display: block;
}

@media screen and (min-width: 400px) {
   
    .error {
        margin: 0 2rem;
    }
}
@media screen and (min-width: 450px) {
    
    .error {
        font-size: 1.8rem;
    }
}
@media screen and (min-width: 500px) {
    .error {
        margin: 0 3rem;
        font-size: 2rem;
    }
}
@media screen and (min-width: 800px) {
  
}
@media screen and (min-width: 1000px) {
    .error {
        margin: 0 4rem;
    }
}
@media screen and (min-width: 1400px) {
    .error {
        margin: 0 7rem;
    }    
}


.error-message {
    font-size: 2rem;
    font-weight: 500;
}
@media screen and (min-width: 600px) {
    .error-message {
        font-size: 3rem;
    }
}
@media screen and (min-width: 800px) {
    .error-message {
        font-size: 2rem;
    }
}
@media screen and (min-width: 1000px) {
    .error-message {
        font-size: 3rem;
    }
}


main.error-view .feedback-status, main.qr-view .feedback-status {
    margin: auto;
}

main.qr-view .feedback-status {
    padding: 0;
}

main.error-view .main-scrollable-content .container, main.qr-view .main-scrollable-content .container {
    padding: 5em 3em;
}

main.newsletter, main.error-view, main.qr-view {
    width: 100%;
    height: 100%;
    max-width: 80rem;
    padding: 0 2em;
    display: block;
    margin: 0 auto;
  font-size: 1.6rem;
  font-family: var(--font-primary);
}

main.newsletter .wrapper, main.error-view .wrapper, main.qr-view .wrapper {
   display: flex;
   flex-direction: column;
   gap: 2em;
   margin: 2em 0 3em;
}


main.newsletter .wrapper h1 {
   font-size: 1.5em;
   line-height: 1.4;
 }
 main.error-view .wrapper h1, main.qr-view .wrapper h1 {
    font-size: 2em;
    line-height: 1.4;
  }
 main.newsletter .wrapper h2, main.error-view .wrapper h2, main.qr-view .wrapper h2 {
    font-size: 1.2em;
    line-height: 1.4;
    margin-bottom: 2em;
    font-weight: 500;
  }
main.newsletter .wrapper p, main.error-view .wrapper p, main.qr-view .wrapper p {
    font-size: 1em;
  }

  
main.newsletter .logo, main.error-view .logo, main.qr-view .logo {
    display: flex;
    flex-direction: column;
    gap: 1em;
    margin-top: -3.5rem;
    position: relative;
    z-index: 100;
    height: 8rem;
    width: auto;
  }
 
  main.newsletter svg.logo, main.error-view svg.logo, main.qr-view svg.logo {
    filter: drop-shadow(0 0.2rem 0.6rem rgba(0, 0, 0, 0.4));
  }

  main.newsletter .button-extra, main.error-view .button-extra, main.qr-view .button-extra {
    display: inline-flex;
    padding: 0.4em 3em;
    justify-content: center;
    align-items: center;
    border-radius: 2.5em;
    background: var(--sopro-red);
    border: none;
    outline: none;
    width: fit-content;
    color: #FFF;
    font-style: normal;
    font-weight: 700;
    line-height: normal;
    font-size: 1.1em;
    margin: 2em 0 0;
    cursor: pointer;
  }
  main.newsletter .button-extra:hover, main.error-view .button-extra:hover, main.qr-view .button-extra:hover {
    box-shadow: 0.1rem 0.2rem 1rem rgba(0, 0, 0, 0.3);
  }

  main.newsletter .button-extra:disabled {
    opacity: 0.5;
  }

@media screen and (min-width: 600px) {
main.newsletter .logo, main.error-view .logo, main.qr-view .logo {
    height: 12rem;
    }
}

@media screen and (min-width: 1600px) {
    main.newsletter .logo, main.error-view .logo, main.qr-view .logo {
        height: 15rem;
    }
}

#start-quiz-button-left {
    display: none;
}
#start-quiz-link-left {
    display: flex;
    width: fit-content;
    height: fit-content;
}
#start-quiz-link-left svg {
    width: auto;
    height: 4rem;
    padding: 0 2em;
}
@media screen and (min-width: 450px) {
    #start-quiz-link-left svg {
        height: 5rem;
    }
}
@media screen and (min-width: 800px) {
    #start-quiz-button-left {
        display: flex;
    }
    #start-quiz-link-left {
        display: none;
    }
}

@media screen and (min-width: 2500px) {
    #start-quiz-button-left {
        font-size: 4.5rem;
    }
}


h1.ended-title {
    font-size: 4rem;
    margin: 1em 0 2em;
}

.reiner-mit-kappe {
    width: 50%;
    min-width: 25rem;
    margin: auto auto 0;
}

@media screen and (min-width: 800px) {
    .reiner-mit-kappe {
        width: 50%;
        min-width: 25rem;
        margin: auto auto -3rem;
    }
}

@media screen and (min-width: 1300px) {
    .reiner-mit-kappe {
        width: 50%;
        min-width: 25rem;
        margin: auto auto -6rem;
    }
}