@media screen and (min-width: 640px) {
  h1 {
    font-size: 68px;
  }

  .header__content__discribtion {
    font-size: 24px;
  }

  .latest-articles .title span {
    display: inline-block;
  }
  h2 {
    font-size: 48px;
  }

  .nav-logo {
    font-size: 26px;
  }
  .trending-icon {
    font-size: 14px;
  }

  .article-card__description h4 {
    font-size: 18px;
  }

  .article-card__description p {
    font-size: 18px;
  }
  .article-card__meta p {
    font-size: 14px;
  }
  .article-card__meta {
    gap: 10px;
  }

  .article-card__meta-item {
    gap: 10px;
    width: calc(50% - 10px);
  }
  .article-card__meta-item svg {
    width: 15px;
  }

  .pop-btn {
    padding: 16px 48px;
    font-size: 20px;
  }
  aside h4 {
    font-size: 30px;
  }
  .article-card {
    padding: 32px;
  }
  .trending-section,
  .categories-section {
    padding: 32px;
  }

  .trending-section__list-number {
    font-size: 36px;
  }
  .trending-section__list-text h5 {
    font-size: 18px;
  }
  .trending-section__list-text p {
    font-size: 14px;
  }

  header::before {
    right: 80px;
  }
  .categories-section__buttons button {
    padding: 12px 16px;
    font-size: 16px;
  }
  .author-section .title p {
    font-size: 20px;
  }
  .author-section::after {
    width: 160px;
    height: 160px;
    top: 50px;
    right: 50px;
  }
  .author-section__card-item {
    padding: 32px;
  }
  .author-section__card-item figure img {
    width: 128px;
    height: 128px;
    object-fit: cover;
  }
  .author-section__card-item h4 {
    font-size: 30px;
  }
  .author-section__card-item p {
    font-size: 16px;
  }
  .author-section__cards-links a {
    width: 50px;
    height: 50px;
  }
  .author-section__cards-links svg {
    width: 18px;
  }
  .author-section__cards-links {
    gap: 20px;
  }
  .rebellion .title p {
    font-size: 20px;
  }
  .rebellion-section__info-heading h4 {
    font-size: 36px;
    margin-bottom: 32px;
  }
  .rebellion-section__description {
    padding: 16px;
  }
  .rebellion-section__description p {
    font-size: 20px;
  }
  .rebellion-section__list span {
    padding: 7px 10px;
  }
  .rebellion-section__list svg {
    width: 20px;
  }
  .rebellion-section__list li {
    font-size: 18px;
  }
  .rebellion-section__info .pop-btn {
    font-size: 24px;
    padding: 12px 36px;
  }
  .rebellion-section__testimonials-heading h4 {
    font-size: 30px;
  }
  .rebellion-section__testimonials {
    padding: 40px;
  }
  .rebellion-section__testimonial {
    padding: 24px;
  }
  .rebellion-section__testimonial-quote p,
  .rebellion-section__author-name h5 {
    font-size: 18px;
  }
  .rebellion-section__author-name p {
    font-size: 14px;
  }
  .rebellion-section__author-image {
    width: 48px;
    height: 48px;
  }
  .nav-hidden__items li {
    font-size: 20px;
  }
  .nav-hidden p {
    font-size: 24px;
  }
  .nav-hidden {
    width: 320px;
  }
  .nav-hidden .pop-btn {
    font-size: 18px;
    padding: 12px 0px;
  }
  .site-footer__logo h4 {
    font-size: 26px;
  }
  .site-footer__description {
    font-size: 16px;
  }
  .site-footer__heading {
    font-size: 21px;
  }
  .site-footer__link {
    font-size: 16px;
  }
  .site-footer__svg {
    width: 56px;
    height: 56px;
  }
  .site-footer__form input {
    padding: 14px;
    margin-bottom: 14px;
  }
  .site-footer__form .pop-btn {
    padding: 14px 0;
    font-size: 15.5px;
  }
  .site-footer__copyright {
    font-size: 16px;
  }
}

/*  meduim screen devices  */

@media screen and (min-width: 768px) {
  .nav-logo {
    font-size: 30px;
  }
  .site-footer__main {
    grid-template-columns: 2fr 1fr 2fr;
  }
  .site-footer__about {
    grid-column: 1 / -1;
  }
  .site-footer__newsletter {
    grid-column: 2/-1;
  }
  .site-footer__logo h4 {
    font-size: 30px;
  }
  .site-footer__description {
    font-size: 18px;
  }
  .site-footer__heading {
    font-size: 24px;
  }
  .site-footer__link {
    font-size: 18px;
  }
  .site-footer__svg {
    width: 64px;
    height: 64px;
  }
  .site-footer__form input {
    padding: 16px;
    margin-bottom: 16px;
  }
  .site-footer__form .pop-btn {
    padding: 16px 0px;
    font-size: 18px;
  }
  .site-footer__form input::placeholder {
    font-size: 18px;
  }
  .site-footer__copyright {
    font-size: 18px;
  }
  .site-footer__list--legal a {
    font-size: 14px;
  }
}
/*  large screen devices  */

@media screen and (min-width: 1024px) {
  .header__container {
    grid-template-columns: repeat(2, 1fr);
    gap: 75px;
  }
  .latest-articles .container {
    grid-template-columns: 2fr 1fr;
  }
  .article-card {
    grid-template-columns: 1fr 2fr;
  }

  .author-section__cards {
    grid-template-columns: repeat(3, 1fr);
  }
  .rebellion-section {
    grid-template-columns: repeat(2, 1fr);
  }
  .site-footer__main {
    grid-template-columns: 2fr 1fr 2fr;
  }
  .site-footer__about {
    grid-column: 1 / 2;
  }

  .site-footer__newsletter {
    grid-column: 3;
  }
  .container {
    width: 85%;
    margin: 0 auto;
  }
  .article-card__img figure {
    text-align: center;
  }

  .header__img img {
    transform: rotate(4deg);
  }

  .header__img img:hover {
    transform: rotate(4deg) translate(-3px, -3px);
  }

  .header__content__btns .pop-btn__container {
    flex-wrap: nowrap;
  }

  .header__img figcaption {
    position: absolute;
    top: -10px;
    right: -20px;
  }
  .site-footer__copyright {
    margin-bottom: 0;
  }
  .site-footer__bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}
/*  extra large screen devices  */

@media screen and (min-width: 1280px) {
  .article-card__meta-item {
    width: auto;
  }

  .nav-list {
    display: block;
  }

  .nav-action {
    display: block;
  }

  .list-icon-small {
    display: none;
  }
}
