* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body,
html {
  height: 100%;
  font-family: "Inter", sans-serif;
  background: #ffffff url("./assets/images/background.png") center/cover
    no-repeat;
}
@font-face {
  font-family: "Clash Display";
  src: url("/assets//fonts/ClashDisplay-Variable.ttf") format("truetype");
  font-weight: 100 900;
  font-style: normal;
}

.banner {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  height: 100vh;
  color: #fff;
  padding: 0 20px;
}

#header {
  width: 90%;
  position: fixed;
  top: 1.5rem;
  left: 50%;
  transform: translate(-50%, -140%);
  display: flex;
  padding: 18px 20px;
  justify-content: space-between;
  align-items: center;
  box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.15);
  border-radius: 18px;
  background-color: #ffffff56;
  backdrop-filter: blur(9px);
  animation: slideDown 0.4s ease-out 0.86s forwards;
}

@keyframes slideDown {
  0% {
      transform: translate(-50%, -100%);
  }
  100% {
      transform: translate(-50%, 0);
  }
}


.logo-container {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-container span {
  color: #4d4a4a;
  font-size: smaller;
}

.banner-content h1 {
  font-family: "Clash Display", sans-serif;
  font-size: 42px;
  display: inline-block;
  font-weight: 600;
  letter-spacing: 4px;
}
.banner-content h1 span {
  opacity: 0;
  color: #2c5364;
  display: inline-block;
  animation: fadeInLetter 0.5s forwards;
}

.banner-content p {
  transform: translateX(0);
  font-size: 16px;
  color: #4d4a4a;
  max-width: 700px;
  line-height: 1.2;
  margin-top: 12px;
  margin-bottom: 24px;
  opacity: 0;
  animation: slideInBottom 1.5s ease forwards;
  animation-delay: 0.5s;
}

.center-logo img {
  height: 171px;
}

.talrop-logo {
  transform: scale(1.2);
  transition: transform 0.3s;
  display: inline-block;
}

.initiative-text {
  display: inline-block;
  transform: scale(1);
  transform-origin: left center;
  transition: transform 0.3s;
}

/* Tablet: scale to 0.8 */
@media (max-width: 900px) {
  .initiative-text {
    transform: scale(0.8);
    margin-right: -17px;
  }
}

/* Mobile: scale to 0.6 */
@media (max-width: 600px) {
  .initiative-text {
    transform: scale(0.6);
    margin-right: -40px;
  }
}

/* Animations */
@keyframes slideInTop {
  0% {
    transform: translate(-50%, -100px);
    opacity: 0;
  }
  100% {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}
@keyframes slideInBottom {
  0% {
    transform: translate(0, 60px);
    opacity: 0;
  }
  100% {
    transform: translate(0, 0);
    opacity: 1;
  }
}

@keyframes fadeInLetter {
  0% {
    opacity: 0;
    transform: translateX(20px) scale(2.5);
  }

  100% {
    opacity: 1;
    transform: translateX(0) scale(1);
  }
}

/* Responsive */
@media (max-width: 768px) {
  .banner-content h1 {
    font-size: 36px;
  }

  .banner-content p {
    font-size: 14px;
  }

  nav {
    padding: 10px 16px;
  }
  nav img {
    height: 30px;
  }
}

@media (min-width: 1440px) {
    #header {
        width: 85%;
    }

}

@media (max-width: 768px) {
    #header {
        padding: 10px 20px;
    }
    .left-logo {
        width: 86px;
        height: 30px;
    }
    .right-logo {
        width: 106px;
        height: 32px;
    }
}

@media (max-width: 540px) {
    #header {
        padding: 10px 20px;
    }
    .left-logo {
        width: 80px;
        height: 30px;
    }
    .right-logo {
        width: 100px;
        height: 32px;
    }
    
}

@media (max-width: 480px) {
    #header {
        padding: 8px 16px;
    }
    .left-logo {
        width: 80px;
        height: 30px;
    }
    .right-logo {
        width: 100px;
        height: 32px;
    }
}