/* body */
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  max-width: 100vw;
}


/* header */
header {
  max-width: 100%;
  flex-shrink: 0;
  display: flex;
  flex-direction: row;
  background-color: rgb(15, 25, 42);
  align-items: center;
}

.h_element{
  display: flex;
}
.navbar-toggler {
  display: none;
}

.header-container{
  margin-top: 10px;
  margin-left: 30px;
}

.header_title {
  font-size: 40px;
  color: #ecb146;
  font-family: 'EB Garamond';
  font-weight: lighter;
  text-align: left;
  margin:0;
}

.subtitle {
  font-size: 16px;
  color: #c5c5c5;
  font-style: italic;
  font-family: Arial, sans-serif; /* Standard-Browser-Schriftart */
  text-align: left;
  margin-top: 0.5rem; /* Abstand zum Header */
}
  a {
    text-decoration: none;
    color: inherit;
  }
  a:hover {
    text-decoration: none; /* Beispiel: Entfernt Unterstreichungen */
    color: inherit; /* Beispiel: Behält die Farbe bei */
    /* Weitere Eigenschaften, die zurückgesetzt werden sollen */
  }
  .menu {
    right: 0;
    gap: 1rem;
    margin-left: auto;
    margin-right: 50px;
    font-family: 'Oxygen', sans-serif;
    font-size: x-large;
  }
  .menu a {
    text-decoration: none;
    margin-left: 20px;
    margin-right: 20px;
    color: #ecb146;
    font-family: 'Oswald', sans-serif;
  }
  .custom-select {
    position: relative;
    font-size: 16px;
    border: 1px solid #ecb146;
    background-color: rgb(15, 25, 42);
    border-radius: 5px;
    width: 100px;
    cursor: pointer;
    color:#f1f1f1;
  }
  
  .select-selected {
    /* padding: 10px; */
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .flag-icon {
    width: 20px;
    height: auto;
    margin-left: 10px;
  }
  
  .select-items {
    position: absolute;
    background-color: rgb(15, 25, 42);
    border: 1px solid #ecb146;
    width: 100%;
    top: 100%;
    left: 0;
    z-index: 99;
    display: none;
  }
  
  .select-items div {
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .select-items div:hover {
    background-color: #ecb146;
  }
  
  .select-hide {
    display: none;
  }
  
  .select-items.select-show {
    display: block;
  }
  

/* Main */
  main {
    flex: 1;
    }

  /* footer */
  footer {
    max-width: 100%;
    flex-shrink: 0;
    margin-top: auto;
    background-color: rgb(15, 25, 42);
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .footer_content{
    width: 60%;
    color: #ecb146;
    font-size: medium;
    font-family: 'Oswald', sans-serif;
  }
  
  @media (max-width: 768px) {
    .header-container {
      position: relative;
      display: flex;
      flex-direction: column; /* Elemente in einer Spalte anordnen */
      justify-content: center; /* Zentriere den Titel */
      align-items: center; /* Zentriere die Elemente horizontal */
      padding: 0 15px;
      margin:0;
      margin-top: 10px;
      width: 100%;
  }

  .header_title {
      position: relative;
      font-size: 7vw; /* Angepasste Schriftgröße für mobile Ansicht */
      text-align: center; /* Text zentrieren */
      margin: 0; /* Abstand oben und unten entfernen */
  }

  .subtitle {
      width:80%;
      position: relative;
      font-size: 3vw; /* Schriftgröße für bessere Lesbarkeit */
      text-align: center; /* Text zentrieren */
      margin-top: 5px; /* Abstand zwischen Titel und Untertitel */

  }

    .navbar-toggler {
      display: block;
      position: absolute;
      right: 15px; /* Position the button 15px from the right edge */
      color: #ecb146;
      font-size: 6vw;
      border: none;
      background: none;
    }

    .menu {
      display: none;
    }
    
    .text-center.activate {
      display: block;  
      position: relative;
      width:100%;
      height: 220px; /* Passt die Höhe an, um genug Platz für den Inhalt zu schaffen */
      transition: width height 0.5s ease-in; /* Sanfte Animation */
    }

    .header-container.activate{
      display: block;
      position: relative;
      margin: 0px;
    }
    .menu.activate {
      display: block;
      position: relative; /* Positioniert das Menü absolut unter dem Header */
      width: 50%;
      margin: 0 25%;
      left: 0;
      z-index: 1000; /* Damit das Menü vor anderen Elementen steht */
    }

    .menu.menu.activate > * {
      display: block;
      position: relative;
      text-align: center;
      margin: 5px 25%;
      width: 50%;
    }
    footer {
      max-width: 100%;
      flex-shrink: 0;
      margin-top: auto;
      background-color: rgb(15, 25, 42);
      padding: 1rem;
      box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
      display: flex;
      justify-content: space-between;
      align-items: center;
    }
    .footer_content > p{
      width: 60%;
      color: #ecb146;
      font-size: medium;
      font-family: 'Oswald', sans-serif;
    }

}