 /* Interner CSS-Code für grundlegende Stile */
 body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: white;
    
    
}

header {
  background-color: #1B5E3C;
  padding-top: 20px;
  padding-bottom: 30px;
}

.navbar {
    padding-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 24px;
    position: relative;
    
  }



  
  .nav-menu {
    display: flex;
    justify-content: flex-end; /* Ändern Sie diese Zeile */
   
    gap: 60px;
    color: white;
    margin-top: 2.5vh;
    margin-left: auto; /* Fügen Sie diese Zeile hinzu */
    list-style: none;
  }
  
  .nav-branding {
    color: white;
    padding: 0;
    font-weight: normal;
    margin: 5px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 25px;
  }


/* Container für das Logo und den Titel */
.logo-container {
  text-align: center;

}

/* Haupttitel (Logo) */
.logo-container h1 {
  font-size: 36px;
  margin: 0;
  color: #ffffff;
  font-weight: bold;
}

/* Link im Titel (Logo) */
.logo-container h1 a {
  text-decoration: none;
  color: #ffffff;
}

/* Untertitel */
.logo-container .subtitle {
  font-size: 18px;
  margin-top: 10px;
  color: #d3d3d3;
}
 
  @media(max-width: 768px) {
    .nav-branding {
        padding: 0;
        font-weight: normal;
        margin: 5px;
        position: absolute;
        left: 50%;
        transform: translateX(-50%);
        margin-top: 25px;
      }
    
    
    
    
    .logo-container {
        text-align: center; /* Zentriere den Text im Container */
      
    }
    
    
    h1 a {
     
        text-decoration: none; /* Entferne die Unterstreichung */
        color: white;
        font-size: 30px;
       
        
    }
    .subtitle {
      display: block;
      font-size: 10px;
    }
     
  
   
  }
  
  .nav-link {
    position: relative;
    color: white;
    text-decoration: none;
  }
  

  
  .nav-link:hover::before {
    width: 100%;
  }
  
  .hamburger {
    display: none;
    cursor: pointer;
    color: white;
    margin: 5px;
    position: relative;
    width: 30px;
    height: 24px;
  }
  
  .bar {
    width: 100%;
    height: 4px;
    background-color: white;
    border-radius: 2px;
    position: absolute;
    left: 0;
    transition: all 0.5s ease;
  }
  
  .bar:nth-child(1) {
    top: 0;
  }
  
  .bar:nth-child(2) {
    top: 10px;
  }
  
  .bar:nth-child(3) {
    top: 20px;
  }
  
  .hamburger.active .bar:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }
  
  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  @media(max-width: 768px) {
    .hamburger {
        display: block;
        margin-left: auto;
  
    }
  
    .nav-menu {
        position: absolute;
        left: -115%;
        top: 40px;
        gap: 0;
        flex-direction: column;
        width: 90%;
        transition: 0.3s;
        z-index: 1;
        background-color: #1B5E3C;


        
        
    }
  
    .nav-item {
         margin-bottom: 10px;
        color: rgb(50, 109, 168);
        padding: 10px 70px;
        font-weight: bold;
        font-size: 18px;
    }
  
    .nav-link {
        position: relative;
      
        text-decoration: none;
      }
    .nav-menu.active {
        left: 0;
    }
  
  }
  





main {
    width: 90%;
    margin: 0 auto;
    overflow: hidden;
    margin-top: 30px;
}

/* Style für die Buttons */
.button-container {
    display: flex; /* Flexbox für zentriertes Layout */
    justify-content: center; /* Zentriert die Buttons horizontal */
   
    margin-bottom: 20px; /* Abstand unter den Buttons */
    gap: 2%;
    margin-right: 5%;
    margin-left: 5%;

}

.button {
    padding: 10px;
    width: 50%; /* Breite anpassen, um Platz für den Abstand zu schaffen */
    cursor: pointer;
    border: 1px solid #1B5E3C; 
    border-radius: 25px;
    background-color: #1B5E3C;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   
}



.stock-list-article {
    display: flex; /* Flexbox aktivieren */
    flex-wrap: wrap; /* Zeilenumbruch aktivieren */
    list-style-type: none; /* Keine Aufzählungszeichen */
    text-align: left;
    margin-left: -20px;


}
.stock-list-article li {
    margin-right: 10px;
    color: white;
    

}

.premium-label {
  font-weight: bold;
  color: #ff9800;
  font-size: 1.1em;
  margin-left: 20px; /* Abstand zwischen Aktienliste und Premium-Label */
  margin-top: -10px;
}



  /* Entferne die Standard-Link-Stile für Aktien */
  #stock-list-article a {
    color: white; /* Setze die Schriftfarbe auf Schwarz */
    text-decoration: none; /* Entferne die Unterstreichung */
    font-weight: bold;
}


