@media (min-width: 1400px) {
  .container {
    width: 1250px;
  }
}

@media (max-width: 1400px) {
  .home__photo {
    height: 55rem;
    width: 55rem;
  }
}

@media (max-width: 1200px) {
  .nav__menu-item {
    margin-right: 2rem;
  }
  .home {
    min-height: 80rem;
  }

  .home__photo {
    height: 47rem;
    width: 47rem;
  }
}

@media (max-width: 992px) {
  .nav__logo {
    width: 12rem;
    height: 3rem;
  }

  .nav__menu-item {
    margin-right: 1rem;
  }

  .nav__menu-link {
    font-size: 1.5rem;
  }

  .home {
    min-height: 65rem;
  }

  .home__photo {
    height: 35rem;
    width: 35rem;
    border: 1rem solid var(--app-bg-color);
  }

  .home__name {
    font-size: 2rem;
  }

  .home__title {
    font-size: 3.5rem;
  }

  .home__caption {
    font-size: 1.4rem;
  }

  .btn {
    width: 13rem;
    height: 4.5rem;
    font-size: 1.4rem;
  }

  .about-us-wrapper {
    flex-direction: column;
  }

  /*

 Resume Mobile Select

 */

  .resume__list {
    display: none;
  }

  .mobile-resume {
    width: 100%;
    display: flex;
    box-shadow: 0 0 6rem rgba(96, 233, 255, 0.27);
    justify-content: space-evenly;
    border-radius: 2rem;
    margin-bottom: 8rem;
    background-color: var(--app-bg-color);
  }
  .mobile-resume__content {
    position: relative;
    list-style: none;
    width: 7rem;
    height: 7rem;
  }

  .mobile-resume__content::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.645, 0.045, 0.355, 1);
  }

  .mobile-resume--active.mobile-resume__content::before {
    background: var(--primary-color);
    transform: scale(1);
  }

  .mobile-resume__item {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
    color: var(--text-color);
    font-family: "Ravi SemiBold";
    cursor: pointer;
  }
  .mobile-resume__icon {
    position: relative;
    display: block;
    line-height: 8.5rem;
    text-align: center;
    transition: 0.5s;
  }

  .mobile-resume__icon svg {
    margin: 0;
  }

  .mobile-resume__content.mobile-resume--active .mobile-resume__icon path {
    fill: #fff;
  }
  .mobile-resume__icon path {
    fill: var(--text-color);
  }
  .mobile-resume__title {
    position: absolute;
    bottom: -1.5rem;
    left: 50%;
    transform: translate(-50%, 15%);
    width: auto;
    background: var(--app-bg-color);
    padding: 0.5rem 1rem;
    border-radius: 0.7rem;
    transition: 0.5s;
    opacity: 0;
    box-shadow: 0 0 6rem rgba(96, 233, 255, 0.27);
    visibility: hidden;
    width: max-content;
  }
  .mobile-resume__content.mobile-resume--active .mobile-resume__title {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 50%);
  }
  .mobile-resume__title::before {
    content: "";
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--app-bg-color);
    top: 0px;
    left: 48%;
    transform: rotate(45deg) translateX(-50%);
    border-radius: 0.2rem;
    box-shadow: 0 0 6rem rgba(96, 233, 255, 0.27);
  }

  .Contact-us__pin {
    display: none;
  }

  .Contact-us__form {
    margin-right: auto;
  }
}

@media (max-width: 768px) {
  .nav-menu {
    display: none;
  }

  .mobile-menu {
    display: block;
  }

  .nav__logo {
    order: 2;
    width: 16rem;
    height: 4rem;
  }

  .light-mode-button {
    display: none;
  }

  .light-mode-button--mobile {
    display: flex;
    height: 4rem;
    width: 12rem;
  }

  .light-mode-button span:nth-child(1) {
    width: 12rem;
    height: 4rem;
  }

  .light-mode-button span:nth-child(2) {
    top: 5px;
    left: 5px;
    width: 3rem;
    height: 3rem;
  }

  :root[light-mode="dark"] .light-mode-button span:nth-child(1) {
    background-color: var(--section-bg-color);
  }
  :root[light-mode="dark"] .light-mode-button span:nth-child(2) {
    left: 8.5rem;
  }

  .sun,
  .moon {
    width: 30px;
    height: 30px;
  }

  .sun {
    top: 0.6rem;
  }

  .cover {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
    z-index: -1;
    opacity: 0;
    transition: right 0.4s ease;
    display: none;
  }

  .cover--show {
    z-index: -1;
    opacity: 1;
    display: block;
  }
  .home {
    margin-top: 1rem;
    background: none;
    min-height: auto;
  }

  :root[light-mode="dark"] .home {
    background: none;
    min-height: auto;
  }

  .home .row {
    flex-direction: column-reverse;
  }

  .home__content {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .home__photo {
    margin: 0 auto;
  }
  .home-links,
  .about-us-links {
    justify-content: center;
  }
}

@media (max-width: 576px) {
  .home__caption {
    font-size: 1.25rem;
  }

  .home__photo {
    height: 30rem;
    width: 30rem;
  }

  .about-us__content {
    padding: 5rem 2rem 5rem 2rem;
  }
  .service:hover {
    transform: scale(1.03);
  }

  .mobile-resume__icon svg {
    width: 2.2rem;
    height: 2.2rem;
  }

  .mobile-resume__content {
    width: 5rem;
    height: 5rem;
  }

  .mobile-resume__content::before {
    width: 4.5rem;
    height: 4.5rem;
  }

  .mobile-resume__icon {
    line-height: 6.5rem;
  }
  .footer__Wrapper {
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
  }
  .footer__icon svg {
    width: 3.5rem;
    height: 3.5rem;
  }
}

@media (max-width: 427px) {
  .mobile-resume {
    justify-content: center;
  }
}

@media (max-width: 350px) {
  .mobile-menu__btn.click {
    right: 182px;
  }
  .section-head__line {
    width: 18rem;
  }

  .section-head__title {
    font-size: 4rem;
  }

  .section-head__caption {
    font-size: 1.4rem;
    text-align: center;
  }

  .sidebar {
    width: 180px;
  }

  .sidebar ul li a {
    padding-right: 30px;
  }

  .home__photo {
    height: 20rem;
    width: 20rem;
  }
  .home__name {
    font-size: 1.5rem;
  }
  .home__title {
    font-size: 2.7rem;
  }
  .home__caption {
    font-size: 1rem;
  }

  .mobile-resume__icon svg {
    width: 1.5rem;
    height: 1.5rem;
  }

  .mobile-resume__content {
    width: 3.5rem;
    height: 3.5rem;
  }

  .mobile-resume__content::before {
    width: 3rem;
    height: 3rem;
  }

  .mobile-resume__icon {
    line-height: 4.5rem;
  }

  .mobile-resume__title {
    font-size: 1.3rem;
  }

  .Contact-us__form {
    padding: 4rem 2.5rem;
  }

  .package-wrapper__option {
    font-size: 1.5rem;
  }

  .package-wrapper__option svg {
    padding-right: 0.5rem;
  }
  .footer__icon svg {
    width: 2.5rem;
    height: 2.5rem;
  }
}
