@charset "UTF-8";
/* Reset and base styles  */
@import url(https://fonts.googleapis.com/css?family=Barlow:100,100italic,200,200italic,300,300italic,regular,italic,500,500italic,600,600italic,700,700italic,800,800italic,900,900italic);
@import url(https://fonts.googleapis.com/css?family=Roboto+Flex:regular);
@import url(https://fonts.googleapis.com/css?family=Roboto+Mono:100,200,300,regular,500,600,700,100italic,200italic,300italic,italic,500italic,600italic,700italic);
@import url(https://fonts.googleapis.com/css?family=Rajdhani:300,regular,500,600,700);
@import url(https://fonts.googleapis.com/css?family=Lexend:100,200,300,regular,500,600,700,800,900);
* {
  padding: 0px;
  margin: 0px;
  border: none;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

/* Links */
a,
a:link,
a:visited {
  text-decoration: none;
}

a:hover {
  text-decoration: none;
}

/* Common */
aside,
nav,
footer,
header,
section,
main {
  display: block;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-size: inherit;
  font-weight: inherit;
}

ul,
ul li {
  list-style: none;
}

img {
  vertical-align: top;
}

img,
svg {
  max-width: 100%;
  height: auto;
}

address {
  font-style: normal;
}

/* Form */
input,
textarea,
button,
select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
  background-color: transparent;
}

input::-ms-clear {
  display: none;
}

button,
input[type="submit"] {
  display: inline-block;
  box-shadow: none;
  background-color: transparent;
  background: none;
  cursor: pointer;
}

input:focus,
input:active,
button:focus,
button:active {
  outline: none;
}

button::-moz-focus-inner {
  padding: 0;
  border: 0;
}

label {
  cursor: pointer;
}

legend {
  display: block;
}

input[type="file"] {
  max-width: 100%;
}

html {
  height: 100%;
  scroll-behavior: smooth;
}

body {
  min-height: 100vh; /* или 100% */
  margin: 0;
  padding: 0;
  font-family: "Inter", sans-serif;
  background: linear-gradient(
    1deg,
    rgba(0, 0, 0, 0.78) 0%,
    rgb(255, 215, 0) 51%,
    rgb(0, 0, 0) 100%
  );
  background-attachment: fixed; /* ← добавить это */
  background-size: cover;
}

.container {
  margin: 0 auto;
  max-width: 1440px;
  text-align: center;
}

.none {
  display: none;
}

:root {
  --font-family: "Barlow", sans-serif;
  --second-family: "Roboto Flex", sans-serif;
  --third-family: "Roboto Mono", sans-serif;
  --font3: "Rajdhani", sans-serif;
  --font4: "Lexend", sans-serif;
}

.nav-top {
  padding: 50px;
}

.nav-top-content {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
}

.nav-top-navigation {
  display: flex;
  gap: 25px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.nav-top-logo {
  width: 50px;
}

/*---------------width 1100px-----------------*/
@media (max-width: 1100px) {
  .nav-top-navigation {
    display: flex;
    gap: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
  }
}
/*---------------width 870px-----------------*/
@media (max-width: 870px) {
  .nav-top {
    padding: 20px;
  }
  .nav-top-logo {
    width: 70px;
  }
  .nav-top-navigation {
    gap: 10px;
  }
}
/*---------------width 600px-----------------*/
@media (max-width: 600px) {
  .nav-top {
    padding: 10px;
  }
  .nav-top-logo {
    width: 70px;
  }
  .nav-top-navigation {
    gap: 10px;
  }
}
/*---------------width 500px-----------------*/
@media (max-width: 500px) {
  .nav-top {
    padding: 10px;
  }
  .nav-top-logo {
    display: none;
  }
  .nav-top-navigation {
    gap: 5px;
  }
}
.love {
  font-family: Arial, sans-serif;
  display: flex;
  justify-content: center;
  align-items: center;
  max-height: 200px;
  padding: 50px;
  margin: 0;
}

.love-container {
  display: flex;
  align-items: center;
  font-size: 48px;
  color: #ffd700;
}

.container p {
  margin: 0;
  margin-right: 10px;
  line-height: 48px;
}

.words {
  overflow: hidden;
  height: 60px;
}

.word {
  display: block;
  height: 60px;
  line-height: 60px;
  padding-left: 6px;
  color: #ffd700;
  animation: animate 6s infinite;
}

@keyframes animate {
  0%,
  25% {
    transform: translateY(0);
  }
  33%,
  58% {
    transform: translateY(-100%);
  }
  66%,
  91% {
    transform: translateY(-200%);
  }
  100% {
    transform: translateY(-300%);
  }
}
/*--------------------870px-------------------------*/
@media (max-width: 870px) {
  .love {
    max-height: 150px;
    padding: 0 10px 20px 10px;
  }
}
/*--------------------600px-------------------------*/
@media (max-width: 600px) {
  .love {
    max-height: 150px;
    padding: 10px;
  }
  .love-container {
    font-size: 30px;
  }
  .words {
    height: 30px;
  }
  .word {
    height: 30px;
    line-height: 30px;
  }
}
/*--------------------500px-------------------------*/
@media (max-width: 500px) {
  .love {
    max-height: 100px;
    padding: 5px;
  }
  .love-container {
    font-size: 20px;
  }
  .words {
    height: 20px;
  }
  .word {
    height: 20px;
    line-height: 20px;
  }
  .container p {
    line-height: 28px;
  }
}
/*--------------------400px-------------------------*/
@media (max-width: 400px) {
  .container p {
    line-height: 18px;
  }
}
.welcome {
  padding: 0 10px;
}

.welcome-content {
  padding: 0 10px;
}

/* Defs */
@property --angle-1 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -75deg;
}
@property --angle-2 {
  syntax: "<angle>";
  inherits: false;
  initial-value: -45deg;
}
:root {
  --global--size: clamp(2rem, 4vw, 5rem);
  --anim--hover-time: 400ms;
  --anim--hover-ease: cubic-bezier(0.25, 1, 0.5, 1);
}

/* ========== BUTTON ========== */
/* Button Wrap Container */
.button-wrap {
  position: relative;
  z-index: 2;
  border-radius: 999vw;
  background: transparent;
  pointer-events: none;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

/* Button Shadow Container */
.button-shadow {
  --shadow-cuttoff-fix: 2em;
  position: absolute;
  width: calc(100% + var(--shadow-cuttoff-fix));
  height: calc(100% + var(--shadow-cuttoff-fix));
  top: calc(0% - var(--shadow-cuttoff-fix) / 2);
  left: calc(0% - var(--shadow-cuttoff-fix) / 2);
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
  -moz-filter: blur(clamp(2px, 0.125em, 12px));
  -ms-filter: blur(clamp(2px, 0.125em, 12px));
  overflow: visible;
  pointer-events: none;
}

/* Shadow */
.button-shadow::after {
  content: "";
  position: absolute;
  z-index: 0;
  inset: 0;
  border-radius: 999vw;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1));
  width: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  height: calc(100% - var(--shadow-cuttoff-fix) - 0.25em);
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  left: calc(var(--shadow-cuttoff-fix) - 0.875em);
  padding: 0.125em;
  box-sizing: border-box;
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  overflow: visible;
  opacity: 1;
}

/* ========== BUTTON BASE STYLES ========== */
button {
  /* Basic Styling */
  --border-width: clamp(1px, 0.0625em, 4px);
  all: unset;
  cursor: pointer;
  position: relative;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
  pointer-events: auto;
  z-index: 3;
  background: linear-gradient(
    -75deg,
    rgba(255, 255, 255, 0.05),
    rgba(255, 255, 255, 0.2),
    rgba(255, 255, 255, 0.05)
  );
  border-radius: 999vw;
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.25em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2), 0 0 0 0 rgb(255, 255, 255);
  backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -webkit-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -moz-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  -ms-backdrop-filter: blur(clamp(1px, 0.125em, 4px));
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
}

button:hover {
  transform: scale(0.975);
  backdrop-filter: blur(0.01em);
  -webkit-backdrop-filter: blur(0.01em);
  -moz-backdrop-filter: blur(0.01em);
  -ms-backdrop-filter: blur(0.01em);
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.15em 0.05em -0.1em rgba(0, 0, 0, 0.25),
    0 0 0.05em 0.1em inset rgba(255, 255, 255, 0.5), 0 0 0 0 rgb(255, 255, 255);
}

/* Button Text */
button span {
  position: relative;
  display: block;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  font-family: "Inter", sans-serif;
  letter-spacing: -0.05em;
  font-weight: 500;
  font-size: 1em;
  color: greenyellow;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-shadow: 0em 0.25em 0.05em rgba(0, 0, 0, 0.1);
  transition: all var(--anim--hover-time) var(--anim--hover-ease);
  padding-inline: 1.5em;
  padding-block: 0.875em;
}

button:hover span {
  text-shadow: 0.025em 0.025em 0.025em rgba(0, 0, 0, 0.12);
}

/* Text */
button span::after {
  content: "";
  display: block;
  position: absolute;
  z-index: 1;
  width: calc(100% - var(--border-width)); /* Prevent overlapping border */
  height: calc(100% - var(--border-width));
  top: calc(0% + var(--border-width) / 2);
  left: calc(0% + var(--border-width) / 2);
  box-sizing: border-box;
  border-radius: 999vw;
  overflow: clip;
  background: linear-gradient(
    var(--angle-2),
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 40% 50%,
    rgba(255, 255, 255, 0) 55%
  );
  z-index: 3;
  mix-blend-mode: screen;
  pointer-events: none;
  background-size: 200% 200%;
  background-position: 0% 50%;
  background-repeat: no-repeat;
  transition: background-position calc(var(--anim--hover-time) * 1.25)
      var(--anim--hover-ease),
    --angle-2 calc(var(--anim--hover-time) * 1.25) var(--anim--hover-ease);
}

button:hover span::after {
  background-position: 25% 50%;
}

button:active span::after {
  background-position: 50% 15%;
  --angle-2: -15deg;
}

/* Touch Devices */
@media (hover: none) and (pointer: coarse) {
  button span::after,
  button:active span::after {
    --angle-2: -45deg;
  }
}
/* ========== BUTTON OUTLINE ========== */
/* Outline */
button::after {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  border-radius: 999vw;
  width: calc(100% + var(--border-width));
  height: calc(100% + var(--border-width));
  top: calc(0% - var(--border-width) / 2);
  left: calc(0% - var(--border-width) / 2);
  padding: var(--border-width);
  box-sizing: border-box;
  background: conic-gradient(
      from var(--angle-1) at 50% 50%,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0) 5% 40%,
      rgba(0, 0, 0, 0.5) 50%,
      rgba(0, 0, 0, 0) 60% 95%,
      rgba(0, 0, 0, 0.5)
    ),
    linear-gradient(180deg, rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5));
  -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  transition: all var(--anim--hover-time) var(--anim--hover-ease),
    --angle-1 500ms ease;
  box-shadow: inset 0 0 0 calc(var(--border-width) / 2) rgba(255, 255, 255, 0.5);
}

button:hover::after {
  --angle-1: -125deg;
}

button:active::after {
  --angle-1: -75deg;
}

@media (hover: none) and (pointer: coarse) {
  button::after,
  button:hover::after,
  button:active::after {
    --angle-1: -75deg;
  }
}
/* Shadow Hover */
.button-wrap:has(button:hover) .button-shadow {
  filter: blur(clamp(2px, 0.0625em, 6px));
  -webkit-filter: blur(clamp(2px, 0.0625em, 6px));
  -moz-filter: blur(clamp(2px, 0.0625em, 6px));
  -ms-filter: blur(clamp(2px, 0.0625em, 6px));
  transition: filter var(--anim--hover-time) var(--anim--hover-ease);
}

.button-wrap:has(button:hover) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.875em);
  opacity: 1;
}

