@import "variables";
@import "swiper";
@import "sidebar";
@import "modal";
@import "normalize";

@font-face {
  font-family: "TTLakes";
  src: url("../font/TTLakes-Regular.woff") format("woff");
  font-weight: normal;
}

@font-face {
  font-family: "TT Lakes";
  src: url("../font/TTLakes-Bold.woff") format("woff");
  font-weight: bold;
}

* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

.content {
  margin: 0 auto;
  max-width: 1440px;
}

.hidden {
  opacity: 0;
}

.blurred-space {
  position: fixed;
  display: none;
  opacity: 0.9;
  height: 100vh;
  width: 100vw;
  z-index: 2;
  top: 0;
  left: 0;
  background-color: white;
}

html, body {
  font-family: TTLakes, sans-serif;
  width: 100%;
  height: 100%;
  background-color: $bgColor;
  min-width: 320px;
}

.main {
  background-color: $bgColor;
  min-width: 320px;
  max-width: 1120px;
}

.uppermenu__mobile {
  background-color: white;
}

button {
  padding: 0px;
  border: none;
  background: none;
  cursor: pointer;
  font-family: TTLakes, sans-serif;
}

.button {
  &:hover {
    filter: brightness(150%);
  }
  &:active {
    border: none;
  }
}

a:hover,
button:hover {
  color: $greyLink;
}

.uppermenu__service-title,
.service-title--mobile,
.slider__title {
  cursor: default;
}

.uppermenu__mobile {
  display: flex;
}

.uppermenu__service-title, .main__service-title {
  padding: 0 30px;
}

.navigation__button {
  margin: 0 5px;
  line-height: 24px;
  display: flex;
  color: $greyLink;
  border: 2px solid $bgColor;
  padding: 8px 10px 8px 16px;
  border-radius: 6px;
  background-color: $bgColor;
  font-size: 16px;
  text-decoration: none;
  justify-content: center;

  &:hover {
    border: 2px solid #B8FFEC;
    padding: 8px 10px 8px 16px;
    box-sizing: border-box;
    border-radius: 6px;
    background-color: white;
  }
}

.main__description {
  margin: 15px 0 10px 30px;
  padding-right: 3%;
}

.description {
  display: flex;
  flex-wrap: wrap;
  font-size: 15px;
  line-height: 18px;
}

.description__text {
  flex: 1 1 100%;
  padding-right: 5%;
}

.description__img {
  flex: 1 1 100%;
}

.description__img img {
  max-width: 100%;
}

.description__link {
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin-left: 15px;

  &:link, &:visited, &:active {
    color: black;
  }
}

.get-offer {
  padding: 20px 35px;
  max-width: 550px;
}

.get-offer__text {
  margin-top: 30px;
  margin-bottom: 47px;
  display: inline-block;
}

.get-offer__link {
  text-decoration: none;
  font-weight: bold;
  color: black;

  &:link, &:visited, &:active {
    color: black;
}

  &:hover {
    color: $greyLink;
  }
}

.get-offer__link::after {
  content: url('../img/line.svg');
  padding-left: 10px;
  float: right;
}

.le_footer {
  display: flex;
  justify-content: space-around;
  margin: 0px 16px;
  padding-top: 16px;
  border-top: 2px solid #D9FFF5;
}

.le_footer__text {
  max-width: 33%;
  margin: 0 auto;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .uppermenu__mobile {
    display: flex;
    align-items: center;
    justify-content: space-around;
    margin: auto 0px;
    min-width: 320px;
    border-bottom: 2px solid #B8FFEC;
  }

  .divider--mobile, .uppermenu__buttons > .button__call, .uppermenu__buttons > .button__chat, .uppermenu__buttons > .button__profile {
    display: none;
  }

  .uppermenu__left {
    width: 350px;
    display: flex;
    justify-content: flex-start;
    min-height: 88px;
    margin-left: 15px;
  }

  .uppermenu__right {
    width: 350px;
    display: flex;
    justify-content: flex-end;
    min-height: 88px;
  }

  .uppermenu__buttons {
    max-width: 200px;
    min-width: 120px;
    display: flex;
    justify-content: space-evenly;
    flex: 1;
    margin: auto 0 auto 0;
    align-items: center;
  }

  .main__service-title {
    white-space: nowrap;
    margin-top: 0px;
    padding-top: 20px;
    margin-bottom: 0px;

    &::before {
      content: url('../img/highlight.svg');
      margin-left: -30px;
      margin-top: 0px;
      max-height: 22px;
      float: left;
    }
  }

  .navigation {
    overflow-x: scroll;
    padding: 15px 30px 0 28px;
    display: flex;
    white-space: nowrap;
    -ms-overflow-style: none;
    margin-right: 10px;
    max-width: 1400px;
  }

  .navigation__button:last-child {
    margin-right: 8%;
  }

  .navigation::-webkit-scrollbar, .uppermenu__desktop {
    display: none;
  }

  .main__description {
    flex-direction: column;
    margin-left: 30px;
    margin-right: 30px;
  }

  .description__text--full, .description__text--tabletplus, .description__text--all {
    display: none;
  }

  .description__text {
    flex-wrap: wrap;
  }

  .description__img {
    align-self: center;
    min-width: 90%;
    height: 100%;
    margin-top: 10px;
    max-width: 250px;
    display: flex;

    img {
      max-width: 100%;
      margin: 0 auto;
    }
  }

  .le_footer {
    flex-direction: column;
  }

  .le_footer__text {
    max-width: 100%;
    text-align: center;
  }
}

