/* typography */
.landing h1 {
  font-size: 36px;
  line-height: 36px;
}

.landing h2 {
  font-size: 36px;
  line-height: 36px;
}

.landing h3 {
  font-size: 22px;
}

.landing p {
  font-size: 18px;
  margin: 0px;
}

/* header */
.landing header {
  text-align: center;
  padding-top: 30px;
}
.landing header.container,
.landing__benefits.container,
.landing__about .container,
.landing__features.container,
.landing__contact.container {
  width: 100%;
}

/* benefits section */
.landing__benefits {
  padding-bottom: 100px;
}

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

.landing__benefits-col {
  flex-basis: 100%;
}

.landing__benefits-row p,
.landing__benefits-row-reverse p {
  width: 100%;
}

/* about section */
.landing__about {
  background: #eefcfc;
  padding: 42px 0px 55px 0px;
}

.landing__about-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.landing_about-pattern-left,
.landing_about-pattern-right {
  position: absolute;
}

.landing_about-pattern-left,
.landing_about-pattern-right,
.landing__about-img {
  display: none;
}

.landing_about-pattern-left {
  top: 0px;
  left: 0px;
  transform: translate(-158px, 184px);
}

.landing_about-pattern-right {
  bottom: 0px;
  right: 0px;
  transform: translate(38px, -70px);
}

.landing__about-text {
  position: relative;
  padding: 92px 63px;
  text-align: center;
  background-color: white;
  border-radius: 50%;
}

.landing__about-avatar-1,
.landing__about-avatar-2,
.landing__about-avatar-3,
.landing__about-avatar-4,
.landing__about-avatar-5 {
  position: absolute;
}

.landing__about-avatar-1 {
  top: -8px;
  left: 55px;
}

.landing__about-avatar-2 {
  top: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.landing__about-avatar-3 {
  top: 30px;
  right: 48px;
}

.landing__about-avatar-4 {
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.landing__about-avatar-5 {
  bottom: 30px;
  right: 48px;
}

.landing__about-text p {
  width: 283px;
}

/* features section */
.landing__features {
  padding: 50px 15px;
}

.landing__features h2 {
  margin-bottom: 44px;
}

.landing__features-row {
  display: flex;
  flex-wrap: wrap;
}

.landing__features-content {
  display: flex;
  flex-direction: column;
  flex-basis: 100%;
}

.landing__features-content h3 {
  margin-bottom: 15px;
}
.landing__features-content p {
  width: 100%;
}

.landing__features-content div:last-child {
  flex: 1;
  padding: 0px 0px 23px 0px;
}

/* contact section */
.landing__contact {
  padding: 25px 15px 25px 15px;
}

.landing__contact-description {
  margin-bottom: 20px !important;
}

.landing__form .col input,
.landing__form textarea {
  background: #ffffff;
  border: 1px solid #d7d8e1;
  box-sizing: border-box;
  border-radius: 10px;
  padding-left: 20px;
}

.landing__form .col ::placeholder,
.landing__form ::placeholder {
  font-weight: 300;
  font-size: 16px;
  line-height: 130%;
  color: #828495;
}

.landing__form textarea {
  padding-top: 18px;
  resize: none;
  height: 148px;
  margin-bottom: 15px;
}

.landing__form button {
  color: #2c2c2c;
  font-weight: 600;
  border-radius: 10px;
  border: 2px solid #2c2c2c;
  background: white;
  outline: none;
  padding: 15px 25px;
  font-size: 18px;
  margin-bottom: 30px;
}

.landing__form small {
  font-size: 12px;
}

.landing__contact img {
  display: none;
  transform: translateX(80px);
}

.landing input:focus,
.landing textarea:focus {
  border: 2px solid #6ad7fa !important;
}

@media (min-width: 987px) {
  .landing__about-text {
    padding: 0px;
    position: absolute;
    text-align: center;
    background-color: white;
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-42%, -36%);
  }
  .landing__about-img {
    display: block;
  }

  .landing__about-avatar-1,
  .landing__about-avatar-2,
  .landing__about-avatar-3,
  .landing__about-avatar-4,
  .landing__about-avatar-5 {
    display: none;
  }
}

@media (max-width: 500px) {
  .landing__benefits-col img {
    width: 100%;
  }
}

@media (min-width: 768px) {
  .landing__benefits-row p,
  .landing__benefits-row-reverse p {
    width: 456px;
  }

  .landing__contact {
    padding: 56px 15px 76px 15px;
  }
  .landing__contact img {
    display: block;
  }
  .landing__contact-description {
    margin-bottom: 40px !important;
  }
}

@media (min-width: 1024px) {
  .landing header {
    padding-top: 98px;
    padding-bottom: 90px;
  }
  .landing h1 {
    font-size: 52px;
    line-height: 52px;
  }

  .landing h2 {
    font-size: 40px;
    line-height: 40px;
  }

  .landing h3 {
    font-size: 26px;
  }

  .landing p {
    font-size: 20px;
    margin: 0px;
  }

  .landing header.container,
  .landing__benefits.container,
  .landing__about .container,
  .landing__features.container,
  .landing__contact.container {
    width: 1024px;
  }

  .landing__benefits-row {
    flex-direction: row;
  }

  .landing__benefits-col {
    flex-basis: 50%;
  }

  .landing__benefits-row-reverse {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
    align-items: center;
    margin-top: -115px;
  }

  /* adds style to first and last row elements inside benefits section */
  .landing__benefits-row:first-child .landing__benefits-col:first-child img {
    transform: translateY(-115px);
  }

  .landing__benefits-row:last-child .landing__benefits-col:first-child img {
    transform: translateY(-35px) translateX(-107px);
  }
  .landing_about-pattern-left,
  .landing_about-pattern-right {
    display: inline-block;
  }

  .landing__features {
    padding: 100px 15px;
  }

  .landing__features-content {
    flex-direction: column;
    flex-basis: 50%;
  }

  .landing__features-content p {
    width: 410px;
  }

  .landing__features-content div:last-child {
    padding: 0px 33px 33px 33px;
  }
}
