/* very small screen  */
@media screen and (max-width: 300px) {
  .wrapper {
    margin-inline: 10px;
  }
}
@media screen and (min-width: 370px) {
  /* .header-container::after {
    content: "";
    position: absolute;
    bottom: -2rem;
    left: 0;
    right: 0;

    height: 30%;
    width: 100%;
    z-index: 1;
  } */
  .banner {
    height: 100%;
    min-width: 200px;
    min-height: 400px;
    background-repeat: no-repeat;
    margin-top: var(--header-height);
    background-size: auto 100%;
    background-position: top 0 right -40vw;
    position: absolute;
    /* display: block; */
    width: 100%;
    max-height: 500px;
    top: 0;
    left: 0;
    z-index: 1;
  }
}
/* @media screen and (min-width: 370px) {
  .header-container::after {
    bottom: -5rem;
  }
} */
@media screen and (min-width: 470px) {
  .offer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 200px));
    place-items: center;
    place-content: center;
    gap: 3rem;
  }
  .card .text {
    font-size: 14px;
  }
  .footer-top-projects {
    display: flex;
    justify-content: space-around;
    flex: 2;
  }
  .footer-contact {
    margin: 0;
  }
  .banner {
    background-position: top 0 right -40vw;
  }
}
@media screen and (max-width: 520px) {
  .screen-body {
    flex-direction: column;
  }

  .screen-body-item.left {
    margin-bottom: 30px;
  }

  .app-title {
    flex-direction: row;
  }

  .app-title span {
    margin-right: 12px;
  }

  .app-title:after {
    display: none;
  }
}

@media only screen and (min-width: 540px) {
  .banner {
    background-position: top -30px right -35vw;
    height: 100vh;
    margin-top: var(--header-height);
    display: block;
  }
  .banner-text {
    padding-top: 170px;
    text-align: left;
    margin-bottom: 0;
  }
  /* .header-container::after {
    bottom: 0rem;
  } */
  .header-container {
    padding-top: 14rem;
  }
  .box .role {
    justify-content: flex-start;
  }
  .box .title {
    justify-content: flex-start;
  }
  .me-img {
    display: none;
  }
  /* .header-container::after {
    display: unset;
  } */
}
@media screen and (max-width: 600px) {
  .screen-body {
    padding: 40px;
  }

  .screen-body-item {
    padding: 0;
  }
}
@media screen and (min-width: 600px) {
  .banner {
    background-position: top -30px right -100%;
    height: 100vh;
    margin-top: var(--header-height);
  }
}

@media only screen and (max-width: 650px) {
  .menu {
    position: fixed;
    bottom: 0.1rem;
    left: 50%;
    transform: translate(-50%);
    width: 100%;
    padding: 0 1rem;
    display: grid;
    align-content: center;
    transition: 0.4s;
    min-width: 320px;
    max-width: 500px;
  }
  .menu ul {
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 999;
    box-shadow: 0 -1px 12px hsla(174, 63%, 15%, 0.15);
    border-radius: 1rem 1rem 0 0;
    height: 6rem;
  }
  .menu ul li {
    padding: 0;
  }
  .nav-img {
    width: 40px;
  }
  .nav-img img {
    border-radius: 50%;
  }
  .menu ul li i {
    display: block;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
  }
  .nav-link {
    font-size: 1.6rem;
  }
  nav {
    position: relative;
  }

  /* banner */
  .banner-img {
    margin-top: 0;
  }
}

@media only screen and (min-width: 651px) {
  .nav-img {
    position: absolute;
    left: 1rem;
    margin-right: 20px;
  }
  .logo {
    margin-left: 55px;
  }
  .banner-text {
    padding: 0;
  }
  .header-container {
    height: 100vh;
    min-height: 500px;
    max-height: 600px;
    max-height: 1250px !important;
  }
  /* .header-container::after {
    bottom: -6rem;
  } */
  header .wrapper {
    display: grid;
    align-items: end;
    height: 98%;
  }
  .banner {
    height: 100%;
    max-height: unset;
    background-position: top -30px right -30vw;
  }
  #about {
    margin-top: 18rem;
  }
}
@media only screen and (min-width: 767px) {
  .banner {
    background: url(/assets/images/wartimg.png) no-repeat;
    background: url(/assets/images/me41.png) no-repeat;
    background-position: top -28px right -30vw;
    background-size: auto 100%;
    /* min-height: 900px; */
    z-index: 0;
  }
  .about-con {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }
  .about-skills.wrapper::after,
  .about-skills.wrapper::before {
    display: none;
  }
  .footer-top {
    display: flex;
    justify-content: space-between;
  }
  .footer-top-socials {
    flex: 1;
    border: none;
  }
}
@media screen and (min-width: 800px) {
  .banner {
    background-position: top -28px right -25vw;
  }
  h2 {
    font-size: 3rem;
  }
  .banner-text h1 {
    line-height: 1.3;
    margin: 15px 0;
    font-size: 4rem;
  }
  .banner-text h4 {
    font-size: 2.2rem;
  }
  .about-skills h3 {
    margin-left: 5px;
  }
  p :not(.text),
  p :not(.velo-slide__text) {
    font-size: 1.9rem !important;
  }
  .text {
    font-size: 166px;
  }
  .offer-content {
    grid-template-columns: repeat(auto-fit, minmax(200px, 250px));
  }
  .card {
    height: 250px;
  }
  .card .title {
    margin-top: 20px;
    letter-spacing: 4px;
  }
  .card .text {
    margin-top: 10px;
    font-size: 16px;
  }
  .card:hover {
    height: 110%;
  }
}
@media screen and (min-width: 850px) {
  .banner-text {
    max-width: 500px;
  }
}
@media screen and (min-width: 1020px) {
  .banner {
    background-position: top -28px right -20vw;
  }
}

@media screen and (min-width: 1100px) {
  .offer-content {
    grid-template-columns: repeat(auto-fit, minmax(250px, 300px));
  }
  .banner-text {
    max-width: 60%;
  }
}
@media screen and (min-width: 1200px) {
  .banner-text h1 {
    font-size: 5.2rem;
  }

  h2 {
    font-size: 3.2rem;
  }
  .banner {
    background-position: top -28px right;
  }
}
@media screen and (min-width: 1500px) {
  .banner {
    background-position: top -28px right;
  }
}
@media screen and (min-width: 2000px) {
  .banner-text h1 {
    font-size: 7.5rem;
  }
  h2 {
    font-size: 5rem;
  }
}
@media screen and (min-width: 1200px) and (max-height: 560px) {
  header .wrapper {
    display: grid;
    align-items: end;
    height: 100%;
  }
  .banner-text {
    padding: 0;
  }
}
@media screen and (max-width: 377px) and (max-height: 530px) {
  .header-container {
    height: unset;
    max-height: unset;
  }
}
@media screen and (min-height: 666px) {
  /* header{
    height: unset;
    max-height: unset;
  } */
}
