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

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style-type: none;
}

html,
body {
  height: 100%;
}

body {
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  color: var(--very-dark-gray);
  min-width: 375px;
}

header {
  width: 100%;
  height: 280px;
  text-align: center;
  background-image: url(./images/pattern-bg.png);
  background-repeat: no-repeat;
  background-size: cover;
}

header h1 {
  font-weight: 500;
  font-size: 31px;
  text-align: center;
  letter-spacing: 0.018em;
  color: white;
  padding: 28px;
}

header form {
  display: flex;
  justify-content: center;
  height: 58px;
  margin: 0 24px 50px;
}

header form input[type="text"] {
  flex: 0 1 497px;
  border: none;
  border-radius: 14px 0px 0px 14px;
  padding: 0 24px;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
  color: var(--very-dark-gray);
}

header form input[type="text"]::placeholder {
  color: var(--dark-gray);
}

header form input[type="submit"] {
  flex: 0 0 58px;
  border: none;
  border-radius: 0px 14px 14px 0px;
  background: black url(./images/icon-arrow.svg) no-repeat center;
  cursor: pointer;
}

#mapid {
  height: calc(100% - 310px);
  z-index: 0;
}

#result {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  margin: 0 24px;
}

#result ul {
  flex: 0 1 1110px;
  display: flex;
  justify-content: space-between;
  background: white;
  min-height: 160px;
  border-radius: 14px;
}

#result ul li {
  width: 100%;
  padding: 32px;
  position: relative;
  text-align: left;
}

#result ul li h3 {
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--dark-gray);
  margin-bottom: 13px;
}

#result ul li p {
  font-weight: 500;
  font-size: 26px;
  line-height: 31px;
  letter-spacing: 0.015em;
  color: var(--very-dark-gray);
}

#result ul li:not(:last-child)::after {
  content: "";
  position: absolute;
  width: 1px;
  height: 50%;
  border-right: 1px solid var(--dark-gray);
  right: 0;
  top: 43px;
}

.attribution {
  font-size: 11px;
  text-align: center;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.attribution a {
  color: #3e52a3;
}

#result.hidden {
  display: none;
}

@media (max-width: 960px) {
  #result ul {
    flex-direction: column;
    min-height: unset;
    max-width: 555px;
    padding: 24px;
  }
  #result ul li {
    text-align: center;
    padding: 0;
    margin-bottom: 23px;
  }
  #result ul li h3 {
    font-size: 11px;
    margin-bottom: 7px;
  }
  #result ul li p {
    font-size: 20px;
  }
  #result ul li:last-child {
    margin-bottom: 0;
  }
  #result ul li:not(:last-child)::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-right: none;
  }
}
/*# sourceMappingURL=style.css.map */