* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: 'Roboto Condensed', sans-serif;
  background-color: #FFEA99; 
  color: #000;
  overflow-x: hidden;
}


h1, h2, p {
  margin: 0;
}

/* HEADER */
header {
  text-align: left;
  padding: 10px 0 0 20px;
}

header h1 {
  font-size: 11rem;
  font-weight: 400;
}

header .subtitle {
  font-size: 2rem;
  margin-left: 20px;
}

/* INTRO SECTION */
.container {
  width: 100%;
 overflow: hidden;
}

.container2 {
 width: 100%;
 overflow: hidden;
 position: relative;
}

.intro {
  text-align: center;
  max-width: 600px;
  margin: 0 auto;
  background-color: #FFEA99;
  border-radius: 50px;
}

.intro h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.intro p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  margin-top: 214px;
  padding-top: 20px;
}

.diver-image {
  width: 60px;
  height: auto;
  margin-left: 916px;
  padding-top: 20px;
  padding-bottom: 30px;
}

.wave-image-container {
  width: 100%;
  height: auto ;
  position: absolute;
  left: 0;
  top: 20px;
  z-index: -1;
  overflow: clip;
}

.wave-image {
  width: 150%;
  transform: translate(-50px);
}

.wave-image-bottom {
  width: 122%;
  height: auto;
  margin-top: 20px;
  position: absolute;
  z-index: -1;
  margin-bottom: -150px; 
  right: 0;
  left: -99px
}

/* INFO AUD */
.info_AUD {
  text-align: center;
  padding-top: 20px;
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  background-color: #FFEA99;
  border-radius: 50px;
}

.info_AUD h2 {
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.info_AUD p {
  font-size: 1.5rem;
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.link_API {
  color: #000;
  text-decoration: underline;
}

.link_API:visited {
  color: #000;
}

/* CURRENCIES SECTION */
.currencies {
  text-align: center;
  padding: 30px;
}

.dive_into {
  font-size: 2rem;
  font-weight: 400;
  text-align: center;
  margin-top: 50px;
}

.cards {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 90px;
  margin-bottom: 280px;
}

.card {
  background-color: #FFFFFF;
  border: 1.5px solid #000;
  border-radius: 20px;
  width: 400px;
  height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 400;
  font-size: 2rem;
}

.plus-majorcurrencies, .plus-asiapacific, .plus-seasia {
  display: none;
}

/* CARD TRANSITION EFFECT */
.card {
  background: none;
  border: none;
  position: relative;
  width: 400px;
  height: 500px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  border: 1.5px solid #000;
  border-radius: 20px;
  background-color: #fff;
  overflow: hidden;
  transition: background-color 0.5s ease;
}

/* Frontseite */
.card-front,
.card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: 400;
  font-size: 2rem;
  transition: opacity 0.5s ease;
}

/* Startzustand: Rückseite unsichtbar */
.card-front {
  opacity: 1;
  z-index: 2;
}


.card-back {
  opacity: 0;
  z-index: 1;
  display: flex;
  justify-content: center; 
  align-items: center;     
  padding: 40px 20px;      
  box-sizing: border-box;
}

/* Hover-Effekt: Front ausblenden, Rückseite einblenden */
.card:hover .card-inner {
  background-color: #FFFFFF;
  color: #000;
  border-color: #000;
}

.card:hover .card-front {
  opacity: 0;
}

.card:hover .card-back {
  opacity: 1;
}

/* Wenn die Front ausgeblendet ist, darf sie keine Pointer-Events mehr blockieren */
.card-front[style*="opacity: 0"], .card:hover .card-front {
  pointer-events: none;
}

/* Die Rückseite soll Pointer-Events empfangen, wenn sichtbar */
.card-back {
  pointer-events: auto;
}

/* Währungsliste */
.currency-list {
  display: flex;
  flex-direction: column;
  justify-content: center;  
  align-items: center;      
  gap: 5px;
  width: 100%;
  max-width: 300px;
  padding: 20px 0;          
  box-sizing: border-box;
}

.currency-list div {
  border: 1.5px solid #fff;
  border-radius: 10px;
  padding: 20px;
  font-size: 1.5rem;
  background-color: #BBC7EE;
  width: 100%;             
  text-align: center;
  transition: background-color 0.3s ease;
}

.currency-list div:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

/* FOOTER */
footer {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  padding: 60px 10%;
  font-size: 0.8rem;
  border-top: 1px solid rgba(0, 0, 0, 0.2);
}

.footer.left,
.footer.middle {
  flex: 1;
  min-width: 220px;
}

footer p {
  margin-bottom: 8px;
}

.fhgr_logo{
  width: 90px;
  height: auto;
}

/* Responsive Design Smaller Laptops */
@media (max-width: 1512px) {
.dive_into {
  margin-top: 10px;
}

.wave-image-bottom {
  bottom: 0px;

}
.diver-image {
  margin-left: 800px;
}
}
  
/* Responsive Design Mobile */
@media (max-width: 640px) {
 header h1 {
  font-size: 4rem;
  margin-left: 1px;
}
 
header .subtitle {
  font-size: 1.5rem;
  margin-left: 5px;
}

.intro p {
  font-size: 1rem;
  margin-top: 120px;
  padding-top: 2px;
}

.intro {
  border-radius: 5px;
  margin: 0 30px;
}

.info_AUD p {
  font-size: 1rem;
  margin-left: 30px;
  margin-right: 30px;
  margin-bottom: 0px;
}

.diver-image {
  width: 40px;
  margin-left: 250px;
  margin-top: 5px;
  margin-bottom:0px;
}

.dive_into {
  font-size: 1.5rem;
  margin-top: 0px;
  margin-bottom: 40px;

}

 /* FOOTER */
  footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 20px;
  }

  .footer.left,
  .footer.middle {
    min-width: unset;
    margin-bottom: 10px;
  }

  .fhgr_logo img {
    width: 60px;
  }

.wave-image-container {
  top: 50px;
}

.wave-image {
  width: 200%;
}

.wave-image-bottom {
  width: 150%;
  bottom: 429px;
  right: 0;
  left: -99px
}

.plus-asiapacific, .plus-seasia, .plus-majorcurrencies {
  display: block;
  margin-top: 435px;
  margin-left: 250px;
  color: #002363;
}

}

