@import url('https://fonts.googleapis.com/css2?family=Edu+NSW+ACT+Foundation:wght@500&display=swap');

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  margin: 0;
  display: flex;
  justify-content: center;
  box-sizing: border-box;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

.heading {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  margin-bottom: 60px;
  font-size: 1.5rem;
  text-align: center;
}

.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 20px;
}

.color-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.box {
  color: black;
  width: 300px;
  height: 150px;
  margin: 10px;
  background-color: red;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
  font-weight: bold;
  font-size: 25px;
  cursor: pointer;
}

/* Message */

.hide {
  display: none;
}

.message-container {
  position: fixed;
  width: 100%;
  height: 100vh;
}

.message {
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.808);
  display: flex;
  align-items: center;
}

.message h1 {
  background-color: #869b6e;
  width: 100%;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
  color: black;
  text-align: center;
}

/* Responsive Styles */
@media (max-width: 768px) {
  .heading {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.2rem;
    margin-bottom: 40px;
  }

  .box {
    width: 100%;
    height: 100px;
    font-size: 20px;
    margin: 5px 0;
  }

  .message h1 {
    font-size: 60px;
    height: 200px;
  }
}

@media (max-width: 480px) {
  .heading {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1rem;
    margin-bottom: 20px;
  }

  .box {
    width: 100%;
    height: 120px;
    font-size: 16px;
    margin: 5px 0;
  }

  .message h1 {
    font-size: 40px;
    height: 150px;
  }
}
