.barra-de-navegacao{
  padding: 1rem 2rem;
  text-align: center;
  justify-content: space-between;
  align-items: center;
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 1000;
  font-size: 1.25rem;
  background-color:  rgba(0, 0, 0, 0.5);
}

body{
  overflow-y: hidden;
}


html {
  scroll-behavior: smooth; 
  overflow-y: hidden;
}

body{
  overflow-y: hiddenjogo
}

.barra-de-navegacao > a{
  color: white;
}

.barra-de-navegacao a:hover{
  background-color: #53a6ea;;
  padding: 7px 25px;
  transition: all 0.5s ease;
  border-radius: 10px;
}

html {
  scroll-behavior: smooth;
}

li{
  display: inline-block;
}

a{
  color: white;
  margin: 2.5rem;
}

ul > img{
  float: left;
  margin-right: 0.625rem; 
  color: white;
  width: 2.5rem;

}

.login{
  display: flex;
  align-items: end;
  justify-content: right;
}

.user{
  padding: 0.5rem;
  background-color: #0590A9;
  color: #ffffff; 
  border-radius: 0.5rem;
  margin-right: 1rem;

}

#logout-button{
  padding: 0.5rem;
  border: 2px solid #0590A9;
  background-color: #082841;
  color: #ffffff;
  border-radius: 0.5rem;
}

.on h1 {
  position: relative;
  z-index: 2;
  color: #ffffff;
  left: 40%;
  top: 4rem;
  font-size: 4rem;
}



#cards {
  display: flex;
  gap: 10rem;
  justify-content: center;
  margin-top: 8rem;
}

#quiz, #jogo-memoria{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 3rem;
  border-radius: 30px;
  padding-inline: 2rem;
  padding-block: 4rem;
  color: #11549c;;
  height: 26rem;
}


#quiz{
  margin-top: 3.5rem;
}




.e-card {
  margin: 100px auto;
  background: transparent;
  box-shadow: 0px 8px 28px -9px rgba(0,0,0,0.45);
  position: relative;
  width: 240px;
  height: 330px;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;

}



.wave {
  position: absolute;
  width: 540px;
  height: 700px;
  opacity: 0.6;
  left: 0;
  top: 0;
  margin-left: -50%;
  margin-top: -70%;
  background: linear-gradient(744deg,#393edb,#366abf 60%,#029ec5);

}



.infotop {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 3em;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.infotop img{
  width: 50%;
}

.infotop p{
  margin-top: 16px;
  font-size: 20px;
  font-family: "Sniglet", system-ui;
  font-weight: 400;
  font-style: normal;
}

.infotop img{
  width: 50%;
  margin-top: 1rem;
}

.infotopa {
  text-align: center;
  font-size: 20px;
  position: absolute;
  top: 1em;
  left: 0;
  right: 0;
  color: rgb(255, 255, 255);
  font-weight: 600;
}

.infotopa p{
  margin-top: 5px;
  font-size: 20px;
  font-family: "Sniglet", system-ui;
  font-weight: 400;
  font-style: normal;
}

.infotopa .mem{
  width: 60%;
  margin-top: 3rem;
}



.wave:nth-child(2),
.wave:nth-child(3) {
  top: 210px;
}

.playing .wave {
  border-radius: 40%;
  animation: wave 3000ms infinite linear;
}

.wave {
  border-radius: 40%;
  animation: wave 55s infinite linear;
}

.playing .wave:nth-child(2) {
  animation-duration: 4000ms;
}

.wave:nth-child(2) {
  animation-duration: 50s;
}

.playing .wave:nth-child(3) {
  animation-duration: 5000ms;
}

.wave:nth-child(3) {
  animation-duration: 45s;
}

@keyframes wave {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}


h3{
  font-size: 25px;
  font-family: "Sniglet", system-ui;
  font-weight: 400;
  font-style: normal;
}

body{
  background-image: url(../imagens/imagem-de-fundo-do-jogos.png);
  background-repeat: no-repeat;
  background-size: cover;
  overflow-x: hidden;
}


@media screen and (min-width: 1300px) {
  .on h1 {
    position: relative;
    z-index: 2;
    left: 42%;
    top: 5rem;
    font-size: 4.3rem;
  }
  
  .quiz h3 {
    bottom: 3rem;
  }
  
  .pa {
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
    /* align-items: center;
    text-align: center; */
    position: relative;
    z-index: 1;
    bottom: 20%;
  }
  
  .pa h3 {
    margin-top: -1rem;
  }
  
  .pa hr {
    font-size: 1.5rem;
    width: 100%;
    margin-bottom: 1rem;
  }

  #quiz .reto {
    position: absolute;
    width: 13rem;
    height: 16rem;
    top: 24%;
    margin-top: 2rem;
    bottom: 0;
  }

  #quiz .omeio {
    width: 13rem;
    height: 7.5rem;
    position: relative;
    z-index: 1;
  }

  .pa > .an {
    position: absolute;
    width: 135%;
    z-index: -2;
    top: 14.4rem;
    bottom: 0;
  }
  .pa > .na {
    position: absolute;
    width: 128%;
    z-index: -1;
    top: 17.5rem;
    bottom: 0;
  }
}

@media screen and (min-width: 1500px){

  .on h1 {
    left: 40%;
  }

}

@media screen and (min-width: 1600px){

  #cards {
    margin-top: 12rem;
  }


  .on h1 {
    left: 42%;
  }

}

@media screen and (min-width: 1900px){
  .on h1 {
    left: 44%;
  }
}