@import "../../../Shared/variables.scss";

.map-section {
  padding: 0px 90px;
  width: 100%;
  margin-top: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  text-align: center;

  &__filters {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 23px;
    margin-bottom: 30px;
  }

  &__switch {
    display: flex;
    align-items: center;
    gap: 18px;

    h4 {
      font-size: 18px;
      font-weight: 400;
    }
  }
}

@media screen and (max-width: 1024px) {
  .map-section {
    padding: 0px 30px;
  }
}

@media screen and (max-width: 768px) {
  .map-section {
    margin-top: 85px;

    &__map {
      height: 416px;
    }
  }
}

@media screen and (max-width: 550px) {
  .map-section {
    padding: 0px 16px;
    margin-top: 70px;

    &__filters {
      width: 100%;
      grid-template-columns: 1fr;
      margin-bottom: 0;
    }

    &__map {
      height: 370px;
    }
  }
}
