@font-face {
  font-family: "Lato";
  src: url(../assets/fonts/Lato/Lato-Black.ttf);
  font-family: normal;
  font-style: normal;
}
@font-face {
  font-family: "RedHat";
  src: url(../assets/fonts/Red_Hat_Display/RedHatDisplay-VariableFont_wght.ttf);
  font-family: normal;
  font-style: normal;
}
* {
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  padding: 0;
}

ul,
ol,
dl {
  padding-left: 0;
  margin: 0 0;
  list-style: none;
}

html,
body {
  margin: 0;
  font-family: Lato, sans-serif;
  font-size: 16px;
}

body {
  color: #565656;
  min-height: 100vh;
}
@media (max-width: 320px) {
  body {
    height: auto;
  }
}

.header, .banner, .blog, .posts, .footer, .popular, .pre-footer {
  padding: 0 calc(50vw - 585px);
}
@media screen and (max-width: 1200px) {
  .header, .banner, .blog, .posts, .footer, .popular, .pre-footer {
    padding: 0 calc(50vw - (585px - 12%));
  }
}
@media screen and (max-width: 992px) {
  .header, .banner, .blog, .posts, .footer, .popular, .pre-footer {
    padding: 0 calc(50vw - (585px - 27%));
  }
}
@media screen and (max-width: 768px) {
  .header, .banner, .blog, .posts, .footer, .popular, .pre-footer {
    padding: 0 15px;
  }
}
@media screen and (max-width: 320px) {
  .header, .banner, .blog, .posts, .footer, .popular, .pre-footer {
    padding: 0 7px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 1.8vw;
  padding-top: 42px;
  padding-bottom: 42px;
}
@media screen and (max-width: 992px) {
  .header {
    padding-top: 24px;
    padding-bottom: 24px;
  }
}
@media (max-width: 320px) {
  .header {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
  }
}

.nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
}
@media screen and (max-width: 992px) {
  .nav {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
    -webkit-box-flex: 0;
        -ms-flex-positive: 0;
            flex-grow: 0;
  }
}

@media screen and (max-width: 992px) {
  .search {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    -webkit-box-pack: end;
        -ms-flex-pack: end;
            justify-content: flex-end;
    padding-right: 15px;
  }
}

.menu {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2.3vw;
  padding: 0 30px;
}
@media screen and (max-width: 992px) {
  .menu {
    position: absolute;
    right: 0;
    top: -100%;
    width: 340px;
    visibility: hidden;
    opacity: 0;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    z-index: 2;
    background: #85b4c7;
    padding: 0 0;
    gap: 0;
    -webkit-transition: all 0.5s;
    transition: all 0.5s;
  }
}
@media screen and (max-width: 992px) {
  .menu__item {
    text-align: center;
    padding: 10px 0;
    border: 1px solid #e5d9d9;
  }
}
.menu__link {
  position: relative;
  text-decoration: none;
  text-transform: uppercase;
  color: #000;
  font-size: 0.875rem;
  letter-spacing: 0.3em;
  font-weight: 400;
}
.menu__link::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: -14px;
  -webkit-transform: translateX(10%);
          transform: translateX(10%);
  width: 0;
  height: 1px;
  opacity: 0;
  background: #000;
  -webkit-transition: all 0.55s;
  transition: all 0.55s;
}
.menu__link:hover::after {
  left: 0;
  -webkit-transform: translateX(12%);
          transform: translateX(12%);
  width: 76%;
  opacity: 1;
}

.burger {
  display: none;
}
@media screen and (max-width: 992px) {
  .burger:checked ~ .menu {
    visibility: visible;
    opacity: 1;
    top: 68px;
  }
  .burger:checked ~ .burger__img {
    -webkit-transform: rotate(315deg);
            transform: rotate(315deg);
    -webkit-transition: all 0.44s;
    transition: all 0.44s;
  }
  .burger:checked ~ .burger__img::before {
    opacity: 0;
  }
  .burger:checked ~ .burger__img::after {
    -webkit-transform: rotate(90deg);
            transform: rotate(90deg);
    top: 0;
  }
}
.burger__img {
  display: none;
  cursor: pointer;
}
@media screen and (max-width: 992px) {
  .burger__img {
    display: inline-block;
    position: relative;
    top: -3px;
    width: 34px;
    height: 2px;
    background-color: #000;
    vertical-align: middle;
  }
  .burger__img::after, .burger__img::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #000;
    top: 10px;
  }
  .burger__img::after {
    top: -10px;
  }
}