/* Rotation */
.button-wrap:has(button:active) {
  transform: rotate3d(1, 0, 0, 25deg);
}

.button-wrap:has(button:active) button {
  box-shadow: inset 0 0.125em 0.125em rgba(0, 0, 0, 0.05),
    inset 0 -0.125em 0.125em rgba(255, 255, 255, 0.5),
    0 0.125em 0.125em -0.125em rgba(0, 0, 0, 0.2),
    0 0 0.1em 0.25em inset rgba(255, 255, 255, 0.2),
    0 0.225em 0.05em 0 rgba(0, 0, 0, 0.05),
    0 0.25em 0 0 rgba(255, 255, 255, 0.75),
    inset 0 0.25em 0.05em 0 rgba(0, 0, 0, 0.15);
}

.button-wrap:has(button:active) .button-shadow {
  filter: blur(clamp(2px, 0.125em, 12px));
  -webkit-filter: blur(clamp(2px, 0.125em, 12px));
  -moz-filter: blur(clamp(2px, 0.125em, 12px));
  -ms-filter: blur(clamp(2px, 0.125em, 12px));
}

.button-wrap:has(button:active) .button-shadow::after {
  top: calc(var(--shadow-cuttoff-fix) - 0.5em);
  opacity: 0.75;
}

.button-wrap:has(button:active) span {
  text-shadow: 0.025em 0.25em 0.05em rgba(0, 0, 0, 0.12);
}

