/* Import modern Google Font */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

@font-face {
  font-family: MontserratAlt1-Regular;
  src: url('otf/MontserratAlt1-Regular.otf');
}
@font-face {
  font-family: MontserratAlt1-ExtraLight;
  src: url('otf/MontserratAlt1-ExtraLight.otf');
}

@font-face {
  font-family: MontserratAlt1-Thin;
  src: url('otf/MontserratAlt1-Thin.otf');
}

:root {
  --background: #000;
  --text: #fff;
  --farbe: #005ecb;
  --secondary: #000;
}

body {
  margin: 0;
  padding: 0;
  background-color: black;
  color: var(--text);
  font-family: MontserratAlt1-ExtraLight;
}
.logo-container {
  display: flex;
  justify-content: center;
  align-items: center;
}
/* Das Logo selbst */
.logo {
  display: flex;
  height: auto;
  max-height: 150px;
  align-items: center;
}
  h2 {
    text-align: center;
    font-family: orbitron;
  }
  h3 {
    color: var(--farbe);
    font-size: 25px;
    font-family: MontserratAlt1-Regular;
  }
  
  h4 {
    font-size: 25px;
    font-family: orbitron;
    text-align: center;
    margin-bottom: 0px;
  }

header {
  background-color: black;
  padding: 32px;
  text-align: center;
  box-shadow: 0 2px 10px rgba(0, 122, 255, 0.3);
}

nav {
  display: flex;
  justify-content: center;
  gap: 25px;
  font-family: orbitron;
  font-size: 15px;
}

nav a {
  color: var(--text);
  text-decoration: none;
  font-weight: 600;
  position: relative;
}

nav a::after {
  content: "";
  display: block;
  height: 2px;
  width: 0;
  background: var(--farbe);
  transition: width 0.3s;
  position: absolute;
  bottom: -4px;
  left: 0;
}

nav a:hover::after {
  width: 100%;
}

section {
  max-width: 1000px;
  margin: auto;
  font-family: Montserrat;
}

section h2 {
  font-size: 40px;
  margin-bottom: 16px;
  color: var(--farbe);
}

section p {
  font-size: 20px;
  color: #ddd;
}

.button {
  display: inline-block;
  background-color: var(--farbe);
  color: var(--text);
  padding: 16px 32px;
  border: none;
  border-radius: 16px;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  transition: background 0.3s;
  text-decoration: none;
}

.button:hover {
  background-color: #005ecb;
}

footer {
  text-align: center;
  padding: 32px;
  background: black;
  color: #ffffff;
  font-size: 14px;
  margin-top: 48px;
  font-family: MontserratAlt1-Thin;
}

.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Responsive machen */

/* Tablets */
@media (min-width: 601px) and (max-width: 1024px) {
  .all {
    padding: 32px;
  }

  nav {
    justify-content: center;
    gap: 32px;
  }
  h2 {
    padding: 16px;
  }
  h4 {
  padding: 16px;
}
  .profil {
    flex-direction: column;
    align-items: center;
  }

  .profilbild {
    max-width: 100%;
    margin-left: 25%;
    border-radius: 16px;
  }

  .profiltext {
    text-align: justify;
    margin: 0 20px;
  }
}

/* Smartphones */
@media (max-width: 600px) {
  .all {
    padding: 16px;
    max-width: 601px;
  }

  section h2 {
    font-size: 32px;
  }

  section p {
    font-size: 16px;
  }

  nav {
    align-items: center;
    gap: 16px;
  }

  .button {
    padding: 13px 14px;
    font-size: 15px;
  }

  .profil {
    flex-direction: column;
    align-items: center;
  }

  .profilbild {
    max-width: 100%;
    height: auto;
    border-radius: 16px;
  }

  .profiltext {
    text-align:justify;
  }
}

