@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Krona+One&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap');


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'poppins', sans-serif;
}

* {
  margin: 0;
  padding: 0;
}


:root {
  --cor-primaria: #00222a;
  --cor-secundaria: #f9b71e;
  --cor-terciaria: #ffffff;
  --azul-claro: #008ccc;
  --azul-escuro: #0e5083;
}

* {
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  /* Habilitando o scroll suave */
  scroll-padding-top: 90px;
}

header {
  position: fixed;
  /* Mantendo o cabeçalho fixo no topo */
  top: 0;
  left: 10px;
  right: 0;
  z-index: 1000;
  /* Colocando o cabeçalho acima de outros elementos */
  width: 100%;
  /* Largura total */

}




.logo-img {
  /* Estilizando a imagem do logo */
  width: 2.4em;
  /* Largura da imagem do logo */
  height: auto;
  /* Altura automática para manter a proporção */
  margin: 0.2em 1em 0 0;
  /* Margem horizontal */
  background-color: transparent;
  border: none;
}

.menu {
  /* Estilizando o menu de navegação */
  display: flex;

}

.aba {
  font-family: "Montserrat", sans-serif;
  font-size: 1.5rem;
  font-weight: 600;
  color: #ffffff;
  background-color: #004aad;
  text-decoration: none;
  padding: 100px 10px 0px 10px;
  border-radius: 5px;
}

.aba:hover {
  padding-bottom: 10px;
  transition: 0.3s;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: system-ui, -apple-system, Helvetica, Arial, sans-serif;
  background: #ffffff;
  height: 8vh;
  padding: 0 25px;
  border-radius: 0 0 0 30px;
}

.nav-list {
  list-style: none;
  display: flex;
}

.nav-list li {
  letter-spacing: 0px;
  margin-left: 30px;
}

.mobile-menu {
  display: none;
  cursor: pointer;
}

.mobile-menu div {
  width: 40px;
  height: 6px;
  background: #1871b5;
  margin: 5px;
  transition: 0.3s;
  border-radius: 10px;
}

@media (max-width: 999px) {
  body {
    overflow-x: hidden;
  }

  .aba {
    font-family: "Montserrat", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    color: #01134c;
    background-color: rgba(0, 0, 68, 0);
    text-decoration: none;
    padding: 10px;
    border-radius: 5px;
  }

  .nav-list {
    position: absolute;
    top: 8vh;
    right: 0;
    width: 50vw;
    height: 42vh;
    background: #23232e;
    flex-direction: column;
    align-items: center;
    justify-content: space-around;
    transform: scale(0);
    transition: transform;
    background-color: #ffffff;
  }

  .nav-list li {
    margin-left: 0;
    opacity: 0;
  }

  .mobile-menu {
    display: block;
  }
}

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