/*-------------------1100px------------------------*/
@media (max-width: 1100px) {
  /* Button Text */
  button span {
    font-size: 0.9em;
  }
}
/*-------------------870px------------------------*/
@media (max-width: 870px) {
  /* Button Text */
  button span {
    font-size: 1em;
  }
}
/*-------------------600px------------------------*/
@media (max-width: 600px) {
  /* Button Text */
  button span {
    font-size: 0.8em;
  }
}
/*-------------------500px------------------------*/
@media (max-width: 500px) {
  /* Button Text */
  button span {
    font-size: 0.6em;
  }
}
.slider {
  margin-bottom: 100px;
}

.about-title {
  font-size: 75px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.02em;
  position: absolute;
  top: 45px;
  left: 50%;
  transform: translateX(-50%);
  pointer-events: none;
  white-space: nowrap;
  font-family: "Arial Black", "Arial Bold", Arial, sans-serif;
  background: linear-gradient(
    to bottom,
    rgba(8, 42, 123, 0.35) 30%,
    rgba(255, 255, 255, 0) 76%
  );
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.carousel-container {
  margin: 0 auto;
  width: 100%;
  max-width: 1200px;
  height: 450px;
  position: relative;
  perspective: 1000px;
  margin-top: 80px;
  margin-bottom: 80px;
}

.carousel-track {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  transform-style: preserve-3d;
  transition: transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card {
  position: absolute;
  width: 480px;
  height: 480px;
  background: white;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: pointer;
}

.card img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.card.center {
  z-index: 10;
  transform: scale(1.1) translateZ(0);
}

.card.center img {
  filter: none;
}

.card.left-2 {
  z-index: 1;
  transform: translateX(-400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.left-2 img {
  filter: grayscale(100%);
}

.card.left-1 {
  z-index: 5;
  transform: translateX(-200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.left-1 img {
  filter: grayscale(100%);
}

.card.right-1 {
  z-index: 5;
  transform: translateX(200px) scale(0.9) translateZ(-100px);
  opacity: 0.9;
}

.card.right-1 img {
  filter: grayscale(100%);
}

.card.right-2 {
  z-index: 1;
  transform: translateX(400px) scale(0.8) translateZ(-300px);
  opacity: 0.7;
}

.card.right-2 img {
  filter: grayscale(100%);
}

.card.hidden {
  opacity: 0;
  pointer-events: none;
}

.member-info {
  text-align: center;
  margin-top: 40px;
  transition: all 0.5s ease-out;
}

.member-name {
  color: rgb(8, 42, 123);
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 10px;
  position: relative;
  display: inline-block;
}

.member-role {
  color: #495ced;
  font-size: 1.5rem;
  font-weight: 500;
  opacity: 0.8;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 10px 0;
  margin-top: -15px;
  position: relative;
}

.dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 60px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(8, 42, 123, 0.2);
  cursor: pointer;
  transition: all 0.3s ease;
}

.dot.active {
  background: rgb(64, 225, 32);
  transform: scale(1.2);
}

.nav-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(8, 42, 123, 0.6);
  color: white;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 20;
  transition: all 0.3s ease;
  font-size: 1.5rem;
  border: none;
  outline: none;
  padding-bottom: 4px;
}

.nav-arrow:hover {
  background: rgba(0, 0, 0, 0.8);
  transform: translateY(-50%) scale(1.1);
}

.nav-arrow.left {
  left: 20px;
  padding-right: 3px;
}

.nav-arrow.right {
  right: 20px;
  padding-left: 3px;
}

@media (max-width: 768px) {
  .about-title {
    font-size: 4.5rem;
  }
  .card {
    width: 200px;
    height: 280px;
  }
  .card.left-2 {
    transform: translateX(-250px) scale(0.8) translateZ(-300px);
  }
  .card.left-1 {
    transform: translateX(-120px) scale(0.9) translateZ(-100px);
  }
  .card.right-1 {
    transform: translateX(120px) scale(0.9) translateZ(-100px);
  }
  .card.right-2 {
    transform: translateX(250px) scale(0.8) translateZ(-300px);
  }
  .member-name {
    font-size: 2rem;
  }
  .member-role {
    font-size: 1.2rem;
  }
  .member-name::before,
  .member-name::after {
    width: 50px;
  }
  .member-name::before {
    left: -70px;
  }
  .member-name::after {
    right: -70px;
  }
}
/*-------------------870px------------------------*/
@media (max-width: 870px) {
  .slider {
    margin-bottom: 60px;
  }
  .about-title {
    font-size: 55px;
    font-weight: 800;
    top: 45px;
  }
  .carousel-container {
    max-width: 1200px;
    height: 450px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
  .card {
    width: 400px;
    height: 400px;
    border-radius: 16px;
  }
  .member-info {
    margin-top: 40px;
  }
  .member-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .member-role {
    font-size: 1.5rem;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.1em;
    padding: 10px 0;
    margin-top: -15px;
  }
  .dots {
    margin-top: 20px;
  }
}
/*-------------------700px------------------------*/
/*-------------------600px------------------------*/
@media (max-width: 600px) {
  .slider {
    margin-bottom: 40px;
  }
  .about-title {
    font-size: 35px;
    font-weight: 700;
    top: 35px;
  }
  .carousel-container {
    height: 400px;
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .card {
    width: 350px;
    height: 350px;
  }
  .member-info {
    margin-top: 20px;
  }
  .member-name {
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 10px;
  }
  .member-role {
    font-size: 18px;
    letter-spacing: 0;
    padding: 10px 0;
    margin-top: -15px;
  }
  .dots {
    margin-top: 10px;
  }
}
/*-------------------500px------------------------*/
@media (max-width: 500px) {
  .slider {
    margin-bottom: 20px;
  }
  .about-title {
    font-size: 25px;
    top: 25px;
  }
  .carousel-container {
    height: 350px;
    margin-top: 40px;
    margin-bottom: 0px;
  }
  .card {
    width: 300px;
    height: 300px;
  }
  .member-info {
    margin-top: 10px;
  }
  .member-name {
    font-size: 18px;
    margin-bottom: 5px;
  }
  .member-role {
    font-size: 14px;
    padding: 5px 0;
    margin-top: -15px;
  }
  .dots {
    margin-top: 5px;
  }
}
/*-------------------400px------------------------*/
@media (max-width: 400px) {
  .slider {
    margin-bottom: 10px;
  }
  .about-title {
    font-size: 18px;
    top: 10px;
  }
  .carousel-container {
    height: 250px;
    margin-top: 20px;
    margin-bottom: 0px;
  }
  .card {
    width: 230px;
    height: 230px;
  }
  .member-info {
    margin-top: 5px;
  }
  .member-name {
    font-size: 14px;
  }
  .member-role {
    font-size: 10px;
  }
}
/* Reset and base styles */
/* CSS Variables */
:root {
  --electric-border-color: #5635db;
  --electric-light-color: oklch(from var(--electric-border-color) l c h);
  --gradient-color: oklch(
    from var(--electric-border-color) 0.3 calc(c / 2) h / 0.4
  );
  --color-neutral-900: oklch(0.185 0 0);
}

/* Main container */
.main-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: #fff;
}

/* SVG positioning */
.svg-container {
  position: absolute;
}

/* Card container */
.card-container {
  padding: 2px;
  border-radius: 24px;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.2) 0%,
    rgba(255, 215, 0, 0.2) 65%
  );
  position: relative;
  overflow: hidden; /* Важно для обрезки видео по границам контейнера */
}

/* Видеофон */
.card-video-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  border-radius: 22px; /* Чуть меньше, чем у контейнера */
  z-index: 0; /* Самый нижний слой */
  opacity: 1; /* Регулируйте прозрачность */
}

/* Наложение для лучшей читаемости текста */
.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(255, 215, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  z-index: 1;
  border-radius: 22px;
  pointer-events: none;
}

/* Обеспечиваем, чтобы весь контент был поверх видео */
.inner-container,
.overlay-1,
.overlay-2,
.background-glow,
.content-container {
  position: relative;
  z-index: 2;
}

/* Border layers */
.border-outer {
  border: 2px solid rgba(221, 132, 72, 0.5);
  border-radius: 24px;
  padding-right: 4px;
  padding-bottom: 4px;
}

.main-card {
  width: 850px;
  height: 450px;
  border-radius: 24px;
  border: 2px solid var(--electric-border-color);
  margin-top: -4px;
  margin-left: -4px;
  filter: url(#turbulent-displace);
}

/* Glow effects */
.glow-layer-1 {
  border: 2px solid rgba(221, 132, 72, 0.6);
  border-radius: 24px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(1px);
}

.glow-layer-2 {
  border: 2px solid var(--electric-light-color);
  border-radius: 24px;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  filter: blur(4px);
}

/* Overlay effects */
.overlay-1 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  opacity: 1;
  mix-blend-mode: overlay;
  transform: scale(1.1);
  filter: blur(16px);
  background: linear-gradient(
    -30deg,
    white,
    transparent 30%,
    transparent 70%,
    white
  );
}

.overlay-2 {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  opacity: 0.5;
  mix-blend-mode: overlay;
  transform: scale(1.1);
  filter: blur(16px);
  background: linear-gradient(
    -30deg,
    white,
    transparent 30%,
    transparent 70%,
    white
  );
}

/* Background glow */
.background-glow {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 24px;
  filter: blur(32px);
  transform: scale(1.1);
  opacity: 0.3;
  z-index: -1;
  background: linear-gradient(
    -30deg,
    var(--electric-light-color),
    transparent,
    var(--electric-border-color)
  );
}

/* Content container */
.content-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

/* Content sections */
.content-top {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 48px;
  padding-bottom: 16px;
  height: 100%;
}

.content-bottom {
  display: flex;
  flex-direction: column;
  padding: 48px;
  padding-top: 16px;
}

/* Scrollbar glass component */
.scrollbar-glass {
  background: radial-gradient(
      47.2% 50% at 50.39% 88.37%,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    rgba(255, 255, 255, 0.04);
  position: relative;
  transition: background 0.3s ease;
  border-radius: 14px;
  width: -moz-fit-content;
  width: fit-content;
  height: -moz-fit-content;
  height: fit-content;
  padding: 8px 16px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
}

.scrollbar-glass:hover {
  background: radial-gradient(
      47.2% 50% at 50.39% 88.37%,
      rgba(255, 255, 255, 0.12) 0%,
      rgba(255, 255, 255, 0) 100%
    ),
    rgba(255, 255, 255, 0.08);
}

.scrollbar-glass::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 1px;
  background: linear-gradient(
    150deg,
    rgba(255, 255, 255, 0.48) 16.73%,
    rgba(255, 255, 255, 0.08) 30.2%,
    rgba(255, 255, 255, 0.08) 68.2%,
    rgba(255, 255, 255, 0.6) 81.89%
  );
  border-radius: inherit;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask-composite: xor;
  -webkit-mask-composite: xor;
  pointer-events: none;
}

/* Typography */
.title {
  font-size: 36px;
  font-weight: 500;
  margin-top: auto;
}

.description {
  color: #fff;
}

/* Divider */
.divider {
  margin-top: auto;
  border: none;
  height: 1px;
  background-color: currentColor;
  opacity: 0.1;
  mask-image: linear-gradient(to right, transparent, black, transparent);
  -webkit-mask-image: linear-gradient(
    to right,
    transparent,
    black,
    transparent
  );
}

/*-------------------870px------------------------*/
@media (max-width: 870px) {
  .main-card {
    width: 700px;
    height: 350px;
    border-radius: 24px;
  }
  .title {
    font-size: 30px;
  }
  /* Content sections */
  .content-top {
    padding: 38px;
    padding-bottom: 14px;
  }
  .content-bottom {
    padding: 38px;
    padding-top: 14px;
  }
}
/*-------------------700px------------------------*/
@media (max-width: 700px) {
  .main-card {
    width: 600px;
    height: 350px;
    border-radius: 20px;
  }
  .title {
    font-size: 36px;
  }
  /* Content sections */
  .content-top {
    padding: 28px;
    padding-bottom: 12px;
  }
  .content-bottom {
    padding: 28px;
    padding-top: 12px;
  }
}
/*-------------------600px------------------------*/
@media (max-width: 600px) {
  .main-card {
    width: 500px;
    height: 300px;
    border-radius: 20px;
  }
  .title {
    font-size: 26px;
  }
  /* Content sections */
  .content-top {
    padding: 10px;
    padding-bottom: 10px;
  }
  .content-bottom {
    padding: 18px;
    padding-top: 10px;
  }
}
/*-------------------500px------------------------*/
@media (max-width: 500px) {
  .main-card {
    width: 400px;
    height: 250px;
    border-radius: 20px;
  }
  .title {
    font-size: 18px;
  }
  /* Content sections */
  .content-top {
    height: 90%;
    padding: 10px;
    padding-bottom: 10px;
  }
  .content-bottom {
    padding: 18px;
    padding-top: 10px;
  }
}
/*-------------------400px------------------------*/
@media (max-width: 400px) {
  .main-card {
    width: 300px;
    height: 200px;
    border-radius: 10px;
  }
  .title {
    font-size: 18px;
  }
  /* Content sections */
  .content-top {
    padding: 10px;
    padding-bottom: 5px;
  }
  .content-bottom {
    padding: 10px;
    padding-top: 5px;
  }
}
.whychooseus {
  margin-bottom: 100px;
  padding: 0 10px;
}

.whychooseus-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 75px;
}

.whychooseus-rings {
  display: flex;
  justify-content: center;
  position: relative;
}

.whychooseus-ring {
  position: relative;
  margin-right: -4%; /* Перекрытие 5% */
  z-index: 1;
  transition: z-index 0.3s ease; /* Плавное изменение при наведении */
  display: flex;
  gap: 16px;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border: 10px solid #000;
  border-radius: 1000px;
  padding: 0px 42px;
  width: 280px;
  height: 280px;
  background: #141414;
}

/* Убираем отрицательный margin у последнего элемента */
.whychooseus-ring:last-child {
  margin-right: 0;
}

/* Поднимаем элемент при наведении */
.whychooseus-ring:hover {
  z-index: 2;
  transform: scale(1.05); /* Легкое увеличение при наведении */
}

.whychooseus-ring-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  text-align: center;
  color: #ffd700;
}

