@font-face {
    font-family: Heebo;
    src: url(./Fonts/Heebo-Light.woff2) format("truetype");
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: Heebo;
    src: url(./Fonts/Heebo-Bold.woff2) format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "Yantramanav";
    src: url("./Fonts/Yantramanav-Bold.woff2") format("truetype");
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

/* You cannot import another CSS file directly using standard CSS syntax in a .css file except with @import */
/*@import url('./stylenorm.css');*/
/**
  Нормализация блочной модели
 */
*,
::before,
::after {
    box-sizing: border-box;
}

/**
  Убираем внутренние отступы слева тегам списков,
  у которых есть атрибут class
 */
:where(ul, ol):where([class]) {
    padding-left: 0;
}

/**
  Убираем внешние отступы body и двум другим тегам,
  у которых есть атрибут class
 */
body,
:where(blockquote, figure, fieldset):where([class]) {
    margin: 0;
}

/**
  Убираем внешние отступы вертикали нужным тегам,
  у которых есть атрибут class
 */
:where(h1,
    h2,
    h3,
    h4,
    h5,
    h6,
    p,
    ul,
    ol,
    dl):where([class]) {
    margin-block: 0;
}

:where(dd[class]) {
    margin-left: 0;
}

:where(fieldset[class]) {
    padding: 0;
    border: none;
}

/**
  Убираем стандартный маркер маркированному списку,
  у которого есть атрибут class
 */
:where(ul[class]) {
    list-style: none;
}

:where(address[class]) {
    font-style: normal;
}

/**
  Обнуляем вертикальные внешние отступы параграфа,
  объявляем локальную переменную для внешнего отступа вниз,
  чтобы избежать взаимодействие с более сложным селектором
 */
p {
    --paragraphMarginBottom: 24px;

    margin-block: 0;
}

/**
  Внешний отступ вниз для параграфа без атрибута class,
  который расположен не последним среди своих соседних элементов
 */
p:where(:not([class]):not(:last-child)) {
    margin-bottom: var(--paragraphMarginBottom);
}

.button.transparent {
    position: relative;
    height: var(--input-height);
    padding-left: 31px;
    padding-right: 80px;
    background-color: transparent;
    border: var(--border);
    color: var(--color-light);
}

.button.transparent::after {
    position: absolute;
    content: '';
    height: 100%;
    aspect-ratio: 1;
    background: url("./Pictures/button-arrow2.svg") center/100% no-repeat;
    right: 0;

}

/**
  Упрощаем работу с изображениями и видео
 */
img,
video {
    display: block;
    max-width: 100%;
    height: auto;
}

/**
  Наследуем свойства шрифт для полей ввода
 */
input,
textarea,
select,
button {
    font: inherit;
}

html {
    /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
    height: 100%;
    /**
    Убираем скачок интерфейса по горизонтали
    при появлении / исчезновении скроллбара
   */
    scrollbar-gutter: stable;
    /**
    Плавный скролл
   */
    scroll-behavior: smooth;
}

body {
    /**
    Пригодится в большинстве ситуаций
    (когда, например, нужно будет "прижать" футер к низу сайта)
   */
    min-height: 100%;
    /**
    Унифицированный интерлиньяж
   */
    line-height: 1.5;
}

/**
  Нормализация высоты элемента ссылки при его инспектировании в DevTools
 */
a:where([class]) {
    display: inline-flex;
}

/**
  Курсор-рука при наведении на элемент
 */
button,
label {
    cursor: pointer;
}

/**
  Убирает серую подсветку при тапе на мобильных устройствах (iOS/Android)
 */
button {
    -webkit-tap-highlight-color: transparent;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут fill со значением 'none' или начинается с 'url')
 */
:where([fill]:not([fill="none"],
        [fill^="url"])) {
    fill: currentColor;
}

/**
  Приводим к единому цвету svg-элементы
  (за исключением тех, у которых уже указан
  атрибут stroke со значением 'none')
 */
:where([stroke]:not([stroke="none"],
        [stroke^="url"])) {
    stroke: currentColor;
}

/**
  Чиним баг задержки смены цвета при взаимодействии с svg-элементами
 */
svg * {
    transition-property: fill, stroke;
}

/**
  Приведение рамок таблиц в классический 'collapse' вид
 */
:where(table) {
    border-collapse: collapse;
    border-color: currentColor;
}

/**
  Удаляем все анимации и переходы для людей,
  которые предпочитают их не использовать
 */
@media (prefers-reduced-motion: reduce) {

    *,
    ::before,
    ::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =========================================================================================================*/

p {
    margin-block: 0;
}

p:not([class]):not(:last-child) {
    margin-bottom: 24px;
}

:root {
    --color-dark: #000000;
    --color-light: #FFFFFF;
    --color-dark-gray: #404040;
    --color-dark-alternate: #131619;
    --color-light-gray: #C4C4C4;

    --color-radius: 30px;
    --border: 1px solid var(--color-light);

    --font-family-base: 'Heebo', sans-serif;
    --font-family-accent: 'Yantramanav', sans-serif;

    --input-height: 54px;

    --container-width: 1300px;
    --container-padding-x: 15px;

    --transition-duration: 0.3s;
}

.title-medium {
    color: var(--color-light);
    font-style: normal;
    font-weight: 700;
    font-size: clamp(20px, 2.08vw, 40px);
    line-height: 52px;
    /* or 130% */
    text-transform: uppercase;
}

body {
    box-sizing: border-box;
    background-color: var(--color-dark);
    font-family: var(--font-family-base);
    font-weight: 300;
    letter-spacing: 0.8px;
    font-size: 16px;
    line-height: 175%;
    /* 28px;  or 175% */
    color: var(--color-light-gray);
}

.container {
    width: 100%;
    max-width: calc(var(--container-width)+(var(--container-padding-x)*2));
    padding-left: var(--container-padding-x);
    padding-right: var(--container-padding-x);
    margin-left: auto;
    margin-right: auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-light);
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    border: none;
    /*flex-wrap: nowrap;*/
    white-space: nowrap;
    padding-inline: 26px;
    border-radius: var(--color-radius);
    letter-spacing: 1.2px;
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: var(--color-dark);
    background-color: var(--color-light);
    transition: background-color var(--transition-duration), color var(--transition-duration), box-shadow var(--transition-duration);
}

.header-actions {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 40px;
}

.button:hover {
    background-color: var(--color-light-gray);
    box-shadow: 0 0 10px var(--color-light-gray);
}

.header {
    background-color: var(--color-dark-alternate);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding-inline: 32px;
    min-height: 90px;
    position: sticky;
    top: 0;
    z-index: 1000;
}

a,
button,
input,
select,
textarea {
    transition: color var(--transition-duration);
}

a {
    text-decoration: none;
    color: var(--color-light);
    text-transform: uppercase;
}

a:hover {
    color: var(--color-light-gray);
}

.header-logo {
    flex-shrink: 0;
    /*margin-left: 15px;*/
}

.header-burger-button {
    display: flex;
    flex-direction: column;
    row-gap: 4px;
    justify-content: center;
    width: 40px;
    aspect-ratio: 1;
    background-color: var(--color-light);
    border: var(--border);
    border-radius: 50%;
    background-color: var(--color-dark);
    padding-left: 10px;
    /*margin-right: 15px;*/
}

.header-burger-button:hover {
    border-color: var(--color-light-gray);
    box-shadow: 0 0 10px var(--color-light-gray);
}

svg {
    display: block;
    color: var(--color-light);
}

.header-burger-button-line {
    width: 6px;
    height: 1px;
    background-color: var(--color-light);
    box-shadow: 12px 0px 0px 0px var(--color-light);
}

.visually-hidden {
    display: none !important;
    /*position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;*/
}

.header-burger-button-line:hover {
    background-color: var(--color-light-gray);
    box-shadow: 12px 0px 0px 0px var(--color-light-gray);
}

.header-menu-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 62px;
}

