:root {
  --green: #0e723a;
  --light-green: #21a366;
  --white: #ffffff;
  --strong-gray: #242038;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.title {
  font-family: "Jost", sans-serif;
}

.text {
  font-family: "Quicksand", sans-serif;
}

.block {
  padding: 4rem 7%;
}

.main {
  max-width: 1400px;
  margin: 100px auto 0 auto;
}

.cover {
  position: relative;
  display: flex;
  justify-content: flex-start;

  /* margin: 100px auto 0 auto; */
  margin: auto;
}

.cover::after {
  content: "";
  background: url(../images/partner/hand_with_logo_web.svg) no-repeat center;
  background-size: contain;
  position: absolute;
  right: 0;
  bottom: 0;
  width: 475px;
  min-width: 150px;
  height: 384px;
  transform: translateY(30%);
  -webkit-transform: translateY(30%);
  -moz-transform: translateY(30%);
  -ms-transform: translateY(30%);
  -o-transform: translateY(30%);
}

.cover-title-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3.5em;
  max-width: 1000px;
  min-width: 300px;
  width: 70%;
  padding: 2em 0;
}

.cover-title {
  font-size: 3rem;
  line-height: 4rem;
}

.cover-title-logo {
  width: 5rem;
}

.cover-text {
  line-height: 2rem;
  font-size: 1.4rem;
  width: 70%;
}

.timelapse {
  background-color: var(--strong-gray);
}

.timelapse-title {
  margin-top: 3rem;
  width: 60%;
  color: var(--white);
  font-size: 2.5rem;
}

.timelapse-container {
  position: relative;
  margin-top: 3em;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4em;
  padding: 3em 0;
  /* background-color: aqua; */
}

.timelapse-container::after {
  content: "";
  position: absolute;
  width: 35px;
  height: 35px;
  top: 0;
  left: calc(50% - 19px);
  background-color: #0e723a;
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.timelapse-container::before {
  content: "";
  position: absolute;
  height: 82.5%;
  width: 3px;
  top: 0;
  right: 50%;
  background-color: var(--green);
}

.timelapse-container-item {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-width: 300px;
  gap: 5%;
}

.timelapse-container-item::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  left: calc(50% - 11.5px);
  background-color: #0e723a;
  transform: rotateZ(45deg);
  -webkit-transform: rotateZ(45deg);
  -moz-transform: rotateZ(45deg);
  -ms-transform: rotateZ(45deg);
  -o-transform: rotateZ(45deg);
}

.timelapse-container-item:last-child::after {
  top: 20%;
  width: 30px;
  height: 30px;
  left: calc(50% - 16.5px);
}

.timelapse-container-item-img {
  object-fit: cover;
  object-position: center;
  width: 100%;
  aspect-ratio: 1 / 1;
  /* height: 200px; */
  border-radius: 50%;
  -webkit-border-radius: 50%;
  -moz-border-radius: 50%;
  -ms-border-radius: 50%;
  -o-border-radius: 50%;
}

.timelapse-container-item-picture {
  width: 42.5%;
  max-width: 300px;
}

.timelapse-container-item:nth-child(even) .timelapse-container-item-picture {
  order: 2;
}

.timelapse-container-item-text {
  color: #ffffff;
  width: 42.5%;
  font-size: 1.5rem;
}

.hand-shake-img {
  width: 100%;
}

.form {
  max-width: 1400px;
  margin: auto;
  position: relative;
  width: 100%;
}

#partners-form {
  width: 100%;
}

@media screen and (min-width: 1400px) {
  .block {
    padding: 3rem calc(calc(1400 / 100) * 7px);
  }
  .timelapse-container-item-text {
    font-size: 1.8rem;
  }
}

@media screen and (max-width: 1024px) {
  .block {
    padding: 3rem 7%;
  }

  .cover::after {
    width: 350px;
  }

  .cover-title {
    font-size: 2.7rem;
    line-height: 3.2rem;
  }

  .cover-title-logo {
    width: 4.5rem;
  }

  .cover-text {
    font-size: 1.2rem;
    line-height: 1.5rem;
    width: 80%;
  }

  .cover-title-container {
    gap: 2em;
  }

  .timelapse-container-item-text {
    font-size: 1.2rem;
  }

  .timelapse-title {
    font-size: 2rem;
  }
}

@media screen and (max-width: 768px) {
  .main {
    margin: 75px auto 0 auto;
  }
  .cover::after {
    width: 250px;
    transform: translateY(35%);
    -webkit-transform: translateY(35%);
    -moz-transform: translateY(35%);
    -ms-transform: translateY(35%);
    -o-transform: translateY(35%);
  }

  .cover-title-container {
    width: 80%;
    margin-bottom: 5rem;
  }

  .cover-title {
    font-size: 2rem;
    line-height: 2.5rem;
  }

  .cover-title-logo {
    width: 3.7rem;
  }

  .cover-text {
    font-size: 1rem;
    line-height: 1.2rem;
    width: 80%;
  }

  .timelapse-title {
    width: 65%;
    font-size: 1.8rem;
  }

  .timelapse-container-item-text {
    font-size: 1rem;
  }
}

@media screen and (max-width: 480px) {
  .block {
    padding: 2rem 5%;
  }
  .main {
    margin-top: 60px;
  }
  .cover::after {
    width: 200px;
    transform: translateY(35%);
    -webkit-transform: translateY(35%);
    -moz-transform: translateY(35%);
    -ms-transform: translateY(35%);
    -o-transform: translateY(35%);
  }
  .cover-title-container {
    width: 100%;
    margin-bottom: 6rem;
  }
  .cover-title {
    font-size: 1.5rem;
    line-height: 2.3rem;
  }
  .cover-title-logo {
    width: 3rem;
  }
  .cover-text {
    font-size: 1rem;
    line-height: 1.2rem;
    width: 80%;
  }
  .timelapse-title {
    width: 80%;
    font-size: 1.5rem;
  }
  .timelapse-container-item::after {
    width: 10px;
    height: 10px;
    left: calc(50% - 6.5px);
  }
  .timelapse-container-item:last-child::after {
    width: 20px;
    height: 20px;
    left: calc(50% - 11.5px);
  }
  .timelapse-container::after {
    width: 25px;
    height: 25px;
    left: calc(50% - 14px);
  }
}
