html {
  scroll-behavior: smooth;
  font-family: Roboto;
}

html,
body {
  padding: 0;
  margin: 0;
}

/* Logo */

.lun-logo {
  display: block;
  width: auto;
  height: 35px;
}

@media screen and (max-width: 500px) {
  .lun-logo {
    height: 25px;
  }
}

/* Top header */

.lun-header {
  position: fixed;
  top: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  height: 90px;
  padding: 0 40px;
  background-color: #fff;
  z-index: 1;
  box-sizing: border-box;
}

.lun-header__logo-link {
  margin-right: auto;
}

.lun-header__links {
  display: flex;
  flex-direction: row;
  margin-right: 20px;
  list-style: none;
}

.lun-header__links li {
  margin-left: 30px;
  color: #0a0a28;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Roboto';
}

.lun-header__links a,
.mobile-menu__links a {
  text-decoration: none;
  color: inherit;
}

.lun-header__social {
  display: flex;
}

.lun-header__social a {
  display: flex;
  margin: 0 5px;
}

.lun-header__menu-btn {
  display: none;
  border: none;
  background: transparent;
  cursor: pointer;
}

@media screen and (max-width: 1000px) {
  .lun-header {
    padding: 0 20px;
  }

  .lun-header__logo {
    height: 32px;
  }

  .lun-header__links,
  .lun-header__social {
    display: none;
  }

  .lun-header__menu-btn {
    display: block;
  }
}

/* Mobile menu */

.mobile-menu[hidden] {
  display: none;
}

.mobile-menu__backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background-color: rgba(0, 0, 0, 0.5);
}

.mobile-menu__drawer {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1201;
  height: 100%;
  overflow-y: auto;
  background-color: #fff;
  box-shadow: 0 8px 10px -5px rgba(0, 0, 0, 0.2), 0 16px 24px 2px rgba(0, 0, 0, 0.14),
    0 6px 30px 5px rgba(0, 0, 0, 0.12);
}

.mobile-menu__links {
  display: flex;
  flex-direction: column;
  padding: 20px 60px;
  list-style: none;
}

.mobile-menu__links li {
  margin-bottom: 10px;
  color: #0a0a28;
  font-size: 20px;
  font-weight: 400;
  font-family: 'Roboto';
}

.mobile-menu__social {
  display: flex;
  justify-content: center;
}

.mobile-menu__social a {
  margin: 0 5px;
}

/* Section header (sticky poll title + form link) */