.whychooseus-ring-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  color: #fff;
}

/*-------------@media  900 px--------------*/
@media (max-width: 900px) {
  .whychooseus {
    margin-bottom: 80px;
  }
  .whychooseus-title {
    font-size: 30px;
    line-height: 136%;
    margin-bottom: 55px;
  }
  .whychooseus-ring {
    padding: 0px 38px;
    width: 250px;
    height: 250px;
  }
  .whychooseus-ring-title {
    font-weight: 500;
    font-size: 16px;
  }
  .whychooseus-ring-text {
    font-weight: 400;
    font-size: 12px;
  }
}
/*-------------@media  750 px--------------*/
@media (max-width: 750px) {
  .whychooseus {
    margin-bottom: 60px;
  }
  .whychooseus-title {
    font-size: 26px;
    line-height: 106%;
    margin-bottom: 35px;
  }
  .whychooseus-ring {
    gap: 10px;
    padding: 0px 30px;
    width: 200px;
    height: 200px;
  }
  .whychooseus-ring-title {
    font-weight: 500;
    font-size: 14px;
  }
  .whychooseus-ring-text {
    font-weight: 400;
    font-size: 10px;
  }
}
/*-------------@media  500 px--------------*/
@media (max-width: 500px) {
  .whychooseus {
    margin-bottom: 40px;
  }
  .whychooseus-title {
    font-size: 20px;
    line-height: 100%;
    margin-bottom: 15px;
  }
  .whychooseus-rings {
    flex-wrap: wrap;
    gap: 10px;
  }
  .whychooseus-ring {
    margin-right: 0%; /* Перекрытие 5% */
    gap: 5px;
    padding: 0px 30px;
    width: 150px;
    height: 150px;
  }
  .whychooseus-ring-title {
    font-weight: 400;
    font-size: 12px;
  }
  .whychooseus-ring-text {
    font-weight: 300;
    font-size: 8px;
  }
}
/*-------------@media  400 px--------------*/
@media (max-width: 400px) {
  .whychooseus {
    margin-bottom: 20px;
  }
  .whychooseus-rings {
    gap: 5px;
  }
  .whychooseus-ring-img {
    width: 20px;
    height: 20px;
  }
  .whychooseus-ring {
    margin-right: 0%; /* Перекрытие 5% */
    gap: 5px;
    padding: 0px 20px;
    width: 140px;
    height: 140px;
  }
}
.questions {
  padding: 0 10px;
  margin-bottom: 100px;
}

