@import url('https://fonts.googleapis.com/css2?family=Oxanium:wght@300;400;500;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik&display=swap');

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


body {
  text-align: center;
  min-height: 100vh;
  background: linear-gradient(to bottom, rgba(86, 173, 255, 0.5), rgba(194, 194, 194, 0.5)), url('/src/logotitle_.png');
  background-size: 60px;
  animation: move 60s infinite linear;
  overflow: hidden;
}

@keyframes move {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 75% 100%;
  }
}



main {
  display: inline-block;
  margin-top: 2%;
  padding: 15px;
  position: relative;
}

.pokedex {
  width: 100%;
  max-width: 425px;
}

.pokemon__image {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translate(-63%, 20%);
  height: 18%;
}

.bg {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translate(-58%, 32%);
  height: 25%;
  z-index: -2;
}

.bgs {
  position: absolute;
  bottom: 55%;
  left: 50%;
  transform: translate(-58%, 32%);
  height: 38%;
  z-index: -1;
  opacity: 0.7;
}


/* Number pokemon */
.pokemon__data {
  position: absolute;
  font-weight: 600;
  color: #aaa;
  top: 54.5%;
  right: 27%;
  font-size: clamp(8px, 5vw, 25px);
  font-family: 'Rubik', sans-serif;
}

/* Name pokemon */
.pokemon__name {
  color: #3a444d;
  text-transform: uppercase;
/*     text-transform: capitalize; */
  font-family: 'Rubik', sans-serif;
}

.form {
  position: absolute;
  width: 64%;
  top: 65%;
  left: 13.5%;
}

/* search input pokemon */
.input__search {
  width: 100%;
  padding: 4%;
  outline: none;
  /* border: 2px solid #333; */
  border-radius: 5px;
  font-weight: 500;
  color: #3a444d;
  font-size: clamp(8px, 5vw, 0.7rem);
  /* box-shadow: -3px 4px 0 #888, -5px 7px 0 #333; */
  font-family: 'Rubik', sans-serif;
}

/* buttons prev next */
.buttons {
  position: absolute;
  bottom: 10%;
  left: 50%;
  width: 65%;
  transform: translate(-57%, 0);
  display: flex;
  gap: 20px;
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
}

.buttons:hover {
  box-shadow: inset 0px 0px 0 #222;
  border-radius: 5px;
  box-shadow: 0px 0px 0 #222, 0px 0px 0 #000;
}



/* button Search */
.button {
  width: 50%;
  padding: 4%;
  /* border: 2px solid #000; */
  border-radius: 5px;
  font-size: clamp(8px, 5vw, 0.8rem);
  font-weight: 500;
  color: white;
  background-color: #444;
  /* box-shadow: -2px 3px 0 #222; */
  /* box-shadow: -2px 3px 0 #222, -4px 6px 0 #000; */
  font-family: 'Rubik', sans-serif;
  cursor: pointer;
}

.button:hover {
  box-shadow: inset -4px 4px 0 #222;
  font-size: 0.8rem;
  background-color: #000;
  /* box-shadow: -2px 3px 0 #222, -4px 6px 0 #000; */
}


.button:active {
  box-shadow: inset -4px 4px 0 #222;
  font-size: 0.8rem;
}

.info {
  position: absolute;
  text-align: center;
  justify-content: center;
  border-radius: 5px;
  margin-top: 2px;
  bottom: 20%;
  left: 13%;
  width: 65%;
  height: 15%;
  color: #000;
  background-color: #f0f0f0;
  /* border: 2px solid #000; */
  /* box-shadow: -2px 3px 0 #999898, -4px 6px 0 #000; */
  box-shadow: -2px 3px 0 #999898;
  /* font-size: clamp(10px, 5vw, 0.8rem); */
  font-size: 0.9rem;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  /* text-transform: capitalize; */
  /* padding-bottom: 105px; */
}

.gradient {
  background: linear-gradient(0deg, #277fe3, #52c5fa);
}

.gradient2 {
  background: linear-gradient(0deg, #277fe3, #52c5fa);
}



header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    background-color: #277fe3;
    font-family: 'Rubik', sans-serif;
    box-shadow: 0px 0px 30px rgba(0, 0, 0, 0.5);
}

.logo {
    width: 100px;
}

.logoIntro {
  width: 200px;
}

.search {
    display: flex;
    align-items: center;
    font-family: 'Oxanium', cursive;
    font-size: 0.8rem;
}

.search input[type="search"] {
    margin-right: 5px;
}


main {
    flex: 1;
}

footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 10px;
    background-color: #277fe3;
    font-size: 0.6rem;
    font-family: 'Rubik', sans-serif;
    text-decoration: none;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.4);
  }

.texts{
  text-decoration: none;
  color:#000;
}

.texts:hover{
  text-decoration: none;
  color:#ffffff;
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  font-family: 'Rubik', sans-serif;
  background-color: rgba(0, 0, 0, 0.8);
  display: block;

}

.modal-parent {
  background-size: cover; 
  backdrop-filter: blur(20px); 
}

.modal-content {
  background-color: #fefefe;
  margin: 14rem auto;
  border: 1px solid #888;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 10px solid #082ca0;
  border-radius: 10px;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}



.blackstyle{
  font-style: italic;
  color: #888888;
  font-size: 0.6rem;
  margin-top: 0.5rem;
  text-transform: uppercase;
}



/* Weather data */


.icons img {
  width: 50%;
  height: auto;
}

.typePokemon {
  position: absolute;
  text-align: center;
  justify-content: center;
  top: 10%;
   left: 16%; */
  /* top: 5.9vh;
  left: 6.7vh; */
  max-width: 15px; /* Cambia el valor según el tamaño deseado */
  max-height: 15px; /* Cambia el valor según el tamaño deseado */
  font-size: clamp(2px, 2vw, 6.5px);
  color: rgb(170, 245, 255);
  text-shadow: #000;
  font-family: 'Rubik', sans-serif;
  text-transform: uppercase;
  /* text-transform: capitalize; */
  transform: translate(-50%, -50%);
  /* color: transparent; */
}




/* Name pokemon */
.pokemon__name {
  color: #3a444d;
  text-transform: uppercase;
  font-family: 'Rubik', sans-serif;
}

.pika{
  top: 380px;
  right: 310px;
}