@charset "UTF-8";
/* PALETA DE CORES */
:root {
  --cor1: #2d5ca2;
  --cor2: #eec511;
  --cor3: #dee3e8;
  --cor4: #bf0f23;
  --cor5: #24bcd9;
}

.popup-content #planta{
  background-color: rgb(24, 156, 24);
}
.popup-content #poison{
  background-color: rgb(134, 59, 168);
}
.popup-content #fire{
  background-color: rgb(197, 96, 29);
}
.popup-content #ice{
  background-color: rgb(59, 124, 168);
}
.popup-content #flying{
  background-color: rgb(59, 168, 159);
}
.popup-content #psychic{
  background-color: rgb(168, 59, 144);
}
.popup-content #water{
  background-color: rgb(18, 91, 201);
}
.popup-content #electric{
  background-color: rgb(206, 195, 44);
}
.popup-content #rock{
  background-color: rgb(85, 85, 85);
}
.popup-content #bug{
  background-color: rgb(76, 212, 13);
}
.popup-content #normal{
  background-color: rgb(202, 186, 161);
}
.popup-content #fighting{
  background-color: rgb(229, 32, 32);
}
.popup-content #ground{
  background-color: rgb(138, 96, 56);
}
.popup-content #fairy{
  background-color: rgb(255, 141, 246);
}
.popup-content #steel{
  background-color: rgb(148, 148, 148);
}



@font-face {
  font-family: Pokemon;
  src: url(../fonts/Pokemon\ Solid.ttf);
}

@font-face {
  font-family: Ubunto;
  src: url(../fonts/Ubuntu/Ubuntu-Regular.ttf);
}

/* ESTILO GERAL */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-image: url(../images/image.png);
  background-size: cover;
  height: 100%;
  background-attachment: fixed;
}

.interface {
  margin: 0 auto;
}

.flex {
  display: flex;
}

h3{
  text-align: center;
  margin: 10px;
  font-family: 'Ubunto', sans-serif;
  font-size: 1.4vw;
  color: #0b2c5c;
}

.popup-content .info h1{
  font-size: 2.4vw;
}
h1 {
  text-align: center;
  font-family: Pokemon, sans-serif;
  font-size: 2em;
  text-decoration: none;
  margin: 10px;
  color: var(--cor2);
  -webkit-text-stroke: 2px var(--cor1);
  letter-spacing: 0.1em;
  text-shadow: -2px 2px 0px #0b2c5c;
  padding-bottom: 9px;
}

p{
  font-family: "Ubunto", serif;
  color: #0b2c5c;
  font-size: 1.3vw;
  text-indent: 1.5em;
  line-height: 1.2em;
  text-align: justify;
  padding: 20px 4%;
  margin-bottom: 1em;
}

h2{
  font-family: 'Ubunto',sans-serif;
  color: white;
  font-size: 1vw;
  margin-bottom: 10px;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.575);
}

/*ESTILO CABEÇALHO*/

header {
  padding: 0px 4%;
}

header .interface .logo {
  display: flex;
  justify-content: center;
}

.interface .logo img {
  margin: 25px;
  height: 210px;
  width: 550px;
}

/* cards */

.cards .interface .cards-box img{
  display:  flex;
  width: 85%;
  margin: 0 auto;
  filter:drop-shadow(8px 8px 6px #00000057);
}

section.cards {
  padding: 25px;
  margin: 0px 12px;
}

section.cards .flex {
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
}

.cards-box {
  width: 270px;
  height: 340px;
  margin: 10px;
  box-shadow: 4px 4px 8px 4px rgba(0, 0, 0, 0.123);
  background-color: #dee3e8cb;
  padding: 20px;
  border-radius: 8px;
  justify-content: center;
  align-items: center;
  text-align: justify;
  transition: 0.2s;
}

.click{
    width: 270px; 
    box-sizing: border-box; 
    display: flex;
    justify-content: center;
    align-items: center;
    transition: 0.4s;
}

.cards .cards-box:hover{
  transform: scale(1.05);
  box-shadow: 0 0 20px #06fff35e;
  border-radius: 10px;
  cursor: pointer;
}

/* Ocultar cards que não devem ser mostrados inicialmente */
.cards-box.hidden{
  display: none;
}


/* Estilo do botão "Carregar mais" */
.cards .load-moree {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0px;
}

 .load-moree button{
  text-align: center;
  font-size: 60px;
  color: rgb(228, 247, 255);
  background: transparent;
  border-style: none;
  transition: 0.3s;
}
 .load-moree button:hover{
  transform: scale(1.08);
  cursor: pointer;
  filter: drop-shadow(0px 0px 5px rgba(253, 253, 253, 0.5));
}

/* popup */

.popup {
  position: fixed;
  padding: 40px;
  top: 50%;
  left: 50%;
  width: 80%;
  height: 90%;
  transform: translate(-50%,-50%);
  visibility: hidden;
  opacity: 0;
  transition: 0.4s;
  z-index: 1000;
  border-radius: 10px;
  /* background-color: #0b2d53c2; */
  background-image: url(../images/pokeballblue.png);
  background-size: cover;
}

.popup.active{
  visibility: visible;
  opacity: 1;
  transition: 1s;
}

.popup-content {
  display: flex;
  flex-direction: row;
  width: 100%;
  height: 100%;
  justify-content: center;
}

.popup-content .images{
  text-align: center;
  margin-right: 15%;
  align-self: center;
  width: 9vw;
  display: flex;
  flex-direction: column;
}

.popup-content .images img{
  filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.76));
}

