body {
  background-color: black;
  color: white;
  font-family: Arial, sans-serif;
  text-align: center;
  margin: 0;
  padding: 20px;
}

h1 {
  font-family: cursive;
  margin-bottom: 5px;
  font-size: 50px;
  color: antiquewhite;
}

p {
  font-size: 14px;
  margin-top: 0;
  color: #c4c9d3;
}

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 80px;
  margin-top: 80px;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.box {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100px;
  border-radius: 15px;
  color: white;
  font-size: 18px;
  font-weight: bold;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

/* Theme Colors */
.box1 {
  background-color: #2a9d8f;
}

.box2 {
  background-color: #e63946;
}

.box3 {
  background-color: #ffb803d4;
}

.box4 {
  background-color: #8d99ae;
}

/* Hover Effect */
.box:hover {
  filter: brightness(1.3);
  transform: scale(1.05);
}

.info-text {
  text-align: center;
  font-size: 1rem;
  color: #c0e7f2;
  margin-top: 40px;
  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;
  z-index: 100;
}

.back-button:hover {
  background-color: #e6b800;
}

/* ----------------
   Responsive Design
-----------------*/

/* Tablets (max-width: 992px) */
@media (max-width: 992px) {
  .grid {
    gap: 50px;
    grid-template-columns: 1fr 1fr;
    max-width: 90%;
    margin-top: 60px;
  }

  h1 {
    font-size: 42px;
  }

  .box {
    height: 90px;
    font-size: 16px;
  }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 35px;
    max-width: 95%;
    margin-top: 50px;
  }

  h1 {
    font-size: 36px;
  }

  .box {
    height: 80px;
    font-size: 15px;
  }
}

/* Small Phones (max-width: 480px) */
@media (max-width: 480px) {
  h1 {
    font-size: 28px;
  }

  p {
    font-size: 13px;
  }

  .box {
    height: 70px;
    font-size: 14px;
  }

  .back-button {
    padding: 6px 12px;
    font-size: 0.9rem;
    top: 15px;
    left: 15px;
  }
}