.questions-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 72px;
}

.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-section {
  padding: 10px 20px;
  background: linear-gradient(
    135deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(255, 215, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  border-radius: 36px;
  margin-bottom: 15px;
  overflow: hidden;
  transition: all 0.3s ease;
  border: 1px solid blueviolet;
  box-shadow: 8px 13px 29px 0px rgba(176, 220, 78, 0.2);
}

.accordion-section.active {
  background: linear-gradient(
    1deg,
    rgba(0, 0, 0, 0.6) 0%,
    rgba(255, 215, 0, 0.2) 50%,
    rgba(0, 0, 0, 0.6) 100%
  );
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  cursor: pointer;
  gap: 15px;
}

.accordion-number {
  width: 80px;
  height: 80px;
  background: linear-gradient(180deg, #242424 0%, rgba(36, 36, 36, 0) 100%);
  border: 1px solid #ffd700;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 28px;
  line-height: 150%;
  text-align: center;
  color: #0a84ff;
}

.accordion-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  color: #ffd700;
}

.accordion-toggle {
  width: 30px;
  height: 30px;
  border: 2px solid #ffd700;
  background: transparent;
  border-radius: 50%;
  color: #007bff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  flex-shrink: 0;
}

.accordion-section.active .accordion-toggle {
  background: #007bff;
  color: white;
  transform: rotate(45deg);
}

.accordion-content {
  position: relative;
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 22px;
  line-height: 150%;
  color: #fff;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  padding: 0 20px;
  transition: max-height 0.5s ease, padding 0.3s ease;
}

.accordion-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 1;
  z-index: 0;
  border-radius: 4px;
}

.accordion-content p {
  position: relative;
  z-index: 1;
}

.accordion-section.active .accordion-content {
  max-height: 800px;
  padding: 0 20px 20px 75px; /* Отступ слева для выравнивания с заголовком */
}

.accordion-content p {
  margin: 0;
  color: #000;
  font-size: 30px;
  font-weight: 500;
  line-height: 3.6;
  text-shadow: 1px 1px 0 #fff, -1px -1px 0 #fff, 1px -1px 0 #fff,
    -1px 1px 0 #fff;
}

/* Дополнительные стили для hover эффектов */
.accordion-header:hover .accordion-number {
  background: #0056b3;
}

.accordion-header:hover .accordion-toggle {
  background: #007bff;
  color: white;
}

/*-------------@media  900 px--------------*/
@media (max-width: 900px) {
  .questions {
    margin-bottom: 80px;
  }
  .questions-title {
    font-size: 30px;
    line-height: 136%;
    margin-bottom: 52px;
  }
  .accordion-content p {
    font-size: 24px;
    line-height: 3;
  }
}
/*-------------@media  750 px--------------*/
@media (max-width: 750px) {
  .questions {
    margin-bottom: 80px;
  }
  .questions-title {
    font-size: 26px;
    line-height: 106%;
    margin-bottom: 32px;
  }
  .accordion-section {
    padding: 10px;
    border-radius: 30px;
    margin-bottom: 10px;
  }
  .accordion-header {
    padding: 10px;
    gap: 5px;
  }
  .accordion-number {
    width: 60px;
    height: 60px;
    border-radius: 10px;
    font-size: 24px;
    line-height: 130%;
  }
  .accordion-title {
    font-size: 18px;
    line-height: 130%;
  }
  .accordion-toggle {
    font-size: 14px;
  }
  .accordion-content {
    font-size: 18px;
    line-height: 130%;
    padding: 0 10px;
  }
}
/*-------------@media  500 px--------------*/
@media (max-width: 500px) {
  .questions {
    margin-bottom: 40px;
  }
  .questions-title {
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 12px;
  }
  .accordion-section {
    padding: 5px;
    border-radius: 20px;
    margin-bottom: 5px;
  }
  .accordion-header {
    padding: 5px;
  }
  .accordion-number {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    font-size: 18px;
    line-height: 100%;
  }
  .accordion-title {
    font-size: 14px;
    line-height: 100%;
  }
  .accordion-toggle {
    font-size: 12px;
  }
  .accordion-content {
    font-size: 14px;
    line-height: 100%;
    padding: 0 5px;
  }
  .accordion-content p {
    font-size: 14px;
    line-height: 2;
  }
}
/*-------------@media  400 px--------------*/
@media (max-width: 400px) {
  .questions {
    margin-bottom: 20px;
  }
  .accordion-section {
    border-radius: 10px;
  }
  .accordion-content {
    font-size: 12px;
  }
}
/*--contacts--*/
.contacts {
  position: relative;
  padding: 80px 20px;
  width: 100%;
  background-color: #252525;
  border-top-left-radius: 100px;
  color: white;
}

.contacts-container {
  position: relative;
  z-index: 1;
}

.contacts-video {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  opacity: 0.6;
  -o-object-position: center;
  object-position: center;
  border-top-left-radius: 100px;
}

.contacts-title {
  text-align: center;
  margin-bottom: 65px;
  font-size: 52px;
  font-weight: bold;
}

.messangers {
  display: flex;
  -moz-column-gap: 30px;
  column-gap: 30px;
  row-gap: 30px;
  flex-wrap: wrap;
}

.messanger {
  flex-grow: 1;
  font-size: 20px;
  display: flex;
  -moz-column-gap: 15px;
  column-gap: 15px;
  align-items: center;
  justify-content: center;
  color: white;
  padding: 46px 20px;
  border-radius: 20px;
  border: 4px solid #363636;
  transition: all 0.4s ease-in;
}

.messanger:hover {
  border-color: #1782cf;
  background-color: #1e1e1e;
  color: #ffd700;
}

.hr {
  border: 0.5px solid white;
}

/*-------------@media  900 px--------------*/
@media (max-width: 900px) {
  .contacts {
    padding: 60px 20px;
    border-top-left-radius: 100px;
  }
  .contacts-title {
    margin-bottom: 45px;
    font-size: 42px;
  }
  .messangers {
    -moz-column-gap: 25px;
    column-gap: 25px;
    row-gap: 25px;
  }
  .messanger {
    font-size: 18px;
    -moz-column-gap: 12px;
    column-gap: 12px;
    padding: 40px 18px;
    border-radius: 18px;
  }
}
/*-------------@media  600 px--------------*/
@media (max-width: 600px) {
  .contacts {
    padding: 40px 10px;
    border-top-left-radius: 80px;
  }
  .contacts-title {
    margin-bottom: 25px;
    font-size: 32px;
  }
  .messangers {
    -moz-column-gap: 20px;
    column-gap: 20px;
    row-gap: 20px;
  }
  .messanger {
    font-size: 14px;
    -moz-column-gap: 10px;
    column-gap: 10px;
    padding: 20px 8px;
    border-radius: 10px;
  }
}
/*-------------@media  500 px--------------*/
/*-------------@media  400 px--------------*/
@media (max-width: 400px) {
  .contacts {
    padding: 40px 10px;
    border-top-left-radius: 100px;
  }
  .contacts-title {
    margin-bottom: 15px;
    font-size: 22px;
  }
  .messangers {
    -moz-column-gap: 10px;
    column-gap: 10px;
    row-gap: 10px;
  }
  .messanger {
    justify-content: space-around;
    -moz-column-gap: 10px;
    column-gap: 10px;
    padding: 10px 8px;
  }
}
.map {
  padding: 10px;
}

.map-content {
  margin: 0 auto;
  width: 90%;
}

.map-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 36px;
  line-height: 156%;
  text-align: center;
  color: #fff;
  margin-bottom: 30px;
}

