/* Universal Styling */

body{
  margin: 0;
}
html {
  scroll-behavior: smooth;
}
a, h1, h2, h3, h4, h5, h6, p, button {
  font-family: neue montreal,-apple-system,BlinkMacSystemFont,avenir next,avenir,segoe ui,helvetica neue,helvetica,Cantarell,Ubuntu,roboto,noto,arial,sans-serif;
}

/* Navigation Section Styling */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

nav{
  position: fixed;
  z-index: 99;
  width: 100vw;
  background: white;
  box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.1); /* Fügt einen Schatten hinzu, um die Navigationsleiste abzuheben */
}

nav .wrapper{
  position: relative;
  max-width: 1200px;
  padding: 0px 30px;
  height: 70px;
  line-height: 70px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav .wrapper a{
  text-decoration: none;
}

.wrapper .nav-links{
  display: inline-flex;
}

.nav-links li{
  list-style: none;
}

.nav-links li a{
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 9px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

.nav-links li a:hover{
  color: grey;
}

.nav-links .mobile-item{
  display: none;
}

.nav-links li:hover .drop-menu,
.nav-links li:hover{
  transition: all 0.3s ease;
  top: 70px;
  opacity: 1;
  visibility: visible;
}

.wrapper .btn{
  color: black;
  font-size: 20px;
  cursor: pointer;
  display: none;
}

.wrapper .btn.close-btn{
  color: white;
  position: absolute;
  right: 55px;
  top: 15px;
}

/* Responsive styles for smaller screens */
@media screen and (max-width: 970px) {
  .wrapper .btn{
    display: block;
  }
  .wrapper .nav-links{
    position: fixed;
    height: 100vh;
    width: 100%;
    top: 0;
    left: -110%;
    background: #242526;
    display: block;
    padding: 50px 10px;
    line-height: 50px;
    overflow-y: auto;
    transition: all 0.3s ease;
  }
  /* custom scroll bar */
  ::-webkit-scrollbar {
    width: 10px;
  }
  ::-webkit-scrollbar-track {
    background: #242526;
  }
  ::-webkit-scrollbar-thumb {
    background: #3A3B3C;
  }
  #menu-btn:checked ~ .nav-links{
    left: 0%;
  }
  #menu-btn:checked ~ .btn.menu-btn{
    display: none;
  }
  #close-btn:checked ~ .btn.menu-btn{
    display: block;
  }

  .btn.menu-btn:hover {
    color: grey;
    transition: all 0.3s ease;
  }  
  .btn.close-btn:hover {
    color: grey;
    transition: all 0.3s ease;
  }  

  .nav-links li{
    margin: 15px 10px;
  }
  .nav-links li a{
    color: white;
    padding: 0 20px;
    display: block;
    font-size: 20px;
  }
  .nav-links .desktop-item{
    display: none;
  }
  .nav-links .mobile-item{
    display: block;
    color: #f2f2f2;
    font-size: 20px;
    font-weight: 500;
    padding-left: 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease;
  }
  .nav-links .mobile-item:hover{
    background: #3A3B3C;
  }
  .nav-links{
    margin-top: 0px;
  }
}

nav input{
  display: none;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  height: 50px;
  display: block;
}

#site-name {
  font-size: 20px;
  color: black;
}

#site-name:hover {
  color: grey;
  transition: all 0.3s ease;
}



/* Intro Section Styling*/
.intro {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
  padding: 70px 0; /* Adjust the padding as needed */
  background: linear-gradient(135deg, rgba(52, 152, 219,0.5) 0%,rgba(243, 65, 65, 0.4) 100%);
  border-bottom-right-radius: 100px; /* Adjust the value as needed */
  border-bottom-left-radius: 100px; /* Adjust the value as needed */
  }


.intro p {
  font-size: 20px;
  line-height: 1.5;
  margin: 0px;
}

@media screen and (max-width: 800px){
  .intro p{
    font-size: 16px;
    padding: 10px;
  }
  .intro h2 {
    padding: 10px;
  }
}



/* Chart Section Styling*/
.chart-container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 40px 0;
}

text {
  font-size: 10px;
  pointer-events: none;
}

.link {
  fill: none;
  stroke: #aaa; /* Adjust link color to a lighter shade of gray */
  stroke-width: 1px;
  stroke-dasharray: 5, 5; /* Set the stroke-dasharray to create a dashed border */
}

circle {
  fill: white; /* Adjust node color to a shade of purple */
  stroke: #333; /* Adjust node border color to a darker purple */
  stroke-width: 1px;
}

/* Add this CSS to your stylesheet or in a style tag in your HTML */
.chart-container svg {
  height: 100%;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3); /* Adjust shadow properties as needed */
  background-color: white;
}

/* Modal CSS */
.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0,0,0,0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
}

.modal-content h2 {
  text-align: center;
}

.modal-content p {
  text-align: center;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  transition: all 0.3s ease-out;

}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}

@media screen and (max-width: 800px){
  .chart-container svg{
    width: 90%;
    height: 300px;
  }
}




/* More Info */
.button {
  font-size: 1em;
  background-color: #333;
  padding: 10px 20px;
  color: #fff;
  border: none;
  border-radius: 5px; 
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
  cursor: pointer; 
}

.button:hover {
  color: grey;
}

#moreInfo {
  margin: 0 auto;
  background: rgba(255,255,255,0.2);
  padding: 35px;
  border: 2px solid #fff;
  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

@media (max-width: 768px) {
  .modal-content {
    width: 80%; /* Adjusted width for smaller screens */
    position: fixed; /* Position the modal content fixed */
    top: 30%; /* Move the top of the modal to the middle of the viewport */
    left: 50%; /* Move the left of the modal to the middle of the viewport */
    transform: translate(-50%, -50%); /* Translate the modal to center it */
  
  }
}




/* Footer-Styling */
#footer {
  background: linear-gradient(135deg, rgba(52, 152, 219,0.5) 0%,rgba(243, 65, 65, 0.4) 100%);
  padding: 40px 0; /* Innenabstand oben und unten im Footer */
  text-align: center; /* Zentriert den Inhalt horizontal */
  max-width: 1200px;
  margin: 0 auto;
  border-top-right-radius: 100px; /* Adjust the value as needed */
  border-top-left-radius: 100px; /* Adjust the value as needed */
}

.footer-content {
  display: flex;
  justify-content: space-around;
}

.footer-section {
  flex: 1; /* Gleiche Breite für alle Footer-Abschnitte */
  text-align: left;
  padding: 20px;
}

h4 {
  font-size: 18px; /* Stil für Überschriften im Footer */
}

.footer-section ul {
  list-style: none; /* Entfernt Aufzählungspunkte */
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px; /* Abstand zwischen den Listenelementen */
}

.footer-section a {
  text-decoration: none;
  color: black;
  margin-right: 10px; /* Abstand zwischen den Social-Media-Links */
}

.footer-section a:hover{
  color: grey;
  transition: all 0.3s ease;
}

@media (max-width: 1400px) {
  .footer-content {
      flex-direction: column;
      align-items: center;
  }

  .footer-section {
      max-width: 100%; /* Full width on smaller screens */
      text-align: center; /* Center the list items on smaller screens */
      padding: 0;
  }
}