@media screen and (max-width: 320px) {
  .preheader__title {
    font-size: 18px;
  }
  .title__cat {
    font-size: 52px !important;
  }
}

@media screen and (max-width: 390px) {
.link_view_p {
    font-size: 12px;
}
}

@media screen and (max-width: 576px) {
  .title-link-footer {
    margin-bottom: 5px;
  }

  .link-footer {
    margin-bottom: 20px;
  }

  .title__cat {
    font-size: 62px !important;
  }

  .gem__list__block {
    min-height: 280px !important;
  }
}

@media screen and (max-width: 768px) {
  nav {
    padding: 0px 15px 0px 15px;
  }
  .right-nav li {
    padding: 0px 10px;
  }

  .navmenu__otherpage {
    padding: 30px 10px 30px 5px;
  }

  .navmenu__otherpage .logo-header {
    width: 60px;
  }

  .navmenu .center-nav,
  .navmenu__otherpage .center-nav {
    display: none;
  }

  .get-touch-nav {
    margin-right: 16px;
  }

  section {
    padding: 60px 0;
  }

  .social__link {
    right: 0 !important;
    left: 0 !important;
    top: unset !important;
    bottom: 5% !important;
  }
  .social__link ul li {
    line-height: 0px;
    padding: 5px 13px;
  }
  .social__link ul {
    display: inline-flex;
  }
  .social__link ul li > a {
    font-size: 20px !important;
  }
  .header__scrolldown__link {
    margin-top: 15px;
  }
  .header__title {
    font-size: 12vw;
  }
  .preheader__title {
    font-size: 18px;
    margin-bottom: 5px !important;
  }
  .sidenav {
    padding-top: 40px;
  }
  .logoSidebar img {
    width: 110px;
  }
  .sidenav a {
    padding: 9px 0px;
  }
  .sidebar__social__link ul li {
    padding: 1px 0px;
  }

  footer {
    padding-top: 60px;
    padding-bottom: 50px;
  }

  .blockquestions {
    margin-top: 50px;
  }

  .link-footer li > a {
    line-height: 230%;
  }

  .title__block {
    margin-top: 100px;
  }

  .title {
    font-size: 38px;
  }

  .title__line {
    margin: 0px auto 30px;
  }

  #gems {
    margin-top: 0px;
    margin-bottom: 60px;
  }

  .gems__category {
    margin-top: 0;
    margin-bottom: 30px;
  }

  .title__cat {
    margin-top: 10px;
  }
  .link__cat a {
    font-size: 13px;
  }

  .first__text__block {
    padding: 35px 0px 30px 0px;
  }

  .contacts__info__block {
    min-height: 110px;
    padding: 15px 0px;
    margin-bottom: 15px;
  }
  .gem__list__info .name__gem {
    font-size: 14px !important;
  }

  .pagination .page-link {
    font-size: 14px;
    margin: 0px 2px;
  }

  .pagination .page-prev {
    padding: 0px 8px 0px 0px !important;
    letter-spacing: 0.1em;
  }
  .pagination .page-next {
    padding: 0px 0px 0px 8px !important;
    letter-spacing: 0.1em;
  }

  .gem__name {
    font-size: 32px;
    margin: 5px 0px 20px 0px;
  }

  .blog__list {
    margin-bottom: 50px;
  }

  .date__blog__inside {
    margin-top: 5px;
  }

  .content__inside__blog {
    margin-top: 20px;
  }

  .input-name {
    padding-right: 15px;
  }

  .input-email {
    padding-left: 15px;
  }

  .gem__list__block {
    min-height: 280px !important;
  }

  #about .title,
  #about .title__line {
    text-align: center;
    margin: 0 auto;
  }

  .about__img {
    margin-top: 60px !important;
    margin: 0 auto;
    max-width: 100%;
  }

  /* Discover section */

  .title__discover {
    font-size: 38px;
  }

  /* Why Choose Afghan Gemstones? */

  .why__r {
    margin-top: 30px;
  }

  .why__choose__block {
    margin-bottom: 42px;
  }

  .why__choose__block .heading {
    font-size: 20px;
  }

  .why__choose__block .icon img {
    max-width: 140px;
  }

  .why__choose__block p {
    font-size: 16px;
  }

  .bottom__title {
    margin-top: 30px;
  }

  /* Catalog */

  .catalog__r {
    margin-top: 30px;
  }

  .catalog__block {
    border-radius: 30px !important;
  }

  .catalog__block {
    height: 200px;
    margin-bottom: 16px;
  }

  .catalog__block .name__cat {
    font-size: 22px;
    top: 30px;
    left: 30px;
  }

  .catalog__block .name__cat::after {
    top: 35px;
    left: 0;
  }

  .catalog__block .link__all {
    position: absolute;
    bottom: 25px;
    right: 30px;
  }

  