.article {
    border: 1px solid #1B5E3C; 
    padding: 10px;
    margin: 10px 0;
    margin-right: 5%;
    margin-left: 5%;
    border-radius: 5px;
    text-decoration: none; /* Link-Eigenschaften entfernen */
    color: white; /* Erbt die Schriftfarbe */
    display: block; /* Macht den gesamten Bereich anklickbar */
    background-color: #1B5E3C;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 25px;
    
}



.title {
  padding: 20px;
  padding-top: 0;
  margin-bottom: 0;
}


.category {
    font-weight: bold;
}
.original-articles {
    list-style-type: none;
    padding: 0;
}
.original-articles li {
    margin-bottom: 1px;
}

.summary {
    font-style: italic;
    font-size: 16px;
    margin-top: -18px;
    color: white;
}


footer {
    color: white;
    text-align: center;
    padding: 10px 0;
    position: absolute;
    bottom: 0;
    width: 100%;
}













/* Container für Aktieninformationen */
#stocks-container {
    display: none; /* Standardmäßig versteckt */
}
/* Style für die Suchleiste */
.search-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
    margin-bottom: 20px; /* Abstand unter dem Suchfeld */
}

.search-input {
    padding: 10px;
    font-size: 16px;
    width: 600px; /* Breite der Suchleiste */
    border: 1px solid #1B5E3C; 
    border-radius: 25px; /* Abgerundete Ecken */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    color: white;
    background-color: #1B5E3C;

    margin-right: 5%;
    margin-left: 5%;
   
}

.stock-list {
    display: flex; /* Flexbox aktivieren */
    flex-wrap: wrap; /* Zeilenumbruch aktivieren */
    list-style-type: none; /* Keine Aufzählungszeichen */
    padding: 0; /* Kein Padding */
    margin: 0; /* Kein Margin */
    margin-right: 5%;
    margin-left: 5%;
    gap: 1%;
}

.stock-list li {
    padding: 10px; /* Innenabstand für die Aktien */
    border: 1px solid #1B5E3C; 
    border-radius: 25px; /* Abgerundete Ecken */
    background-color: #1B5E3C; /* Hintergrundfarbe */
    flex: 1 0 150px; /* Flex-Eigenschaften: wächst und hat eine Basisbreite von 150px */
    text-align: center; /* Text zentrieren */
    text-decoration: none; /* Keine Unterstreichung */
    color: #1B5E3C; /* Schriftfarbe (hier auf Weiß gesetzt) */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    margin-bottom: 10px;
    
    font-weight: bold;
}

.stock-list li a {
    text-decoration: none; /* Keine Unterstreichung für Links */
    color: white; /* Schriftfarbe für Links (hier auf Weiß gesetzt) */
}



@media (max-width: 768px) {


    main {
        width: 90%;
        margin-top: 0;
    }
.title {
    padding: 20px;
    padding-top: 0;
    margin-bottom: 0;
    font-size: 22px;
  }


.button-container {
    display: flex; /* Flexbox für zentriertes Layout */
    justify-content: center; /* Zentriert die Buttons horizontal */
    margin-top: 20px;
    margin-bottom: 20px; /* Abstand unter den Buttons */
    gap: 6%;

}

.button {
    padding: 10px;
    width: 47%; /* Breite anpassen, um Platz für den Abstand zu schaffen */
    cursor: pointer;
    border: 1px solid #1B5E3C; 
    border-radius: 25px;
    background-color: #1B5E3C;
    color: white;
    font-size: 16px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
   
}


.title {
  padding: 20px;
  padding-top: 0;
  margin-bottom: 0;
  font-size: 20px;
}

 }


 
 


 /* Container für die Abo-Aufforderung */
.subscription-prompt {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  max-width: 600px;
  margin: 30px auto;
}

/* Überschrift innerhalb des Containers */
.subscription-prompt h2 {
  font-size: 1.5rem;
  color: #1B5E3C;
  margin-bottom: 20px;
}

/* Button zum Erstellen eines Profils und Abonnieren */
.subscribe-button {
  display: inline-block;
  padding: 15px 30px;
  font-size: 1rem;
  color: #fff;
  background-color: #1B5E3C;
  border: none;
  border-radius: 4px;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}


/* Medienanfragen */
@media (max-width: 768px) {
  .subscription-prompt {
      padding: 15px;
  }

  .subscription-prompt h2 {
      font-size: 1.25rem;
  }

  .subscribe-button {
      
      padding: 15px;
  }
}