.header-menu-link {
    height: 90px;
    align-items: center;
    font-family: var(--font-family-base);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1.2px;
    column-gap: 7px;
}

.header-menu-link.home::after {
    content: "";
    width: 5px;
    height: 5px;
    background-color: currentColor;
    border-radius: 50%;
}

.banner {
    display: flex;
    flex-direction: column;
    justify-content: end;
    /*min-height: 985px;*/
    min-height: calc(100vh - 90px);
    background-color: var(--color-dark-alternate);
    padding: 36px 71px;
    color: var(--color-light);
    text-transform: uppercase;
}

.banner-info {
    display: flex;
    align-items: end;
    font-weight: 700;
    font-size: clamp(16px, 1.56vw, 30px);
    line-height: 38px;
}

.banner-info::before {
    content: "";
    width: min(10.1vw, 194px);
    aspect-ratio: 1;
    background: url('./Pictures/Narrow.svg');
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    margin-right: 30px;
}

.banner-title {
    font-weight: 700;
    font-size: min(18.75vw, 360px);
    line-height: 1;
}

.banner-pagination-list {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    column-gap: 0px;
    margin-top: 50px;
}

.banner-pagination-item {
    list-style: none;
    display: flex;
}

.banner-pagination-button::after {
    content: "";
    width: 10px;
    aspect-ratio: 1;
    border: var(--border);
    border-radius: 50%;
    transition-duration: var(--transition-duration);
}

