@font-face {
    font-family: 'Bebas Neue';
    font-display: swap;
    src:
      local("Bebas Neue"),
      local("BebasNeue"),
      local("BebasNeue-Regular"),
      url(../fonts/BebasNeue-Regular.ttf) format("truetype");
}

@font-face {
    font-family: 'Montserrat';
    font-display: swap;
    src:
      local("Montserrat"),
      url(../fonts/Montserrat-VariableFont_wght.ttf) format("truetype");
}

html, body {
    scroll-behavior: smooth;
    padding: 0;
    margin: 0;
    background-color: #F0EFF4;
}

html * {
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', Tahoma, Verdana, sans-serif;
    font-size: 16px;
}

h1 {
    font-family: 'Bebas Neue', Tahoma, Verdana, sans-serif;
    font-weight: bold;
    font-size: 90px;
    margin: -20px 0;
}

h2 {
    text-transform: uppercase;
    font-weight: 400;
    font-size: 22px;
    margin: 10px 0;
}

p {
    font-size: 18px;
}

header {
    background-image: url("../img/aerial-view-green-forest.jpg");
    overflow: hidden;
}

header #logo-large {
    float: left;
    margin: 30px;
    filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(35%) hue-rotate(211deg) brightness(101%) contrast(92%);
}

header #logo-mid {
  display: none;
    float: left;
    margin: 30px;
    filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(35%) hue-rotate(211deg) brightness(101%) contrast(92%);
}

header #logo-small {
    display: none;
    float: left;
    margin: 30px;
    filter: brightness(0) saturate(100%) invert(97%) sepia(3%) saturate(35%) hue-rotate(211deg) brightness(101%) contrast(92%);
}

header ul.links-container {
    list-style: none;
    margin: 50px 30px;
    padding: 0;
}

header ul.links-container li {
    margin:0 0 15px 0;
    padding: 0;
}

header a.nav-link {
    font-family: 'Bebas Neue', Tahoma, Verdana, sans-serif;
    font-size: 3em;
    line-height: 55%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    text-decoration: none;
    color: #F0EFF4;
    padding: 0;
    transition: 0.3s;
}

header a.nav-link:hover {
    color: #F7B32B;
}

/* HAMBURGER MENU */

#menuToggle {
  display: none;
  position: fixed;
  top: 45px;
  right: 60px;
  z-index: 90;
 }

 #menuToggle input {
  position: absolute;
  width: 40px;
  cursor: pointer;
  opacity: 0;
  z-index: 99;
  -webkit-touch-callout: none;
}

#menuToggle span {
  display: block;
  width: 33px;
  height: 4px;
  margin-bottom: 5px;
  position: relative;
  background: #F0EFF4;
  border-radius: 3px;
  z-index: 1;
}

#menuToggle span {
  transition: transform 0.5s cubic-bezier(0.77, 0.2, 0.05, 1),
    background 0.5s cubic-bezier(0.77, 0.2, 0.05, 1), opacity 0.55s ease;
  transform-origin: 4px 0px; /* set to 4px 0px to specify the center of rotation for the transform property above. */
}

#menuToggle span:first-child {
  transform-origin: 0% 0%; /*sets the origin of the transform property to the top left corner of the element.*/
}

#menuToggle span:nth-last-child(2) {
  transform-origin: 0% 100%; /*sets the origin of the transform property to the bottom left corner of the element.*/
}

#menuToggle input:checked ~ span {/* selects all span elements that come after an input element that is checked inside the #menuToggle element. */
  opacity: 1;
  transform: rotate(45deg) translate(-2px, -1px);
  background: #232323;
}
#menuToggle input:checked ~ span:nth-last-child(2) {
  transform: rotate(-45deg) translate(0, -1px);
}

#menuToggle input:checked ~ span:nth-last-child(3) { /* selects the third span element from the end that comes after an input element that is checked inside the #menuToggle element. */
  opacity: 0; /* sets the opacity of the element to 0, making it invisible. */
  transform: rotate(0deg) scale(0.2, 0.2); /* applies a rotation of 0 degrees and a scale of 0.2 to the element, making it very small and invisible.*/
}

