@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&display=swap');

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

body {
  background-color: #1d2136;
  color: white;
  font-family: 'Inter', sans-serif;
}

nav {
  padding: 10px;
}

h1 {
  text-transform: uppercase;
  letter-spacing: 8px;
  font-weight: 800;
  font-size: 2.5rem;
}

header {
  position: relative;
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

p {
  font-size: 1.5rem;
  padding: 35px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 16px;
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 0.5px solid rgba(255, 255, 255, 0.87);
}

.hexagon {
  clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);
  animation: pulse 2s infinite;
  transform: rotateZ(90deg);
}

#light-blue-hexagon {
  position: absolute;
  top: -3rem;
  left: 6rem;
  width: 75px;
  height: 85px;
  background-color: #5a5fdf;
  animation-delay: 0.2s;
  z-index: -1;
}
#brown-hexagon {
  position: absolute;
  top: 4rem;
  left: 33.5rem;
  width: 45px;
  height: 55px;
  background-color: #835940;
  animation-delay: 0.4s;
}
#purple-hexagon {
  position: absolute;
  top: 7rem;
  right: 30.5rem;
  width: 45px;
  height: 55px;
  background-color: #4c2c93;
  animation-delay: 0.4s;
}
#green-hexagon {
  position: absolute;
  bottom: 9rem;
  left: 23rem;
  width: 75px;
  height: 85px;
  background-color: #079067;
  animation-delay: 0.6s;
  animation-direction: reverse;
}
#lighter-blue-hexagon {
  position: absolute;
  bottom: 0;
  right: 24rem;
  width: 75px;
  height: 85px;
  background-color: #2658d8;
  animation-delay: 0.4s;
  animation-direction: reverse;
}
#red-hexagon {
  position: absolute;
  top: 7rem;
  right: 20rem;
  width: 75px;
  height: 85px;
  background-color: #d32426;
  animation-delay: 0.8s;
  animation-direction: reverse;
}
#orange-hexagon {
  position: absolute;
  top: 14.5rem;
  left: 28rem;
  width: 45px;
  height: 45px;
  background-color: orange;
  animation-delay: 0.8s;
  animation-direction: reverse;
  z-index: -1;
}

@media (max-width: 600px) {
  header {
    min-height: 60vh;
    padding: 20px;
  }

  p {
    font-size: 1.4rem;
    padding: 0 5px;
  }

  #purple-hexagon {
    top: 0;
    left: 5rem;
    width: 50px;
    height: 50px;
  }
  #yellow-hexagon {
    top: 2.5rem;
    left: 15rem;
    width: 35px;
    height: 35px;
  }
  #green-hexagon {
    bottom: 0;
    left: 7rem;
    width: 75px;
    height: 75px;
  }
  #blue-hexagon {
    bottom: 3rem;
    right: 7rem;
    width: 75px;
    height: 75px;
  }
  #peach-hexagon {
    top: 5rem;
    right: 7rem;
    width: 45px;
    height: 45px;
  }
}

@keyframes pulse {
  0% {
    opacity: 0.5;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.5;
  }
}
