@media only screen and (max-width: 1570px) {
  .mishuk-family {
    left: 50%;
    bottom: -70%;
    transform: translateX(-50%);
  }

  .rectangle1 {
    left: 45%;
    bottom: -80%;
    transform: translateX(-50%);
  }

  .description_wrap {
    box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  }

  .description_wrap:nth-of-type(1) {
    transform: skew(0, 0);
  }

  .description_wrap:nth-of-type(2) {
    transform: skew(0, 0);
  }
}

@media only screen and (max-width: 1120px) {
  .header_section-navbar-list {
    gap: 0;
    justify-content: space-between;
  }

  .hero_section-titles {
    padding-right: 3rem;
    gap: 2rem;
  }

  .hero_section-titles h1 {
    font-size: 6rem;
  }

  .hero_section-titles h2 {
    font-size: 3rem;
  }

  .hero_section-titles p {
    font-size: 2rem;
  }

  .quote_section-wrapper img {
    max-width: 25rem;
  }

  .articles_section-articles {
    width: auto;
    padding: 0;
  }

  .workshop_section-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 5rem;
  }
}

@media only screen and (max-width: 870px) {
  .mishuk-family {
    max-width: 80%;
    max-height: 80%;
  }

  .hero_section {
    grid-template-columns: 1fr;
  }

  .hero_section-photo {
    max-width: 60%;
    max-height: 60%;
    justify-self: center;
  }

  .hero_section-titles {
    padding-right: 1rem;
    padding-left: 1rem;
    position: relative;
  }

  .hero_section-titles img {
    position: absolute;
    top: -50%;
    right: 2%;
  }

  .hero_section-titles h1 {
    font-size: 4.5rem;
  }

  .hero_section-titles h2 {
    font-size: 2.7rem;
  }

  .hero_section-titles p {
    font-size: 1.7rem;
  }

  .header_section-navbar-list {
    position: fixed;
    right: -100%;
    top: 0.5rem;
    flex-direction: column;
    width: 50%;
    height: 60%;
    border-radius: 10px;
    text-align: center;
    transition: 0.3s;
    box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
    z-index: 100;
  }

  .header_section-navbar-list.active {
    right: 0;
  }

  .hero_section-navbar_link a {
    margin: 2.5rem 0;
  }

  .hamburger {
    position: fixed;
    display: block;
    cursor: pointer;
    z-index: 1000;
  }

  .hamburger.active .bar:nth-child(2) {
    opacity: 0;
  }

  .hamburger.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
  }

  .hamburger.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
  }

  .intro_section {
    padding: 20rem 0 10rem;
  }

  .smart-kid_science-section {
    padding: 8rem 0 2rem;
  }

  .articles_section {
    padding: 8rem 0;
  }

  .sleeping-tips_section {
    padding: 15rem 0 8rem;
  }

  .sleeping-tips_section-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .recommendations_section {
    padding-bottom: 8rem;
  }

  .contact_me-section {
    margin: 8rem 0 0;
  }

  .accordion {
    gap: 4rem;
  }
}

@media only screen and (max-width: 640px) {
  .mishuk-family {
    bottom: -70%;
    max-width: 100%;
  }

  .rectangle1 {
    display: none;
  }

  .description_wrap p,
  .quote_section-wrapper_quote p,
  .smart-kid_science-section_wrapper-para {
    font-size: 2rem;
  }

  .quote_section-wrapper_title,
  .smart-kid_science-section_wrapper-title {
    font-size: 2.4rem;
  }

  .quote_section-wrapper_quote {
    padding: 2rem;
  }

  .smart-kid_science-section_wrapper-figure {
    margin-top: 4rem;
    text-align: center;
  }

  .smart-kid_science-section_wrapper-figure img {
    max-width: 30rem;
  }

  .workshop_section-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .workshop-img::before {
    left: -8%;
  }

  .footer__content img {
    width: 20%;
    height: 20%;
  }
}

@media only screen and (max-width: 540px) {
  .floating-media {
    flex-direction: column;
    bottom: 40%;
  }

  .mishuk-family {
    bottom: -55%;
  }

  .hero_section-navbar_link a {
    font-size: 1.8rem;
  }

  .hero_section-navbar_link a {
    padding: 0.4rem 1rem;
  }

  .hero_section-titles a {
    padding: 0.5rem 1.5rem;
    font-size: 2rem;
  }

  .hero_section-photo {
    max-width: 90%;
    max-height: 90%;
  }

  .hero_section-titles {
    justify-content: flex-start;
  }

  .hero_section-titles img {
    max-width: 16rem;
    position: absolute;
    top: -50%;
    right: 8%;
  }

  .smart-kid_science-section_wrapper-para {
    padding: 1rem;
  }

  .articles_section_title,
  .workshop_section-title,
  .sleeping-tips_section-title,
  .recommendations_section-title {
    font-size: 2.5rem;
  }

  .faq_section-wrapper h2 {
    font-size: 2.2rem;
  }

  .faqs-list .question {
    font-size: 1.6rem;
  }

  .faqs-list .answer {
    font-size: 1.4rem;
  }

  .sleeping-tips_section-grid_tip {
    padding: 10rem 6rem;
    max-width: 40rem;
    font-size: 1.8rem;
  }

  .contact_me-section-wrapper {
    width: 100%;
  }
}

@media only screen and (max-width: 400px) {
  .mishuk-family {
    bottom: -40%;
  }

  .description_wrap p,
  .description_wrap ul li,
  .quote_section-wrapper_quote p,
  .para-backg p,
  .articles_section-articles___article {
    font-size: 1.8rem;
  }

  .quote_section-wrapper_figure {
    text-align: center;
  }

  .quote_section-wrapper_title {
    font-size: 2.3rem;
  }

  .recommendations_section-wrapper {
    gap: 1rem;
  }

  .recomm {
    padding: 1rem;
  }
  .recomm img {
    max-width: 30rem;
  }

  .footer__content img {
    width: 32%;
    height: 32%;
  }

  .footer__content--col {
    align-items: center;
    align-self: self-start;
  }
}