.popup-content i{
  text-align: center;
  font-size: 30px;
  color: white;
  text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.575);
}

.popup-content .info{
  display: flex;
  flex-direction: column;
  background-color: #ffffffb7;
  box-shadow: 5px 5px 5px rgba(0, 0, 0, 0.322);
  margin: 0px;
  padding: 5px;
  width: 50%;
  height: 100%;
  border-radius: 10px;
}

.popup #close{
  position: absolute;
  left: 93%;
  color: rgb(255, 255, 255);
  font-size: 30px;
  cursor: pointer;
}

.popup-content h1{
  font-size: 2em;
  margin: 0px;
  padding: 0px;
}

.popup-content ul{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 0px 15px;
}

.popup-content ul li{
  padding: 7px 15px;
  font-size: 1.4vw;
  background-color: #2b5c0b;
  border-radius: 10px;
  margin-bottom: 18px;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.301);
}

.popup-content .atributos .evolution h3{
  margin: 0;
}

.popup-content .atributos{
  display: flex;
  flex-direction: column;
  align-items: stretch;
  text-align: center;
  margin: 0 auto;
  width: 90%;
  border-radius: 10px;
  gap: 13px;
}

.popup-content .tipo{
  display: flex;
  flex-direction: column;
  background-color: transparent;
  box-shadow:0px 0px 10px rgba(0, 0, 0, 0.199);
  border-radius: 10px;
}

.popup-content .fraqueza{
  background-color: transparent;
  box-shadow:0px 0px 10px rgba(0, 0, 0, 0.212);
  border-radius: 10px;
}

.popup-content .atributos li{
  list-style-type: none;
  color: white;
}

/* overlay */

#overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
  backdrop-filter: blur(20px);
}

#overlay.active{
  display: flex;
}

 

@media screen and (max-width: 1150px){
  .popup-content .info h1{
    font-size: 3vw;
  }
  h2{
    font-size: 1.5vw;
  }
  p{
    font-size: 1.5vw;
  }

  h3{
    font-size: 1.5vw;
  }
  .popup-content .images{
    width: 11vw;
  }
}

@media screen and (max-width:745px){
  .popup-content .info h1{
    font-size: 4vw;
  }

  .popup #close{
    left: 91%;
    font-size: 4vw;
  }

  p{
    font-size: 2.1vw;
  }
}

/* fundo principal */
@media screen and (max-width: 568px){
  
  .interface .logo img {
    margin: 20px;
    height: 150px;
    width: 370px;
  }

  .cards-box {
    width: 250px;
    height: 260px;
  }

  .click{
    width: 250px;
  }

  section.cards .flex {
    gap: 0px;
}

  .cards .interface .cards-box img{
    width: 140px;
  }

  h1 {
    font-size: 27px;
    margin: 5px;
  }
}

/* mobile em pé */
@media screen and (max-width:431px){
  .popup-content .images{
    display: none;
  }
  .popup{
    width: 97%;
  }
  .popup-content .info{
    width: 100%;
  }
  .popup-content .info h1{
    font-size: 8vw;
    margin: 10px;
  }
  h1{
    font-size: 7vw;
  }
  p{
    font-size: 3.5vw;
    margin: 1px;
  }
  h3{
    font-size: 3.3vw;
  }
  .popup-content ul li{
    font-size: 3.6vw;
  }
.flex .cards-box.hidden{
    margin: 0px;
  }
}

/* mobile deitado */
@media screen and (max-height:431px){
  .popup-content .images{
    width: 54px;
  }
  .popup-content .info{
    width: 100%;
  }
  .popup #close{
    top: 5%;
    font-size: 3vw;
  }
  .popup-content .info h1{
   display: none;
  }
  p{
    font-size: 1.5vw;
    margin: 0;
    padding: 10px;
  }
  h3{
    margin: 4px;
  }
  h1{
    font-size: 3.5vw;
  }
  .cards-box{
    width: 300px;
    height: 340px;
  }

}

/* mobile pequeno em pé */
@media screen and (max-width:321px){

  .cards-box{
    width: 200px;
  }
  .click{
    width: 200px;
  }
  .interface .logo img {
    margin: 20px;
    height: 100px;
    width: 270px;
  }
  .popup-content .images{
    display: none;
  }
  .popup{
    width: 97%;
    height: 100%;
  }
  .popup-content .info{
    width: 100%;
  }
  .popup-content .info h1{
    font-size: 7vw;
    margin: 0px;
  }
  h1{
    font-size: 7.5vw;
  }
  p{
    font-size: 3vw;
    margin: 0px;
  }
  h3{
    font-size: 3vw;
  }
  .popup-content ul li{
    font-size: 2.5vw;
  }
  .popup #close{
    left: 90%;
    top: 4%;
    font-size: 5vw;
  }
}

/* mobile pequeno deitado */
@media screen and (max-height:321px){
  .popup-content .images{
    width: 45px;
  }
  .popup-content .info{
    width: 100%;
  }
  .popup-content .info h1{
   display: none;
  }
  p{
    font-size: 1.5vw;
    margin: 0;
    padding: 5px;
  }
  h3{
    margin: 3px;
  }
  h1{
    font-size: 4vw;
  }
  .cards-box{
    width: 200px;
    height: 240px;
  }
  .popup-content ul li{
    font-size: 1.2vw;
  }
  .click{
    width: 200px;
    padding: 0;
    margin:0;
  }
}

