
html {
  height: 100%;
}

body {
  position: relative;
  margin: 0;
  padding: 0;
  min-height: 100%;
  font-family: 'Arial', sans-serif;
  background-color: white;
}

.header {
  position: sticky;
  display: flex; 
  flex-direction: column; 
  justify-content: center; 
  align-items: center; 
  top: 0px;
  margin-top: 4px;
  margin-bottom: 6px;
  background-color: white; 
  box-shadow: 0px 4px 3px -3px #5b9bd5;
  z-index: 3;
}

.headline {
  position: relative;
  display: inline-block;
  left: 40px;
  margin-top: 10px;
  margin-bottom: 20px;
  padding: 20px 20px;
  color: black;
  font-size: 22px;
  text-align: center;
  text-shadow: 1px 1px 2px white;
  background-color: #5b9bd5;
  box-shadow: 2px 2px 8px -2px black;
  border-radius: 50%;
}


.text1 {
  position: relative;
  margin: 0 auto;
  padding: 20px 20px;
  color: black;
  font-size: 22px;
  text-align: center;
}

.text2 {
  position: relative;
  margin: 0 auto;
  padding: 20px 150px;
  color: black;
  font-size: 18px;
  text-align: center;
}

.text4 {
  padding: 0px 100px;
  font-size: 16px;
}

.text5{
  position: relative;
  margin: 0;
  padding: 0px 100px;
  margin-bottom: 35px;
  color: black;
  font-size: 32px;
}

.text6{
  position: relative;
  margin: 0;
  padding: 0px 100px;
  margin-bottom: 35px;
}


h1 {
  color: black;
  font-size: 22px;
  font-weight: normal;
  font-variant: normal;
  text-shadow: 1px 1px 2px white;
  text-align: center;
}

h2 {
  font-weight: normal;
  font-size: 26px;
  margin: 0;
  padding: 0px 100px;
  margin-bottom: 20px;
}

h3 {
  font-weight: normal;
  font-size: 23px;
  margin: 0;
  padding: 0;
  margin-bottom: 15px;
}

h4 {
  font-weight: normal;
  font-style: italic;
  font-size: 18px;
  margin: 0;
  padding: 0;
  margin-bottom: 5px;
}

p {
  font-size: 16px;
  margin: 0;
  padding: 0;
  margin-bottom: 15px;
}

a {
  word-wrap: break-word;
}


.logo {
  height: 57px;
  width: 100%;
  object-fit: scale-down;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-logo {
  position: relative;
  padding-left: 10px;
  padding-right: 5px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-menu {
  position: relative;
  font-size: 20px;
  display: flex;
  flex-direction: row; 
  align-items: center;
  justify-content: center;
  background-color: white;
}

.container-submenu {
  position: relative;
  display: inline-block;
}

.content-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0px auto;
  display: flex;
  flex-direction: column; 
  visibility: hidden;
  opacity: 0; 
  transform: translateY(-14px); 
  transition: opacity 0.4s ease-out, transform 0.4s ease-out, visibility 0.4s ease-out;
  border-top: 1px solid #5b9bd5;
  border-radius: 0px 0px 6px 6px;
  background-color: white;
  width: fit-content;
  box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
  z-index: -1;
}

.content-submenu a {
  float: none;
  color: #5b9bd5;
  font-size: 17px;
  padding: 10px 0px;
  margin: 0px 15px;
  text-decoration: none;
  display: block;
  text-align: left;
}



.menu-link, .button-submenu {
  color: #5b9bd5;
  text-decoration: none;
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  margin-left: 20px;
  margin-right: 20px;
  background-color: transparent;
  padding: 9px 6px;
  border: none;
  border-radius: 8px;
  position: relative;
}

.button-submenu {
  padding-right: 20px;
}

.menu-link span::after, .button-submenu span::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1.4px;
  bottom: 8px; 
  left: 50%; 
  background-color: currentColor; 
  transition: width 0.4s ease-out, left 0.4s ease-out;
}

.menu-link span, .button-submenu span {
  color: #5b9bd5;
  text-decoration: none;
  padding: 9px 0px;
  position: relative;
}


.container-title {
  background-color: #dae3f3;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.title-image {
  position: relative;
  margin: 10px auto;
  background-color: white;
  height: 400px;
  object-fit: contain;
  border-radius: 10px;
}

.quote-image {
  position: relative;
  height: 80%;
  width: 80%;
}

.container-quote {
  position: relative;
  display: inline-block;
  padding: 0px 200px;
  object-fit: scale-down;
}

