* {
  margin: 0;
  font-family: inter, sans-serif;
}
body {
  background-color: #000000;
  color: #ffdb95;
}
.nav {
  padding: 0 100px;
  margin: 0 auto;
}
.nav > div {
  max-width: 1440px;
  margin: 0 auto;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-items {
  display: flex;
  align-items: center;
  gap: 74px;
  font-size: 18px;
  font-weight: 200;
}
.long-line {
  height: 1px;
  width: auto;
  background-color: #ffdb95;
}

.button {
  border: 1px solid #ffdb95;
  border-radius: 30px;
  background-color: transparent;
  padding: 6px 13px;
  font-size: 18px;
  font-weight: 200;
  color: #ffdb95;
}

.main-page-container {
  margin: 0 auto;
  max-width: 1440px;
  padding: 80px 100px;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.gradient-container {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: -5;
  opacity: 0.6;
}
.gradient1 {
  position: relative;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    rgba(0, 0, 0, 0) 0%,
    rgba(83, 81, 81, 1) 50%,
    rgb(0, 0, 0) 100%
  );
}

.gradient1::before {
  content: "";
  width: 100%;
  height: 100%;
  opacity: 0.5;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0) 10%,
    rgba(83, 81, 81, 1) 50%,
    rgb(0, 0, 0) 90%
  );
  position: absolute;
  left: 0;
  top: 0;
}
.gradient1::after {
  content: "";
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 1) 20%,
    rgba(0, 0, 0, 0) 50%,
    rgb(0, 0, 0) 80%
  );
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.text-container {
  display: flex;
  flex-direction: column;
}
h3 {
  font-size: 30px;
  font-weight: 200;
  margin: 20px 0;
}

h1 {
  font-size: 100px;
  font-weight: 200;
}

.line {
  height: 1px;
  width: auto;
  background-color: #ffdb95;
  margin: 6px;
}

.shadow {
  transform: scaleX(-1) rotate(180deg);
  filter: blur(5px);
}
.cards-container {
  max-width: 1440px;
  position: relative;
  margin: 0 auto;
  padding: 138px 100px;
  display: flex;
  justify-content: space-around;
}

.cards-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(./assets/bcg-image.webp) no-repeat center center;
  background-size: cover;
  opacity: 0.5;
  z-index: -1;
}

.card {
  font-weight: 200;
  font-size: 1rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 20%;
  border: 1px solid #ffdb95;
  position: relative;
  border-radius: 30px;
  padding: 16px 16px;
  text-align: center;
  background: linear-gradient(rgb(58, 58, 58) 0%, rgba(11, 11, 11, 1) 70%);
}

a {
  font-weight: 200;
  font-size: 1rem;
  color: #ffdb95;
}

.card:hover a {
  color: #000000;
  font-weight: 400;
}
.card-text {
  max-width: 75%;
  align-self: center;
}

.card:hover {
  background: #ffdb95;
  color: #000000;
  font-weight: 400;
  border: 2px dotted #000000;
}

.card > img {
  width: 50px;
}
.symbol-bottom {
  transform: scaleX(-1) rotate(180deg);
  align-self: flex-end;
}

footer {
  height: 170px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.button-telegram {
  color: #ffdb95;
  border: 1px solid #ffdb95;
  border-radius: 30px;
  background-color: transparent;
  padding: 22px 42px;
  font-size: 24px;
  font-weight: 200;
  display: flex;
  align-items: center;
  gap: 15px;
}

@media only screen and (max-width: 1024px) {
  .cards-image {
    height: 350px;
    width: auto;
  }
  .main-page-container {
    padding: 30px 100px;
  }
  h1 {
    font-size: 80px;
    min-width: 380px;
  }
  h3 {
    font-size: 26px;
  }
  .cards-container {
    padding: 100px 70px;
  }
  .card > img {
    width: 30px;
  }
  .card-text,
  a {
    font-size: 0.8rem;
  }
}

@media only screen and (max-width: 768px) {
  .card-text,
  a {
    font-size: 0.9rem;
  }
  .nav {
    padding: 0 50px;
  }
  .main-page-container {
    max-width: 768px;
    padding: 30px 50px;
  }
  h1 {
    font-size: 60px;
    min-width: 290px;
  }
  h3 {
    font-size: 20px;
  }

  .cards-image {
    height: 270px;
    width: auto;
  }
  .cards-container {
    max-width: 768px;
    position: relative;
    margin: 0 auto;
    padding: 50px 100px;
    display: grid;
    grid-template-columns: auto auto;
    gap: 20px;
  }
  .card {
    padding: 30px 40px;
    width: 70%;
  }
  .card > img {
    width: 30px;
  }
  .button-telegram {
    padding: 12px 32px;
    font-size: 20px;
  }
}

@media only screen and (max-width: 425px) {
  .nav {
    padding: 0 20px;
  }
  .nav > div {
    height: 50px;
  }
  .nav-items {
    font-size: 14px;
    gap: 20px;
  }
  .logo {
    height: 30px;
  }
  .button {
    font-size: 14px;
  }
  .main-page-container {
    max-width: 520px;
    padding: 20px 20px;
  }
  h1 {
    font-size: 30px;
    min-width: 150px;
  }
  h3 {
    font-size: 14px;
    margin: 6px 0;
  }
  .cards-image {
    height: 140px;
    width: auto;
  }
  .cards-container {
    max-width: 520px;
    position: relative;
    margin: 0 auto;
    padding: 20px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
  }
  .card {
    padding: 10px 20px;
    min-height: 400px;
    width: 70%;
  }
  .card > img {
    width: 50px;
  }
  .button-telegram {
    padding: 10px 20px;
    font-size: 14px;
  }
  .button-telegram > img {
    width: 15px;
  }
  footer {
    height: 70px;
  }
}
