:root {
  --font-color: #2e2e2e;
  --blue: #f2f8ff;
  --h-color: #253e6e;
  --button-color: #3f95e0;
  --liner: #3f61c9;
  --white: white;
  --white-2: white;
  --black: black;
}

.w-form-formrecaptcha {
  margin-bottom: 8px;
}

.body {
  color: var(--font-color);
  font-family: Rubik, sans-serif;
  font-size: 20px;
  line-height: 140%;
}

.body.blue {
  background-color: var(--blue);
}

.hero-section {
  background-color: var(--blue);
  background-image: url('../images/heroimage.png');
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  justify-content: center;
  align-items: center;
  min-height: 640px;
  margin-top: 100px;
  display: flex;
}

.main-block {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-direction: column;
  width: 1140px;
  padding: 80px 0;
  display: flex;
}

.h1 {
  color: var(--h-color);
  font-size: 52px;
  line-height: 120%;
}

.blue-block {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  border-radius: 15px 50px;
  max-width: 630px;
  padding: 30px 40px;
  box-shadow: 0 2px 4px #0003;
}

.white-text {
  color: var(--white);
  font-size: 22px;
  line-height: 150%;
}

.section {
  justify-content: center;
  align-items: center;
  padding: 90px 20px 40px;
  display: flex;
}

.section.altbg {
  background-image: linear-gradient(to bottom, var(--blue), white);
  padding-bottom: 90px;
}

