body {
  font-family: "Rubik", sans-serif;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 100%;
  margin: 0;
  align-items: center;
}

header {
  background-image: url(./images/pattern-bg-desktop.png);
  background-size: cover;
  align-self: stretch;
  padding-top: 20px;
  margin: 0;
  text-align: center;
  font-size: 35px;
  font-weight: 700;
  color: white;
  min-height: 220px;
  position: relative;
  z-index: 1000;
}

header h5 {
  margin-top: 10px;
  margin-bottom: 40px;
}

header form {
  width: 30%;
  margin: 0 auto;
  display: flex;
  border-radius: 0 25px 25px 0;
}

input[type="text"] {
  width: 100%;
  padding: 16px;
  font-size: 18px;
  color: hsl(0, 0%, 58%);
  border: 1px solid #ccc;
  border-radius: 15px 0 0 15px;
  box-sizing: border-box;
}

.submitBtn {
  border-radius: 0 15px 15px 0;
  background-color: #333;
  border: none;
  cursor: pointer;
  padding: 16px;
}

.submitBtn img {
  width: 12px;
}

.info_container {
  background: rgb(255, 255, 255);
  position: absolute;
  width: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-50%);
  z-index: 1000;
  padding: 32px 32px 32px 16px;
  border-radius: 13px;
  display: flex;
  justify-content: space-evenly;
  flex-direction: row;
  text-align: left;
  align-items: flex-start;
  gap: 1.5rem;
  box-shadow: 0 4px 12px rgb(0, 0, 0, 1);
}

.info_container h6 {
  color: hsl(0, 0%, 58%);
  margin: 0;
  font-weight: 400;
  font-size: 0.75rem;
}

.info_container div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  border-right: 1px solid hsl(0, 0%, 80%);
  padding-right: 2rem;
  gap: 8px;
}

.info_container p {
  margin: 0;
  padding: 0;
  color: hsl(0, 0%, 17%);
  font-weight: 500;
}

.info_container div:last-child {
  border-bottom: none;
}

.map_section {
  position: relative;
  width: 100%;
}

#map {
  height: calc(100vh - 280px);
  width: 100%;
  overflow: visible;
}

@media (max-width: 767px) {
  header {
    background-image: url("./images/pattern-bg-mobile.png");
  }

  header form {
    width: 90%;
  }

  .info_container {
    flex-direction: column;
    width: 85%;
    text-align: center;
    align-items: center;
    transform: translateX(-50%) translateY(-20%); 
  }

  .info_container div {
    border-right: none;
    border-bottom: 1px solid hsl(0, 0%, 80%);
    padding-right: 0;
    padding-bottom: 1rem;
    width: 100%;
    align-items: center;
  }

  .info_container div:last-child {
    border-bottom: none;
  }
}
