body {
  font-size: 12px;
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  height: 100vh;
}

#input-error {
  font-size: 0.9rem;
  color: red;
  display: block;
  margin-top: 8px;
  font-weight: 400;
}

h1 {
  color: white;
  font-weight: 700;
}

#submit-btn:hover {
  background-color: hsl(0, 0%, 17%);
}

.hero {
  background-image: url("../images/pattern-bg-desktop.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 300px;
  position: relative;
}

#map {
  flex: 1;
  position: relative;
}

#text-input {
  width: 250px;
  padding: 7px 10px;
  margin-right: 0;
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
  border: none;
  outline: none;
  font-weight: 500;
}

#submit-btn {
  color: white;
  background-color: black;
  border: none;
  padding: 7px 10px;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  cursor: pointer;
}

#input-form {
  max-width: fit-content;
  border-radius: 10px;
}

h2 {
  font-size: 0.8rem;
  color: hsl(0, 0%, 59%);
  font-weight: 500;
  margin: 0;
  padding: 0;
}

p {
  font-weight: 700;
  margin-top: 8px;
}

#info-banner {
  margin: 0 auto;
  max-width: 80%;
  background-color: white;
  top: 55%;
  padding: 15px 30px;
  border-radius: 20px;
  box-shadow: 2px 2px 10px hsl(0, 0%, 59%);
  position: absolute;
  text-align: center;
  z-index: 9999;
}

@media screen and (min-width: 769px) {
    body {
        font-size: 18px;
    }
  #info-banner {
    display: flex;
    gap: 20px;
  }

  .hero {
    height: 220px;
  }

  #text-input {
    width: 300px;
  }

  #info-banner {
    top: 150px;
    padding: 15px 30px;
  }

  #location,
  #timezone,
  #isp {
    border-left: 1px solid hsl(0, 0%, 59%);
    padding: 0 10px;
  }
}
