/* Universal Styling */

body{
  margin: 0;
  overflow-x: hidden;
}
html {
  scroll-behavior: smooth;
}
a, h1, h2, h3, h4, h5, h6, p {
  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;
}

.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;
}

#site-name {
  font-size: 20px;
  color: black;
}

#site-name:hover {
  color: grey;
  transition: all 0.3s ease;
}



/* Banner-Styling */
.hero {
  position: relative;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-top: 70px;
}

.context {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.context h1 {
  text-align: center;
  font-size: 50px;
}
.context p {
  text-align: center;
  font-size: 30px;
  color: black;
}

.area {
  background: linear-gradient(135deg, rgba(52, 152, 219,0.5) 0%,rgba(243, 65, 65, 0.4) 100%);
  width: 100%;
  height: 55vh;
  border-bottom-right-radius: 150px; /* Adjust the value as needed */
  border-bottom-left-radius: 150px; /* Adjust the value as needed */
}

.circles {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  padding: 0;
  overflow: hidden;
}

.circles li {
  position: absolute;
  display: block;
  list-style: none;
  width: 3px;
  height: 3px;
  background: #FFF;
  animation: animate 25s linear infinite;
  bottom: -150px;
  backface-visibility: hidden; /* Add this line */
}

/* Adjust animation delays and durations as needed */
.circles li:nth-child(1) { left: 25%; width: 1px; height: 1px; animation-delay: 0s; animation-duration: 15s;}
.circles li:nth-child(2) { left: 10%; width: 2px; height: 2px; animation-delay: 2s; animation-duration: 7s;}
.circles li:nth-child(3) { left: 70%; width: 1px; height: 1px; animation-delay: 4s; animation-duration: 4s;}
.circles li:nth-child(4) { left: 40%; width: 1px; height: 1px; animation-delay: 0s; animation-duration: 8s;}
.circles li:nth-child(5) { left: 65%; width: 1px; height: 1px; animation-delay: 0s; animation-duration: 7s;}
.circles li:nth-child(13) { left: 60%; width: 1px; height: 1px; animation-delay: 2s;animation-duration: 9s;}
.circles li:nth-child(6) { left: 75%; width: 1px; height: 1px; animation-delay: 3s; animation-duration: 5s;}
.circles li:nth-child(7) { left: 35%; width: 1px; height: 1px; animation-delay: 5s; animation-duration: 9s;}
.circles li:nth-child(8) { left: 50%; width: 1px; height: 1px; animation-delay: 5s; animation-duration: 5s;}
.circles li:nth-child(9) { left: 20%; width: 1px; height: 1px; animation-delay: 2s; animation-duration: 6s;}
.circles li:nth-child(10) { left: 85%; width: 1px; height: 1px; animation-delay: 0s;animation-duration: 2s;}
.circles li:nth-child(11) { left: 15%; width: 2px; height: 2px; animation-delay: 0s;animation-duration: 8s;}
.circles li:nth-child(12) { left: 80%; width: 1px; height: 1px; animation-delay: 4s;animation-duration: 5s;}
.circles li:nth-child(14) { left: 30%; width: 3px; height: 3px; animation-delay: 0s;animation-duration: 3s;}
.circles li:nth-child(15) { left: 45%; width: 3px; height: 3px; animation-delay: 5s; animation-duration: 6s;}
.circles li:nth-child(16) { left: 55%; width: 3px; height: 3px; animation-delay: 0s;animation-duration: 15s;}
.circles li:nth-child(17) { left: 90%; width: 3px; height: 3px; animation-delay: 4s; animation-duration: 4s;}
.circles li:nth-child(18) { left: 5%; width: 3px; height: 3px; animation-delay: 2s; animation-duration: 5s;}
.circles li:nth-child(19) { left: 75%; width: 3px; height: 3px; animation-delay: 0s;animation-duration: 6s;}
.circles li:nth-child(20) { left: 25%; width: 3px; height: 3px; animation-delay: 0s;animation-duration: 2s;}
.circles li:nth-child(16) { left: 55%; width: 2px; height: 2px; animation-delay: 3s;animation-duration: 15s;}
.circles li:nth-child(17) { left: 90%; width: 2px; height: 2px; animation-delay: 5s; animation-duration: 4s;}
.circles li:nth-child(18) { left: 5%; width: 2px; height: 2px; animation-delay: 1s; animation-duration: 5s;}
.circles li:nth-child(19) { left: 75%; width: 2px; height: 2px; animation-delay: 1s;animation-duration: 6s;}
.circles li:nth-child(20) { left: 25%; width: 2px; height: 2px; animation-delay: 2s;animation-duration: 5s;}

@keyframes animate {
  0% {
    transform: translateY(0) rotate(0deg);
    opacity: 1;
  }
  100% {
    transform: translateY(-1000px) rotate(720deg);
    opacity: 1;
  }
}

/* Responsive styles for smaller screens */
@media (max-width: 1400px) {
  .hero h1 {
      font-size: 30px;
  }
  .context {
    margin-top: 20px;
  }
  .context p {
      font-size: 20px;
      padding-top: 15px;
  }

  #einleitung {
    padding: 0px;
    max-width: 95%;
  }
  .einleitung-content h2 {
      font-size: 24px; /* Adjust font size for smaller screens */
  }

  .einleitung-content p {
      font-size: 16px; /* Adjust font size for smaller screens */
  }
}