.map-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 24px;
  text-align: center;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 30px;
}

.map-yandex {
  margin-bottom: 50px;
}

/*-------------@media  900 px--------------*/
/*-------------@media  750 px--------------*/
@media (max-width: 750px) {
  .map-title {
    font-size: 26px;
    line-height: 136%;
    margin-bottom: 20px;
  }
  .map-text {
    font-size: 20px;
    margin-bottom: 20px;
  }
  .map-yandex {
    margin-bottom: 30px;
  }
}
/*-------------@media  500 px--------------*/
/*-------------@media  400 px--------------*/
@media (max-width: 400px) {
  .map-title {
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 10px;
  }
  .map-text {
    font-size: 26px;
    margin-bottom: 10px;
  }
  .map-yandex {
    border-radius: 10px;
    margin-bottom: 10px;
  }
}
.market {
  padding: 50px;
  background-image: url("../img/wallmarket/5.jpg");
  background-position: center center;
  background-size: cover; /* или contain в зависимости от нужного эффекта */
  background-repeat: no-repeat;
  margin-bottom: 50px;
}

.market-content-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 30px;
  line-height: 126%;
  text-align: center;
  color: #fff;
  text-shadow: 1px 1px 0 #000, -1px -1px 0 #000, 1px -1px 0 #000,
    -1px 1px 0 #000;
  margin-bottom: 32px;
}

