* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  background: rgb(0, 0, 0);
  color: rgb(255, 255, 255);
  font-family: cursive, "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}

main {
  padding: 2%;
  padding-top: 130px;
  margin: 0px 3% 0px 3%;
  min-height: max-content;
  background-color: rgba(27, 27, 27, 0.774);
}

/*barra de navegação*/
.fix {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10%;
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  min-height: 100px;
  border-bottom: 3px solid rgb(255, 255, 255);
  background: linear-gradient(to left, rgb(0, 0, 0), rgba(32, 32, 32, 0.925));
  box-shadow: 1px 1px 13px rgb(206, 205, 205);
  z-index: 20;
  backdrop-filter: blur(40px);
}

.fix a {
  color: silver;
  font-family: Impact, Haettenschweiler, "Arial Narrow Bold", sans-serif;
  text-decoration: none;
  font-size: 20px;
  transition: border-bottom 0.5s, text-shadow 0.5s, transform 0.7s;
}

.fix a:hover {
  border-bottom: 2px solid white;
  text-shadow: 2px 0px 7px rgb(163, 163, 163);
  transform: scale(1.2);
}

:target {
  scroll-margin-top: 150px;
}

/*elementos de imagem e modificação de palavras*/
img {
  display: block;
  width: 68%;
  min-height: 200px;
  margin: 0 auto;
}

p,
h3 {
  margin-top: 30px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-size: 18px;
}

ul {
  margin: 30px 20px 30px 50px;
}

li {
  margin-bottom: 2%;
  font-size: 20px;
  font-family: Arial, Helvetica, sans-serif;
}

h2 {
  font-family: Arial, Helvetica, sans-serif;
  padding-top: 1em;
  padding-bottom: 1em;
}

strong {
  color: rgba(88, 87, 87, 0.822);
}

#versatilidade li {
  font-size: 18px;
}

/*estilizando os conteiners de visualização e linhas de separação*/

.linha {
  width: 100%;
  min-height: 2px;
  background-color: rgb(100, 100, 100);
  position: relative;
  margin: 5% 0px 6% 0px;
  box-shadow: 1px 2px 10px snow;
}
.linha::after {
  content: " ";
  position: absolute;
  width: 100%;
  min-height: 2px;
  left: 0;
  bottom: 2px;

  background-image: radial-gradient(
    circle at center,
    rgb(41, 41, 41),
    rgb(78, 78, 78)
  );
}

.linha::before {
  content: " ";
  position: absolute;
  width: 100%;
  height: 2px;
  left: 0;
  top: 2px;

  background-image: radial-gradient(
    circle at center,
    rgb(56, 56, 56),
    rgba(77, 77, 77, 0.925)
  );
}

.hidden {
  opacity: 0;
  will-change: opacity, transform, filter;
  filter: blur(5px);
  transform: translateX(-100%);
  transition: opacity 0.5s ease-in-out 0.1s, filter 0.5s ease-in-out 0.1s,
    transform 0.5s ease-in-out 0.1s;
}

.show {
  opacity: 1;
  filter: blur(0);
  transform: translateX(0);
}

/*classificação de dificuldade usando cores*/
aside {
  width: 50%;
  height: 30vh;
  min-height: max-content;
  padding: 2%;
  padding-top: 0;
  border: 1px solid rgb(224, 224, 224);
  border-radius: 10px;
  margin-top: 40px;
  color: rgb(245, 245, 245);
}

aside p {
  position: relative;
  font-family: Georgia, "Times New Roman", Times, serif;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.green {
  background-color: rgba(37, 216, 13, 0.849);
}

.yellow {
  background-color: rgba(233, 210, 9, 0.89);
}

.red {
  background-color: rgba(235, 23, 8, 0.849);
  margin-bottom: 70px;
}

@media (max-width: 850px) {
  aside {
    width: 100%;
  }

  main {
    margin: 0px 1% 0px 1%;
  }

  .linha {
    margin-top: clamp(6%, 19%, 6em);
  }
}

@media (prefers-reduced-motion) {
  .hidden {
    transition: none;
  }
}
