/* Estilos gerais */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: #f8f9fa;
  color: #000021;
  overflow-x: hidden;
}

body.dark-mode {
  background-color: #000;
  color: #e0e0e0;
}

.top-menu {
  width: 100%;
  background-color: #000021;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

body.dark-mode .top-menu {
  background-color: #1f1f1f;
}

.logo {
  font-size: 24px;
  font-weight: bold;
  margin-left: 20px;
  color: #fff;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-right: 20px;
  margin-left: 20px;
}

.hamburger {
  display: none;
  font-size: 24px;
  cursor: pointer;
}

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;
}

body.dark-mode .nav-links a {
  color: #e0e0e0;
}

.nav-links.active {
  display: flex;
}

.nav-links img {
  width: 24px;
  height: 24px;
  margin-left: 20px;
}

.nav-links i {
  color: #ffffff;
  font-size: 24px;
  cursor: pointer;
  transition: color 0.3s;
}

body.dark-mode .nav-links i {
  color: #ff8534;
}

h1 {
  margin: 80px auto;
}

h1, form {
  color: #000;
  display: flex;
  align-items: center;
  text-align: center;
  flex-direction: column;
}

.buttons-container {
  padding: auto;
  display: flex;
  justify-content: center;
  gap: 10px;
}

button {
  display: flex;
  padding: 5px 10px;
  background-color: #000021;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  margin: 0 auto;
}

button:hover {
  background-color: #000041;
}

body.dark-mode {
  background-color: #121212;
  color: #e0e0e0;
  background-image: linear-gradient(to bottom, #000000, #333);
}

body.dark-mode h1,
body.dark-mode form {
  color: #e0e0e0;
}

body.dark-mode button {
  background-color: #ff8534;
  color: #fff;
}

body.dark-mode button:hover {
  background-color: #ff8554;
}

/* Estilos para as perguntas e opções */
.question {
  margin: 40px 0;
}

.options {
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
}

.options input[type="radio"] {
  margin-right: 5px;
}

.options label {
  margin-right: 20px;
}

/* Media Queries para Responsividade */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
    width: auto;
    max-width: 250px;
    background-color: #000021;
    position: fixed;
    top: 0;
    right: 0;
    height: auto;
    padding: 60px 20px;
    box-shadow: -2px 0 5px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
    transform: translateX(100%);
    z-index: 1001;
    margin: 0;
  }

  .nav-links.active {
    transform: translateX(0);
  }

  .nav-links a,
  .nav-links i {
    font-size: 18px;
  }

  .hamburger {
    display: block;
    font-size: 24px;
    color: #ffffff;
    cursor: pointer;
    margin-right: 20px;
    z-index: 1002;
  }

  body.dark-mode .nav-links {
    background-color: #1f1f1f;
  }

  body.dark-mode .nav-links a {
    color: #e0e0e0;
  }

  .options {
    flex-direction: column;
    align-items: flex-start;
  }

  .options label {
    margin-right: 0;
    margin-bottom: 10px;
  }
  .question {
    margin: 20px 0;
  }

  .options {
    flex-direction: column;
    align-items: center;
  }

  .options input[type="radio"] {
    margin-right: 10px;
  }

  .options label {
    margin-right: 0;
    margin-bottom: 10px;
  }
}