:root {
  --textMaxWidth: 800px;
  --titlesMaxWidth: 900px;
}

html {
  scroll-behavior: smooth;
}

body,
html {
  overflow: hidden;
  height: 100vh;
  width: 100vw;
  margin: 0;
}

#scroller {
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  background-color: #fee7e1;
  margin: 0px;
  overflow-x: hidden;
  overflow-y: scroll;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y mandatory;
  scroll-behavior: smooth;
}

button {
  background-color: #46636200;
  font-family: "DM Sans", sans-serif;
  border-color: black;
  cursor: pointer;
  border-width: 1.7px;
}

h1 {
  margin-top: 10vh;
  font-size: 70pt;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  text-align: center;
  margin-bottom: 0.3em;
  line-height: 1.15;
  margin: auto;
}

.Subtitle {
  text-align: center;
  max-width: 100%;
  margin: auto;
  margin-top: 40px;
}

.resultH2 {
  max-width: 1200px;
  /*margin-block-start: 0px;*/
  /*margin-top:-15vh;*/
}

.prozentzahl {
  font-size: 120pt;
  font-weight: 600;
  margin-bottom: -2rem;
  margin-top: 0;
}

.contentSection.start {
  align-items: center;
  justify-content: space-between;
  align-content: center;
}

h2 {
  margin-top: 0;
  font-size: 50pt;
  font-family: "DM Sans", sans-serif;
  font-weight: 500;
  margin-bottom: 0.3em;
  line-height: 1.15;
  max-width: var(--titlesMaxWidth, 700px);
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphens: auto;
  hyphenate-limit-after: 1;
  hyphenate-limit-before: 3;
}

h3 {
  font-size: 30pt;
  font-weight: 500;
  font-family: "DM Sans", sans-serif;
  margin-top: 0px;
  margin-bottom: 0;
}

p {
  font-family: "DM Sans", sans-serif;
  line-height: 1.3;
  color: black;
  font-size: 14pt;
  margin-top: 1em;
  margin-bottom: 0em;
}

.fussNotenTextH1 {
  margin-right: 20px;
  margin-bottom: 1em;
}

a {
  color: white;
  text-decoration: none;
  transition: all 250ms ease-in-out;
  font-family: "DM Sans", sans-serif;
  cursor: pointer;
}

.textLink {
  color: rgb(0, 0, 0);
  text-decoration: underline;
  font-size: 14pt;
}

a:hover {
  color: #969696;
}
/* scroll-snap-align: none; */

.contentSection {
  position: relative;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  align-content: center;
  overflow: hidden;
  box-sizing: border-box;
  padding: 100px;
}

.intro {
  display: flex;
  flex-flow: column nowrap;
  /* scroll-snap-type: y mandatory; */
}

.contentSection.question {
  align-items: flex-start;
  align-content: center;
}

.ja,
.nein,
.buttonLos {
  width: 150px;
  /*height: 70px;*/
  margin-top: 37px;
  font-size: 30pt;
  color: white;
  background-color: black;
  text-align: center;
  /* border-color: black;*/
  border: 1.7px black;
  border-style: solid;
  padding-top: 2px;
  padding-bottom: 4px;
  transition: all 250ms ease-in-out;
}

.skipButton {
  display: none;
  border: 1.7px black;
  border-style: solid;
  color: black;
  background-color: #fee7e1;
  position: fixed;
  bottom: 50px;
  right: 50px;
  font-size: 14pt;
  padding-top: 16px;
  padding-bottom: 18px;
  width: 120px;
  z-index: 30;
  text-align: center;
}

.Conclusion {
  padding-top: 4px;
  padding-bottom: 6px;
  color: white;
  background-color: black;
}

.appointment-finder {
  color: white;
  padding: 0px;
  font-size: 20pt;
}

.timeSwitchButton {
  height: 35px;
  width: 70px;
  margin-right: 60px;
}

.visible {
  display: block;
}

.mainPageContent {
  visibility: visible;
  /*visibility: hidden;*/
}

.iconContainer {
  display: flex;
  flex-direction: row;
  min-width: 475px;
  justify-content: space-between;

  /*justify-content: space-between;*/
}

.iconContainer.centered {
  align-items: center;
}

.leftAlignedContainer {
  display: flex;
  flex-direction: row;
  min-width: 475px;
  justify-content: flex-start;
  align-items: center;
  margin-top: 5vh;
  margin-bottom: 2.5vh;
}

.active {
  color: white;
  background-color: black;
}

img {
  width: 100%;
}

.first {
  position: relative;
}

.BildContainer {
  display: flex;
  justify-content: end;
  align-items: start;
}

.iconContainer .BildContainer img,
.stickyScroll .BildContainer img {
  max-width: 350px;
  margin-top: 0px;
}

.iconContainer .BildContainer.large img,
.stickyScroll .BildContainer.large img {
  max-width: 1000px;
}