.banner-pagination-button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 7px;
    background-color: transparent;
    border: none;
}

.banner-pagination-button.is-active::after {
    background-color: var(--color-light);
}

.banner-pagination-button:not(.is-active):hover::after {
    border-color: var(--color-light-gray);
    box-shadow: 0 0 10px var(--color-light-gray);
}

.motivation-item:nth-child(even) {
    background-color: var(--color-dark-alternate);
}

.motivation-card {
    display: flex;
    justify-content: center;
    align-items: center;
    column-gap: clamp(30px, 10.42vw, 206px);
}

.motivation-item:nth-child(even) .motivation-card {
    flex-direction: row-reverse;
}

.motivation-card-image {
    margin-block: -60px;
}

.motivation-card-body {
    padding-left: 35px;
}

.backdrop-title {
    position: relative;
    z-index: 2;
}

.backdrop-title::before {
    content: '';
    display: block;
    width: 26px;
    aspect-ratio: 1;
    background: url("./Pictures/decoration-plus.svg") center;
    position: absolute;
    right: calc(100% + 8px);
}

.backdrop-title::after {
    content: attr(data-title);
    color: transparent;
    font-size: 2.8em;
    font-family: var(--font-family-accent);
    -webkit-text-stroke: 1px var(--color-dark-gray);
    position: absolute;
    z-index: -1;
    top: -0.1em;
    left: -0.6em;
}

.motivation-card-discription {
    max-width: 400px;
}

.motivation-card-text:not(:last-child) {
    margin-bottom: 14px;
}

.motivation-card-discription:not(:last-child) {
    margin-bottom: 37px;
}

.test {
    width: clamp(110px, 7.81wv, 150px);
    aspect-ratio: 1;
    /*height: 150px;*/
}

/*Here was using flex container*/
/*.training-tipes-list {
    margin-inline: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: end;
    column-gap: 179px;
    margin-top: 72px;
    padding-bottom: 140px;
    flex-wrap: nowrap;
}*/

/*Here was using grid layout container*/
.training-tipes-list {
    max-width: 1920px;
    /*margin-inline: auto;*/
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 60px;
    /*justify-content: center;
    align-items: center;*/
    /*padding-right: 15px;*/
    margin-top: 40px;
    padding-bottom: 140px;
}

.training-tipes-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    row-gap: 32px;
    flex-wrap: norap;
    /*background: url("./Pictures/training-tipes/arrow-left.svg") 100% 0/80px no-repeat;*/
}

.training-tipes-text {
    font-style: normal;
    font-weight: 700;
    font-size: 16px;
    line-height: 28px;
}

.training-tipes-item::before {
    content: '';
    position: relative;
    width: 80px;
    left: 90px;
    aspect-ratio: 1;
    background: url("./Pictures/training-tipes/arrow-left.svg") center/cover no-repeat var(--color-dark-alternate);
    top: 32px;
    background-color: transparent;
}

.join-us {
    background-color: var(--color-dark-alternate);
}

.join-us-video-wrapper {
    display: flex;
    position: relative;
    background: url('./Pictures/join-us/join-us-bg2.jpg') center/cover no-repeat var(--color-dark-alternate);
    padding: 150px 30px;
    justify-content: center;
    align-items: center;
    border: none;
}

