.founders {
  background-image: url("/assets/images/founders/bg.jpg");
  background-size: cover;
  background-position: left;
  background-repeat: no-repeat;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;

  position: relative;
  padding-bottom: 173px;
}

.founders__container {
  height: 100%;
  width: 100%;
}

.founders__container::before {
  content: "";
  z-index: 3;
  inset: 0;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    to bottom,
    #000000f5 5%,
    transparent 25%,
    #000000f5 80%,
    #000 100%
  );
  bottom: -100px;
}

.founders__header {
  text-align: center;
  height: 400px;
  margin: 0 auto;
  background-image: url("/assets/images/founders/glow-black.png");
  background-size: cover;
  background-position: bottom;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  position: relative;
  top: 160px;
}

.founders__title {
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 72px;
  line-height: 100%;
  letter-spacing: -0.04em;
  text-transform: uppercase;

  background: #000000;
  background: linear-gradient(
    135deg,
    rgb(43, 43, 43) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgb(43, 43, 43) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founders__subtitle {
  font-family: "Astrados", sans-serif;
  font-weight: 400;
  font-size: 128px;
  line-height: 100%;
  letter-spacing: 0;
  color: #d6001c;

  position: relative;
  bottom: 130px;
}

.founders__blocks {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0 auto;
}

.founders__card {
  padding: 5px;
  position: relative;
  z-index: 4;
  border-radius: 16px;
  width: 330px;
  height: 450px;
  background-color: #ffffff0f;
  backdrop-filter: blur(150px);
  -webkit-backdrop-filter: blur(150px);
  text-align: left;
}

.founders__card-container {
  padding: 25px 20px 0 25px;
  height: calc(100% - 27px);
  border-radius: 12px;
  border: 1px solid #ffffff1a;
}

.founders__card-subtitle {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  color: #d6001c;
}

.founders__card-title {
  margin-top: 10px;
  font-family: "Akrobat", sans-serif;
  font-weight: 600;
  font-size: 48px;
  line-height: 100%;
  letter-spacing: -0.04em;
  text-transform: uppercase;

  background: #000000;
  background: linear-gradient(
    90deg,
    rgb(122, 122, 122) 0%,
    rgba(255, 255, 255, 1) 50%,
    rgba(255, 255, 255, 1) 100%
  );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.founders__card-list {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.founders__card-item {
  display: flex;
  align-items: center;
  gap: 20px;
}

.founders__card-item-text {
  font-family: "Inter Tight", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 120%;
  letter-spacing: 0;
  color: #afafaf;
}

.founders__card-item-text strong {
  font-weight: 500;
  color: #fff;
}

.founders__block {
  position: relative;
  height: 500px;
  width: 600px;
}

.founders__block-first {
  position: absolute;
  z-index: 2;
  left: 0;
}

.founders__block-second {
  position: absolute;
  z-index: 1;

  right: 0;
}

.founders__images-first-img {
  width: 413px;
  height: auto;
}

.founders__images-second-img {
  width: 310px;
  height: auto;
}

.founders__images-first-title,
.founders__images-second-title {
  font-family: "Astrados", sans-serif;
  font-weight: 400;
  font-size: 64px;
  line-height: 120%;
  letter-spacing: 0;
  color: #ffffff40;

  position: absolute;
  z-index: 4;
}

.text-left {
  text-align: left;
  bottom: -90px;
  left: -140px;
}

.text-right {
  text-align: right;
  bottom: -90px;
  right: -110px;
}

.founders__glow-first,
.founders__glow-second {
  position: absolute;
  z-index: -1;
}

.founders__glow-first {
  left: 0;
}

.founders__glow-second {
  right: 100px;
}

@media (max-width: 1300px) {
  .founders__container {
    margin: 0 20px;
    width: calc(100% - 40px);
  }

  .founders__card {
    flex-shrink: 0;
  }

  .founders__images-first-img {
    width: 350px;
  }

  .founders__images-second-img {
    width: 250px;
  }

  .founders__block-first {
    left: -40px;
  }

  .founders__block-second {
    right: -40px;
  }
}

@media (max-width: 1024px) {
  .founders__blocks {
    margin-top: 180px;
    flex-direction: column;
    gap: 250px;
  }

  .founders__card {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
  }

  .founders__card-list {
    margin: 0;
  }

  .founders__card-container {
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    padding: 15px;
  }

  .founders__card:first-child {
    width: 320px;
    height: 250px;
  }

  .founders__card:first-child .founders__card-container {
    width: 310px;
    height: 240px;
  }

  .founders__card:last-child {
    width: 320px;
    height: 270px;
  }

  .founders__card:last-child .founders__card-container {
    width: 310px;
    height: 260px;
  }

  .founders__card-wrapper {
    position: relative;
  }

  .founders__card-title {
    font-size: 32px;
  }

  .founders__card-top {
    position: absolute;
    z-index: 3;
    top: -200px;
    display: flex !important;
    gap: 20px;
    align-items: center;
  }

  .founders__card-top:nth-of-type(1) > div {
    margin-left: 20px;
  }

  .founders__card-top:nth-of-type(1) > div{
    margin-right: 20px;
  }

  .founders__images-first-img {
    position: relative;
    top: 20px;
    right: 34px;
    width: 168px;
  }

  .founders__images-second-img {
    position: relative;
    top: 20px;

    left: 20px;
    width: 126px;
  }
}

@media (max-width: 768px) {
  .founders__title {
    font-size: 40px;
  }

  .founders__subtitle {
    font-size: 64px;
    bottom: 69px;
  }
}