.BildContainer.Uhr {
  margin-top: -200px;

  margin-right: 100px;
}

.linie {
  width: 68%;
  margin-top: 10vh;
}

.cover {
  position: absolute;
  z-index: -1;
  width: 75vw;
  /*top: 11vh;*/
  bottom: 5vh;
  right: 0px;
  /*background-color: aqua;*/
}

.Tuer {
  right: 12.5vw;
  z-index: -2;
}

.startCover {
  position: absolute;
  z-index: -1;
  width: 55%;
  top: 1vh;
  right: 0px;
}

.overflowVisible{
  overflow: visible;
}

.unten {
  top: -100vh;
}

.middle {
  padding-left: 20%;
  padding-right: 20%;
  /*padding-bottom: 30%;*/
  /*margin-top: -5vh;*/
  margin-top: -70px;
  justify-content: center;
  align-self: center;
}

#myPolarChart {
  margin-left: -2vw;
  margin-top: -0vh;
  width: 70vw;
}

.polar {
  justify-content: flex-start;
}

.fliesstextBox.mini {
  width: 50vw;
}

.textBildContainer h3 {
  max-width: var(--textMaxWidth, 700px);
}

.farbcontainer {
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  margin-top: 10px;
}

.text {
  margin-top: 0;
  font-size: 10pt;
}

.color {
  font-family: "DM Sans", sans-serif;
  height: 22px;
  font-size: 10pt;
  padding-left: 5px;
  padding-right: 5px;
  color: #ffffff;
  margin-right: 15px;
  display: flex;
  align-items: center;
  /*justify-content: center;*/
}

.color.rot {
  background-color: #c4352b;
  width: 40px;
}

.color.blau {
  background-color: #102575;
  width: 80px;
}

.color.gruen {
  background-color: #107564;
  width: 160px;
}

.color.braun {
  background-color: #803333;
  width: 280px;
}

.color.gelb {
  background-color: #c4b12b;
  width: 600px;
}

.color.schwarz {
  background-color: #000000;
  width: 600px;
  height: 44px;
}

.invisible {
  display: none;
}

.stickyScroll {
  display: grid;
  flex-direction: row;
  justify-content: space-between;
  grid-template-columns: min(100%, var(--textMaxWidth, 700px)) 1fr;
  grid-template-rows: 1fr;
  gap: 40px;
}

/*
.sticky{
    position:sticky;
}*/

.stickyBox {
  position: absolute;
  top: 100px;
  left: 100px;
  pointer-events: none;
  max-width: var(--textMaxWidth, 700px);
}

.stickyBoxIt {
  position: fixed;
  z-index: 20;
}

.stickyBox h2 {
  margin: 0;
}

.stickyBox h3 {
  margin: 24px 0 0 0;
}

.stickyBox .fliesstextBox {
  width: 100%;
}

.stickyText {
  position: fixed;
  /*top: 0px;
    /* left: 40px; */
  z-index: 20;
}

.gofurtherIcon {
  width: 60px;
  margin: auto;
}

.platzhalterIcon {
  display: flex;
  justify-content: center;

  margin-top: -0vh;
  width: 40%;
  margin-right: 5%;
}

.middleZwei {
  padding-left: 20%;
  padding-right: 20%;
  /*padding-bottom: 30%;*/
  /*margin-top: -22vh;*/
  margin-top: -100px;
  justify-content: center;
}

.fliesstext {
  max-width: var(--textMaxWidth, 700px);
}

.smol{
  max-width: 650px;
}

.hyphenated {
  -webkit-hyphens: auto;
  -webkit-hyphenate-limit-before: 3;
  -webkit-hyphenate-limit-after: 3;
  -webkit-hyphenate-limit-chars: 6 3 3;
  -webkit-hyphenate-limit-lines: 2;
  -webkit-hyphenate-limit-last: always;
  -webkit-hyphenate-limit-zone: 8%;
  -moz-hyphens: auto;
  -moz-hyphenate-limit-chars: 6 3 3;
  -moz-hyphenate-limit-lines: 2;
  -moz-hyphenate-limit-last: always;
  -moz-hyphenate-limit-zone: 8%;
  -ms-hyphens: auto;
  -ms-hyphenate-limit-chars: 6 3 3;
  -ms-hyphenate-limit-lines: 2;
  -ms-hyphenate-limit-last: always;
  -ms-hyphenate-limit-zone: 8%;
  hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  hyphenate-limit-lines: 2;
  hyphenate-limit-last: always;
  hyphenate-limit-zone: 8%;
}

.fliesstextBox {
  width: 40vw;
}

.gebot {
  margin-bottom: 0.2em;
}

.upperPadding {
  padding-top: 150px;
}

.platzhalterBild {
  width: 400px;
  height: 400px;
  background-color: #466362;
}

.whiteSection {
  background-color: #ffffff;
  /*width: (100vw -- 100px);
    margin-left: -100px;
    padding: 100px;*/
}

