@media only screen and (max-width: 600px) {
  .hero p span {
    font-weight: 800;
    font-size: 1.6rem;
    /* width: 100%; */
    line-height: 1.2;
    /* padding: 0px 2rem 0px 2rem; */
    text-align: center;
  }

  .hero p {
    font-size: 1.3rem;

  }

  .intro .a {
    border: 2px solid white;
    border-radius: 4px;
    margin-block: 2rem;
    padding: 0.6rem 1.3rem 0.6rem 1.3rem;
  }

  #services .service-bottom .service-item {
    flex-basis: 80%;
    margin: 2.5%;
  }

  #services .service-item h2 {
    font-size: 1.5rem;
    margin-bottom: 9px;
    /* background-color: rgb(39, 39, 199); */
  }

  #services .service-item p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.9rem;
  }

  .project-img img {
    width: fit-content;
  }

  #projects .project-img {
    width: 100%;
    border-radius: 0px 0px 20px 20px;
    flex-basis: 50%;
    height: 300px;
  }

  /* contact */

  .contact-inputs {
    width: 300px;
    height: 50px;
  }

  .contact-bottom button {
    width: 300px;
    height: 50px;
  }

  #projects .project-item {
    width: 80%;
    /* margin: 1rem; */
    /* height: 500px; */
  }

  /* #projects .all-projects p {
    margin-bottom: 1rem;
    width: 100%;
    height: none;

    
  } */
  .footer-end {
    font-size: 11px;
  }

  .footer-last {
    font-size: 10px;
  }

  .section-title {
    font-size: 2.1rem;
  }

  .section-top p {
    font-size: 1.1rem;
    margin: 0 8px 0 8px;
    /* background-color: rgb(58, 159, 248); */
  }
}





@media only screen and (min-width: 501px) and (max-width: 600px) {
  #projects .project-item {
    width: 80%;
  }

  .project-img img {
    width: fit-content;
  }

  #projects .project-img {
    width: 100%;
    border-radius: 0px 0px 20px 20px;
    flex-basis: 50%;
    height: 300px;
  }
}





@media only screen and (max-width: 768px) {
  .navbar .link {
    display: none;
  }

  .bar {
    display: block;
    font-size: 1.5rem;
  }

  #projects .project-info {
    height: 300px;
  }
}




@media only screen and (min-width: 600px) {
  #projects .project-item {
    width: 46%;
  }
}





@media only screen and (min-width: 851px) {
  #services .service-bottom {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: row;
    /* flex-wrap: wrap; */
    /* text-align: center; */
    margin-top: 20px;
  }

  #services .service-bottom .service-item {
    flex-basis: 45%;
    /* background-color: rgb(47, 102, 150); */
    margin: 2%;
  }

  #services .service-item {
    width: 30%;
    height: 300px;
    /* background-color: pink; */
  }

  #services .service-item h2 {
    font-size: 1.6rem;
    margin-bottom: 9px;
    text-transform: uppercase;
    /* height: 4rem; */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    /* background-color: rgb(39, 39, 199); */
  }

  /* coomon */
  #services .service-item p {
    /* text-align: left; */
    /* height: 15vh; */
    font-size: 1.1rem;
    /* background-color: rgb(61, 61, 59); */
    line-height: 1.9rem;
    padding-bottom: 1px;
  }

  #projects .project-item {
    width: 45%;
  }

  /* #projects .project-item {
    width: 42%;
  
  } */
}




@media only screen and (min-width: 900px) {
  #projects .project-info {
    border-radius: 2px solid yellow;
    padding: 30px;
    /* flex-basis: 10%; */
    color: white;
    height: 100%;

    /* width: 100%; */
  }

  #projects .project-img {
    width: fit-content;
    border-radius: 0px 0px 20px 20px;
    /* flex-basis: 80%; */
    height: 100%;
    /* background-color: aquamarine; */
    width: 100%;
  }
}