@media (min-width: 768px) and (max-width: 1119px) {
  .uppermenu__mobile {
    width: 100%;
    height: 88px;
    border-bottom: 2px solid #B8FFEC;
    display: flex;
  }

  .uppermenu__desktop {
    display: none;
  }

  .uppermenu__left {
    width: 200px;
    display: flex;
    justify-content: flex-start;
    margin-right: auto;
  }

  .uppermenu__right {
    width: 400px;
    display: flex;
    justify-content: flex-end;
  }

  .uppermenu__buttons {
    max-width: 300px;
    min-width: 200px;
    display: flex;
    justify-content: space-around;
    flex: 1;
    margin: auto 30px;
    align-items: center;
  }

  .uppermenu__left:first-child {
    max-width: 200px;
  }

  main {
    width: 100%;
    min-height: 450px;
  }

  .main__service-title {
    margin-top: 0px;
    padding-top: 20px;
    margin-bottom: 0px;

    &::before {
      content: url('../img/highlight.svg');
      margin-left: -30px;
      margin-top: 0px;
      max-height: 22px;
      float: left;
    }
  }

  .navigation {
    overflow-x: scroll;
    display: flex;
    white-space: nowrap;
    -ms-overflow-style: none;
  }

  .main__navigation {
    padding: 15px 30px 0 15px;
  }

  .navigation__button:last-child {
    margin-right: 8%;
  }

  .navigation::-webkit-scrollbar {
    display: none;
  }

  .main__description {
    flex-direction: row;
    flex-wrap: nowrap;
  }

  .description__text {
    margin-left: 5px;
    max-width: 50%;
    justify-content: flex-start;
  }

  .description__img img {
    max-width: 100%;
    justify-content: flex-end;
  }

  .description__text--full, .description__text--all {
    display: none;
  }

  .le_footer__text:last-child {
    text-align: right;
  }
}

@media screen and (min-width: 1120px) {
  .uppermenu__mobile, .main__service-title, .description__text--all {
    display: none;
  }

  .title {
    margin-top: 0;
    padding-top: 40px;
  }

  .uppermenu {
    max-width: 1120px;
  }

  .uppermenu__desktop {
    padding: 42px 0 10px 0;
    display: flex;
    align-items: center;
    background-color: $bgColor;
  }

  .uppermenu__service-title {
    margin: 0px;
    padding-left: 40px;
    float: left;
    margin-right: auto;

    &::before {
      content: url('../img/highlight.svg');
      margin-left: -40px;
      margin-top: 0px;
      max-height: 22px;
      float: left;
    }
  }

  .uppermenu__buttons {
    font-weight: bold;
    display: flex;

    button {
      text-decoration: none;
      color: black;
      position: relative;
      display: flex;
      align-items: center;
      margin-right: 30px;

      &:hover {
        color: $greyLink;
      }
    }

    img {
      position: relative;
      padding-left: 15px;
    }
  }

  .main {
    min-height: 500px;
    margin-left: 320px;
  }

  .navigation {
    display: flex;
    flex-wrap: wrap;
  }

  .main__navigation {
    padding: 10px 30px 0 28px;
  }

  .navigation__button {
    white-space: nowrap;
  }

  .description__text {
    justify-content: flex-start;
    max-width: 750px;
  }

  .description__img {
    padding-top: 15px;
  }

  .main__description {
    flex-wrap: nowrap;
    justify-content: space-around;
    padding-right: 3%;
  }

  .le_footer__text:last-child {
    text-align: right;
  }
}