.green {
  background-color: #dfe3ee;
}

.chart-container {
  width: 90%;
  /*max-height: 50vh;*/
  /* height: 80vh; */
}

.chart-container.smaller {
  margin-top: -10px;
}

.footer{
  max-height: 30vh;
  display: flex;
  flex-direction: column;
  padding-top: 40px;
  justify-content: space-between;
  align-items: center;
}

.backToTop{
  color: #000000;
  font-size: 14pt;
  margin: auto;
}

.footerContaine{
  width: 20x;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
}

.spacebetween{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: 80vh;
}

/*
.chart-container.bar{
    width: 70%;
}*/

/*
::-webkit-scrollbar {
    display: none;
}*/

/*
.container.y {
    height: 100vh;
    flex-flow: column nowrap;
}

.y.mandatory-scroll-snapping {
    scroll-snap-type: y mandatory;
}
*/
/*
.root>section.contentSection:not(.first) {
    scroll-snap-align: none;
    scroll-snap-stop: normal;
}*/

#scroller > section {
  /*text-align: center;*/
  height: 100vh;
  scroll-snap-align: start;
  scroll-snap-stop: always;
  box-sizing: border-box;
  position: relative;
}

#scroller > section.snapGroup {
  scroll-snap-stop: normal;
}

/* Zusätzliche Regeln für kleinere Monitore  */
@media screen and (max-width:821px) {


  .contentSection {
      padding-right: 50px;
      padding-left: 50px;
    }

 .startCover {
    width: 90%;
    top: 21vh;
  }

 .iconContainer.centered {
   align-items: flex-start;
   flex-direction: column;
 }

 .column{
    flex-direction: column;
  }

  .BildContainer.Uhr{
    margin-top: 0vh;
    margin-right: auto;
    margin-left: auto;

  }

  .cover {
    width: 110vw;
  }

  .chart-container {
    width: 100%;

  }

  .middle {

    /*padding-bottom: 30%;*/
    /*margin-top: -5vh;*/
    margin-top: -20px;
  }

  .middleZwei {
    margin-top: -30px;
    
  }

  .platzhalterIcon {
    width: 50%;
    margin-right: auto;
    margin-left: auto;
  }

  .stickyScroll {
    justify-content: flex-start;
    grid-template-columns: none;
    display:flex;
  }
/*
  .stickyScroll.BildContainer{
    margin-top: 100px;
  }*/

  .stickyScroll .BildContainer img {
      max-width: 40vw;
      margin-top: 42vh;
  }

  .stickyBoxIt {
    background-color: #ffffff;
  }

  .stickyScroll .BildContainer.large img {
    margin-top: 0vh;
  }

  .green .iconContainer{
    flex-direction: column;
  }

   #myPolarChart {
     margin-left: 0vw;
     width: 100vw;
     margin-top: -70vh;
   }

    .spacebetween {
      height: 100vh;
    }

}

@media screen and (max-width:450px) {
  h1 {
    margin-top: 5vh;
    font-size: 40pt;
   }
  
  h2 {
   font-size: 30pt;
  }
  
  h3 {
    font-size: 20pt;
  }
  
  p {
    font-size: 12pt;
  }
  
  .fussNotenTextH1 {
    margin-right: 5px;
  }
  
  .textLink {
    font-size: 12pt;
  }

  .ja,
  .nein,
  .buttonLos {
    width: 100px;
    margin-top: 37px;
    font-size: 20pt;
  }
  
  .skipButton {  
    bottom: 10px;
    right: 10px;
    font-size: 12pt;
    padding-top: 11px;
    padding-bottom: 13px;
    width: 100px;
  }
  
  .Conclusion {
    padding-top: 2px;
    padding-bottom: 3px;
  }
  
  .appointment-finder {
    font-size: 12pt;
  }
  
  .timeSwitchButton {
    height: 30px;
    width: 50px;
    margin-right: 10px;
  }

  .iconContainer {
    flex-direction: column;
    min-width: 200px;
  }

  .contentSection {
    padding-top: 50px;
    padding-bottom: 50px;
    padding-left: 20px;
    padding-right: 20px;
  }

  .prozentzahl {
    font-size: 80pt;
    margin-bottom: 0rem;
  }

  .cover {
    width: 130vw; 
  }

  .BildContainer.Uhr {
    width:70vw;
  }

 .startCover {
  width: 110%;
  top: 25vh; 
  }

  
.stickyBox {
  top: 50px;
  left: 20px;
}
  
.stickyScroll .BildContainer img {
  max-width: 50vw;
  margin-top: 50vh;
}

.gebot{
  font-size: 17pt;
}

.farbcontainer {
  
  margin-bottom: 7px;
  margin-top: 7px;
}

.text {
  margin-top: 0;
  font-size: 7pt;
}

.color {
  height: 20px;
  font-size: 7pt;
  margin-right: 7px;
}

.spacebetween {

  max-height: 90vh;
}
}