
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@300;400;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:400,500,600,700&display=swap');

* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
    font-family: 'Lato', sans-serif;
}

body {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border-top: none;
    border-bottom: none;
    position: relative;
    min-height: 100vh;
}

header{
    width: 100%;
    height: 100px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
}

p {
    font-weight: 400;
}

ul,li,a {
    text-decoration: none;
    margin: 0;
    padding: 0;
    font-weight: 700;
    color: black;
}

li {
    list-style-type: none;
}

.loading {
    display: none;
    position: relative;
    width: 80px;
    height: 80px;
  }
  .loading div {
    box-sizing: border-box;
    align-items: center;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid black;
    border-radius: 50%;
    animation: loading 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: black transparent transparent transparent;
  }
  .loading div:nth-child(1) {
    animation-delay: -0.45s;
  }
  .loading div:nth-child(2) {
    animation-delay: -0.3s;
  }
  .loading div:nth-child(3) {
    animation-delay: -0.15s;
  }
  @keyframes loading {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
.navigation {
    height: 100%;
    width: 100%;
}

.navigation-container{
    padding: 0;
    border: 0;
    display: flex;
}

.navigation-menu {
    width: 50%;
    height: 100px;
    display: flex;
    margin-right: 50px;
}

.navigation-menu ul {
    width: 100%;
    height: 100px;
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.navigation-menu a {
    color: black; 
    font-weight: bold;
    position: relative;
    font-size: 2em;
    margin: 0;
    padding: 0;
    height: 45px;
    transition: ease 300ms;
}

.navigation-menu li {
    display: inline-flex;
    position: relative;
    padding: 40px 20px 40px;
    margin: 0 70px;
}

/* .navigation .current {
    color: white;
}

.navigation-menu a:hover {
    color: #FA7269;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
} */

.navigation-menu a::after {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 15px;
    content: '';
    background-color: #FA7269;
    transform: scaleX(0);
    transition: ease 300ms;
    z-index: -1;
    overflow: hidden;
}

.navigation-menu a:hover::after, 
.navigation-menu a.current::after {
    transform: scaleX(1);
}

.brand {
    width: 50%;
    height: 100px;
}

.brand h1 {
    margin: 35px 0 0 200px;
    font-size: 3em;
}

.background {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 50%;
    background-image: url('./bilder/comic-start.png');
    background-repeat: no-repeat;
    z-index: -1;
    height: 100vh;
    background-position: right right;
    background-size: cover;
}

h1 {
    font-size: 2em;
}

.start {
    height: calc(100vh - 100px);
}

.einleitung {
    max-width: 800px;
    margin: 0 75px;
    display: flex;
    align-items: center;
    height: 100%;
}

h2 {
    font-size: 30px;
    line-height: 70px;
    letter-spacing: 1px;
    margin: 15px 0;
}

.start p{
    font-size: 22px;
    line-height: 1.7;
}

button{
    background: #FA7269;
    color: white;
    border: 2px solid #FA7269;
    border-radius: 15px;
    padding: 6px 12px;
    text-transform: uppercase;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    position:relative;
    cursor:pointer;
    transition: ease 300ms;
}

button:focus {
    outline: 0;
}

button:hover{
    content: '';
    position: absolute;
    color: #FA7269;
    background-color: white;
    transform: scale(1.07);
    -webkit-transform: scale(1.07);
}

.button {
    background: #FA7269;
    color: white;
    border: 2px solid #FA7269;
    border-radius: 15px;
    padding: 8px 12px; 
    text-transform: uppercase;
    box-shadow: 1px 2px 3px rgba(0, 0, 0, 0.4);
    position: relative;
    cursor:pointer;
    width: 300px;
    height: 40px;
    transition: ease 300ms;
    text-align: center;
}

.button:hover{
    content: '';
    color: #FA7269;
    background-color: white;
}

.btn-start {
      display: flex;
      flex-wrap: wrap;
      justify-content: space-between;
      margin-top: 30px;
      margin-bottom: 10px;
      transition: ease 300ms;
}

#btn-erklaerung {
    width: 250px;
}

#btn-start-1:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

#btn-start-2:hover {
    -webkit-transform: scale(1.07);
    transform: scale(1.07);
}

  /* Erklärung.html */

