#header {
  background-color: rgb(3, 11, 121);
  height: 120px;
  justify-content: space-between;
  padding: 0 120px;
  position: sticky;
  top: 0;
  z-index: 2;
}

.back-to-start {
  position: relative;
  display: flex;
  align-items: center;
  width: 50%;
  justify-content: space-between;
}

.back-to-start > h1 {
  font-size: 64px;
  font-weight: 900;
  color: yellow;
  transform: translateX(50%);
}

.back-to-start > p {
  width: 120px;
  position: absolute;
  z-index: 1;
  left: 0;
  padding: 0 12px;
  font-weight: 900;
  top: 60%;
  pointer-events: none;
}

form {
  position: absolute;
  right: 0px;
  top: 20px;
  padding-right: 120px;
  gap: 10px;
}

#input-pokemon-name {
  height: 40px;
  border-radius: 8px;
  font-size: 18px;
  background-color: rgba(255, 84, 84, 0.89);
  border: 4px solid white;
  padding: 0px 8px;
  font-weight: 700;
  color: black;
  position: relative;
  top: 58px;
}

.icon-pokeball {
  height: 120px;
  width: 120px;
  border-radius: 50%;
  cursor: pointer;
}

@media (max-width: 1100px) {
  .back-to-start > h1 {
    font-size: 48px;
    transform: translateX(50%);
  }
}

@media (max-width: 970px) {
  .back-to-start > h1 {
    font-size: 42px;
    transform: translateX(10%);
  }
}

@media (max-width: 830px) {
  .back-to-start > h1 {
    font-size: 34px;
    transform: translateX(0);
  }
}

@media (max-width: 650px) {
  form {
    padding-right: 60px;
  }

  #header {
    padding: 0 60px;
  }

  #input-pokemon-name {
    height: 40px;
    border-radius: 8px;
    font-size: 16px;
  }
}

@media (max-width: 520px) {
  form {
    padding-right: 10px;
  }

  #header {
    height: 80px;
    justify-content: space-between;
    padding: 0 20px;
  }

  .icon-pokeball {
    height: 80px;
    width: 80px;
    border-radius: 50%;
  }

  #input-pokemon-name {
    height: 32px;
    font-size: 14px;
    top: 26px;
  }
  .back-to-start > p {
    font-size: 12px;
    padding: 0 24px;
  }
  .back-to-start > p > span {
    display: none;
  }
  .back-to-start > h1 {
    transform: translateY(-40%);
  }
}