#menu {
  position: absolute;
  right: -300px; /* This property moves the menu outisde of the viewport*/
  top: 0px;
  margin: -100px -60px 0 0;/* The negative margin values are used to move the menu up and to the left to center it vertically and horizontally within the #menuToggle div. */
  padding: 50px;
  padding-top: 125px;
  padding-bottom: 3 0px;
  background: #F0EFF4;
  list-style-type: none;
  -webkit-font-smoothing: antialiased;
  transition: right 0.5s; /* This property sets the transition effect for the left property. This will create a smooth animation when the menu slides in from the left.*/
}

#menu li {
  padding: 5px 0;
  font-size: 22px;
}

#menu li a {
  width: 300px;
  font-family: 'Bebas Neue', Tahoma, Verdana, sans-serif;;
  font-size: 20px;
  text-decoration: none;
}

#menuToggle input:checked ~ ul {
  right: 0px;
}

a {
    color: #2E2E2E;
}

a:hover {
    color: #BF4C0C;
}

.text-block {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 60px;
    display:flex;
    flex-wrap: wrap;
    gap: 20px;
}

.text-block-orange {
    padding-left: 20px;
    border-left: 10px solid #BF4C0C;
}

.text-block-green {
    padding-left: 20px;
    border-left: 10px solid #A9BF04;
}

.text-block-yellow {
    padding-left: 20px;
    border-left: 10px solid #F7B32B;
}

.text-block .image-block {
    margin: 0 auto;
}

.text-block .image-block img {
    max-width: 370px;
}

.text-block .text {
    max-width: 100%;
}

.text-block .text-green {
    padding-left: 20px;
    border-left: 10px solid #A9BF04;
}

/* PRICE CRADS */

.card-container {
    max-width: 1000px;
    margin: auto;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    padding: 0 20px;
}

.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-top: 10px solid #BF4C0C;
    border-radius: 8px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    padding: 20px;
    text-align: center;
    width: 20%;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card h1 {
    margin-top: -10px;
    margin-bottom: -10px;
}

.card ul {
    list-style-type: disc;
    padding-left: 20px;
    text-align: left;
    flex-grow: 5;
}

.price {
    font-size: 18px;
    margin: 10px 0 30px;
}

.price .price-amount {
  font-family: 'Bebas Neue', Tahoma, Verdana, sans-serif;
  font-size: 40px;
  color: #BF4C0C;
}

.card button {
    font-family: 'Montserrat', Tahoma, Verdana, sans-serif;
    text-transform: uppercase;
    font-kerning: 130;
    font-weight: 400;
    font-size: 22px;
    background-color: #A9BF04;
    color: #000;
    border: none;
    border-radius: 8px;
    padding: 10px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.card button:hover {
    background-color: #F7B32B;
    color: #2E2E2E;
}

/* DIVIDERS FOR CARDS*/

hr {
  width: 100%;
  display: block;
  margin-top: 0.5em;
  margin-bottom: 0.5em;
  margin-left: auto;
  margin-right: auto;
  border-style: dotted;
  border-width: 1px;
}

/* NOTES */

.note-wrapper {
    max-width: 1000px;
    margin: 20px auto;
    margin-top: 20px;
    text-align: center;
}

.note {
    font-style: italic;
    color: grey;
}

/* PICTURES */

.picture {
    max-width: 1000px;
    margin-right: auto;
    margin-left: auto;
    margin-top: 60px;
    display: flex;
}

.picture img {
    width: 30%;
    flex-grow: 1;
}

/* TIMETABLE */

.timetable {
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    border-left: 10px solid #BF4C0C;
    padding-left: 20px;
    margin-top: 60px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}

.table-row {
    display: flex;
    gap: 20px;
    border-bottom: 1px dashed lightgrey;
}

.table-row:last-child {
    border-bottom: 0 none;
}

.table-cell-time {
    width: 70px;
}

.table-cell-time h2 {
    margin-top: 15px;
}

.table-cell-description {
    border-left: 1px dashed lightgrey;
    padding-left: 20px;
}

/* HINWEIS */

.hinweis {
    max-width: 1000px;
    margin-top: 60px;
    margin-left: auto;
    margin-right: auto;
    border-top: 10px solid #BF4C0C;
    background-color: white;
    border-radius: 8px;
    padding: 20px 20px;
}

/* MAP */

.map-container {
    max-width: 1000px;
    margin: auto;
    border-left: 10px solid #A9BF04;
    padding-left: 20px;
    display: flex;
    flex-wrap: wrap;
}

.map-images {

}

.map {
    max-width: 500px;
    display: none;
	  position: relative;
}

#map_0 {
    display: block;
}