.portrai-image {
  position: relative;
  height: 240px;
  border-radius: 50%;
  box-shadow: 0px 0px 12px -2px black;
}

.logo-eoedl {
  position: relative;
  display: inline-block;
  margin-top: 15px;
  height: 6.5vh;
  width: 100%;
  object-fit: scale-down;
}

.logo2-eoedl {
  position: relative;
  display: inline-block;
  margin-top: 5px;
  height: 5.5vh;
  width: 100%;
  object-fit: scale-down;
}

.logo3-eoedl {
  position: relative;
  display: inline-block;
  height: 12vh;
  width: 100%;
  object-fit: scale-down;
}

.leg-dys-image {
  position: relative;
  margin: 10px 10px;
  height: 100%;
  width: 80vw;
  object-fit: scale-down;
}

.montessori-image {
  position: relative;
  margin: 20px 40px;
  height: 100%;
  width: 20vw;
  object-fit: scale-down;
}

.dreieck-kreis-sichel-image {
  position: relative;
  margin: 20px 40px;
  height: 100%;
  width: 21.5vw;
  object-fit: scale-down;
}

.aufsatz-image {
  position: relative;
  margin: 20px 40px;
  height: 100%;
  width: 23vw;
  object-fit: scale-down;
}

.aeiou-image {
  position: relative;
  margin: 10px 40px;
  height: 100%;
  width: 23vw;
  object-fit: scale-down;
}

.cubus-image {
  position: relative;
  margin: 10px 40px;
  height: 100%;
  width: 23vw;
  object-fit: scale-down;
}

.kurs-image {
  position: relative;
  height: 100%;
  width: 32vw;
  object-fit: scale-down;
}



.description-section {
  padding: 0px 70px;
  display: flex;
  gap: 50px;
  /* align-items: center; */
}

.description-section2 {
  display: flex;
  flex-direction: row;
}

.description-section3 {
  display: flex;
  flex-direction: row-reverse;
}

.half-width {
  display: flex;
  flex-direction: column;
  /* justify-content: center; */
  width: 50%;
}