.join-us-video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    translate: -50% -50%;
    /*background: url("Pictures/join-us/play-but.svg") center/cover no-repeat;*/
    border-radius: 50%;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    column-gap: 4px;
    width: 200px;
    aspect-ratio: 1;
    border: var(--border);
    background-color: transparent;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-dark-gray);
}

.join-us-video-play-button::after {
    content: '';
    filter: invert(1);
    width: 30px;
    aspect-ratio: 1;
    background: url('./Pictures/join-us/join-us-bg2.jpg') center/100% no-repeat;
    transition-duration: var(--transition-duration);
    color: var(--color-dark-gray);
}

.join-us-video-play-button:hover {
    border: 2px solid var(--color-dark-gray);
}

.join-us-body {
    padding-bottom: 150px;
    height: 100%;
}

.join-us-title {
    position: relative;
    text-align: center;
    font-style: normal;
    font-weight: 700;
    font-size: clamp(64px, 9.38vw, 180px);
    margin-top: -0.4em;
    line-height: 1;
    margin-bottom: 130px;
}

.join-us-title::after {
    content: '';
    display: inline-block;
    height: 0.7em;
    /*clamp(64px, 9.38vw, 180px);*/
    aspect-ratio: 1;
    margin-left: 0.14em;
    background: url('./Pictures/join-us/arrow-up-right2.svg') center/100% no-repeat;
    /*scale: 1 -1;*/
}

/*.join-us-title:not(:last-child) {
  margin-bottom: 130px;
}*/



.join-us-form-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 15px;
}

.join-us-form-header:not(:last-child) {
    margin-bottom: 52px;
}

.join-us-form-body {
    display: flex;
    justify-content: center;
    column-gap: 20px;
}

.join-us-form-input {
    max-width: 400px;
}

.join-us-form-title {
    display: flex;
    font-size: 60px;
    line-height: 72px;
    justify-content: center;
}

.join-us-form-title::after {
    position: absolute;
    top: 0em;
    left: 0.2em;
}

.join-us-form-subtitle {
    font-weight: 300;
    font-size: 20px;
    line-height: 33px;
    text-transform: uppercase;
    color: var(--color-light);
}
.join-us-form-input{
    background-color: var(--color-dark-alternate);
    border: var(--border);
    border-radius: var(--color-radius);
    width: 399px;
    height: var(--input-height);
}
.join-us-form-input:focus{
    color: var(--color-light);
}

/* test  test  test  test  test  test  test  test  test  test  test  test  test  test  test  test */
.social__link,
.text {
    display: block;
    width: 100px;
    aspect-ratio: 1;
    border: 2px solid #C4C4C4;
    margin: 10px;
    padding: 10px;
    text-align: center;
}

.social {
    list-style: none;
}

.wrapper {
    display: flex;
    flex-direction: column;
}

/*.social__item{
    display: inline-block;
}*/
/*.social{
    display: flex;
    list-style: none;
    text-align: center;
    gap: 50px;
}*/


/*=====================================================================================================================*/
@media (max-width: 1600px) {
    .training-tipes-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
}

@media (max-width: 1470px) {
    .motivation-card-image {
        margin-block: -20px;
    }


}

@media (max-width: 1024px) {
    .header {
        flex-wrap: wrap;
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .header-menu-list {
        column-gap: 25px;
        flex-wrap: wrap;
    }

    .header-menu {
        order: 2;
    }

    .header-menu-link {
        height: 50px;
    }

    .header,
    .banner {
        padding-inline: 10px;
    }

    .motivation-card-image {
        width: 50%;
        height: auto;
    }
}

@media (max-width: 860px) {
    .training-tipes-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 5;
    }


}


@media (max-width: 680px) {
    .motivation-card {
        flex-direction: column-reverse;

    }

    .motivation-item:nth-child(even) .motivation-card {
        flex-direction: column-reverse;
    }

    .motivation-card-image {
        width: 80%;
        height: auto;
        margin-block: 15px;
    }

    .button.transparent {
        margin-bottom: 10px;
    }
}

@media (max-width: 450px) {

    /*.header-logo{
    display: none;
 }*/
    .header-actions {
        column-gap: 15px;
    }

    .header-menu-list {
        column-gap: 15px;
    }
}