.header__info-project-logo {
  height: 11rem;
}

.header__info-block.project_name {
  left: 6%;
}

.project_main_container {
  padding: 3.62rem 6.25rem 12.5rem 6.25rem;
  color: var(--color-light);
  font-family: "Involve_regular", sans-serif;
}

.project_details_block {
  display: flex;
  flex-direction: row;
  justify-content: left;
  gap: 7rem;
  margin-top: 1.5rem;
  margin-bottom: 5rem;
}

.project__params {
  flex-shrink: 0;
}

.project_content__title-logo {
  margin-top: 3rem;
  height: 3.5rem;
}

.project_content__text {
  font-family: "Involve_regular", sans-serif;
  font-size: 1.125rem;
  letter-spacing: -0.045rem;
  max-width: 45rem;
  line-height: normal;
}

.project__params__case {
  display: flex;
  flex-direction: column;
  gap: 1.69rem;
}

.project__params__unit {
  display: flex;
  align-items: flex-start;
  gap: 1.5rem;
}

.project__params__unit-icon {
  width: 32px;
  height: 32px;
  flex-shrink: 0;
}

.project__params__unit-info {
  display: flex;
  flex-direction: column;
}

.project__params__unit-title {
  white-space: nowrap;
  font-weight: 400;
  font-size: 1.5rem;
  letter-spacing: -0.06rem;
  margin-bottom: 0.5rem;
}

.project__params__unit-text {
  max-width: 350px;
  line-height: 1.25rem;
  font-size: 0.875rem;
}

.project__task__container {
  color: var(--color-light);
  padding: 2% 0 10% 0;
}

@media (max-width: 768px) {
  .header__info-project-logo {
    margin-top: 4rem;
    height: 7rem;
  }

  .header__info-block {
    left: 7.75rem;
  }

  .project__params__case {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 1.69rem;
  }

  .project__params__unit {
    width: calc(50% - 0.845rem); /* Half width minus half the gap */
  }

  .project_details_block {
    flex-direction: column;
  }

  .project__params {
    width: 100%;
  }

  .project__params__unit-text {
    font-size: 0.75rem;
    letter-spacing: -0.03rem;
  }

  .project__params__unit-title {
    font-size: 1.375rem;
    letter-spacing: -0.055rem;
  }
}

/* PROJECT CARDS NEW */
.project__cards > div {
  display: flex;
  flex-direction: row;
  width: 100%;
  gap: 1.25rem;
  margin-bottom: 1.25rem;
}

.project__cards > div:last-child {
  margin-bottom: 0;
}

.project__cards__txt_content {
  flex: 1;
  display: flex;
  align-items: center;
  padding-left: 7.5rem;
  min-width: 0;
}

.project__cards__txt_content p {
  text-align: left;
  font-family: "Involve_regular", sans-serif;
  font-size: 1.125rem;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: -0.045rem;
  color: var(--color-light);
}

.project__img {
  flex: 1;
  position: relative;
  aspect-ratio: 1/1;
  min-width: 0;
  max-width: 50%;
  max-height: fit-content;
  border-radius: 1.25rem;
  overflow: hidden;
}

.project__task-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

@media screen and (max-width: 1300px) {
  .project__cards__txt_content {
    padding-left: 4rem;
  }
}

@media screen and (max-width: 1050px) {
  .project__cards__txt_content {
    padding-left: 1rem;
  }
}

@media screen and (max-width: 950px) {
  .project_main_container {
    padding: 3.75rem 2rem 7.5rem 2rem;
  }
}

@media screen and (max-width: 900px) {
  .project__img {
    max-width: 100%;
    margin-bottom: 1.25rem;
  }

  .project__cards__txt_content {
    width: 100%;
    padding-left: 0;
    text-align: justify;
  }
}

@media screen and (max-width: 768px) {
  .project_details_block {
    flex-direction: column;
    gap: 2.5rem;
  }

  .project_content__title-logo {
    height: 3rem;
  }

  .project__img {
    max-width: 100%;
    aspect-ratio: 1/1;
  }

  .project__cards__txt_content {
    padding-left: 0;
    padding-top: 1.25rem;
  }
}

@media screen and (max-width: 600px) {
  .project__cards > div.project__cards__txt_row {
    flex-direction: column;
  }

  .project__cards__txt_content p {
    font-size: 1.125rem;
  }

  .project__params__unit {
    width: calc(50% - 2rem);
  }

  .project__params__unit-text {
    white-space: wrap;
  }
}

@media screen and (max-width: 510px) {
  .project__params__unit {
    width: unset;
  }

  .project__cards > div {
    flex-direction: column;
  }
}

@media (max-width: 500px) {
  .header__info-project-logo {
    margin-top: 4rem;
    height: 4.5rem;
  }

  .header__info-block {
    left: 1rem;
  }
}

@media (max-width: 460px) {
  .project__params__unit-title {
    white-space: wrap;
  }
}

@media (max-width: 430px) {
  .contents {
    flex-direction: column;
    align-items: center;
  }

  .contents__column {
    width: 100%;
  }

  .project_details_block {
    margin-top: 0.5rem;
    gap: 30px;
  }

  .project_content__title-logo {
    height: 2rem;
    margin-top: 2rem;
  }

  .project_content__text {
    font-size: 0.875rem;
    letter-spacing: -0.035rem;
    line-height: normal;
  }

  .project__cards__txt_content p {
    font-size: 0.875rem;
    letter-spacing: -0.04rem;
    line-height: normal;
  }
}