/* Einleitung-Styling */
#einleitung {
  text-align: center; /* Zentriert den Inhalt horizontal */
  padding: 70px 0; /* Fügt Innenabstand hinzu */
  margin: 0 auto;
}

.einleitung-content {
  max-width: 1200px; /* Maximalbreite für den Inhalt */
  margin: 0 auto; /* Zentriert den Inhalt auf der horizontalen Achse */
}

.einleitung-content h2 {
  font-size: 24px; /* Stil für die Überschrift */
  color: #285d81;
}

.einleitung-content p {
  font-size: 20px; /* Stil für den Text */
}

#Ressourcen {
  padding: 40px 0;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

/* Responsive styles for smaller screens */
@media (max-width: 1400px) {
  .area {
    border-bottom-right-radius: 100px; /* Adjust the value as needed */
    border-bottom-left-radius: 100px; /* Adjust the value as needed */
    }
}




/* Revolut Section */
.first, .second, .third {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  height: 300px;
  border-radius: 50px;
  margin-bottom: 60px; /* Add space below the .revolut3 section */
}

.revolut .revo-image,
.revolut .text {
  flex: 1;
}

.first, .second, .third {
  display: flex;
  justify-content: space-between; /* Distribute space evenly between children */
}

.first {
  background: linear-gradient(135deg, #ffe0f4, #f2fffe, #e8fbff);
}

.third {
  background: linear-gradient(135deg, #d0fff4, #f5fffd, #dffff7);
}

.revo-image{
  text-align: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
}

#firstIMG{
  align-items: flex-start;
}
#firstimg{
  max-width: 40%;
}

#secondIMG{
  align-items: flex-start;
}
#secondimg{
  max-width: 70%;
}

#thirdIMG{
  align-items: flex-start;
}
#thirdimg{
  max-width: 50%;
}

.revolut-image {
  height: auto;
}

.text {
  max-width: 50%; /* Text div takes up 50% of the section */
  justify-content: center;
  align-items: center; /* Vertically center items */
  text-align: center;
  display: grid;
  align-content: center;
  padding: 20px;
}

.text h3 {
  margin-top: 0; /* Remove margin from the top of the heading */
}

.text p {
  margin-bottom: 0; /* Remove margin from the bottom of the paragraph */
}

.text a {
  color: black;
  font-weight: bold;
}

.text a:hover {
  color: grey;
  transition: all 0.3s ease;
}

