* {
  box-sizing: border-box;
}

html, body {
  font-family: TTLakes, sans-serif;
  margin: 0;
  width: 100%;
  height: 100%;
  background-color: #F8F8F8;
  min-width: 320px;
}

main {
  background-color: #F8F8F8;
  min-width: 320px;
}

.uppermenu__mobile {
  background-color: white;
}

button {
  padding: 0px;
  border: none;
  background: none;
  cursor: pointer;
}

.button:hover {
  filter: brightness(150%);
}

.uppermenu__mobile {
  display: flex;
}

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

.navigation__button {
  margin: 0 5px;
  line-height: 24px;
  display: flex;
  color: #7E7E82;
  border: 2px solid #F8F8F8;
  padding: 8px 10px 8px 16px;
  border-radius: 6px;
  background-color: #F8F8F8;
  font-size: 16px;
  text-decoration: none;
  justify-content: center;
}
.navigation__button: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 0 30px;
}

.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__link {
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  line-height: 24px;
  letter-spacing: -0.2px;
  margin-left: 15px;
}
.description__link:link, .description__link:visited, .description__link:active {
  color: #000;
}
.description__link:hover {
  color: #7E7E82;
}
.description__link::before {
  content: url("../img/icon.svg");
  padding-left: -15px;
  margin-top: 0px;
  float: left;
}

/** mobile **/
@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, .button__call, .button__chat, .button__profile {
    display: none;
  }

  .uppermenu__left {
    width: 300px;
    display: flex;
    justify-content: flex-start;
    min-height: 88px;
  }

  .uppermenu__right {
    width: 400px;
    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 15px;
    align-items: center;
  }

  .main__service-title {
    white-space: nowrap;
    margin-top: 0px;
    padding-top: 20px;
    margin-bottom: 0px;
  }
  .main__service-title::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: 0px;
    width: 100%;
  }

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

  .description__text {
    margin-left: 30px;
    flex-wrap: wrap;
  }

  .description__img {
    min-width: 100%;
    height: 100%;
    margin-top: 10px;
    max-width: 300px;
    display: flex;
  }
  .description__img img {
    max-width: 100%;
    margin: 0 auto;
  }
}
/** tablet **/
@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: 600px;
  }

  .main__service-title {
    margin-top: 0px;
    padding-top: 20px;
    margin-bottom: 0px;
  }
  .main__service-title::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;
    color: #7E7E82;
    -ms-overflow-style: none;
  }

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

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

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

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

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

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

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

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

  .uppermenu {
    max-width: 1500px;
  }

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

  .uppermenu__service-title {
    margin: 0px;
    padding-left: 40px;
    float: left;
    margin-right: auto;
  }
  .uppermenu__service-title::before {
    content: url("../img/highlight.svg");
    margin-left: -40px;
    margin-top: 0px;
    max-height: 22px;
    float: left;
  }

  .uppermenu__buttons {
    font-weight: bold;
    display: flex;
  }
  .uppermenu__buttons button {
    text-decoration: none;
    color: #000;
    position: relative;
    display: flex;
    align-items: center;
    margin-right: 30px;
  }
  .uppermenu__buttons button:hover {
    color: #7E7E82;
  }
  .uppermenu__buttons img {
    position: relative;
    padding-left: 15px;
  }

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

  .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%;
  }
}