* {
  box-sizing: border-box;
}

body, html {
  overflow-x: hidden; /* Previne que o conteúdo se estenda fora da tela */
}

body {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  line-height: 1.5;
  background-color: #2c2d31;
  margin: 0;
  padding: 0;
}

header {
  text-align: center;
  margin: 2rem 0;
  display: none;
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #fff;
}

main {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 70vh;
  margin-top: -5rem;

}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  padding: 0 10px;
}

#card {
  background-color: #2C3E50;
  color: #fff;
  border-radius: 5px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  padding: 20px;
  text-align: center;
  width: 100%;
  margin-top: -4rem;
  max-width: 420px; /* Ajuste para garantir que o card não seja muito largo em telas grandes */
}

.options {
  display: flex;
  justify-content: space-around;
  margin-top: 20px;
  gap: 10px; /* Adiciona um espaço entre as opções */
  flex-wrap: wrap; /* Permite que as opções se movam para a linha seguinte se necessário */
}

.option {
  background-color: #FF6347;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  position: relative; /* Certifique-se de que o botão está posicionado corretamente */
  z-index: 1; /* Garante que o botão está acima de outros elementos */
}


#opcNo:hover {
  color: red;
}

#opcyes:hover {
  background-color: #fff;
  color: #72d2c2;
}

.img {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.img img {
  width: 100%;
  max-width: 200px; /* Define uma largura máxima para a imagem */
  height: auto;
  margin-top: -10rem;
  border-radius: 5px;
}

footer {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 5rem;
  opacity: 0.6;
  color: #a2a2a2;
}
/* Estilos responsivos */
@media (max-width: 600px) {
  body {
    font-size: 14px; /* Ajusta o tamanho da fonte para telas menores */
  }

  h1 {
    font-size: 2rem; /* Ajusta o tamanho da fonte do título para telas menores */
  }

  #card {
    width: 90%; /* Ajusta a largura do card em telas menores */
    margin: 0 auto; /* Centraliza o card */
  }

  .options {
    flex-direction: column; /* Alinha as opções em uma coluna em vez de linha */
    gap: 10px; /* Adiciona um espaço entre as opções em coluna */
  }

  .option {
    width: 100%; /* Faz com que as opções ocupem toda a largura disponível em telas menores */
    max-width: none; /* Remove a largura máxima em telas menores */
  }

  .img {

    margin-top: 5rem;
  }

  footer {
    margin: 2rem 0;
  }
}