.revolut5 {
  display: flex;
  max-width: 1200px;
  height: 300px;
  overflow: hidden;
  background: linear-gradient(135deg,#d0fff4,#f5fffd,#dffff7);
  border-radius: 50px;
  padding: 40px 0;
  margin: 0 auto; /* Add space on top */
  justify-content: center; /* Center the content horizontally */

}

@media only screen and (max-width: 768px) {
  .revolut {
    flex-direction: column;
    height: auto;
    max-width: 95%;
  }
  .text {
    max-width: 100%;
  }
}




/* Swiper-Styling */
.swiper-title {
  text-align: center;
  font-size: 24px;
  color: #285d81;
  padding-top: 70px;
}

.swiper-container {
  position: relative;
  max-width: 1200px;
  margin: 0 auto; /* Center the swiper container */
  overflow: hidden;
  height: 300px;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
}

.card {
  max-width: 50%;
  background-color: #fff; /* Background color */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Box shadow for a subtle lift */
  border-radius: 12px; /* Slightly larger border-radius */
  transition: transform 0.3s ease; /* Smooth transition on hover */
  position: relative;
}
.swiper-button-prev,
.swiper-button-next {
  color: rgb(40, 93, 129) !important;
}

.swiper-button-prev::after,
.swiper-button-next::after {
  color: rgb(40, 93, 129); /* Change arrow color on hover */
  transition: color 0.3s ease; /* Apply transition effect */
}

.swiper-button-prev:hover::after,
.swiper-button-next:hover::after {
  color: grey; /* Change arrow color on hover */
}


/* Responsive styles for smaller screens */
@media (max-width: 768px) {
  .swiper-container {
    width: 100%; /* Adjust width for smaller screens */
    height: 400px;
  }
  .card {
    max-width: 90%; /* Take up full width on smaller screens */
  }
  .swiper-button-next, .swiper-button-prev {
    display: none !important;
  }
  .swiper-slide {
    font-size: 16px; /* Adjust the font size for smaller screens */
  }
}



/* Insight-Section-Styling */
#articles {
  padding: 70px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

h2 {
  color: #285d81;;
  font-size: 24px;
  flex: 1; /* Allow the h2 to grow and take remaining space */
  margin-left: 10px; /* Add some spacing between h2 and button */
}

a {
  text-decoration: none;
}

.row {
  display: flex;
  flex-wrap: wrap; /* Allow items to wrap to the next line */
  justify-content: space-between;
  margin: 0 auto; /* Center the row horizontally */
}

.col-lg-4 {
  width: calc(33.3333% - 20px); /* Adjust the percentage and spacing as needed */
  margin-bottom: 20px; /* Add margin between items */
  box-sizing: border-box;
  border-radius: 10px;
}

.item {
  display: flex;
  flex-direction: column;
  height: 100%;
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 20px;
  transition: box-shadow 0.3s ease-in-out; /* Add transition for box-shadow property only */
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.item:hover {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
}

h3 {
  font-size: 18px;
  margin-top: 15px;
  margin-bottom: 10px;
  color: #333;
}

img {
  width: 100%;
  height: 200px;
  object-fit: contain;
  border-radius: 8px;
  display: block;
  margin: 0 auto;
  transition: transform 0.2s;
}

.item:hover img {
  transform: scale(1.05); /* Apply scaling effect only on hover */
}

p {
  flex: 1; /* Allow the paragraph to grow and take remaining space */
  color: #555;
  margin-bottom: 15px;
}

.row-button {
  background-color: #333;;
  color: white;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  border-radius: 5px;
  text-decoration: none;
  margin-right: 10px; /* Add margin to the left of the button */
}

.row-button:hover a{
  background-color: grey;
  transition: all 0.3s ease;
}

.date {
  font-size: 12px;
  color: black;
}

/* Media Query for smaller screens */
@media (max-width: 768px) {
  .col-lg-4 {
      width: 95%; /* Adjust the percentage for two items per row */
      margin-bottom: 20px; /* Add margin to the bottom of each item */
      margin: 0 auto;
      padding-bottom: 55px;
  }
}










/* Über-Section-Styling */
#ÜberH {
  max-width: 1200px; /* Maximalbreite für den Inhalt */
  margin: 0 auto; /* Zentriert den Inhalt auf der horizontalen Achse */
  text-align: center; /* Zentriert den Inhalt horizontal */
  padding-top: 70px;
}

.ÜberH-content h2 {
  font-size: 24px; /* Stil für die Überschrift */
  color: #285d81;
}

.ÜberH-content p {
  font-size: 20px; /* Stil für den Text */
  padding: 0 20px;
}










/* Revolut Section */
.fourth {
  display: flex;
  max-width: 1200px;
  margin: 0 auto;
  height: 300px;
  border-radius: 50px;
  margin-bottom: 60px; /* Add space below the .revolut3 section */
}

.fourth {
  display: flex;
  justify-content: space-between; /* Distribute space evenly between children */
}

.fourth{
  background: linear-gradient(135deg, #ffd8cc, #ffe8cc, #ffd8cc);
  padding-top: 70px;
}

.revo-image{
  text-align: center;
  justify-content: center;
  display: flex;
  overflow: hidden;
}

#firstIMG{
  align-items: flex-start;
}
#firstimg{
  max-width: 40%;
}

.revolut-image {
  height: auto;
}

.text {
  max-width: 50%; /* Text div takes up 50% of the section */
  justify-content: center;
  align-items: center; /* Vertically center items */
  text-align: center;
  display: grid;
  align-content: center;
  padding: 20px;
}

.text h3 {
  margin-top: 0; /* Remove margin from the top of the heading */
}

.text p {
  margin-bottom: 0; /* Remove margin from the bottom of the paragraph */
}

.text a {
  color: black;
  font-weight: bold;
}

.text a:hover {
  color: grey;
  transition: all 0.3s ease;
}

@media only screen and (max-width: 768px) {
  .revolut {
    flex-direction: column;
    height: auto;
    max-width: 95%;
  }
  .text {
    max-width: 100%;
  }
}







/* 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: 150px;
  border-top-left-radius: 150px;
}

.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;
  }
  #footer{
  border-top-right-radius: 100px;
  border-top-left-radius: 100px;
}
}














