/* ───────── Global reset ───────── */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ───────── Root variables ───────── */
:root {
  --background-color: #000000;
  --navigation-text-color: #dfdfdf;
  --navigation-hover-underline: #03A062;
  --navigation-hover-second-color: #5f14e0;
}

@font-face {
  font-family: 'Jua';
  src: url('../fonts/Jua/Jua-Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: 'Signika';
  src: url('../fonts/Signika/Signika-VariableFont_GRAD,wght.ttf') format('truetype');
  font-weight: 700;
  font-style: normal;
}

/* ───────── Base body ───────── */
body {
  background-color: var(--background-color);
  font-family: 'Jua', 'Signika', 'Work Sans', 'Segoe UI', Roboto,
    'Helvetica Neue', Arial, sans-serif;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  text-align: center;
}

/* ───────── Header & Navigation ───────── */
header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--navigation-text-color);
  width: 100%;
  min-height: 8rem;
  position: fixed;
  z-index: 1;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.8);
}

#logo_img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  cursor: pointer;
}

#navi_name {
  display: flex;
  align-items: center;
  margin-left: 10rem;
}

#name {
  font-size: 2em;
  padding: 20px;
  cursor: pointer;
}

#navi_menu ul li {
  display: inline-block;
  position: relative;
}

#navi_menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
  padding: 10px;
  position: relative;
}

#navi_menu ul li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 0;
  height: 1.8px;
  margin-left: 11px;
  background-color: var(--navigation-hover-second-color);
  transition: width 0.3s ease-in-out;
}

#navi_menu ul li a:hover::after {
  width: 50%;
}

ul {
  display: flex;
  gap: 40px;
  margin-right: 5rem;
}

li {
  list-style: none;
}

.navi_item {
  text-decoration: none;
  color: var(--navigation-text-color);
  font-size: 1.3rem;
}

.navi_item:hover {
  color: var(--navigation-hover-second-color);
}

/* ───────── Language Flags ───────── */
#language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 2rem;
}

.lang-flag {
  width: 50px;
  height: 50px;
  background-color: aliceblue;
  border-radius: 50%;
  padding: 1px;
  cursor: pointer;
  transition: transform 0.2s ease-in-out;
}

.lang-flag:hover {
  transform: scale(1.2);
}

/* ───────── Privacy-Policy pages ───────── */
body.privacy-page {
  background-color: #f0f0f0;       /* light-gray page background */
}

.privacy-header {
  background-color: #03A062;
  color: #ffffff;
  text-align: center;
  padding: 3rem 1rem;
}

.privacy-header h1 {
  font-size: 2.2rem;
  margin: 0;
}

.privacy-content {
  max-width: 900px;
  background-color: #ffffff;
  margin: 15rem auto;
  padding: 2.5rem;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
  line-height: 1.75;
  font-size: 16px;
}

.privacy-content h2 {
  color: #03A062;
  margin-top: 2.5rem;
  font-size: 1.4rem;
  border-bottom: 1px solid #e0e0e0;
  padding-bottom: 0.4rem;
}

.privacy-content p {
  margin: 1rem 0;
}

.privacy-content ul {
  margin-left: 1.5rem;
  padding-left: 1rem;
}

.privacy-content li {
  margin-bottom: 0.6rem;
}

.privacy-content a {
  color: #03A062;
  text-decoration: underline;
}

/* ───────── Social icons ───────── */
.socials {
  margin-left: 10px;
  width: 50px;
}

.instagram {
  max-width: 50px;
}

/* ───────── Footer ───────── */
footer {
  width: 100%;
  padding: 40px 20px;
  background-color: #222222;
  color: var(--navigation-text-color);
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1rem;
}

#footer-content {
  text-align: center;
  max-width: 800px;
  width: 100%;
}

.footer-socials {
  margin-bottom: 20px;
}

.footer-socials a img {
  padding: 10px;
  background-color: #dfdfdf;
  border-radius: 50%;
  transition: background-color 0.3s ease;
}

.footer-socials a img:hover {
  background-color: #9b69f1;
}

.footer-info p {
  margin: 5px 0;
  color: var(--navigation-text-color);
  font-size: 1.2rem;
  margin-top: 20px;
}

hr {
  margin-top: 20px;
}

.footer-info a {
  color: #9b69f1;
  text-decoration: none;
  font-weight: 500;
}

.footer-info a:hover {
  text-decoration: underline;
}

#copy_para {
  margin-top: 25px;
  font-size: 0.9rem;
  color: #aaa;
}

/* ───────── Responsive tweaks ───────── */

@media (max-width: 900px) {
    header {
      flex-direction: column;
    }

    #navi_name {
      margin: 20px auto;
    }

    .navi_item {
      margin: 0 auto;
    }
}

@media (max-width: 600px) {
#logo_img {
        width: 55px;
        height:55px;
    }

    #name {
        font-size: 1.1em;
        padding: 20px;
        width: 100%;
        cursor: pointer;
    }

  .privacy-content {
    margin: 12rem 1rem 2rem;
    padding: 1.5rem;
  }

  .privacy-header h1 {
    font-size: 1.6rem;
  }

  .privacy-content h2 {
    font-size: 1.2rem;
  }

  .daten-container {
    display: flex;
    flex-direction: column;
  }

}