.market-content-button {
  display: flex;
  justify-content: space-evenly;
  margin-bottom: 50px;
}

/*-------------@media  900 px--------------*/
@media (max-width: 900px) {
  .market {
    padding: 30px;
    margin-bottom: 30px;
  }
  .market-content-title {
    font-size: 26px;
    line-height: 106%;
    margin-bottom: 32px;
  }
  .market-content-button {
    margin-bottom: 30px;
  }
}
/*-------------@media  750 px--------------*/
/*-------------@media  500 px--------------*/
@media (max-width: 500px) {
  .market {
    padding: 10px;
    margin-bottom: 10px;
  }
  .market-content-title {
    font-size: 18px;
    line-height: 100%;
    margin-bottom: 22px;
  }
  .market-content-button {
    margin-bottom: 10px;
    font-size: 16px;
    justify-content: space-between;
    gap: 5px;
  }
}
/*-------------@media  400 px--------------*/
.section-trainers {
  padding: 50px 5px;
  background-image: url("../img/wallmarket/2.jpg");
  background-position: center center;
  background-size: cover; /* или contain в зависимости от нужного эффекта */
  background-repeat: no-repeat;
}

.section-header {
  margin: 0 auto;
  margin-bottom: 50px;
  max-width: 800px;
  width: 100%;
  text-align: center;
}

