*{
    margin: 0;
    padding: 0;
    scroll-behavior: smooth;
}

body{
    background-color: #f2f2f2;
    font-family: Arial, Helvetica, sans-serif;
}

main{
    
}

main #init{
    min-height: 100vh;
    display: block;
    place-content: center;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 20, 0.7)), url("https://pub-d01583e509ba4cda80231ed81ff50eb7.r2.dev/img-p%C3%A1gina-jogos/fundo-games.webp");    
    background-position: right;
    background-size: cover;
    background-repeat: no-repeat;
}

main #init #logo{
    height: 85px;
    display: block;
    margin: 40px auto;
    filter: drop-shadow(0 0 4px #000000);
}

main #init h1{
    color: white;
    text-align: center;
    margin: 10px 7px;
    font: normal 38pt arial;
    font-weight: 700;
}

main #init h1 mark{
    background-color: rgb(253, 252, 252);
    padding: 3px;
    border-radius: 5px;
    border-bottom: 3px solid #ffa800;
}

main #init h2{
    color: white;
    text-align: center;
    text-align: center;
    font-size: 19px;
    margin: 0 10px;
}


main #init a{
  
}

main #init a #seta{
  width: 70px;
  display: block;
  margin: 40px auto;
  animation: subirDescerbotao 3s ease-in-out infinite;
}

@keyframes subirDescerbotao {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(-8);
  }
}

main #todos-jogos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin: 60px 0;
}

main #todos-jogos .jogo{
    width: 440px;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.35);
    padding: 12px 8px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

main #todos-jogos .jogo:hover{
    transform: translateY(-5px);
    box-shadow: 0px 8px 18px rgba(0, 0, 0, 0.5);
}

main #todos-jogos .jogo img{
    width: 100%;
    border-radius: 6px;
    margin-bottom: 8px;
}

main #todos-jogos .jogo iframe{
    width: 100%; 
    height: 270px;
    border-radius: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.767);
}

main #todos-jogos .jogo h3{
    text-align: center;
    font-weight: 700;
    font-style: italic;
    font-size: 22px;
    margin-bottom: 10px;
}

main #todos-jogos .jogo a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: max-content;
  margin: 16px auto;
  display: block;
  text-decoration: none;

  font-family: Arial, Helvetica, sans-serif;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.4px;

  color: #1a1a1a;
  background: linear-gradient(135deg, #ffd000, #ffb700);

  padding: 12px 22px;
  border-radius: 10px;

  box-shadow: 
    0 6px 14px rgba(0, 0, 0, 0.18),
    inset 0 -2px 0 rgba(0, 0, 0, 0.15);

}


main #todos-jogos .jogo a:hover{
    background-color: rgb(255, 190, 0);
    transform: scale(1.05);
}


.iframe-bloqueado {
    pointer-events: none;
}



/* RESPONSIVIDADE PARA A LOGO E PARA OS TEXTOS ABAIXO DE  470PX*/
@media (max-width:390px){
        main #init #logo{
        width: 80%;
    }

    main #init h1{
        font: normal 30pt arial;
    }
}

/* RESPONSIVIDADE PARA OS CARDS DOS JOGOS ABAIXO DE 942PX*/
@media (max-width:942px){
    main #todos-jogos .jogo{
    width: 90%;
    }
}