.banner {
  background: url("../assets/img/bg-image.png") no-repeat;
  background-size: cover;
  min-height: calc(85vh - 100px);
  padding-top: 100px;
}
@media screen and (min-width: 1580px) {
  .banner {
    background-position-y: 37%;
    min-height: calc(77vh - 100px);
  }
}
.banner__title {
  font-family: "RedHat", sans-serif;
  font-size: 3rem;
  line-height: 1.33;
  color: #000;
  max-width: 770px;
  letter-spacing: 0.05rem;
}
@media screen and (max-width: 992px) {
  .banner__title {
    font-size: 2.34rem;
  }
}
@media screen and (max-width: 576px) {
  .banner__title {
    font-size: 2rem;
  }
}

.blog {
  margin-top: 70px;
}
@media screen and (max-width: 768px) {
  .blog .blog-text {
    width: 340px;
    height: 280px;
    margin-bottom: 100px;
  }
  .blog .blog-img {
    width: 360px;
    height: 320px;
  }
  .blog .blog-paragraph {
    width: 340px;
    height: 80px;
  }
}
@media (max-width: 320px) {
  .blog .blog, .blog .blog-article {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .blog .blog-article:nth-child(2) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}
.blog-img {
  width: 570px;
  height: 470px;
}
.blog-article {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.blog-article:nth-child(3) {
  margin-top: 40px;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
}
.blog-article__title {
  font-size: 23px;
  font-weight: 500;
  line-height: 38px;
  font-family: "RedHat", sans-serif;
  color: #000;
  width: 369px;
  letter-spacing: 1px;
}
.blog-title {
  font-size: 48px;
  color: #000;
  font-family: "RedHat", sans-serif;
  font-weight: 400;
  margin-bottom: 40px;
}
.blog-subtitle {
  color: #7B7B7B;
  font-size: 16px;
  font-family: "Lato", sans-serif;
}
.blog-text {
  margin-left: 30px;
}
.blog-paragraph {
  color: #565656;
  width: 448px;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.56px;
}

.posts {
  margin-top: 50px;
}
.posts__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.posts-title {
  font-size: 28px;
  font-family: "RedHat", sans-serif;
  font-family: 600;
}

.view-title {
  font-family: "Lato", sans-serif;
  font-weight: 400;
  font-size: 16px;
}

.cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 20px;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.cards .card {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  width: 370px;
  height: 500px;
}
.cards .card-title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.cards .card__subtitle {
  font-size: 12px;
  font-family: "Lato", sans-serif;
  font-weight: 400;
  color: #7B7B7B;
}
.cards .card__title {
  font-family: "RedHat", sans-serif;
  font-weight: 500;
  font-size: 22px;
  color: #000;
  letter-spacing: 0.1em;
  line-height: 36px;
}
.cards .card__text {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.56px;
  letter-spacing: 0.05em;
}
.cards .card__paragraph {
  width: 370px;
  height: 178px;
}
@media (max-width: 768px) {
  .cards {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cards .card__img {
    width: 340px;
    height: 240px;
  }
  .cards .card {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
        -ms-flex-direction: row;
            flex-direction: row;
    width: 100%;
    width: 700px;
    height: auto;
  }
  .cards .card:nth-child(2) {
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-direction: row-reverse;
            flex-direction: row-reverse;
  }
  .cards .card__paragraph {
    width: auto;
    height: auto;
    margin-left: 15px;
  }
  .cards .card__paragraph:nth-child(2) {
    margin-right: 15px;
  }
}
@media (max-width: 320px) {
  .cards .cards, .cards .card {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cards .card:nth-child(2) {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .cards .card__text, .cards .card-title, .cards .card__title {
    width: 300px;
  }
}

.popular {
  margin-top: 60px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 700px;
}
.popular__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.popular-title {
  font-size: 24px;
  font-family: "RedHat", sans-serif;
  font-family: 500;
}
.popular__cards {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 20px;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.popular__card {
  width: 570px;
  height: 500px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.popular__subtitle {
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 19.92px;
  letter-spacing: 0.1em;
}
.popular__text {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.56px;
  letter-spacing: 0.05em;
}
.popular__btn {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media (max-width: 768px) {
  .popular .popular__img {
    width: 340px;
    height: 160px;
  }
  .popular .popular__card {
    width: 340px;
    height: 500px;
  }
}
@media (max-width: 320px) {
  .popular .popular__card, .popular .popular__cards {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
}

.btn {
  margin-top: 70px;
  width: 180px;
  height: 46px;
  background-color: #565656;
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 700;
  line-height: 26.56px;
  letter-spacing: 0.1em;
  color: #fff;
  border: none;
}
.btn:hover {
  cursor: pointer;
  background-color: #85b4c7;
  -webkit-transition: all ease-in 0.5s;
  transition: all ease-in 0.5s;
}
@media (max-width: 320px) {
  .btn {
    margin: 0;
  }
}

.pre-footer {
  margin-top: 150px;
  height: 192px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.pre-footer__block {
  width: 470px;
  height: 192px;
  font-family: "RedHat", sans-serif;
  font-size: 23px;
  font-weight: 400;
  line-height: 38.18px;
  letter-spacing: 0.1em;
  color: #000;
}
.pre-footer__block img {
  margin-top: 10px;
  width: 20px;
  height: auto;
}
.pre-footer__block:nth-child(2) {
  width: 470px;
  height: 192px;
  font-family: "Lato", sans-serif;
  font-size: 19px;
  font-weight: 400;
  line-height: 32px;
  letter-spacing: 0.05em;
  color: #565656;
}
@media (max-width: 768px) {
  .pre-footer__block .pre-footer {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .pre-footer__block .pre-footer__block {
    width: 90%;
    text-align: center;
    margin-bottom: 20px;
  }
  .pre-footer__block .pre-footer__block:nth-child(2) {
    font-size: 18px;
    line-height: 28px;
  }
}
@media (max-width: 320px) {
  .pre-footer {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    position: absolute;
    top: 5500px;
    margin: 0;
  }
  .pre-footer .pre-footer__block {
    width: 300px;
  }
}

.footer {
  margin-top: 100px;
  width: 100%;
  height: 300px;
  background-color: #f4f4f4;
}
.footer__container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.footer__title {
  font-family: "RedHat", sans-serif;
  font-size: 48px;
  font-weight: 400;
  line-height: 64px;
  letter-spacing: 0.05em;
  color: #000;
}
.footer__subtitle {
  font-family: "Lato", sans-serif;
  font-size: 16px;
  font-weight: 400;
  line-height: 26.56px;
  letter-spacing: 0.1em;
  color: #000;
  margin: 0;
  padding: 5px;
}
.footer__social-icons {
  width: 269px;
  height: 50px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.footer__text {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 40px;
  font-family: "Lato", sans-serif;
  font-size: 12px;
  font-weight: 400;
  line-height: 19.92px;
  letter-spacing: 0.1em;
}
@media (max-width: 768px) {
  .footer {
    height: 410px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    text-align: center;
  }
  .footer .footer__container {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
  }
  .footer .footer__social-icons {
    margin-top: 30px;
  }
}

.social-icon {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 50px;
  height: 50px;
  border: 1px solid #565656;
}
.social-icon:hover {
  background-color: #565656;
  fill: white;
  -webkit-transition: all ease-in 0.5s;
  transition: all ease-in 0.5s;
}

@media (max-width: 320px) {
  .main {
    height: 5800px;
    width: 320px;
  }
}/*# sourceMappingURL=style.css.map */