.projects {
  padding-top: 70px;
  padding-bottom: 30px;
  background-color: rgb(var(--background-color-projects));
}

.projects__title {
  margin-bottom: 70px;
  text-align: center;
  font-size: 60px;
  font-weight: 700;
}

.projects__list {
  overflow: clip;
}

.projects__content {
  overflow: clip;
  display: flex;
  gap: 100px;
  align-items: center;
  max-width: var(--container-size);
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
.projects__content--reverse {
  flex-direction: row-reverse;
}

.projects__content-image {
  width: 50%;
  overflow: clip;
}

.projects__content-item {
  overflow: clip;
  width: 50%;
}

.projects__content-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 15px;
}

.projects__content-description {
  color: rgb(var(--projects-color-text));
  font-size: 16px;
  font-weight: 400;
  line-height: 24px;
}

@media screen and (max-width: 900px) {
  .projects__content {
    flex-direction: column-reverse;
  }

  .projects__title {
    font-size: 28px;
    width: 90%;
    text-align: left;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 30px;
  }

  .projects__content {
    gap: 20px;
    margin-bottom: 50px;
  }

  .projects__content-item {
    width: 100%;
  }

  .projects__content-title {
    font-size: 22px;
  }

  .projects__content-image {
    width: 100%;
  }

  .projects__content-description {
    width: 100%;
  }
}
