@media (max-width: 991px) {
  .portfolio-section .portfolio-item,
  .service-section .service-item {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 767px) {
  .contact-section .w-50,
  .contact-section .contact-item,
  .portfolio-popup .description,
  .portfolio-popup .info,
  .portfolio-section .portfolio-item,
  .service-section .service-item,
  .about-section .about-info,
  .about-section .about-img,
  .home-section .home-text,
  .home-section .home-img {
    flex: 0 0 100%;
    max-width: 100%;
  }
  .home-section .home-text {
    order: 2;
  }
  .contact-section .submit-btn,
  .home-section .home-text {
    text-align: center;
  }
  .home-section .full-screen {
    padding: 100px 0;
  }
  .home-section .home-img .img-box {
    margin-bottom: 40px;
    max-width: 300px;
  }
  .effect-3 {
    margin-left: -60px;
  }
  .effect-4 {
    left: 15%;
  }
  .effect-5 {
    right: 4%;
  }
  .about-section .about-img {
    padding-bottom: 30px;
    max-width: 450px;
    margin: auto;
  }
  .about-section .scroll-down {
    display: none;
  }
  .about-section .skills.tab-content.active {
    flex-direction: column;
    justify-content: center;
    margin-top: -50px;
    padding: 15px;
    height: 900px;
  }
  .about-section .skills .skills-item {
    width: 100%;
    height: 50%;
  }
  .about-section .skills .skills-item:nth-child(1) {
    border-bottom: 2px solid var(--bg-black-100);
  }
  .about-section .timeline .timeline-item:nth-child(odd) {
    padding: 15px;
    text-align: left;
    padding-left: 75px;
  }
  .about-section .timeline .timeline-item:nth-child(even) {
    padding-left: 75px;
  }
  .about-section .timeline::before {
    left: 35px;
  }
  .about-section .timeline .timeline-item:nth-child(odd) .icon {
    right: auto;
    left: -60px;
  }
  .about-section .timeline .timeline-item:nth-child(even) .icon {
    left: -60px;
  }
}

@media (max-width: 574px) {
  .home-section .home-img .img-box {
    max-width: 210px;
  }
  .home-section .home-text h2 {
    font-size: 40px;
  }
}

@media (max-width: 450px) {
  .about-section .skills-item-box.box-1 {
    width: 250px;
    height: 250px;
  }
  .about-section .skills-item-box.box-2 {
    width: 175px;
    height: 175px;
    transform: rotate(-45deg) translate(-50%, -50%);
    white-space: nowrap;
    text-align: center;
  }
}
