@import "style.css";

#promo {
  position: absolute;
  top: 0;
  left: 400px;
  max-width: 400px;
}

.promo-section {
  position: relative;
  padding: 1em 0;
  min-height: 4.5em;
  font-size: 1em;
  line-height: 1.5;
}

.promo-section.with-icon {
  padding-left: 5.5em;
}

.promo-section:last-of-type {
  border: none;
}

.promo-section .icon {
  display: block;
  position: absolute;
  top: 1em;
  left: 0;
  width: 4.5em;
  height: 4.5em;
}

.promo-section a,
.promo-section a:link,
.promo-section a:active,
.promo-section a:hover,
.promo-section a:visited {
  color: inherit;
  text-decoration: inherit;
  font-weight: inherit;
}

.promo-section .header {
  font-weight: bold;
  color: var(--background-color);
}

.promo-section .description {
  font-weight: normal;
  color: var(--secondary-background-color);
}

.promo-section.soon-available .icon {
  opacity: 0.5;
}

.soon-available-tag {
  display: inline-block;
  padding-left: 0.5em;
  padding-right: 0.5em;
  background-color: var(--background-color);
  color: var(--primary-color);
  font-size: 0.7em;
  text-transform: uppercase;
  font-weight: bold;
}

@media only screen and (max-width: 900px), (max-height: 700px) {
  #container,
  #header,
  #main,
  #form-box,
  #header img,
  #map-box,
  #home {
    position: relative;
    left: auto;
    right: auto;
    top: auto;
    bottom: auto;
    margin: 0;
    width: auto;
    max-width: auto;
  }

  #main {
    height: auto;
  }

  #map-box {
    height: 300px;
    margin-bottom: 20px;
  }

  #main {
    padding: 20px;
  }

  #form-box {
    max-width: 400px;
    margin: 0 auto;
    padding: 20px;
  }

  #header img {
    display: block;
    margin: 10px auto;
  }

  #promo {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    margin: 1em auto;
  }
}