.background-2 {
    position: fixed;
    z-index: -1;
    left: 0;
    top: 0; 
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('./bilder/background-2.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

h3 {
      text-align: center;
      position: flex;
      font-size: 32px;
      /* text-transform: uppercase; */
      margin-top: 50px;
      color: black;
}

.blog, .einführung {
    display: flex;
    justify-content: center;
    align-items: center;
}

.span_überschrift {
    display: inline-block;
    border-bottom: 3px solid white;
    padding-bottom: 5px;
}

.span_highlight {
    color: #FA7269;
}

.checkmark {
    display: inline-block;
    border-bottom: 2px solid black;
    padding-bottom: 5px;
    transition: ease 300ms;
}

.span_überschrift_erklärung {
    display: inline-block;
    border-bottom: 3px solid black;
    padding-bottom: 5px;
}

.blog-back {
  width: 1400px;
  margin: 5% auto;
  background-color: white;
  text-align: center;
  min-height: 700px;
  border-radius: 10px;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.einleitung-back {
    width: auto;
    margin: 5% auto;
    padding: 1rem;
    padding-left: 2rem;
    background: rgba(255, 255, 255, 0.8);
    text-align: left;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
    max-height: 100%;
}

.einleitung-back p {
    padding: 10px 0 10px 0;
}

.Einführung {
    padding: 10px;
}

.einführung-back {
    max-width: 1400px;
    width: 100%;
    margin: 5% auto;
    padding: 1rem;
    background-color: white;
    text-align: center;
    min-height: 300px;
    border-radius: 10px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2);
}

.blog_text, .einführung-text {
    display: block;
    margin: 20px;
    text-align: center;
    line-height: 1.7;
    font-size: 20px;
}

.blog_text p {
    padding: 10px 30px 10px 30px;
    text-align: center;
}

.blog_b_1 {
    display: block;
    text-align: center;
    font-size: 24px;
}

.blog_b_2 {
    display: block;
    padding-top: 20px;
    text-align: center;
    font-size: 24px;
}

.blog_btn {
    margin: 30px 0 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.einführung-bild {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 70px;
}

.img_einführung {
    max-width: 1400px;
    width: 100%;
    margin: 0 auto;
}

/* Umfrage */

.background-3 {
    position: fixed;
    z-index: -1;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    background-image: url('./bilder/background-3.jpg');
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;
}

h4 {
    font-size: 36px;
    text-align: center;
    color: white;
}

h5 {
    font-size: 28px;
    margin-left: 70px;
}

h6 {
    text-align: center;
    position: flex;
    font-size: 32px;
    text-transform: uppercase;
    margin-top: 50px;
    color: white;
}

.beschreibung {
    text-align: left;
    font-size: 18px;
    margin: 10px 10px 0 70px;
    display: flex;
    position: relative;
}

.einleitung-ergebnis { 
    text-align: center;
    font-size: 18px;
    display: flex;
    position: relative;
    line-height: 1.8;
    margin: 20px 0 10px 0; 

}

.beschreibung-ergebnis {
    text-align: center;
    font-size: 18px;
    display: flex;
    position: relative;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.beschreibung-ergebnis-2 {
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    font-weight: 600;
}

.beschreibung-ergebnis-3 {
    text-align: left;
    font-size: 20px;
    line-height: 1.8;
    margin: 10px 0 10px 0;
    font-weight: 600;
}

input {
    position: relative;
    cursor: pointer;
}

.radio-style {
    display: block;
    position: relative;
    padding-left: 35px;
    margin-bottom: 12px;
    cursor: pointer;
    font-size: 22px;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.radio-style input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 25px;
    width: 25px;
    background-color: #eee;
    border-radius: 50%;
}

.radio-style:hover input ~ .checkmark {
    background-color: #ccc;
}

.radio-style input:checked ~ .checkmark {
    background-color: #0c8ca7;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.radio-style input:checked ~ .checkmark:after {
    display: block;
}

.radio-style .checkmark:after {
    top: 9px;
    left: 9px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: white;
}

[type="radio"]::after {
    position: absolute;
    content: '';
    width: 1rem;
    height: 1rem;
    background-color: blue;
    transform: translateY(-50%);
} */

[type="radio"]:checked::after {
    background-color: red;
}

.grid {
    grid-template-columns: auto;
    display: grid;
    margin: 5%;
    justify-items: center;
}

.grid-2 {
    grid-template-columns: 100%;
    display: grid;
    margin: 50px 50px 0;
    justify-items: center;
}

.grid-3 {
    grid-template-columns: 50% 50%;
    display: grid;
    margin: 50px;
    justify-items: center;
}

.grid-container {
    display: grid;
    grid-template-columns: auto ;
    grid-gap: 10px;
    background-color: white;
    padding: 10px;
    align-items: center;
    margin: 5% 5%;
    border-radius: 15px;
    width: 65%;
    height: auto;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.grid-container-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    background-color: #0C8CA7;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    border-radius: 15px;
    text-decoration-color: white;
}

.grid-container-box {
    text-align: left;
    font-size: 30px;
    padding: 20px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.fragen-button {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    margin-bottom: 50px;
}

/* Ergebnis */

.grid-ergebnis {
    /* display: grid;
    grid-template-columns: auto ;
    grid-gap: 10px; */
    background-color: rgb(255, 255, 255);
    padding: 10px;
    align-items: center;
    margin: 5% 5%;
    border-radius: 15px;
    width: 65%;
    height: auto;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);

    display: flex;
    flex-direction: column;
}

.grid-ergebnis-headline {
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    height: 100px;
    width: 100%;
    background-color: #0C8CA7;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
    margin-bottom: 10px;
    text-decoration-color: white;
}

.grid-ergebnis-box {
    text-align: center;
    font-size: 30px;
    padding: 20px;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    box-shadow: 0px 0px 5px rgba(0, 0, 0, 0.4);
}

.zahlenwert {
    margin-top: 1rem;
    margin-bottom: 1rem;
}

#prev {
    display: none;
}

#prev, #next, #submit {
    position: relative;
    text-align: center;
    width: 300px;
    height: 50px;
}

/* Page Display aus (außer Start) */

.page-1 {
    display: block;
}

.page-2, .page-3, .page-4, .page-5, .page-6, .page-7, .page-8, .page-9, .page-10, .page-11, .page-11,.page-12 {
    display: none;
}

.radio-box {
    display: flex;
    cursor: pointer;
    transition: ease 300ms;
}

.radio-box:hover, .radio-box-checked {
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -o-transform: scale(1);
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.3);
    background-color: rgba(129,195,208,0.7);
    transform: scale(0.99);
}

.voting-box-radio {
    display: flex;
    justify-content: center;
    align-items: center;
}

#submit {
    display: none;
}