.map.selected {
    display: block;
}

.map.fixed {
    display: block !important;
}

.map .map_image {
    width: 100%;
}

.map .map_info {
	display: none;
}

.map.fixed .map_info {
	display: block;
}

.map .map_info h2 {
	font-size: 20px;
}

.legend {
    max-width: 400px;
    margin-left: 30px;
}

.legend-option {

}

.legend-option a {
    display: block;
    position: relative;
    margin-top: 8px;
    margin-bottom: 12px;
}

.legend-option a img {
    width: 30px;
    height: 30px;
    position: absolute;
    top: 50%;
    margin-top: -15px;
}

.legend-option a span {
    display: block;
    margin-left: 40px;
    line-height: 24px;
}

.legend-option a.show_all img {
    width: 100px;
}

.legend-option a.show_all span {
    margin-left: 110px;
}

a#scroll {
  position: fixed;
  bottom: 40px;
  right: 40px;
  padding: 0;
  text-align: center;
  font-weight: 800;
  line-height: 55px;
  background-color: #2E2E2E;
  color: #F0EFF4;
  border: 1px solid #F0EFF4;
  cursor: pointer;
  border-radius: 30px;
  text-decoration: none;
  width: 50px;
  height: 50px;
}

/* FOOTER */

.trees {
    height: 87px;
    background-image: url("../img/trees.png");
    overflow: hidden;
    margin-top: 60px;
}

.footer {
    max-width: 100%;
    background-color: #2E2E2E;
}

.footer-bg {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    gap: 10px;
    background-color: #2E2E2E;
    padding: 0 20px 30px 20px;
}

.footer-text {
    max-width: 30%;
    background-color: #2E2E2E;
    color: #fff;
    flex-grow: 1;
}

.footer-text p {
    font-size: 16px;
}

/* Exam notice */

.exam-notice {
        box-sizing: border-box;
        width: 100%;
        padding: 18px 24px;
        text-align: center;
        background: #222;
        color: #fff;
        font-size: 0.9rem;
        line-height: 1.5;
      }

      .exam-notice p {
        margin: 0;
      }

      .exam-notice p + p {
        margin-top: 4px;
      }

      .exam-notice strong {
        font-weight: 700;
      }

/* Everything less than 1400px */
@media all and (max-width: 1400px) {

}

/* Everything less than 992px */
@media all and (max-width: 992px) {

  header #logo-large {
      display: none;
  }

  header #logo-mid {
      display: block;
  }
	.card {
	  width: 45%;
	}
	.map {
		max-width: 90%;
		display: block !important;
	}
	.map .map_image {
		max-width: 90%;
	}
	.map .map_info {
		display: block !important;
	}
	.legend {
		max-width: 90%;
		margin-left: 0;
	}
	.footer-bg {
		justify-content: left;
	}
	.footer-text {
		max-width: 45%;
	}
}

/* Everything less than 576px */
@media all and (max-width: 576px) {
  p {
    font-size: 15px;
  }

  h1 {
      font-size: 60px;
      margin: -14px 0;
  }

  h2 {
      text-transform: uppercase;
      font-kerning: 130;
      font-weight: 400;
      font-size: 18px;
      margin: 10px 0;
  }

  .card {
      width: 100%;
  }

    header {
      position: sticky;
      top: 0;
      width: 100%;
      z-index: 88;
    }

    header ul.links-container li {
      display: none;
    }

    #menuToggle {
      display: block;
    }

    header #logo-large {
      display: none;
    }

    header #logo-mid {
      display: none;
    }

    header #logo-small {
      display: block;
    }

    .text-block {
      gap: 60px;
    }

    .map {
      width: 100%;
    }

    .footer-bg {
  		justify-content:left;
  	}

  	.footer-text {
  		max-width: 100%;
  	}
}
