@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

* {
  box-sizing: border-box;
  font-family: "Montserrat", sans-serif;
}

:root {
  --cor-vermelho: #E30613;
}

.test {
  margin-top: 2rem;
  width: 100%;
  height: 3rem;
  display: flex;
  flex-direction: row;
}

.test-title {
  color: var(--cor-vermelho);
}

.titulo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 10%;
  color: var(--cor-vermelho);
  margin-left: 2rem;
}

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

.linha {
  color: var(--cor-vermelho);
  width: 95%;
  border-bottom: var(--cor-vermelho) 0.150rem solid;

}

.aviso {
  margin-top: 1rem;
  margin-bottom: 1rem;
  width: 100%;
  text-align: center;
}

.aviso b {
  font-size: 2rem;
  color: var(--cor-vermelho);
}

.container-title {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 1rem;
  gap: 1rem;
  width: 100%;
  height: 3rem;
}

.algebra-container,
.geometria-container,
.trigonometria-container {
  width: 10rem;
  height: 60%;
  background-color: #ff0000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.25rem;
  font-size: 2vh;
  font-weight: bold;
  padding: 0.1rem;
}


.funcoes-container {
  width: 12rem;
  height: 60%;
  background-color: #ff0000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.25rem;
  font-size: 2vh;
  font-weight: bold;
  padding: 0.1rem;
}

.estatistica-container,
.financeira-container {
  width: 15rem;
  height: 60%;
  background-color: #ff0000;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.25rem;
  font-size: 1.8vh;
  font-weight: bold;
  padding: 0.1rem;
}

.container-title a {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.9rem
}

.subject-title b {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #e30613;
}

.all-questions {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5vh;
}

.question-card {
  width: 100%;
  height: 50%;
  padding: 0 0 0 10vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.question-number {
  margin-bottom: 1vh;
}

.answer-options {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.option {
  width: 90%;
  height: 3vh;
  display: flex;
  align-items: center;
  border-radius: 1.25rem;
  border: 0.1vh solid black;
}

.option:hover {
  background-color: rgb(223, 221, 221);
  color: black;
}

.answer {
  font-size: 0.9rem;
  color: #e30613;
  margin: 1.87rem;
}

.answer-title:after {
  content: "";
  display: inline-block;
  position: absolute;
  width: 80%;
  height: 0.06rem;
  margin: 0.8rem 0 0 2.8rem;
  background-color: #e30613;
}

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

.answers-card {
  width: 95%;
  height: 30%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.answers-card h2 {
  color: #e30613;
}

/**************/
/* Details */
/**************/
.detalhes {
  border: 1px solid #aaa;
  border-radius: 10px;
  background-color: #f8f7F4;
  width: 90%;

}

.summario {
  font-weight: bold;
  margin: 0.1em 0.1em 0;
  padding: 0.2em;
  color: black;
}

.detalhes[open] {
  padding: 0.2em;
}

.detalhes[open] summary {
  border-bottom: 0.5px solid #aaa;
  margin-bottom: 0.5em;
}

/* Responsividade para telas menores*/

@media (max-width: 768px) {
  .container-title {
    flex-direction: column;
    padding: 1rem;
    height: fit-content;
  }

  .container-title div {
    width: 80%;
    font-size: 3vw;
  }

  .option {
    font-size: 1rem;
    padding: 1rem;
  }
}

@media (max-width: 480px) {
  .container-title div {
    width: 100%;
    font-size: 4vw;
  }

  .all-questions {
    width: 95%;
  }

  .option {
    font-size: 0.7rem;
    padding: 0.5rem;
  }
}

@media (max-width: 1100px) {



  .estatistica-container {
    font-size: 0.5rem;

  }

  .financeira-container {
    font-size: 0.5rem;
  }

  .algebra-container {
    font-size: 1.5vh;


  }

  .trigonometria-container {
    font-size: 1.5vh;
  }

  .geometria-container {
    font-size: 1.5vh;
  }

  .geometria-container {
    font-size: 1.5vh;
  }
}



@media (max-width: 840px) {

  .funcoes-container {
    font-size: 0.6rem;
  }

  .estatistica-container {
    font-size: 0.6rem;
  }
}




@media (max-width: 1060px) {
  .financeira-container a {
    font-size: 0.8rem;
  }

  .estatistica-container a {
    font-size: 0.8rem;
  }

}

@media (max-width: 999px) {


  .financeira-container a {
    font-size: 0.8rem;
  }

  .estatistica-container a {
    font-size: 0.8rem;
  }

}

@media (max-width: 950px) {
  .financeira-container a {
    font-size: 0.7rem;
  }

  .estatistica-container a {
    font-size: 0.7rem;
  }

  .funcoes-container a {
    font-size: 0.7rem;
  }

}

@media (max-width: 838px) {
  .financeira-container a {
    font-size: 0.7rem;
  }

  .estatistica-container a {
    font-size: 0.6rem;
  }

  .funcoes-container a {
    font-size: 0.7rem;
  }

}


@media (max-width: 758px) {
  .financeira-container a {
    font-size: 1rem;
  }

  .estatistica-container a {
    font-size: 0.9rem;
  }

  .funcoes-container a {
    font-size: 0.rem;
  }

}

@media (max-width: 1070px) {

  .test {
    margin-top: 2rem;
    width: 100%;
    height: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }

  .titulo {
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--cor-vermelho);
    margin-bottom: 1rem;
  }

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

  .linha {
    color: var(--cor-vermelho);
    width: 90%;
    border-bottom: var(--cor-vermelho) 0.150rem solid;

  }

}