.success {  
    text-align: center;
}

.error-grid {
    grid-template-columns: 100%;
    display: grid;
    margin: 50px 50px 0;
    justify-items: center;
} 

.error {
    background-color: rgb(255, 255, 255);
    padding: 10px;
    align-items: center;
    margin-top: 50px;
    border-radius: 15px;
    width: 50%;
    height: auto;
    box-shadow: 2px 3px 6px rgba(214, 69, 65, 1);

    display: flex;
    flex-direction: column;
    animation: blinker 1s linear infinite;
}

.error-msg {
    color: #e2574c;
    font-weight: 600;
    font-size: 25px;
    padding: 5px 5px;
}

.error_img {
    width: 50px;
}

@media screen and (min-width: 992px) { 
    
    .navigation-menu li {
        display: inline-flex;
        position: relative;
        padding: 40px 20px 30px;
        margin: 0 5px;
    }
    
    .brand h1 {
        margin: 35px 0 0 90px;
        font-size: 30px;
    }

    .navigation-menu a {
        font-size: 25px;
        height: 35px;
    }

    .blog-back {
        width: 700px;
        min-height: 700px;
      }
    
    .blog_text {
        line-height: 1.6;
    }

    .grid-3 {
        grid-template-columns: 100%;
    }

    .beschreibung-ergebnis {
        font-size: 15px;
    }

    .zahlenwert {
        font-size: 25px;
    }

    h4 {
        font-size: 34px;
    }

    .beschreibung {
        font-size: 16px;
    }

    h5 {
        font-size: 26px;
    }

    h3 {
        font-size: 28px;
    }

    .blog_text {
        font-size: 18px;
    }

}

@media screen and (min-width: 1200px) {
    
    .navigation-menu li {
        display: inline-flex;
        position: relative;
        margin: 0 5px;
    }
    
    .brand h1 {
        font-size: 35px;
    }

    .navigation-menu a {
        font-size: 30px;
        height: 40px;
    }
    
    .blog-back {
        width: 1000px;
        min-height: 700px;
      }
    
    .blog_text {
        line-height: 1.7;
    }

    .grid-3 {
        grid-template-columns: 50% 50%;
    }

    .grid-ergebnis {
        width: 90%;
    }
    
    .beschreibung-ergebnis {
        font-size: 18px;
    }

    .zahlenwert {
        font-size: 30px;
    }

    h4 {
        font-size: 38px;
    }

    .beschreibung {
        font-size: 20px;
    }

    h5 {
        font-size: 30px;
    }

    h3 {
        font-size: 32px;
    }

    .blog_text {
        font-size: 22px;
    }
}

@media screen and (min-width: 1440px) {
    
}

@media screen and (min-width: 1760px) {
    .einleitung-back {
        width: auto;
        margin: 5% auto;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.8);
        text-align: left;
        border-radius: 10px;
        box-shadow: none;
    }
}