.section-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 110%;
  text-align: center;
  color: yellowgreen;
}

.section-text {
  font-family: var(--second-family);
  font-weight: 300;
  font-size: 20px;
  line-height: 200%;
  text-align: center;
  color: #fafaf5;
}

.section-trainers-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
}

.card-trainer {
  display: inline-block;
  position: relative;
  max-width: 260;
  max-height: 385px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px 0 yellow;
}

.card-trauner-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover; /* ключевое свойство - заполняет контейнер */
  -o-object-position: center;
  object-position: center; /* центрирует изображение */
  display: block;
}

.card-trainer::before {
  opacity: 0;
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, #000 100%);
  transition: all 1s ease-in;
}

.card-trainer-name {
  opacity: 0;
  position: absolute;
  text-transform: uppercase;
  top: 70%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-family: var(--font-accent);
  font-weight: 700;
  font-size: 22px;
  text-align: center;
  color: #fff;
  transition: all 1s ease-in;
}

.card-trainer:hover .card-trainer-name {
  opacity: 1;
  top: 50%;
}

.card-trainer:hover::before {
  opacity: 1;
}

/*-------------------870px------------------------*/
@media (max-width: 870px) {
  .section-trainers {
    padding: 40px 5px;
  }
  .section-header {
    margin-bottom: 30px;
    width: 100%;
    text-align: center;
  }
  .section-title {
    font-size: 26px;
    letter-spacing: 100%;
  }
  .section-text {
    font-size: 18px;
    line-height: 150%;
  }
  .section-trainers-grid {
    gap: 30px;
  }
  .card-trainer {
    max-width: 260;
    max-height: 385px;
    border-radius: 20px;
  }
  .card-trainer-name {
    font-size: 20px;
  }
}
/*-------------------700px------------------------*/
/*-------------------600px------------------------*/
/*-------------------500px------------------------*/
@media (max-width: 500px) {
  .section-trainers {
    padding: 20px 5px;
  }
  .section-header {
    margin-bottom: 10px;
    width: 100%;
    text-align: center;
  }
  .section-title {
    font-size: 18px;
  }
  .section-text {
    font-size: 14px;
    line-height: 100%;
  }
  .section-trainers-grid {
    gap: 20px;
  }
  .card-trainer {
    max-width: 260;
    max-height: 385px;
    border-radius: 20px;
  }
  .card-trainer-name {
    font-size: 18px;
  }
}
/*-------------------400px------------------------*/
@media (max-width: 400px) {
  .section-title {
    font-size: 16px;
  }
  .section-text {
    font-size: 12px;
  }
  .section-trainers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
  .card-trainer {
    max-width: 260;
    max-height: 385px;
    border-radius: 20px;
  }
} /*# sourceMappingURL=main.css.map */
