html {
  margin: 0;
  padding: 0;
  overflow: hidden;
  position: fixed;
  width: 100%;
  height: 100%;
}

body {
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
  overflow: auto;
  width: 100%;
  height: 100%;
  -webkit-overflow-scrolling: touch;
  scroll-snap-type: y proximity;
  scroll-behavior: smooth;
}

.flex {
  display: flex;
  align-items: stretch;
  gap: 1em;
}
.flex img {
  object-fit: cover;
}
@media (max-width: 768px) {
  .flex {
    flex-direction: column;
  }
  .flex img {
    display: none;
  }
}

.col-1 {
  width: 8.3333333333%;
}
@media (max-width: 768px) {
  .col-1 {
    width: 100%;
  }
}

.col-2 {
  width: 16.6666666667%;
}
@media (max-width: 768px) {
  .col-2 {
    width: 100%;
  }
}

.col-3 {
  width: 25%;
}
@media (max-width: 768px) {
  .col-3 {
    width: 100%;
  }
}

.col-4 {
  width: 33.3333333333%;
}
@media (max-width: 768px) {
  .col-4 {
    width: 100%;
  }
}

.col-5 {
  width: 41.6666666667%;
}
@media (max-width: 768px) {
  .col-5 {
    width: 100%;
  }
}

.col-6 {
  width: 50%;
}
@media (max-width: 768px) {
  .col-6 {
    width: 100%;
  }
}

.col-7 {
  width: 58.3333333333%;
}
@media (max-width: 768px) {
  .col-7 {
    width: 100%;
  }
}

.col-8 {
  width: 66.6666666667%;
}
@media (max-width: 768px) {
  .col-8 {
    width: 100%;
  }
}

.col-9 {
  width: 75%;
}
@media (max-width: 768px) {
  .col-9 {
    width: 100%;
  }
}

.col-10 {
  width: 83.3333333333%;
}
@media (max-width: 768px) {
  .col-10 {
    width: 100%;
  }
}

.col-11 {
  width: 91.6666666667%;
}
@media (max-width: 768px) {
  .col-11 {
    width: 100%;
  }
}

.col-12 {
  width: 100%;
}
@media (max-width: 768px) {
  .col-12 {
    width: 100%;
  }
}

.hero-image {
  width: 100vw;
  height: 50vh;
  background-size: cover;
  background-position: center;
  background-image: var(--hero-img);
  background-attachment: fixed;
}
@media (max-width: 768px) {
  .hero-image {
    background-attachment: scroll;
  }
}
.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}
.hero-image.full {
  height: 100vh;
}
.hero-image.full h1 {
  color: white;
  font-size: 5em;
  font-weight: bold;
  text-align: center;
}
@media (max-width: 768px) {
  .hero-image.full h1 {
    font-size: 2.5em;
  }
}
.hero-image.about-me {
  --hero-img: url('/img/hero_about-me.webp');
}
.hero-image.contact {
  --hero-img: url('/img/hero_contact.png');
}
.hero-image.gallery {
  --hero-img: url('/img/hero_gallery.png');
}

img {
  max-width: 100%;
  max-height: 100%;
}

a {
  color: #3aa2a2;
}

section {
  background-color: lightgray;
  padding: 1em 1em;
  scroll-margin-top: 2.9rem;
  scroll-snap-align: start;
}
section .content {
  max-width: 1000px;
  margin: 0 auto;
}
section h1 {
  margin: 0;
  padding: 1em 0 0.4em;
}
section h1,
section h2 {
  color: #2d7e97;
}
section p {
  margin: 0;
}
section p + p {
  margin-top: 1em;
}

.spacer {
  height: 100vh;
}

#top {
  padding: 0;
}

