body {
  margin: 0;
  font-family: Arial, sans-serif;
  background-color: #0b0b0b;
  color: white;
  text-align: center;
}

h1 {
  font-family: cursive;
  font-size: 3rem;
  margin-top: 40px;
  color: antiquewhite;
}

.tagline {
  font-size: 1rem;
  color: #c2d2e0;
  margin-bottom: 50px;
}

.container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  padding: 50px;
}

.box {
  width: 300px;
  height: 170px;
  border-radius: 15px;
  transition: all 0.4s ease;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.5rem;
  font-weight: bold;
  text-decoration: none;
  color: white;
}

.box1 {
  background-color: #2a9d8f;
}

.box2 {
  background-color: #e63946;
}

.box3 {
  background-color: #ffb803d4;
}

.box:hover {
  transform: scale(1.05);
  opacity: 0.85;
}

.info-text {
  text-align: center;
  font-size: 1rem;
  color: #c0e7f2;
  margin-top: 80px;
  font-weight: 500;
  font-family: sans-serif;
  letter-spacing: 0.5px;
  opacity: 0.85;
}

.back-button {
  position: absolute;
  top: 20px;
  left: 20px;
  background-color: #ffcc00;
  color: black;
  padding: 8px 14px;
  border-radius: 20px;
  font-size: 1rem;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s ease;
}

.back-button:hover {
  background-color: #e6b800;
}

/* --------------------------
   Responsive Design
---------------------------*/

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .container {
    gap: 30px;
    padding: 40px 30px;
  }

  .box {
    width: 260px;
    height: 150px;
    font-size: 1.3rem;
  }

  h1 {
    font-size: 2.5rem;
  }

  .tagline {
    font-size: 0.95rem;
    margin-bottom: 40px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .container {
    gap: 25px;
    padding: 30px 20px;
  }

  .box {
    width: 100%;
    max-width: 320px;
    height: 140px;
    font-size: 1.2rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  .tagline {
    font-size: 0.9rem;
    margin-bottom: 35px;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  .container {
    padding: 20px 15px;
    gap: 20px;
  }

  .box {
    width: 100%;
    max-width: 280px;
    height: 130px;
    font-size: 1.1rem;
  }

  h1 {
    font-size: 1.8rem;
    margin-top: 30px;
  }

  .tagline {
    font-size: 0.85rem;
    margin-bottom: 30px;
  }

  .back-button {
    padding: 6px 12px;
    font-size: 0.9rem;
    top: 15px;
    left: 15px;
  }
}