@keyframes navLinkFade {
  from {
    opacity: 0;
    transform: translateX(50px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.mobile-menu.active .line1 {
  transform: rotate(90deg) translate(12px, 10px);
}

.mobile-menu.active .line2 {
  transform: rotate(90deg) translate(1px, -10px);
}

.mobile-menu.active .line3 {
  transform: rotate(90deg) translate(-10px, 30px);
}

body {
  box-sizing: border-box;
  /* height: 100vh; */
  background-color: var(--cor-secundaria);
  color: var(--cor-primaria);
}

h2 {
  margin-top: 100px;
}

.question-points {
  color: #008CCC;
  margin-bottom: 10px;
  display: block;
  min-height: 24px;
  text-align: center;
}

.btn-correct {
  background-color: green !important;
  color: #fff !important;
  transition: background 0.3s, color 0.3s;
}

.btn-wrong {
  background-color: red !important;
  color: #fff !important;
  transition: background 0.3s, color 0.3s;
}




.quiz-inicio {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
  padding: 20px 20px;
  color: #ffffff;
  border-radius: 10px;
}

.btn-iniciar-quiz {
  padding: 10px 24px;
  font-size: 1.2rem;
  border-radius: 8px;
  background: #008CCC;
  color: #fff;
  border: none;
  cursor: pointer;
}


.quiz-texto {
  font-size: 1rem;
  color: #ffffff;
}

.logo-quiz {
  width: 200px;
  height: auto;
}

.rodape {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-direction: column;
  font-size: 1.5rem;
  font-family: "Krona One", sans-serif;
  color: #00222a;
  text-align: center;
  padding: 8em 1em 1em 1em;
}

.txtrodape {
  font-size: 0.7rem;
}

.social-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  gap: 20px;
}

.rodape__img {
  width: 1em;
  height: 1em;
}

@media (max-width: 1370px) {
  .redes__nome {
    display: none;
  }
}

@media (min-width: 1370px) {
  .redes__img {
    display: none;
  }
}

@media (max-width: 1000px) {




  .redes__nome {
    display: none;
  }

  .txtrodape {
    font-size: 0.5rem;
  }

  .rodape {
    font-size: 1.25rem;
  }
}

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  background: var(--cor-secundaria);
}

body h2 {
  color: rgb(255, 255, 255);
}

main {
  background-color: white;
  padding: 10px;
  border-radius: 10px;
  width: 100%;
  max-width: 700px;
  min-height: 350px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 28px;
  /* Sombreamento */
  box-shadow: 0 4px 24px 0 rgba(0, 0, 0, 0.18), 0 1.5px 4px 0 rgba(0, 0, 0, 0.15);
}

.content {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 10px;
}

.spnQtd {
  text-align: center;
}

.answers {
  display: flex;
  flex-direction: column;
  gap: 5px;

}

button {
  width: 100%;
  text-align: center;
  padding: 5px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  background-color: #008CCC;
  color: white;
  font-size: 20px;
}

.finish {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.finish button {
  text-align: center;
}

.select-difficulty {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  width: 100%;
  max-width: 300px;
  margin: 0 auto 20px auto;
}

.select-difficulty h3 {
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem;
  color: #01134c;
  margin-bottom: 5px;
}

.select-difficulty button {
  width: 100%;
  padding: 8px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  background-color: #008CCC;
  color: white;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
  text-align: center;
}

.select-difficulty button:hover {
  background-color: #ff9100;
  color: #fff;
}


.timer {
  font-size: 1.1rem;
  color: #008CCC;
  font-weight: 600;
  margin-bottom: 10px;
  display: block;
}

/* ...existing code... */
@media (max-width: 900px) {
  main {
    width: 90%;
    padding: 10px;
    font-size: 20px;
  }




  .select-difficulty {
    width: 100%;
    max-width: none;
  }

  .select-difficulty button {
    width: 100%;
    padding: 10px;
    font-size: 1rem;
  }

  button {
    width: 100%;
    text-align: center;
    padding: 5px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    background-color: #008CCC;
    color: white;
    font-size: 16px;
  }
}

.center-content {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.center-content table {
  margin: 0 auto;
}

.center-content img {
  display: block;
  margin-left: auto;
  margin-right: auto;
}


/* Botão de voltar ao topo */
#btn-topo {
  position: fixed;
  bottom: 32px;
  right: 24px;
  z-index: 999;
  background: transparent;
  border: none;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: auto;
  height: auto;
}

#btn-topo img {
  width: 35px;
  height: 35px;
  filter: drop-shadow(0 4px 16px rgba(249, 183, 30, 0.4));
}

#btn-topo:hover img {
  filter: drop-shadow(0 6px 20px rgba(249, 183, 30, 0.6));
  transform: translateY(-2px);
}

#btn-topo.show {
  opacity: 1;
  pointer-events: auto;
}

@media (max-width: 1000px) {
  #btn-topo {
    bottom: 16px;
    right: 16px;
  }

  #btn-topo img {
    width: 30px;
    height: 30px;
  }

  #btn-topo:hover img {
    transform: none;
  }
}

/*focando no mobile*/

@media (max-width: 1000px) {

  body {
    width: 100dvw;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    box-sizing: border-box;
  }

  header {
    width: 100vw;
    left: 0;
    right: 0;
  }

  .mobile-menu div {
    width: 1.5rem;
    height: .3rem;
    background: var(--azul-claro);
    margin: .2rem;
    transition: 0.3s;
    border-radius: .6rem;
  }

  .nav-list {
    border-radius: 0 0 0 1rem;
    width: 35%;
    height: 11rem;
    top: 7.5vh;

  }

  .aba {
    font-family: "Montserrat", sans-serif;
    font-size: 1rem;
    font-weight: 500;
    color: var(--azul-claro);
    text-decoration: none;
    padding: 0;
  }



  .mobile-menu.active .line1 {
    transform: rotate(90deg) translate(.5rem, .4rem) scale(.75);
  }

  .mobile-menu.active .line2 {
    transform: rotate(90deg) translate(0, -.2rem) scale(.75);
  }

  .mobile-menu.active .line3 {
    transform: rotate(90deg) translate(-.5rem, 1rem) scale(.75);
  }



  .social-icons {
    margin-top: 3rem;
  }

  .social__img {
    width: 3rem;
  }

  .rodape {
    flex-direction: column;
    font-size: 1.5rem;
    font-family: "Krona One", sans-serif;
    color: #00222a;
    padding: 4rem 1rem 1rem 1rem;

  }

}