body {
  font-family: 'Roboto', sans-serif;
  background-color: #F7F7F7;
  color: #333;
  margin: 0;
  padding: 0;
  line-height: 1.6;
}

.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.navbar .logo {
  font-size: 2rem;
  font-weight: bold;
  color: #ff0000;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #333;
}

.nav-links {
  display: flex;
  gap: 2.5rem;
}

.nav-links a {
  color: #333;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

.nav-links a:hover {
  color: #ff0000;
  transform: scale(1.1);
}

/* Container Styles */
.container {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px auto;
  max-width: 1000px;
  background-color: #fff;
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.checkboxes {
  display: flex;
  justify-content: space-between;
  width: 100%;
  margin-bottom: 20px;
}

.checkbox-group {
  width: 45%;
}

.checkbox-group h3 {
  margin-bottom: 10px;
  font-size: 18px;
  color: #333;
}

.checkbox-group label {
  display: block;
  margin: 5px 0;
  font-size: 16px;
  color: #555;
}

/* Button Styles */
.button {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.button:hover {
  background-color: #c00000;
}

/* Target Number */
.target {
  font-size: 50px;
  margin: 20px;
  color: #333;
}

/* Cards */
.cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
}

.card {
  background-color: #ff0000;
  color: white;
  border: none;
  padding: 15px 30px;
  margin: 10px;
  border-radius: 10px;
  font-size: 20px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.card:hover {
  background-color: #c00000;
}

/* Footer Styles */
.footer {
  text-align: center;
  padding: 2rem 2rem;
  background-color: #f8f8f8;
  border-top: 1px solid #e0e0e0;
}

.footer p {
  margin: 0;
  color: #333;
  font-size: 0.9rem;
}

/* Game Title Styles */
.game-title {
  text-align: center;
  color: red;
  font-size: 2.5rem;
  margin-top: 20px;
}

/* Tab Container Styles */
.tab-container {
  width: 100%;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  justify-content: space-between;
  background-color: #333333;
  border-bottom: 2px solid #b30000;
}

.tabs button {
  background-color: inherit;
  color: white;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 14px 20px;
  transition: background-color 0.3s ease;
  font-size: 16px;
  flex-grow: 1;
  text-align: center;
}

.tabs button:hover {
  background-color: #b30000;
}

.tabs button.active {
  background-color: #b30000;
  font-weight: bold;
}

.tabcontent {
  display: none;
  padding: 20px;
  animation: fadeEffect 0.5s;
  background-color: #ffffff;
  color: #333333;
}

.tabcontent h2 {
  margin-top: 0;
}

/* Fade in animation */
@keyframes fadeEffect {
  from {opacity: 0;}
  to {opacity: 1;}
}

/* Responsive Design */
@media (max-width: 768px) {
  .navbar-content {
      flex-direction: column;
  }

  .checkboxes {
      flex-direction: column;
      align-items: center;
  }

  .checkbox-group {
      width: 100%;
      margin-bottom: 15px;
  }

  .button {
      width: 100%;
      text-align: center;
  }

  .game-title {
    text-align: center;
    color: red;
    font-size: 2.5rem;
    margin-top: 20px;
  }
}