#navigation {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
#navigation .center {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (max-width: 768px) {
  #navigation .center {
    flex-wrap: wrap;
    justify-content: space-evenly;
  }
}
#navigation .center a {
  font-family: "Patung", sans-serif;
  font-size: 1.8rem;
  color: black;
  text-decoration: none;
  line-height: 3rem;
  padding: 0 2em;
  background-color: transparent;
  transition: 0.1s;
  font-weight: bold;
}
@media (max-width: 768px) {
  #navigation .center a {
    padding: 0;
    flex: 1 1 auto;
    text-align: center;
  }
}
@media (max-width: 400px) {
  #navigation .center a {
    font-size: 1.2rem;
  }
}
#navigation .center a:hover {
  transition: 0.3s ease-out;
  background-color: #2d7e97;
  color: white;
}
#navigation .center:not(:hover) a.active {
  background-color: #2d7e97;
  color: white;
}
#navigation .logo {
  position: absolute;
  border-radius: 50%;
  aspect-ratio: 1;
  overflow: hidden;
  height: 80%;
  padding: 0.3rem;
}
@media (max-width: 768px) {
  #navigation .logo {
    display: none;
  }
}

#hero-img {
  width: 100vw;
  height: 100vh;
  background-size: cover;
  background-position: center;
  background-image: url("/img/hero_courses.jpg");
  background-attachment: fixed;
  display: flex;
  justify-content: center;
  align-items: center;
}
#hero-img h1 {
  color: white;
  font-size: 5em;
  font-weight: bold;
  text-align: center;
  font-family: "Cookie", cursive;
  font-style: normal;
}

#contact .flex {
  align-items: center;
}
#contact .content {
  display: flex;
  justify-content: center;
  align-items: center;
}
#contact img {
  max-width: 20rem;
}
@media (max-width: 768px) {
  #contact img {
    display: none;
  }
}
#contact .grid {
  display: grid;
  grid-template-columns: repeat(2, max-content);
  gap: 1rem 1rem;
  width: fit-content;
  color: #2d7e97;
}
#contact .grid h2 {
  margin: 0;
  grid-column: span 2;
  font-size: 2.5rem;
}
#contact .grid a {
  display: contents;
  color: inherit;
}
#contact .grid a .reverse {
  unicode-bidi: bidi-override;
  direction: rtl;
  justify-self: start;
}
#contact .grid svg {
  fill: currentColor;
}

#gallery .wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
#gallery .wrapper img {
  width: calc((100% - 3rem) / 4);
  object-fit: cover;
  cursor: pointer;
}
@media (max-width: 768px) {
  #gallery .wrapper img {
    width: calc((100% - 1rem) / 2);
  }
}

#impressum-dialog, #gallery-dialog {
  padding: 0;
  border: none;
  background: transparent;
  max-width: 90vw;
  max-height: 90vh;
  outline: none;
}
#impressum-dialog::backdrop, #gallery-dialog::backdrop {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(4px);
}
#impressum-dialog form, #gallery-dialog form {
  position: absolute;
  top: 1rem;
  right: 1rem;
  z-index: 1;
}
#impressum-dialog form button, #gallery-dialog form button {
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: white;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s;
}
#impressum-dialog form button:hover, #gallery-dialog form button:hover {
  background: rgba(255, 255, 255, 0.4);
}

#gallery-dialog img {
  display: block;
  max-width: 100%;
  max-height: 90vh;
  width: auto;
  height: auto;
  margin: auto;
}

.footer .content {
  display: flex;
  justify-content: center;
  gap: 2rem;
}
.footer a {
  color: black;
}
.footer a:not(:hover) {
  text-decoration: none;
}

#impressum-dialog {
  background: white;
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  height: fit-content;
  margin: auto;
}
#impressum-dialog form button {
  color: black;
  background: rgba(0, 0, 0, 0.1);
}
#impressum-dialog form button:hover {
  background: rgba(0, 0, 0, 0.2);
}
#impressum-dialog h1 {
  margin-top: 0;
  color: #2d7e97;
}

@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/Inter.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Inter";
  src: url("/fonts/inter/Inter-Italic.ttf") format("truetype-variations");
  font-weight: 100 900;
  font-style: italic;
  font-display: swap;
}
@font-face {
  font-family: "Patung";
  src: url("/fonts/patung/patung.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
.patung {
  font-family: "Patung", sans-serif !important;
}

/*# sourceMappingURL=main.css.map */
