@font-face {
  font-family: myFont;
  src: url(../assets/fonts/Ubuntu/Ubuntu-Light.ttf);
}

body {
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
  height: 100vh;
  background-color: #b1b1b14b;
  font-family: myFont;
}

header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 0;
  left: 0;
  right: 0;
  padding: 10px 20px;
  max-width: 100%;
  height: 80px;
  display: flex;
  border-bottom: 1px transparent;
  box-shadow: 2px 2px 8px #838282;
  gap: 12px;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

header img {
  width: 3rem;
  height: 3rem;
}

.pokemon_logo {
}

.pokemon_logo a {
  display: flex;
  align-items: center;
  gap: 30px;
  text-decoration: none;
  color: black;
}

input {
  border-radius: 30px;
  height: 30px;
  border: none;
}

::placeholder {
  text-align: center;
}

.magnifier {
  display: none;
  cursor: pointer;
}

main {
  flex: 1;
  overflow: auto;
}

.main_content {
  margin-top: 50px;
  display: grid;
  grid-auto-rows: max-content;
  grid-template-columns: repeat(5, 200px);
  justify-content: center;
  gap: 50px;
  margin-bottom: 40px;
}

.pokemon_title {
  display: flex;
  justify-content: center;
  font-weight: bold;
  background-color: #c9c9c959;
  border-radius: 10px 10px 0px 0px;
  width: 100%;
  gap: 30px;
  padding-top: 5px;
  padding-bottom: 5px;
}

.content_arrangement {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.pokemon_box {
  border: transparent 1px;
  cursor: pointer;
  box-shadow: 2px 2px 8px #838282;
  border-radius: 10px;
}

.pokemon_box:hover {
  transform: scale(1.1);
}

.pokemon_box img {
  width: 8rem;
  height: 8rem;
  display: flex;
  align-items: center;
  margin-bottom: 5px;
}

.pokemon_name {
  display: flex;
}

.pokemon_id {
  display: flex;
}

.image_container {
  width: 100%;
  display: flex;
  justify-content: center;
}

.abilities_arangement {
  background-color: #c9c9c959;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.pokemon_abilities {
  word-spacing: 50px;
  margin: 4px;
  font-weight: bold;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.685);
  z-index: 1;
}

progress {
  accent-color: #00bb28;
}

.progress_content {
  margin-top: 100px;
}

.progress_content span {
  font-weight: bold;
}

#hp,
#attack,
#defense,
#specialAttack,
#specialDefense,
#speed {
  display: flex;
  justify-content: space-between;
  padding: 5px;
}

footer {
  position: relative;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100px;
  background-color: rgb(54, 54, 54);
  color: rgb(255, 255, 255);
  text-align: center;
  margin-top: 15px;
}

.footer_content {
  border: 1px solid;
  border-bottom-right-radius: 20px;
  border-bottom-left-radius: 20px;
  background-color: rgba(0, 0, 0, 0.288);
  border-color: #0000004f;
  height: 3rem;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  box-shadow: 2px 5px 15px #7b7a7a;
}

.footer_logo {
  display: flex;
  align-items: center;
  gap: 20px;
}

.footer_logo img {
  width: 3rem;
  height: 3rem;
}

.socila_media {
  display: flex;
  gap: 20px;
  cursor: pointer;
}

.socila_media img {
  width: 3rem;
  height: 3rem;
}

.display_none {
  display: none;
}

.form_class {
  display: flex;
  flex-direction: row-reverse;
  gap: 30px;
}

::-webkit-scrollbar {
  width: 12px; /* Width of the scrollbar */
  height: 12px; /* Height for horizontal scrollbar */
}

::-webkit-scrollbar-thumb {
  background-color: #a4a5a4; /* Color of the thumb */
  border-radius: 10px; /* Rounded corners */
  border: 2px solid #494949; /* Optional border around the thumb */
}

@media only screen and (min-width: 280px) and (max-width: 575px) {
  h1 {
    font-size: 25px;
  }

  header img {
    width: 2rem;
    height: 2rem;
  }

  input {
    display: none;
  }

  .magnifier {
    display: inline;
  }

  .main_content {
    grid-template-columns: repeat(1, 200px);
    gap: 40px;
  }

  .footer_content {
    justify-content: center;
  }

  .socila_media img {
    width: 3rem;
    height: 3rem;
  }

  .footer_logo {
    display: none;
  }
}

@media only screen and (min-width: 576px) and (max-width: 767px) {
  .main_content {
    grid-template-columns: repeat(2, 200px);
    gap: 40px;
  }
}

@media only screen and (min-width: 768px) and (max-width: 991px) {
  .main_content {
    grid-template-columns: repeat(3, 200px);
    gap: 40px;
  }
}

@media only screen and (min-width: 992px) and (max-width: 1199px) {
  .main_content {
    grid-template-columns: repeat(4, 200px);
    gap: 40px;
  }
}