/* About inside category */

.about__align {
  margin-top: 0px;
} 


/* Why Choose ZWAK GEMS - Section */

#why_c_zwakgems .title,
#why_c_zwakgems .title__line {
  text-align: center;
  margin: 0 auto;
}

.why_c_zwakgems .description__block span {
  font-style: normal;
  font-weight: 600;
  text-decoration: underline;
}

.why_c_zwakgems__img {
  margin-top: 60px !important;
  margin: 0 auto;
  max-width: 100%;
}


/* What sets us apart: - Section */

#what_apart .title,
#what_apart .title__line {
  text-align: center;
  margin: 0 auto;
}

#why_c_zwakgems .description__block,
#what_apart .description__block {
  padding: 0px 10px;
}

.what_apart__img {
  margin-top: 60px !important;
  margin: 0 auto;
  max-width: 100%;
}


/* Product list */

.catalog__list {
  margin-top: 16px;
}

.product__card {
  margin-bottom: 20px;
}

.pagination__page {
  margin-top: 32px;
}


/* Product inside */

.product__inside {
  padding-top: 20px;
}

.info__product {
  padding-top: 30px;
  padding-left: 0;
}

.heading__product {
  font-size: 38px;
}

.link__product a {
  display: block;
  width: 100%;
  padding: 14px 18px;
  font-size: 16px;
}

.product_g_align {
  padding-top: 20px;
}


/* Gallery */

.gallery__r {
  margin-top: 10px;
}

/* Modal Contact */

#contactModal .modal-dialog {
  max-width: 100%;
}

/* Contacts */

.contact__r {
  margin-top: 20px;
}

.contacts__info__align {
  display: flex;
  flex-direction: column;
}

.contacts__info__block, .contacts__info__block a {
  font-size: 16px;
}

.contacts__info__block:nth-child(1) {
  margin-right: 0;
  margin-bottom: 10px;
}

.contacts__info__block:nth-child(2) {
  margin-right: 0px;
  margin-bottom: 10px;
}


/* News */

.news__r {
  margin-top: 15px;
}

.news__img {
  height: 210px;
}

.news__info .news__title {
  font-size: 18px;
}

.news__info .news__title {
  margin-bottom: 10px;
}

.news__card {
   margin-bottom: 16px;
}

/* News inside */

.news__inside {
  padding-top: 20px;
}

.row.catalog__list > div.col-6:nth-child(odd) {
        padding-right: 4px !important;
    }

    .row.catalog__list > div.col-6:nth-child(even) {
        padding-left: 4px !important;
    }



}

@media screen and (max-width: 992px) {
  /* Footer */

  .footer__info {
    display: flex;
    align-items: center;
    flex-direction: column;
  }

  .footer__block__one {
    padding: 0;
    margin-bottom: 30px;
  }

  .footer__block__two {
    padding: 0;
    border: none;
    margin-bottom: 30px;
    text-align: center;
  }

  .footer__block__two p {
    font-size: 14px;
  }

  .social-footer li {
    padding: 4px;
    width: 32px;
    height: 32px;
  }

  .social-footer li img {
    width: 20px;
  }

  .contact__footer a {
    font-size: 16px;
  }

  .title-link-footer {
    font-size: 20px;
    margin-bottom: 12px;
  }

  .link-footer {
    margin-bottom: 32px;
  }

  .link-footer li > a {
    font-size: 16px;
  }

  .preheader__title {
    margin-bottom: -5px;
  }
  .footer-block {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin-bottom: 30px;
  }

  .title-link-footer,
  .link-footer {
    text-align: center;
  }
  .icon-chat-questions {
    text-align: center;
    margin-bottom: 10px;
  }

  .title-questions {
    text-align: center;
    font-size: 1.3125rem;
    line-height: 140%;
    font-weight: 600;
    margin-bottom: 20px;
  }

  .title-questions p {
    line-height: 150%;
    margin-top: 10px;
  }

  .btn-questions {
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .title__cat {
    font-size: 72px;
  }
  .top__banner__studio .banner__logo {
    width: 100px;
    margin-top: -10px;
    margin-right: 30px;
  }
  .top__banner__studio .title__banner {
    font-size: 16px;
    max-width: 403px;
  }
  .contact__form {
    margin-top: 30px;
  }
  .gem__list__info .name__gem {
    font-size: 16px;
  }
  .gem__list__info {
    padding: 5px 0px;
  }

  .gem__list__block {
    min-height: 230px;
  }

  .gem__list__block .photo__gem {
    object-fit: cover;
    width: 100%;
    height: 100%;
    min-height: 200px !important;
  }
}

@media screen and (max-width: 1200px) {
  .preheader__title {
    margin-bottom: -10px;
  }
}