.section.smallpadding {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section.freepage {
  margin-top: 100px;
}

.main-content {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  flex-direction: column;
  width: 1140px;
  display: flex;
}

.content-block {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  flex-direction: column;
  flex: 0 auto;
  display: flex;
}

.h2 {
  color: var(--h-color);
  margin-bottom: 15px;
  font-size: 36px;
  line-height: 130%;
}

.h2.center {
  text-align: center;
  line-height: 130%;
}

.h2.smallh2 {
  font-size: 32px;
}

.img-block {
  align-self: flex-end;
  align-items: flex-end;
  width: 480px;
  height: 460px;
  display: flex;
  position: relative;
}

.img-bg {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  border-radius: 15px 100px;
  width: 470px;
  height: 450px;
}

.image-2 {
  border-radius: 15px 100px 15px 95px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.block-horizontal {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  flex-direction: row;
  justify-content: center;
  display: flex;
}

.langs-block {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  display: flex;
}

.lang-block {
  grid-column-gap: 0px;
  grid-row-gap: 0px;
  border-radius: 15px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 15px 25px;
  display: flex;
  box-shadow: 0 2px 35px #253e6e1a;
}

.flag-title {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  align-items: center;
  display: flex;
}

.text-block-2 {
  font-size: 12px;
  line-height: 120%;
}

.container {
  justify-content: space-between;
  align-items: center;
  width: 1140px;
  display: flex;
}

.navbar {
  background-color: var(--white);
  justify-content: space-between;
  align-items: center;
  height: 100px;
  display: flex;
  position: fixed;
  inset: 0% 0% auto;
  box-shadow: 0 2px 5px #253e6e1a;
}

.nav-link {
  padding: 10px;
  font-size: 16px;
  transition: all .4s;
}

.nav-link:hover {
  color: var(--liner);
}

.nav-link.w--current {
  color: var(--font-color);
}

.nav-link.w--current:hover {
  color: var(--liner);
}

.langs-panel {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  display: flex;
}

.link-block {
  width: 30px;
  height: 30px;
}

.icon {
  display: flex;
}

.burger {
  justify-content: space-between;
  display: none;
}

.header-contacts {
  text-align: right;
}

.adress {
  font-size: 15px;
}

.phone {
  color: var(--h-color);
  font-size: 22px;
  font-weight: 700;
  text-decoration: none;
  transition: all .4s;
}

.phone:hover {
  color: var(--liner);
}

.list {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  padding-left: 20px;
  display: flex;
}

.img-bg-2 {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  border-radius: 15px 100px;
  width: 470px;
  height: 500px;
}

.image-3 {
  border-bottom-left-radius: 70px;
  position: absolute;
  inset: auto auto 10px 30px;
}

.img-bg-2-1 {
  background-color: #d4e9fa;
  border-radius: 15px 100px 15px 95px;
  width: 470px;
  height: 500px;
  position: absolute;
  bottom: 10px;
  left: 10px;
}

.column-block {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  justify-content: space-between;
  display: grid;
}

.gri-block {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  grid-template-rows: auto auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.cell {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  border-radius: 15px;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding: 20px 30px;
  display: flex;
  box-shadow: 0 2px 35px #253e6e1a;
}

.title-cell {
  color: var(--h-color);
  font-weight: 600;
}

.text18 {
  font-size: 18px;
}

.img-block-2 {
  align-self: flex-end;
  align-items: flex-end;
  width: 480px;
  height: 630px;
  display: flex;
  position: relative;
}

.img-block-3 {
  align-self: flex-start;
  align-items: flex-end;
  width: 480px;
  height: 460px;
  display: flex;
  position: relative;
}

.img-bg-3 {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  border-radius: 15px 100px;
  width: 366px;
  height: 447px;
}

.button {
  border-radius: 7px;
  justify-content: center;
  align-self: start;
  align-items: center;
  max-width: 250px;
  height: 56px;
  padding-left: 20px;
  padding-right: 20px;
  font-size: 18px;
  transition: all .4s;
  display: flex;
}

.button:hover {
  background-color: var(--liner);
}

.text-span {
  font-weight: 600;
}

.link {
  color: var(--white);
  text-decoration: none;
}

.block-pkv {
  min-width: 34%;
}

.two-column-block {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  display: flex;
}

.img-block-4 {
  align-self: flex-start;
  align-items: flex-end;
  width: 560px;
  height: 560px;
  display: flex;
  position: relative;
}

.img-bg-4 {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  border-radius: 15px 100px;
  width: 560px;
  height: 560px;
}

.footer {
  background-image: linear-gradient(to bottom, var(--button-color), var(--liner));
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  padding: 40px 20px;
  display: flex;
}

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

.left-footer {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: column;
  display: flex;
}

.white-text-20 {
  color: var(--white);
  font-size: 20px;
  line-height: 150%;
  text-decoration: none;
}

.logo-footer {
  width: 280px;
  height: auto;
}

.footer-tel {
  color: var(--white);
  font-weight: 500;
  text-decoration: none;
  transition: all .4s;
}

.footer-tel:hover {
  color: var(--blue);
}

.text-span-2, .text-span-3 {
  font-weight: 400;
}

.right-footer {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: column;
  justify-content: space-between;
  align-items: flex-end;
  padding-top: 20px;
  display: flex;
}

.white-text-16 {
  color: var(--white);
  font-size: 16px;
  line-height: 150%;
  text-decoration: none;
}

.link-2 {
  color: var(--white);
  text-decoration: underline;
}

.footerl-links, .footer-cr {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: column;
  align-items: flex-end;
  display: flex;
}

.text-hero {
  max-width: 630px;
}

.list-num {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  padding-left: 20px;
  list-style-type: decimal;
  display: flex;
}

.text-span-4, .text-span-5 {
  font-weight: 600;
}

.custom-text {
  margin-bottom: 0;
  line-height: 140%;
}

.bold-text {
  color: var(--h-color);
  font-size: 24px;
  font-weight: 600;
}

.contact-column {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: column;
  flex: 1;
  max-width: 50%;
  display: flex;
}

.text-field {
  color: var(--font-color);
  border: 1px #000;
  border-radius: 7px;
  height: 56px;
  padding-left: 20px;
  font-size: 18px;
  box-shadow: 0 2px 35px #253e6e1a;
}

.form {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  display: flex;
}

.text-field-big {
  color: var(--font-color);
  border: 1px #000;
  border-radius: 7px;
  min-height: 120px;
  padding-left: 20px;
  font-size: 18px;
  box-shadow: 0 2px 35px #253e6e1a;
}

.contacts-content {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  justify-content: space-between;
  display: flex;
}

.title-nemr {
  color: var(--h-color);
  font-weight: 600;
}

.block {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  display: flex;
}

.map {
  margin-top: 20px;
}

.h3 {
  color: var(--h-color);
}

.daten-content {
  grid-column-gap: 5px;
  grid-row-gap: 5px;
  flex-direction: column;
  width: 1140px;
  display: flex;
}

.brand {
  width: 240px;
}

.brand.w--current {
  max-width: 240px;
}

.text-span-6, .text-span-7 {
  font-weight: 600;
}

.thanks-block {
  grid-column-gap: 20px;
  grid-row-gap: 20px;
  flex-direction: column;
  width: 1140px;
  display: flex;
}

.section-blog {
  justify-content: center;
  align-items: center;
  margin-top: 100px;
  padding: 40px 20px;
  display: flex;
}

.section-blog.altbg {
  background-image: linear-gradient(to bottom, var(--blue), white);
  padding-bottom: 90px;
}

.section-blog.smallpadding {
  padding-top: 40px;
  padding-bottom: 40px;
}

.section-blog.freepage {
  margin-top: 100px;
}

.list-blog {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  flex-direction: column;
  padding-left: 20px;
  display: flex;
}

.hero-blog-block {
  grid-column-gap: 40px;
  grid-row-gap: 40px;
  grid-template-rows: auto;
  grid-template-columns: 1fr 1fr;
  grid-auto-columns: 1fr;
  align-items: center;
  margin-bottom: 20px;
  display: grid;
}

.hero-blog-img {
  border-radius: 10px;
}

.blog-posts {
  grid-column-gap: 16px;
  grid-row-gap: 16px;
  grid-template-rows: auto auto;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-columns: 1fr;
  display: grid;
}

.posts-block {
  padding: 10px;
}

.h2-post-name {
  color: var(--h-color);
  margin-bottom: 15px;
  font-size: 22px;
  line-height: 130%;
}

.h2-post-name.center {
  text-align: center;
  line-height: 130%;
}

.h2-post-name.smallh2 {
  font-size: 32px;
}

.posts-img {
  border-radius: 10px;
  max-width: 100%;
}

.bold-text-2 {
  font-size: 20px;
}

.name-post {
  font-size: 20px;
  font-weight: 600;
  transition: all .3s;
}

.name-post:hover {
  color: var(--button-color);
}

.link-3 {
  color: var(--h-color);
  text-decoration: none;
}

.freepik-text {
  font-size: 10px;
}

.blog-post {
  grid-column-gap: 10px;
  grid-row-gap: 10px;
  color: var(--h-color);
  flex-flow: column;
  align-self: stretch;
  text-decoration: none;
  transition: all .3s;
  display: flex;
}

.blog-post:hover {
  color: var(--button-color);
}

.blog-img-prev {
  object-fit: cover;
  border-radius: 15px;
  width: 100%;
  height: 230px;
}

.post-prev-tags {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  display: flex;
}

.prev-tag {
  color: #4b1bc5;
  text-transform: uppercase;
  font-size: 12px;
  text-decoration: none;
}

.post-date {
  color: #444;
  flex: 1;
  justify-content: flex-end;
  align-items: center;
  font-size: 13px;
  display: flex;
}

.post-name {
  margin-top: 0;
  margin-bottom: 0;
  font-size: 20px;
  font-weight: 500;
  line-height: 130%;
}

.post-text-prev {
  color: #444;
  font-size: 16px;
  line-height: 140%;
}

.section-breadcrumbs {
  grid-column-gap: 100px;
  grid-row-gap: 100px;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  padding: 0 20px 20px;
  display: flex;
}

.content {
  grid-column-gap: 30px;
  grid-row-gap: 30px;
  flex-flow: column;
  align-items: stretch;
  width: 100%;
  max-width: 1140px;
  display: flex;
}

.breadcrumbs {
  color: #2b2c2e;
  font-size: 14px;
  text-decoration: none;
}

.pagination-block {
  grid-column-gap: 15px;
  grid-row-gap: 15px;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  display: flex;
}

.pagi {
  color: #444;
  font-size: 16px;
  text-decoration: none;
  transition: all .3s;
}

.pagi:hover {
  color: var(--liner);
}

.pagi.active {
  background-color: var(--button-color);
  color: #fff;
  border-radius: 5px;
  padding: 2px 8px;
}

@media screen and (max-width: 991px) {
  .hero-section {
    background-position: 45%;
  }

  .main-block {
    padding-left: 20px;
    padding-right: 20px;
  }

  .h1 {
    font-size: 40px;
  }

  .img-block {
    align-self: flex-start;
    width: auto;
    height: auto;
    margin-top: 100px;
  }

  .img-bg {
    width: 235px;
    height: 225px;
  }

  .block-horizontal {
    flex-direction: row;
  }

  .langs-block {
    flex-direction: column;
  }

  .container {
    padding-left: 20px;
    padding-right: 20px;
  }

  .nav-link {
    text-align: center;
  }

  .icon {
    color: var(--button-color);
    font-size: 40px;
  }

  .burger {
    flex: 0 auto;
    display: block;
  }

  .burger.w--open {
    background-color: var(--white);
  }

  .gri-block {
    grid-template-rows: auto auto auto;
    grid-template-columns: auto auto auto;
    grid-auto-columns: auto;
  }

  .img-block-2, .img-block-3 {
    display: none;
  }

  .two-column-block {
    flex-direction: column;
  }

  .img-block-4 {
    width: auto;
    height: auto;
  }

  .img-bg-4 {
    width: 300px;
    height: 300px;
  }

  .brand {
    max-width: 200px;
  }

  .brand.w--current {
    max-width: 240px;
  }

  .nav-menu {
    background-color: var(--white);
  }

  .hero-blog-block {
    flex-direction: column;
  }

  .h2-post-name {
    line-height: 110%;
  }

  .name-post {
    font-size: 18px;
    line-height: 100%;
  }

  .blog-img-prev {
    height: 200px;
  }

  .post-name {
    font-size: 18px;
  }
}

@media screen and (max-width: 767px) {
  .body {
    font-size: 18px;
  }

  .hero-section {
    background-image: none;
    background-position: 0 0;
    background-repeat: repeat;
    background-size: auto;
  }

  .h1 {
    font-size: 40px;
  }

  .white-text {
    font-size: 20px;
  }

  .section {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .section.altbg {
    padding-bottom: 40px;
  }

  .main-content {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
  }

  .h2, .h2.center, .h2.smallh2 {
    font-size: 28px;
  }

  .img-block {
    margin-top: 0;
  }

  .block-horizontal {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    flex-direction: column-reverse;
  }

  .container {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .langs-panel {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    flex-direction: column;
  }

  .link-block {
    width: 24px;
    height: 24px;
  }

  .burger {
    padding: 0;
  }

  .adress {
    font-size: 12px;
  }

  .phone {
    font-size: 18px;
  }

  .column-block {
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    flex-direction: column;
  }

  .gri-block {
    grid-template-columns: auto;
  }

  .footer-content {
    flex-direction: column;
  }

  .white-text-20 {
    font-size: 18px;
  }

  .right-footer, .footerl-links, .footer-cr {
    align-items: flex-start;
  }

  .contact-column {
    max-width: none;
  }

  .contacts-content {
    flex-direction: column;
  }

  .brand {
    padding-left: 0;
  }

  .brand.w--current {
    max-width: 150px;
    padding-left: 0;
  }

  .section-blog {
    padding-top: 40px;
    padding-bottom: 20px;
  }

  .section-blog.altbg {
    padding-bottom: 40px;
  }

  .hero-blog-block {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
    grid-template-columns: 1fr;
  }

  .blog-posts {
    grid-column-gap: 16px;
    grid-row-gap: 16px;
    grid-template-columns: 1fr 1fr;
  }

  .h2-post-name {
    font-size: 22px;
    line-height: 100%;
  }

  .h2-post-name.center, .h2-post-name.smallh2 {
    font-size: 28px;
  }

  .post-date {
    line-height: 150%;
  }

  .section-breadcrumbs {
    padding-bottom: 20px;
  }

  .pagination-block {
    justify-content: center;
    align-items: center;
  }
}

@media screen and (max-width: 479px) {
  .main-block {
    grid-column-gap: 20px;
    grid-row-gap: 20px;
    padding-top: 40px;
    padding-bottom: 40px;
  }

  .h1 {
    font-size: 30px;
  }

  .blue-block {
    padding: 20px 30px;
  }

  .white-text {
    font-size: 18px;
  }

  .section, .section.smallpadding {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .content-block {
    font-size: 16px;
  }

  .nav-link {
    text-align: center;
  }

  .burger.w--open {
    background-color: #fff;
  }

  .adress {
    display: none;
  }

  .phone {
    font-size: 14px;
  }

  .daten-content {
    width: 100%;
  }

  .brand.w--current {
    max-width: 120px;
  }

  .nav-menu {
    background-color: var(--white);
  }

  .thanks-block {
    width: 100%;
  }

  .section-blog, .section-blog.smallpadding {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .blog-posts {
    grid-template-columns: 1fr;
  }

  .posts-img, .hero-block-img {
    max-width: 100%;
  }

  .blog-img-prev {
    border-radius: 10px;
    height: 200px;
  }

  .post-name {
    font-size: 18px;
  }

  .post-text-prev {
    font-size: 14px;
  }

  .section-breadcrumbs {
    grid-column-gap: 60px;
    grid-row-gap: 60px;
    padding-bottom: 20px;
    padding-left: 10px;
    padding-right: 10px;
  }

  .content {
    grid-column-gap: 10px;
    grid-row-gap: 10px;
  }
}


