.resolve {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 2rem;
  padding: 12rem 8rem;
  background-image: linear-gradient(
    175deg,
    var(--background-color) 75%,
    #fff 25%
  );
  color: var(--black-color);
}

.resolve-texts {
  display: flex;
  flex-direction: column;
  justify-content: start;
  gap: 3rem;
}

.resolve-texts h2 {
  line-height: 7rem;
  font-weight: 700;
  font-size: 5.8rem;
}

.resolve-texts p {
  line-height: 3rem;
  font-weight: 500;
  font-size: 1.8rem;
  color: var(--gray-text-color);
  width: 85%;
}

.resources {
  padding: 6rem;
}

.resources h2 {
  line-height: 5.6rem;
  font-weight: 700;
  font-size: 4rem;
  text-align: center;
  width: 50%;
  margin: 0 auto;
}

.resources-infos {
  margin-top: 4rem;
  display: grid;
  grid-template-columns: 28% 28% 28%;
  justify-content: center;
  gap: 5rem;
  margin-left: 2%;
}

.resources-infos__card {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.resources-infos span {
  font-size: 1.8rem;
  font-weight: 500;
}

.ally {
  padding: 5rem 0;
  color: var(--black-color);
}

.ally h2 {
  line-height: 5.6rem;
  font-weight: 700;
  font-size: 4rem;
  text-align: center;
  margin: 0 auto;
}

.ally h3 {
  line-height: 3rem;
  font-weight: 500;
  font-size: 1.8rem;
  text-align: center;
  margin-top: 1rem;
}

.ally-cards {
  margin-top: 2rem;
  background: var(--background-color);
  padding: 3rem 8rem;
  grid-template-columns: 31% 31% 31%;
  display: grid;
  justify-content: space-between;
  gap: 1.6rem;
}

.ally-cards__card {
  margin-top: 2rem;
  background: #ffffff;
  border: 1px #eff0f6 solid;
  border-radius: 2rem;
  box-shadow: 0px 6px 12px 0px #14142b0a;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 2rem;
  padding: 4rem 2rem;
}

.ally-cards__card h4 {
  color: var(--blue);
  font-size: 2rem;
  font-weight: 700;
  line-height: 4.2rem;
  text-align: center;
}

.ally-cards__card span {
  font-size: 1.8rem;
  font-weight: 400;
  text-align: center;
  color: var(--gray-text-color);
}

.agend {
  padding: 10rem 8rem;
  color: #fff;
}

.agend-content {
  height: auto;
  background: var(--blue);
  border-radius: 5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agend-content__text {
  display: flex;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  gap: 3rem;
}

.agend-content__text h2 {
  font-size: 4rem;
  font-weight: 700;
  line-height: 5.6rem;
  text-align: center;
}

.agend-content__text p {
  font-size: 1.8rem;
  font-weight: 400;
  line-height: 3rem;
  text-align: center;
}

.agend-content__button {
  background: #fff;
  color: var(--blue);
  border-radius: 6rem;
  padding: 0.6rem 4rem;
  height: 5rem;
  font-size: 1.6rem;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
}

.agend-content__points {
  margin-top: -25rem;
  margin-left: 5rem;
}

.agend-content__points-two {
  margin-top: 25rem;
  margin-right: -1rem;
  transform: rotate(90deg);
}

@media (min-width: 1376px) {
  .resolve {
    gap: 12rem;
  }
}

@media (max-width: 1024px) {
  .resolve {
    padding: 12rem 3.2rem 6rem 3.2rem;
  }

  .resolve-background__image {
    width: 45%;
  }
  .resolve-texts h2 {
    padding-top: 6rem;
    font-size: 4rem;
  }

  .resources {
    padding: 3.2rem;
  }

  .resources h2 {
    width: 100%;
  }

  .resources-infos {
    margin-left: 0;
    grid-template-columns: 35% 35%;
  }

  .ally h2 {
    font-size: 3.2rem;
    width: 70%;
    line-height: 3rem;
  }

  .ally h3 {
    margin: 0 auto;
    width: 70%;
    margin-top: 1rem;
  }

  .ally-cards {
    padding: 3.2rem;
    grid-template-columns: 47% 47%;
  }

  .agend {
    padding: 6rem 3.2rem;
  }

  .agend-content {
    height: auto;
    padding: 3rem 1rem;
    position: relative;
  }

  .agend-content__text {
    gap: 2rem;
    padding: 3rem;
  }
  .agend-content__text h2 {
    font-size: 2.4rem;
    line-height: 3rem;
    width: 100%;
  }
  .agend-content__text p {
    font-size: 1.6rem;
    text-align: center;
  }

  .agend-content__points {
    margin: 0;
    position: absolute;
    top: 0;
    width: 10rem;
  }

  .agend-content__points-two {
    margin: 0;
    right: 0;
    position: absolute;
    bottom: 0;
    width: 10rem;
  }
}

@media (max-width: 800px) {
  .resolve {
    padding: 8rem 3.2rem 3.2rem;
    flex-direction: column-reverse;
    height: auto;
    background-image: linear-gradient(
      165deg,
      var(--background-color) 85%,
      #fff 25%
    );
  }

  .resolve-background__image {
    width: 80%;
    margin-top: 4rem;
  }

  .resolve-texts {
    gap: 2rem;
    align-items: center;
  }

  .resolve-texts h2 {
    font-size: 2.2rem;
    line-height: 3.4rem;
    padding-top: 2rem;
    text-align: center;
  }

  .resolve-texts p {
    font-size: 1.2rem;
    line-height: 2.2rem;
    text-align: center;
    width: 100%;
  }

  .resources h2 {
    font-size: 2.2rem;
    line-height: 3.4rem;
  }

  .ally h2 {
    font-size: 2.4rem;
    line-height: 3.4rem;
    width: 100%;
    text-align: left;
    padding: 0 3.2rem;
  }
  .ally h3 {
    margin-top: 1rem;
    font-size: 1.4rem;
    line-height: 3rem;
    width: 100%;
    text-align: left;
    padding: 0 3.2rem;
  }

  .ally-cards {
    padding: 3rem 1rem;
    grid-template-columns: 90%;
    justify-content: center;
  }

  .ally-cards__card {
    margin-top: 0;
  }

  .ally-cards__card h4 {
    font-size: 1.8rem;
    line-height: 3rem;
  }
  .ally-cards__card span {
    font-size: 1.6rem;
  }

  .agend-content h2 {
    font-size: 2rem;
    line-height: 4rem;
    width: 90%;
  }

  .agend-content p {
    font-size: 1.4rem;
  }

  .agend-content__button {
    font-size: 1.4rem;
    height: 4rem;
    gap: 7px;
  }

  .agend-content__points {
    width: 7rem;
  }

  .agend-content__points-two {
    width: 7rem;
  }

  .agend-content__text {
    padding: 3.2rem 2rem;
  }

  .agend-content__text h2 {
    font-size: 1.8rem;
    line-height: 2.8rem;
    width: 100%;
  }
  .agend-content__text p {
    font-size: 1.2rem;
    width: 100%;
    line-height: 2.4rem;
  }
}

@media (max-width: 500px) {
  .resources-infos {
    margin-left: 0;
    grid-template-columns: 90%;
    gap: 4rem;
  }
}
