/* =========================
   Reset & Base
========================= */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

@font-face {
  font-family: "Satoshi";
  src: url("./fonts/Satoshi-Black.woff2") format("woff2"),
       url("./fonts/Satoshi-Black.woff") format("woff");
  font-weight: 600; /* semibold */
  font-style: normal;
}

@font-face {
  font-family: "Satoshi";
  src: url("./fonts/Satoshi-Regular.woff2") format("woff2"),
       url("./fonts/Satoshi-Regular.woff") format("woff");
  font-weight: 300; /* light */
  font-style: normal;
}

body {
  font-family: "Satoshi", Arial, sans-serif;
  display: flex;
  min-height: 100vh;
}

/* =========================
   Layout
========================= */
.side {
  flex: 1;
  background-color: #353e40; /* dark red sides */
}

.center {
  flex: 2;
  background-color: #E7FFF6; /* yellow center */
  padding: 40px;
  color: #fff;
  min-height: 100vh;
}

/* =========================
   Typography
========================= */
h1,
h2 {
  font-family: "Satoshi", Helvetica, Arial, sans-serif;
  color: #353e40;
}

p {
  font-family: "Satoshi", Helvetica, Arial, sans-serif;
  font-weight: 300;
  margin-top: 1rem;
  line-height: 1.5;
  font-size: 14pt;
}

.center .welcome {
  color: #353e40;
}

.center h1.welcome {
  text-align: center;
  color: #353e40;
}

.textbox {
    max-width: 600px;   /* begrenzt die Breite auf großen Bildschirmen */
    margin: 0 auto;     /* zentriert den Block horizontal */
    text-align: left;   /* Text bleibt linksbündig */
    padding: 0 1rem;    /* sorgt für Luft links/rechts auf kleinen Screens */
}

.textbox p {
    margin-bottom: 1em; /* Abstand zwischen Absätzen */
}


h2.email {
  color: black;
  text-align: center;
  font-weight: 300;
}

.link {
  color: #ff5964;
  text-decoration: none;
}

.link:hover {
  text-decoration: underline;
  font-weight: 600;
}

.link:visited {
  text-decoration: none;
  color: #353e40;
}

#unddannert {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%); /* horizontal zentrieren */
    padding-bottom: none;        /* kleiner Abstand vom Rand */
    margin-bottom: none;
  }

#unddannert img{
    width: 75%;   /* scales the width to 50% of its original/container size */
    height: auto;
    align-self: center;
}

/* =========================
   Navbar
========================= */
nav {
  display: flex;
  justify-content: center;
  margin-bottom: 40px;
}

#nav {
  width: 100%;
  max-width: 600px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: #7daa92;
  padding: 10px 20px;
  border-radius: 8px;
}

#nav a {
  text-decoration: none;
  color: #f5ed64;
  font-family: "Satoshi", Arial, sans-serif;
  display: block;

}

#nav a:visited {
  color: #f5ed64;
  text-decoration: none;
}

.nav_element {
  margin: 0;
  font-size: 1.2rem;
  cursor: pointer;
  position: relative;
  text-align: center;
  color: #F5ED64;
  transition: background 0.3s, color 0.3s;
  padding: 6px 12px;
  border-radius: 4px;
}

#nav a:hover { 
  background-color: #ff5964;
  color:#F5ED64;  /* match navbar hover color */ 
}

/* Coming soon style */
.coming_soon {
  color: #60816f;
  cursor: default;
}

.coming_soon:hover::after {
  font-family: "Satoshi", Helvetica, Arial, sans-serif;
  content: "Coming soon";
  position: absolute;
  top: 120%;
  left: 50%;
  transform: translateX(-50%);
  background: #353e40;
  color: #F5ED64;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  pointer-events: none;
}


/* =========================
   Contact
========================= */
.mail-icon {
  text-align: center;
  margin: 20px 0;
}

.mail-icon img {
  width: 64px;
  height: 64px;
  cursor: pointer;
  transition: transform 0.3s;
}

.mail-icon img:hover {
  transform: scale(1.1);
}

#contact {
  text-align: center;
}

/* =========================
   Responsive
========================= */
@media (max-width: 768px) {
  body {
    flex-direction: column;
  }

  .side {
    display: none; /* hide sidebars on mobile */
  }

  .center {
    flex: none;
    width: 100%;
    padding: 20px;
    min-height: 100vh;
  }

  #nav {
    flex-direction: row;
    gap: 10px;
  }

  .nav_element {
    font-size: 1rem;
    padding: 8px;
  }
}

