*,
*::after,
*::before {
  box-sizing: border-box; }

body {
  font-family: 'Roboto', sans-serif; }

.header {
  position: absolute;
  width: 100%;
  padding: 0 20px;
  color: white; }

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (orientation: landscape) {
  .header {
    padding: 0 50px; } }

.hero {
  height: 100vh;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../../assets/images/apartment.jpg") no-repeat;
  background-size: cover;
  color: #fffeff;
  padding: 100px 50px 150px 100px;
  display: flex;
  flex-direction: column;
  justify-content: center; }
  .hero__textContainer {
    font-size: 58px;
    margin-left: 20px; }
  .hero__text {
    font-weight: 500;
    margin: 25px 0; }
  .hero__text:last-child {
    word-wrap: all; }
  .hero__information {
    z-index: 5;
    max-width: 750px;
    padding: 20px 20px;
    background-color: #5fffb5;
    display: grid;
    place-items: center;
    position: relative; }
    .hero__information p {
      font-size: 18px;
      margin: 0;
      color: #364558;
      font-weight: 500; }
  .hero__form {
    position: absolute;
    z-index: -1;
    top: 100%;
    width: 90%;
    left: 10%;
    padding: 10px 10px;
    background-color: #00cc87;
    -webkit-box-shadow: inset 0 10px 15px -10px #000;
    -moz-box-shadow: inset 0 10px 15px -10px #000;
    box-shadow: inset 0 10px 15px -13px #000; }
    .hero__form form {
      display: flex;
      align-items: center;
      padding: 0 10px; }
    .hero__form input {
      display: inline-block;
      flex: 1;
      padding: 10px 15px;
      border: none;
      background-color: transparent;
      color: #364558; }
    .hero__form svg {
      display: inline-block;
      height: 20px;
      width: 20px;
      margin-left: 15px; }
    .hero__form input::placeholder {
      color: #364558; }

@media (max-width: 1230px) {
  .hero__textContainer {
    font-size: 48px; }
  .hero__information p {
    font-size: 16px; } }

@media (min-width: 481px) and (max-width: 767px) {
  .hero {
    padding: 100px 50px 150px 80px; }
    .hero__information {
      padding: 0 20px; }
      .hero__information p {
        font-size: 14px; } }

@media (min-width: 320px) and (max-width: 480px) {
  .hero {
    padding: 100px 20px 150px 20px; }
    .hero__textContainer {
      font-size: 34px; }
    .hero__text {
      font-weight: 500;
      margin: 10px 0; }
    .hero__information {
      padding: 0 20px; }
      .hero__information p {
        font-size: 14px; } }

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (orientation: landscape) {
  .hero {
    padding: 100px 80px 150px 80px; }
    .hero__textContainer {
      font-size: 32px; }
    .hero__text {
      font-weight: 500;
      margin: 10px 0; }
    .hero__information {
      padding: 0 20px; }
      .hero__information p {
        font-size: 14px; } }

.about {
  padding: 200px 20px 20px;
  position: relative;
  overflow: hidden;
  max-width: 1980px;
  margin: 0 auto; }
  .about__guestContainer {
    position: absolute;
    top: 50px;
    right: 150px;
    text-align: center; }
    .about__guestContainer .svgContainer {
      position: relative;
      width: 500px;
      height: 300px; }
      .about__guestContainer .svgContainer::after {
        content: url("../../assets/images/ellipse.png");
        position: absolute;
        top: -100px;
        left: 0;
        z-index: -1;
        opacity: 0.6; }
      .about__guestContainer .svgContainer svg {
        width: 100%;
        height: 100%; }
  .about__guestText {
    margin: 35px auto 0;
    max-width: 350px;
    font-size: 17px;
    font-weight: 500;
    color: #364558; }
  .about__inner {
    padding-top: 30%; }
  .about__header {
    font-weight: 400;
    margin: 0;
    margin-left: 20px;
    font-size: 32px;
    color: #364558;
    position: relative; }
    .about__header::after {
      content: url("../../assets/images/smalEllipse.png");
      z-index: -1;
      position: absolute;
      transform: rotate(-75deg);
      opacity: 0.7;
      top: -70px;
      left: -10px; }
  .about__flexContainer {
    padding: 80px 0 0;
    display: flex;
    align-items: center;
    color: #364558;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; }
  .about .card {
    display: flex;
    flex-direction: column;
    max-width: 360px;
    margin: 0 100px; }
    .about .card p,
    .about .card h3 {
      margin: 0; }
    .about .card__icon {
      width: 30px;
      height: 30px;
      margin-bottom: 25px; }
      .about .card__icon svg {
        width: 100%;
        height: 100%; }
    .about .card__title {
      font-size: 21px; }
    .about .card__content {
      font-weight: 400;
      text-align: left;
      max-width: 300px;
      font-size: 19px;
      margin-top: 35px;
      line-height: 25px; }

@media (min-width: 1600px) {
  .about__guestContainer .svgContainer {
    position: relative;
    width: 700px;
    height: 400px; }
  .about__guestText {
    max-width: 370px;
    font-size: 19px; }
  .about__flexContainer {
    padding: 80px 0 10px; }
  .about__inner {
    padding-top: 25%; } }

@media (min-width: 481px) and (max-width: 767px) {
  .about__guestContainer {
    position: relative;
    width: 100%;
    top: auto;
    right: auto;
    flex-direction: column;
    align-items: center;
    justify-content: center; }
    .about__guestContainer .svgContainer {
      width: 420px; }
  .about__inner {
    padding-top: 13%; }
  .about .card {
    margin: 30px 40px; } }

@media (min-width: 320px) and (max-width: 480px) {
  .about {
    padding: 140px 20px 10px; }
    .about__guestContainer {
      position: relative;
      width: 100%;
      top: auto;
      right: auto;
      flex-direction: column;
      align-items: center;
      justify-content: center; }
      .about__guestContainer .svgContainer {
        width: 360px; }
    .about__inner {
      padding-top: 15%; }
    .about .card {
      margin: 35px 40px 35px 42px; }
    .about .card:first-child {
      margin-top: 10px; }
    .about .card:last-child {
      margin: 35px 40px 45px; }
    .about__header::after {
      top: -30px; } }

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (orientation: landscape) {
  .about {
    padding: 140px 20px 0; }
    .about__guestContainer {
      position: relative;
      width: 100%;
      top: auto;
      right: auto;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center; }
      .about__guestContainer .svgContainer {
        width: 400px; }
    .about__inner {
      padding: 10% 40px 0; }
    .about .card:last-child {
      margin: 40px 34px 0; }
    .about__flexContainer {
      padding: 80px 0; } }

@media (min-width: 481px) and (max-width: 967px) and (orientation: landscape) {
  .about__flexContainer {
    padding: 60px 0; }
  .about .card {
    margin: 40px; } }

.services {
  max-width: 1980px;
  margin: 0 auto;
  padding: 80px 20px 40px;
  overflow: hidden;
  background-color: rgba(241, 237, 237, 0.185); }
  .services__title {
    font-weight: 400;
    margin: 0;
    margin-left: 20px;
    font-size: 32px;
    color: #364558;
    position: relative; }
    .services__title::after {
      content: url("../../assets/images/smalEllipse.png");
      z-index: -1;
      position: absolute;
      transform: rotate(-25deg);
      opacity: 0.7;
      top: -70px;
      left: -10px; }
  .services__container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 60px 0; }

.service {
  padding: 45px 60px;
  margin: 20px;
  height: 240px;
  border-radius: 9px;
  position: relative;
  background-color: #fffeff;
  max-width: 470px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
  color: #364558;
  text-align: center;
  z-index: 10;
  overflow: hidden; }
  .service__title {
    font-size: 24px;
    margin: 0; }
  .service__content {
    margin: 25px 0 5px;
    font-weight: 500; }
  .service__svg {
    position: absolute;
    width: 200px;
    height: 200px;
    bottom: 0;
    left: 0;
    opacity: 0.3;
    z-index: -1; }
    .service__svg svg {
      width: 100%;
      height: 100%; }
  .service__svg--chat {
    opacity: 1;
    left: 20px;
    bottom: -25px; }
  .service__svg--price {
    opacity: 0.2;
    left: 10px; }
  .service__svg--clean {
    left: -40px; }

@media (min-width: 320px) and (max-width: 480px) {
  .service {
    padding: 25px; }
    .service__svg--chat {
      opacity: 0.5; }
  .service:nth-child(2) {
    margin-bottom: 0; } }

@media only screen and (min-device-width: 375px) and (max-device-width: 812px) and (orientation: landscape) {
  .services {
    padding: 80px 50px 40px; } }

@media (min-width: 481px) and (max-width: 967px) and (orientation: landscape) {
  .service:nth-child(2) {
    margin-bottom: 0; } }

.footer {
  max-width: 1980px;
  margin: 0 auto;
  padding: 40px 50px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  overflow: hidden;
  color: #364558;
  flex-wrap: wrap; }
  .footer::after {
    content: url("../../assets/images/ellipse.png");
    position: absolute;
    top: 0;
    left: -300px;
    transform: rotate(96deg); }
  .footer .companyInformation h3 {
    letter-spacing: 1px;
    font-weight: 500; }
  .footer .companyInformation__addressTitle {
    color: #5fffb5;
    margin: 4px 0; }
  .footer .companyInformation__data {
    margin: 4px 0;
    font-weight: 500; }
  .footer .companyInformation__address {
    margin-bottom: 10px; }
    .footer .companyInformation__address > p {
      margin: 0;
      font-weight: 500;
      margin-bottom: 5px; }
  .footer .mailCTA {
    display: flex;
    flex-direction: column;
    align-items: center; }
    .footer .mailCTA h3 {
      font-weight: 500;
      margin: 0; }
    .footer .mailCTA__svg {
      width: 200px;
      height: 200px; }
      .footer .mailCTA__svg svg {
        width: 200px;
        height: 200px; }
    .footer .mailCTA__mailLink {
      color: inherit;
      text-decoration: none;
      display: inline-block;
      padding: 15px 30px;
      border: none;
      border-radius: 8px;
      background-color: #e2fcf9;
      transition: all 0.3s; }
      .footer .mailCTA__mailLink:hover {
        transform: scale(1.1);
        box-shadow: 0 2px 3px rgba(0, 0, 0, 0.11), 0 2px 4px rgba(0, 0, 0, 0.13); }

@media (min-width: 320px) and (max-width: 480px) {
  .footer {
    justify-content: center;
    font-size: 21px; }
    .footer::after {
      content: ''; }
    .footer .mailCTA {
      margin-top: 40px; }
      .footer .mailCTA h3 {
        display: none; } }
