body {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-color: #f5f5f5;
  display: flex;
  flex-direction: row;
  /* Change from column to row */
  flex-wrap: wrap;
  /* Allow wrapping on smaller screens */
  justify-content: center;
  gap: 2rem;
  background-image: url("web_images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  /* Add a dark overlay to improve text readability */
  background-color: rgba(0, 0, 0, 0.5);
  background-blend-mode: overlay;
  position: relative;
  padding-top: 4rem;
}

h2 {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  text-align: center;
  width: 100%;
  margin: 1rem 0;
  color: white;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: 2.5rem;
}

.large-button {
  width: 250px;
  height: 60px;
  background-color: #4caf50;
  border: none;
  color: white;
  font-size: 1.2rem;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  margin: 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background-color: rgba(76, 175, 80, 0.9);
  /* slightly transparent */
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
  /* adds frosted glass effect */
  display: flex;
  align-items: center;
  justify-content: space-between;
  /* changed from center */
  padding: 0 20px;
  /* add padding for icon spacing */
  position: relative;
  /* for absolute positioning of icon */
}

.large-button i {
  font-size: 1.4rem;
  margin-right: auto;
  /* pushes icon to the right */
}

.large-button span {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.large-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  background-color: #45a09d;
}

.large-button:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.button-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 1rem 0;
  padding: 1rem;
  background-color: rgba(0, 0, 0, 0.2);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.button-group h3 {
  color: white;
  margin-bottom: 1rem;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
  font-size: x-large;
}
