.projects {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem;

  > .images {
    display: grid;
    grid-template-columns: 350px 350px 350px 350px;
    gap: 5px;
  }

  @media only screen and (max-width: 1550px) {
    > .images {
      display: grid;
      grid-template-columns: 280px 280px 280px 280px;
    }
  }

  @media only screen and (max-width: 1200px) {
    > .images {
      display: grid;
      grid-template-columns: 300px 300px;
    }
  }

  @media only screen and (min-width: 600px) and (max-width: 900px) {
    > .images {
      display: grid;
      grid-template-columns: 250px 250px;
    }
  }

  @media only screen and (max-width: 600px) {
    > .images {
      display: grid;
      grid-template-columns: 180px 180px;
    }
  }

  @media (max-width: 400px) {
    > .images {
      display: grid;
      grid-template-columns: 155px 155px;
    }
  }
}

.projects .projects-btn {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  width: 1400px;
  margin-top: 1.5rem;
  border-bottom: #e76012 solid 1px;
  color: #000;
  font-size: 20px;
  font-weight: 700;

  > .arrow {
    font-size: 30px;
    color: #e76012;
  }

  @media (max-width: 1550px) {
    width: 1120px;
  }

  @media (max-width: 1200px) {
    width: 600px;
  }

  @media (max-width: 600px) {
    width: 360px;
    padding: 0.5rem;
    font-size: 18px;

    > arrow {
      font-size: 25px;
    }
  }

  @media (max-width: 400px) {
    width: 310px;
  }
}

.projects-text {
  width: 800px;
  margin-bottom: 4rem;
  border-bottom: #6f6e6e 1px solid;
  padding: 20px;

  > h2 {
    margin-bottom: 20px;
    color: #e76012;
  }

  > p {
    color: #6f6e6e;
  }

  @media only screen and (min-width: 900px) and (max-width: 1200px) {
    width: 650px;
  }

  @media only screen and (min-width: 600px) and (max-width: 900px) {
    width: 500px;
  }

  @media only screen and (max-width: 600px) {
    width: 300px;
  }
}

.row-img {
  width: 350px;
  height: 300px;

  @media (max-width: 1550px) {
    width: 280px;
    height: 280px;
  }

  @media (max-width: 1200px) {
    width: 300px;
    height: 300px;
  }

  @media (max-width: 600px) {
    width: 180px;
    height: 180px;
  }

  @media (max-width: 400px) {
    width: 155px;
    height: 155px;
  }
}