.thirds-width {
  position: relative;
  padding: 0px 30px;
  width: 33%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.thirds-width2 {
  position: relative;
  padding: 0px 30px;
  width: 76%;
  display: flex;
  justify-content: left;
  align-items: center;
}

.quarter-width {
  width: 25%;
}


.blue {
  color: #5b9bd5;
}

.backg-lightblue {
  background-color: none;
  display: flex;
  justify-content: center;
  align-items: center;
}

.border-lightblue {
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid #5b9bd5;
  border-radius: 10px;
}


.arrow-down {
  position: absolute;
  display: inline-block;
  vertical-align: middle;
  margin: 10px 0px;
  writing-mode: vertical-lr;
}

.arrow-up {
  position: absolute;
  display: none;
  vertical-align: middle;
  margin: 10px 0px;
  writing-mode: vertical-lr;
}


.link {
  color: #5b9bd5;
  text-decoration: none;
  font-size: 16px;
  padding-top: 3px;
  padding-left: 6px;
}

.link-logo {
  text-decoration: none;
  color: #e58c02;
}



.container-link {
  position: relative;
  display: flex;
  justify-content: left;
  align-items: center;
  padding: 5px 0px;
  height: 30px;
}

.container-icon {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px 0px;
  height: 30px;
}

.icon-select {
  position: relative;
  display: block;
  width: 24px;
  height: 2px;
  border: none;
  border-radius: 3px;
  background: black;
}

.icon-select-2 {
  position: absolute;
  display: block;
  width: 24px;
  height: 2px;
  margin-bottom: 16px;
  border: none;
  border-radius: 3px;
  background: black;
}

.icon-select-3 {
  position: absolute;
  display: block;
  width: 24px;
  height: 2px;
  margin-top: 16px;
  border: none;
  border-radius: 3px;
  background: black;
}


.icon-deny {
  position: relative;
  display: block;
  width: 28px;
  height: 2px;
  border: none;
  border-radius: 3px;
  background: black;
  transform: rotate(45deg);
}

.icon-deny-2 {
  position: absolute;
  display: block;
  width: 28px;
  height: 2px;
  border: none;
  border-radius: 3px;
  background: black;
  transform: rotate(-45deg);
}


.icon-location {
  position: relative;
  width: 8px;
  height: 8px;
  border: 8px solid black;
  border-radius: 50% 50% 50% 0;
  transform: rotate(-45deg);
  z-index: 1;
}

.icon-location-circle {
  position: absolute;
  margin-left: 0px;
  width: 8px;
  height: 8px;
  border: 2px solid black;
  border-radius: 50% 50% 50% 50%;
}


.icon-mail {
  position: relative;
  display: block;
  width: 20px;
  height: 16px;
  border: 1px solid white;
  border-radius: 3px;
  background: black;
}

.icon-mail-2 {
  position: absolute;
  display: block;
  margin-bottom: 16px;
  width: 14px;
  height: 14px;
  border-bottom-left-radius: 2px;
  border-left: 1px solid white;
  border-bottom: 1px solid white;
  transform: rotate(-45deg);
  z-index: 2;
}

.icon-mail-3 {
  position: absolute;
  display: block;
  margin-top: 16px;
  width: 14px;
  height: 14px;
  border-right: 1px solid white;
  border-top: 1px solid white;
  transform: rotate(-45deg);
}

.icon-mail-4 {
  position: absolute;
  display: block;
  margin-bottom: 2px;
  width: 0px;
  height: 0px;
  border-top: 6px solid black;
  border-right: 6px solid transparent;
  border-bottom: 0px solid transparent;
  border-left: 6px solid transparent; 
  z-index: 1;
}


.icon-phone {
  display: block;
  position: relative;
  width: 14px;
  height: 14px;
  border-left: 5px solid black;
  border-bottom: 5px solid black;
  border-top: none;
  border-right: none;
  border-bottom-right-radius: 2px;
  border-top-left-radius: 2px;
  border-bottom-left-radius: 100%;
  z-index: 1;
}

.icon-phone-2 {
  display: block;
  position: absolute;
  margin-left: 14px;
  margin-top: 10.5px;
  width: 7px;
  height: 8px;
  background: black;
  border-radius: 2px 2px 2px 0px;
  transform: rotate(15deg);
}

.icon-phone-3 {
  display: block;
  position: absolute;
  margin-right: 10px;
  margin-bottom: 13px;
  width: 8px;
  height: 7px;
  background: black;
  border-radius: 2px 2px 2px 0px;
  transform: rotate(-15deg);
}

.gmaps {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.gmaps-image {
  position: absolute;
  display: block;
  height: 100%;
  width: 100%;
  border-radius: 6px;
  object-fit: cover;
  filter: brightness(0.5);
}

.placehold-gmaps {
  position: relative; 
  width: 80vw;
  height: 40vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #888888;
  border-radius: 6px;
}

.placehold-gmaps:has(.togglebox-gmaps:checked) {
  background-color: transparent;
  .iframe-gmaps {
    display: initial;
  }
  .button-gmaps, .info-gmaps, .gmaps-image {
    display: none;
  }
}

.togglebox-gmaps, .iframe-gmaps {
  display: none;
}

.info-gmaps {
  position: relative;
  margin: 20px 30px;
  color: white;
  text-align: center;
  z-index: 1;
}

.button-gmaps {
  position: relative;
  color: white;
  background-color: black;
  border-radius: 4px;
  font-size: 16px;
  padding: 6px 8px;
  margin: 20px 0px;
}

.hover {
  padding: 0px 0px;  
  color: white;
  text-decoration: underline;
}

.flex-direction-change {
  display: flex;
  flex-direction: row;
  gap: 40px;
}

.button-homepage {
  position: relative;
  color: white;
  background-color: black;
  border-radius: 5px;
  font-size: 186x;
  padding: 12px 14px;
  margin: 0px 0px;
  text-decoration: none;
}



.footer {
  position: absolute;
  height: 130px;
  width: 100%;
  bottom: -150px;
  color: white;
  background-color: #646464;
  padding-top: 20px; 
  padding-bottom: 2px; 
  display: flex; 
  flex-direction: column;
  justify-content: space-between;
}

.foot-content {
  padding-left: 70px;
  padding-right: 70px;
  display: flex; 
  flex-direction: row;
  justify-content: space-between;
}

.footpart-content {
  padding: 0px 10px; 
  display: flex; 
  flex-direction: column; 
  justify-content: center;
}

.copyright {
  color: grey;
  display: flex;
  justify-content: left;
  padding: 10px 80px;
  align-items: center;
}

.togglebox-menu, .button-menu, .togglebox-submenu {
  display: none;
}


@media (hover: hover) {
  @media (min-width: 860px) {
    .container-submenu:hover .content-submenu {
      visibility: visible; 
      opacity: 1; 
      transform: translateY(0);
    }
  }

  .container-submenu:hover .arrow-down {
    display: none;
  }

  .container-submenu:hover .arrow-up {
    display: inline-block;
  }

  
  
  .menu-link:hover span::after {
    width: 100%; 
    left: 0; 
  }

  .button-submenu:hover span::after {
    width: 100%; 
    left: 0;
  }

  .container-submenu:hover .button-submenu span::after {
    width: 100%; 
    left: 0; 
  }
  

  .link:hover {
    text-decoration: underline;
  }

  .link-logo:hover {
    text-decoration: underline;
  }

  .button-gmaps:hover {
    background-color: #5b9bd5;
  }

  .button-homepage:hover {
    background-color: #5b9bd5;
  }

  .hover:hover {
  color: #5b9bd5;
  text-decoration: underline;
  }
}

@media (hover: none) {
  .container-submenu:has(.togglebox-submenu:checked) .content-submenu {
    visibility: visible; 
    opacity: 1; 
    transform: translateY(0); 
  }

  .container-submenu:has(.togglebox-submenu:checked) .arrow-down {
    display: none;
  }

  .container-submenu:has(.togglebox-submenu:checked) .arrow-up {
    display: inline-block;
  }

  .button-submenu:hover {
    text-decoration: none;     
  }

  .menu-link:hover {
    text-decoration: none;
  }

  .link:hover {
    text-decoration: underline;
  }

  .button-gmaps:hover {
    background-color: #5b9bd5;
  }

  .button-homepage:hover {
    background-color: #5b9bd5;
  }

  .hover:hover {
    color: #5b9bd5;
    text-decoration: underline;
  }
}

@media (max-width: 860px) {
  .header {
    flex-direction: row; 
    padding-right: 60px;
    margin-bottom: 6px;
  }

  .headline {
    position: relative;
    display: inline-block;
    left: 0px;
    padding: 20px 20px;
    margin-left: 14px;
    margin-right: 14px;
  }
  
  .text2 {
    position: relative;
    margin: 0 auto;
    width: auto;
    padding: 20px 20px;
    color: black;
    font-size: 18px;
    text-align: center;
  }

  .text4 {
    padding: 0px 20px;
  }

  .text5{
    padding: 0px 20px;
  }

  .text6{
    padding: 0px 20px;
  }

  h2 {
    padding: 0px 20px;
  }

  .description-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: unset;
    gap: 30px;
    padding: 0px 0px;
  }

  .description-section2 {
    display: block;
    flex-direction: column;
    align-items: center;
  }

  .description-section3 {
    display: block;
    flex-direction: column;
    align-items: center;
  }

  .half-width {
    width: unset;
  }

  .thirds-width {
    width: unset;
    padding: 0px 30px;
  }

  .thirds-width2 {
    width: unset;
    padding: 0px 0px;
  }


  .container-menu {
    position: absolute;
    flex-direction: column; 
    right: 0px;
    bottom: 0px;
    height: 60px;
    width: 60px;
  }

  .container-menu:has(.togglebox-menu:checked) .content-menu {
    visibility: visible; 
    opacity: 1; 
    width: 270px;
  }
  
  .container-menu:has(.togglebox-menu:checked) {
    .select {
      display: none;
    }
    .deny {
      display: flex;
    }
    .button-menu {
      font-size: 52px;
      background-color: #f0f0f0;
    }
  }


  .content-menu {
    position: absolute;
    top: 100%; 
    right: 0;
    margin: 0px auto;
    display: flex;
    flex-direction: column; 
    visibility: hidden; 
    opacity: 0; 
    transition: opacity 0.4s ease-out, width 0.4s ease-out, visibility 0.4s ease-out;
    border: none;
    border-radius: 6px 0px 6px 6px;
    background-color: #f0f0f0;
    min-width: 160px;
    width: 250px;
    box-shadow: 0px 8px 10px 0px rgba(0, 0, 0, 0.2);
    z-index: 1;
  }


  .button-menu {
    position: relative;
    display: flex;
    justify-content: center; 
    align-items: center; 
    height: 60px;
    width: 60px;
    /*font-family: 'Calibri Light';*/
    font-size: 50px;
    font-weight: normal;
    font-style: normal;
    line-height: 18px;
    /* padding-bottom: 5px; */
    margin-top: 3px;
    background-color: transparent;
    color: black;
    border: none;
    border-radius: 6px 6px 0px 0px;
    z-index: 2;
  }


  
  .container-submenu:has(.togglebox-submenu:checked) .content-submenu {
    visibility: visible;
    opacity: 1;
    height: auto;
    transform: translateY(0);
  }

  .container-submenu:has(.togglebox-submenu:checked) {
    .arrow-down {
      display: none;
    }
    .arrow-up {
      display: inline-block;
    }
  }
  .container-submenu:hover {
    .arrow-down {
      display: inline-block;
    }
    .arrow-up {
      display: none;
    }
  }

  .content-submenu {
    position: relative;
    top: 100%; 
    left: 0;
    display: flex;
    flex-direction: column; 
    visibility: hidden; 
    opacity: 0; 
    height: 0; 
    transform: translateY(-14px);
    transition: opacity 0.4s ease-in, height 0.4s ease-in, transform 0.4s ease-in, visibility 0s ease-out;
    border: none;
    padding-left: 16px;
    border-radius: 6px 0px 6px 6px;
    background-color: #f0f0f0;
    min-width: 160px;
    width: 85%;
    box-shadow: none;
    z-index: 1;
  }


  .content-submenu a {
    float: none;
    color: #5b9bd5;
    font-size: 15px;
    padding: 10px 0px;
    text-decoration: none;
    text-align: left;
    width: 95%;
  }
    
  .button-submenu {
    font-size: 18px;
    padding-left: 0px;
    padding-right: 50px;
  }


  
  .menu-link {
    font-size: 18px;
    padding: 9px 0px;
  }

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

  .deny {
    display: none;
    justify-content: center; 
    align-items: center; 
    text-align: center;
  }

  .container-quote {
    padding: 0px 30px;
  }

  .quote-image {
    height: 100%;
    width: 100%;
  }

  .title-image {
    position: relative;
    height: 100%;
    width: 82vw;
    object-fit: scale-down;
  }

  .montessori-image {
    position: relative;
    margin: 20px 10px;
    height: 100%;
    width: 35vw;
    object-fit: scale-down;
  }

  .aufsatz-image {
    position: relative;
    margin: 20px 10px;
    height: 100%;
    width: 60vw;
    object-fit: scale-down;
  }

  .dreieck-kreis-sichel-image {
    position: relative;
    margin: 20px 10px;
    height: 100%;
    width: 36.5vw;
    object-fit: scale-down;
  }

  .kurs-image {
    position: relative;
    height: 100%;
    width: 68vw;
    object-fit: scale-down;
  }


  .leg-dys-image {
    margin: 20px 0px;
    height: 18vh;
    width: 80%;
    object-fit: cover;
  }

  .backg-lightblue {
    background-color: #dae3f3;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .border-lightblue {
    border: none;
    display: flex;
  }

  .aeiou-image {
    margin: 20px 0px;
    height: 100%;
    width: 60vw;
  }

  .cubus-image {
    margin: 20px 0px;
    height: 100%;
    width: 60vw;
  }

  .flex-direction-change {
    display: flex;
    flex-direction: column;
    gap: 0px;
  }

  .footer {
    height: 350px;
    bottom: -370px;
    display: flex; 
    flex-direction: column;
    justify-content: space-between;
  }

  .foot-content {
    height: 100%;
    padding-left: 0px;
    padding-right: 0px;
    flex-direction: column;
    justify-content: space-between;
  }

  .footpart-content {
    padding: 0px 40px; 
    display: flex; 
    flex-direction: column; 
    justify-content: center;
  }

  .copyright {
    justify-content: center;
    padding: 10px 0px;
  }

}


.confirm-window {
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  justify-content: center;
  align-items: center;
  z-index: 5;
}

.confirm-window-content {
  background-color: white;
  position: relative;
  top: -35px;
  min-width: 320px; 
  max-width: 380px;
  width: auto;
  padding: 6px 0px 6px 0px;
  border-radius: 6px;
  text-align: center;
  box-shadow: 2px 2px 8px -2px black;
  box-sizing: border-box;
}

.confirm-window-content p {
  margin-top: 2px;
  margin-bottom: 7px;
  margin-left: 15px;
  margin-right: 15px;
  padding: 10px 0px 10px 0px;
  background-color: white;
  color: rgb(84, 84, 84);
  font-size: 15px;
  font-weight: 100;
}

.button-container {
  background-color: white;
  margin: 0;
  width: 100%;
  border-top: 1.5px solid rgb(214, 214, 214);
  text-align: end;
}

.button-container button {
  cursor: pointer;
  margin-top: 7px;
  margin-bottom: 2px;
  margin-left: 0px;
  margin-right: 20px;
  padding: 2px;
  border: none;
  border-radius: 2px;
  background-color: white;
  color: #5b9bd5;
  font-size: 14px;
}