.section-header {
  position: fixed;
  top: 90px;
  left: 0;
  width: 100%;
  padding: 0 9%;
  z-index: 1;
  box-sizing: border-box;
  background: linear-gradient(0deg, #fff 40%, #fff 60%);
  transition: all 0.5s linear;
}

.section-header--main {
  background: linear-gradient(0deg, #f1f6ff 40%, #fbfbfe 60%);
}

.section-header__inner {
  min-height: 90px;
  height: 160px;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-image: url('../images/amenities/garden.jpg');
  background-position: 65% center;
  background-repeat: no-repeat;
  transition: all 0.5s linear;
}

.section-header__title {
  max-width: 475px;
  font-size: 36px;
  font-weight: bold;
}

.section-header__inner--compact {
  height: 90px;
  background-position-y: -500px;
}

.section-header__inner--compact .section-header__title {
  max-width: unset;
}

@media screen and (max-width: 850px) {
  .section-header__title {
    font-size: 24px;
  }

  .section-header__inner {
    background: none;
    height: unset;
  }

  .section-header__inner--compact {
    display: none;
  }
}

@media screen and (max-width: 550px) {
  .section-header__inner {
    flex-direction: column;
    align-items: flex-start;
    padding-bottom: 18px;
  }
}

/* Content */

.content {
  padding: 0 9%;
}

@media screen and (max-width: 999px) {
  .content {
    padding: 0 20px;
  }
}

.links-section {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  min-height: 100vh;
  max-width: 1150px;
  padding-top: 270px;
  margin: 0 auto;
  box-sizing: border-box;
}

.links-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  grid-row-gap: 40px;
  grid-column-gap: 10px;
}

.next-screen-link {
  display: flex;
  justify-content: center;
}

.next-screen-link__corner {
  height: 25px;
  width: 25px;
  border-left: 2px solid #fa7800;
  border-bottom: 2px solid #fa7800;
  transform: rotate(-45deg);
}

@media screen and (max-width: 1200px) {
  .next-screen-link {
    display: none;
  }
}

/* Category link */

.category-link {
  display: flex;
  flex-direction: column;
  text-decoration: unset;
  color: #282828;
}

.category-link__icon {
  position: relative;
  width: 100px;
  height: 100px;
  background-size: contain;
}

.category-link__text {
  font-family: Roboto;
  font-size: 24px;
  font-weight: 500;
  margin-top: 15px;
}

.category-link__corner {
  position: absolute;
  height: 86px;
  width: 86px;
  left: -4px;
  bottom: -4px;
  border: 4px solid;
  border-top: none;
  border-right: none;
}

@media screen and (max-width: 550px) {
  .category-link__icon {
    width: 70px;
    height: 70px;
  }

  .category-link__corner {
    height: 43px;
    width: 43px;
    left: -2px;
    bottom: -2px;
    border-width: 2px;
  }

  .category-link__text {
    font-size: 18px;
    margin-top: 10px;
  }
}

/* Category section */

.category-section {
  position: relative;
  min-height: calc(100vh - 230px);
  padding: 30px 0;
  box-sizing: border-box;
}

.category-section__anchor {
  position: absolute;
  top: -200px;
}

.section-title {
  display: flex;
  align-items: center;
  margin-top: 0;
  margin-bottom: 35px;
  color: #282828;
  font-size: 26px;
  font-weight: bold;
}

.section-title__icon {
  height: 80px;
  width: 80px;
  background-size: contain;
  background-repeat: no-repeat;
  margin-right: 15px;
}

.section-title__text {
  flex-grow: 1;
  margin: 0;
  padding: 7px 0 7px 15px;
  background-color: #f1f6ff;
}

.section-content {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 80px;
}

.pagination__item {
  width: 16px;
  height: 16px;
}

@media screen and (max-width: 870px) {
  .pagination {
    display: none;
  }
}

.districts-map,
.stat {
  position: relative;
}

.districts-map h2,
.stat h2 {
  margin: 0;
  font-size: 24px;
  text-transform: uppercase;
}

.districts-map__svg svg {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 0 auto;
}

.stat {
  display: flex;
  flex-direction: column;
}

.stat__bars {
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  justify-content: space-around;
  min-height: 380px;
}

.stat-bar {
  display: flex;
  align-items: center;
}

.stat-bar__value {
  font-size: 28px;
  font-weight: bold;
  min-width: 60px;
  margin-right: 5px;
}

.stat-bar__title {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
}

.stat-bar__container {
  flex-grow: 1;
}

.stat-bar__fill {
  height: 7px;
  min-width: 1px;
}

@media screen and (max-width: 500px) {
  .stat-bar__value {
    font-size: 20px;
    min-width: 40px;
  }

  .stat-bar__title {
    font-size: 16px;
    margin-bottom: 5px;
  }

  .stat-bar__fill {
    height: 5px;
  }
}

@media screen and (max-width: 800px) {
  .section-content {
    flex-direction: column;
  }

  .districts-map,
  .stat {
    margin: 20px 0;
  }
}

@media screen and (max-width: 550px) {
  .section-title {
    font-size: 20px;
  }

  .links-list {
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    grid-row-gap: 20px;
    margin-top: 30px;
  }

  .stat__bars {
    min-height: 280px;
  }
}

@media screen and (max-width: 600px) {
  .section-title__icon {
    width: 60px;
    height: 60px;
  }
}

/* Footer */

.lun-footer {
  padding: 0 20px;
  background-color: #0a0a28;
  font-family: Roboto;
}

.lun-footer__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  max-width: 1200px;
  padding: 75px 0 90px;
  margin: 0 auto;
}

@media screen and (max-width: 960px) {
  .lun-footer__content {
    max-width: 640px;
    grid-template-columns: repeat(2, 1fr);
    row-gap: 30px;
  }
}

@media screen and (max-width: 450px) {
  .lun-footer__content {
    grid-template-columns: repeat(1, 1fr);
  }
}

.lun-footer__social {
  margin-top: 30px;
}

.lun-footer__social a {
  margin-right: 5px;
}

.lun-footer__copyright {
  margin-top: 20px;
  font-size: 12px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
}

.lun-footer__title {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 20px;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
}

.lun-footer__links {
  list-style: none;
  padding: 0;
}

.lun-footer__links li {
  margin-bottom: 10px;
}

.lun-footer__links a {
  color: #fff;
  text-decoration: none;
}
