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

:root {
  --very-dark-gray: hsl(0, 0%, 17%);
  --dark-gray: hsl(0, 0%, 59%);
}

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

body,
html {
  height: 100%;
  font-size: 18px;
  font-family: "Rubik", sans-serif;
}

::placeholder {
  /* Chrome, Firefox, Opera, Safari 10.1+ */
  color: var(--dark-gray);
  opacity: 0.7; /* Firefox */
}

.pattern {
  position: relative;
  background: url("images/pattern-bg.png") no-repeat;
  background-size: cover;
  padding: 10px 0 100px;
}

.title {
  color: white;
  padding: 10px;
  z-index: 1;
  text-align: center;
}

.title > h2{
    font-weight: 500;
}

.item-container {
  max-width: 500px;
  margin: 0 auto;
}

.input {
  display: flex;
  padding: 15px;
  z-index: 1;
}

.input > input {
  font-family: "Rubik", sans-serif;
  display: block;
  font-size: 18px;
  border-radius: 12px 0px 0px 12px;
  border: 0px;
  width: 100%;
  padding: 13px 10px 13px 20px;
}

input:focus-visible {
  outline: none;
}

.btn {
  background-color: black;
  border-radius: 0px 12px 12px 0px;
  width: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  user-select: none;
  cursor: pointer;
}

.icon-arrow {
  width: 8px;
}

.information {
  position: relative;
  flex-grow: 1;
}

.white-box {
  position: absolute;
  left: 0;
  right: 0;
  background-color: white;
  border-radius: 15px;
  width: 75%;
  margin-left: auto;
  margin-right: auto;
  border: 0px;
  margin-top: -70px;
  color: var(--dark-gray);
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
  padding: 30px;
}

.white-box > div {
  width: 25%;
  padding: 0 20px;
  /* padding-top: 23px; */
  position: relative;
}

.white-box > div:first-child {
  padding-left: 0;
}

.white-box > div:not(:last-child)::after {
  content: "";
  border-right: 1px solid #d3d1d1;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
}

p {
  font-weight: bold;
  color: var(--dark-gray);
}

.info-title {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1.5px;
}

.info-details {
  padding-top: 10px;
  font-size: 18px;
  font-weight: 500;
  color: var(--very-dark-gray);
}

#map {
  height: calc(100vh - 240px);
  z-index: 0;
}

/* Tablet Responsive */
@media screen and (max-width: 1024px) {
  .white-box > div {
    width: 50%;
    margin-bottom: 15px;
  }

  .white-box {
    padding-bottom: 15px;
    margin-top: -85px;
  }

  .white-box > div:nth-child(3n + 2)::after {
    display: none;
  }

  .white-box > div:nth-child(3) {
    padding-left: 0;
  }
}

/* Mobile */
@media screen and (max-width: 575px) {
  .input {
    padding: 0 20px;
    padding-top: 5px;
  }

  .white-box > div {
    width: 100%;
    text-align: center;
    padding: 0;
  }

  .white-box {
    width: 90%;
    padding: 20px 0 0;
    margin-top: -80px;
  }

  .white-box > div::after {
    display: none;
  }

  .info-details {
    padding-top: 5px;
    font-size: 14px;
  }

  .info-title {
    font-size: 8px;
  }

  #map {
    height: calc(100vh - 215px);
    z-index: 0;
  }
}
