@media (max-width: 768px) {

    body {
     min-width: 768px;
     font-family: "OpenSans", sans-serif;
     font-weight: 400;
  }

    .header-link {
     position: relative;
     font-weight: 600;
     font-size: 20px;
     color: #1c1c1c;
     transition: color 0.3s ease-in-out;
  }

    .container {
     width: 100%;
     padding: 0 15px;
     margin: 0 auto;
  }

  .hero {
    padding-top: 100px;
    padding-bottom: 150px;
    background-image: url("../img/hero-bg_803x396.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
  }

  .blog-preview {
    overflow: hidden;
    border-radius: 5px;
    border: 1px solid #e4e4e4;
    width: 700px;
    height: 100%;
  }

  .articles {
    max-width: 80%;
    margin-left: 20px;
    padding-top: 30px;
  }

  .section-offset {
    padding-bottom: 30px;
  }

  .blog-preview-descr {
    padding-bottom:10px;
  }

  .articles {
    border-bottom: none;
  }

  .section-offset {
    padding-top: 20px;
  }

  .contacts {
    margin-left:20px;
  }
}



@media (max-width: 480px) {

    body {
      min-width: 480px;
      font-family: "OpenSans", sans-serif;
      font-weight: 400;
    }

    .container {
      width: 100%;
      padding: 0 15px;
      margin: 0 auto;
    }



    .header-link {
      position: relative;
      font-weight: 600;
      font-size: 15px;
      color: #1c1c1c;
      transition: color 0.3s ease-in-out;
    }

    .header-btn {
      margin-right: 50px;
    }

    .header-logo {
      max-width: 40%;
      margin-left: -20px;
    }

    .container {
      width: auto;
      padding-left: 50px;
      margin: 0 auto;

    }
    .hero {

        padding-top: 100px;
        padding-bottom: 150px;
        background-image: url("../img/hero-bg_534x263.jpg");
        background-size: cover;
        background-repeat: no-repeat;
        background-position: center;



    }


    .header__btn {
        display:none;
    }

    .hero__content {
        width: 75%;
    }

    .hero-title {
      font-size: 25px;
    }

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

    .footer-left {
      margin-bottom: var(--gap);
    }

    html {
      box-sizing: border-box;
    }

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

    a {
      color: inherit;
      text-decoration: none;
    }

    img {
      max-width: 85%;
      margin-left: 20px;
    }
    logo {
      max-width: 30%;
    }

    .blog-preview {
      overflow: hidden;
      border-radius: 5px;
      border: 1px solid #e4e4e4;
      width: 460px;
      height: 100%;

    }

    .blog-preview-link {
      display:block;


    }

    .blog-preview-image {
      object-fit:cover;
      width:480px;
      height:200px;
      margin-left:30px;
      margin-top:30px;
    }
    .articles {
      max-width: 80%;
      margin-left: -40px;
      margin-top: 20px;
    }

    .articles-item {
      width:460px;
    }


    .footer-container {
      flex-direction: row;
    }

    .footer-logo {
      width:50%
    }

    .contacts-item-text {
      font-size:12px;
    }

    .contacts-item-link {
      font-size:12px;
    }

    .footer-copy {
      font-size:8px;
    }
}

@media (max-width: 320px) {

}
