@import url(var.css);
@import url(../fonts/fonts.css);
@import url(menu.css);


* {
    box-sizing: border-box;
}

html,
body {
    padding: 0;
    margin: 0;
    font-family: "Encode Sans", serif;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100vh;

    background-color: var(--black);
    background-image: linear-gradient(to right var(--black) 0%, #2a2a2a 50%, var(--black) 100%);
    font-style: normal;
    font-weight: 400;
    font-size: 16px;
    line-height: 135%;
    letter-spacing: 0.5px;
    color: var(--white);
    position: relative;
    overflow-x: hidden;
}

main {
    display: flex;
    flex-direction: column;
}

.container {
    width: 1120px;
    margin: 0 auto;
}

header,
footer {
    flex: 0 0 fit-content;
    background-color: transparent;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;

    background: rgba(28, 28, 28, 0.8);
    backdrop-filter: blur(10px);


}

header {
    top: 0;
    left: 0;
    position: sticky;
}

footer {
    bottom: 0;
    left: 0;
}

a {
    color: var(--light-sun);
    text-decoration: none;
}

a:hover {
    color: var(--sun);
}

/* header */

.header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    padding: 5px 50px;
    z-index: 10;

    box-shadow: 0 -20px 30px var(--gold);
}

.logo {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.logo__image {
    width: auto;
    height: 50px;
}

.logo__image--footer {
    width: auto;
    height: 40px;
}

.logo__text {
    margin: 0;
    font-size: 2rem;
    line-height: 110%;
    letter-spacing: 0.04em;
    color: var(--white);
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: var(--blue);
}

.logo__text--part {
    color: var(--light-sky);
}

.logo__text--footer {
    font-size: 1.5rem;
    text-decoration: none;
    -webkit-text-stroke-width: 0;
}

.hamburger-menu {
    display: block;
    position: relative;
}

/* footer */

.footer {
    padding: 10px 50px;
    box-shadow: 0 10px 30px var(--gold);
    align-items: flex-end;
}

.footer__copyright {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.footer__logo-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.footer__logo-block span {
    height: 24px;
}

.footer__text {
    font-size: .75rem;
    line-height: 1.5;
    letter-spacing: .05rem;
}

.footer__menu {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    list-style: none;
    margin: 0;
    padding: 0;
    font-size: .75rem;
}

.footer__mail {
    font-size: .75rem;
}

/* title */

.title {
    font-family: 'Encode Sans SC';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1.33;
    /* color: var(--white); */
    text-transform: uppercase;
    margin: 0;

    background-image: linear-gradient(to bottom, #FFBA12 0%, var(--sun) 30%, var(--light-sun) 70%, var(--white) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.accident {
    font-family: 'Encode Sans SC';
    font-style: normal;
    font-weight: 700;
    font-size: 3rem;
    line-height: 1;
    color: var(--light-sun);
    text-shadow: 5px 0 0 var(--blue), -5px 0 0 var(--blue),
        0 5px 0 var(--blue), 0 -5px 0 var(--blue),
        -5px -5px 0 var(--blue), -5px 5px 0 var(--blue),
        5px -5px 0 var(--blue), 5px 5px 0 var(--blue);
}

.main-text {
    font-family: var(--encode);
    font-size: 1rem;
    line-height: 1.3;
}

/* hero */

.hero {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    height: calc(100vh - 90px);
    background-image: url("../images/black-and-gold-letter-v.jpg");
    background-position: bottom center;
    background-repeat: no-repeat;
    background-size: cover;
}

.hero__logo {
    display: flex;
    justify-content: center;
}

.hero__title {
    text-align: center;
    font-size: 5rem;
    line-height: 1;
    display: inline-block;
    padding: 16px;
    margin: 0;
    margin-bottom: 1rem;

    letter-spacing: 0.25em;
    font-weight: 900;
    text-transform: uppercase;
    font-family: var(--encode);
    border-bottom: 2px solid var(--sun);
    position: relative;
    z-index: 2;

    background-image: linear-gradient(to bottom, #FFBA12 0%, var(--sun) 30%, var(--light-sun) 70%, var(--white) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.hero__first-word {
    color: var(--gold);
}

.hero__subtitle {
    text-transform: uppercase;
    font-family: var(--encode);
    font-size: 2rem;
    line-height: 1.1;
    color: var(--sun);
    text-align: center;
}

.hero__text {
    text-align: center;
}

/* describtion */

.desc {
    height: auto;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.desc__wrap {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.desc__title {
    order: 2;
}

.desc__text-block {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    gap: 5rem;
    order: 1;
}

.desc__text-block--last {
    order: 3;
}

.desc__text {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 2rem;
    width: 40%;
    min-width: 300px;
    height: 300px;

    font-size: 1.5rem;
    line-height: 1.5;
    margin: 0;
    box-shadow: 0 0 0 var(--gold);
    transition: box-shadow .3s ease-in-out, border .3s ease-in-out;
}

.desc__text--topleft {
    border: 2px solid transparent;
    -moz-border-image: -moz-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    -webkit-border-image: -webkit-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    border-image: linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    border-image-slice: 1;
}

.desc__text--topright {
    border: 2px solid transparent;
    -moz-border-image: -moz-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    -webkit-border-image: -webkit-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    border-image: linear-gradient(to bottom left, var(--gold) 80%, transparent 80%);
    border-image-slice: 1;
}

.desc__text--bottomleft {
    border: 2px solid transparent;
    -moz-border-image: -moz-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    -webkit-border-image: -webkit-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    border-image: linear-gradient(to top right, var(--gold) 80%, transparent 80%);
    border-image-slice: 1;
}

.desc__text--bottomright {
    border: 2px solid transparent;
    -moz-border-image: -moz-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    -webkit-border-image: -webkit-linear-gradient(to bottom right, var(--gold) 80%, transparent 80%);
    border-image: linear-gradient(to top left, var(--gold) 80%, transparent 80%);
    border-image-slice: 1;
}

.desc__text:hover {
    box-shadow: 0 0 150px var(--gold);
    border: 2px solid var(--gold);
}

.desc__text h3 {
    font-family: 'Encode Sans SC';
    font-style: normal;
    font-size: 1.625rem;
    font-weight: 400;
    margin: 1rem 0;
    order: 1;
}

.desc__block {
    display: flex;
    flex-direction: row;
    width: 100%;
    justify-content: space-between;
    align-items: flex-end;
    gap: 2rem;
}

.desc__block {
    order: 1;
}

.desc__content {
    margin: 0;
    order: 1;
}

.desc__icon {
    width: 100px;
    height: auto;
    order: 2;
}

.desc__icon--right {
    width: 100px;
    height: auto;
    order: 0;
}

.desc__subtitle {
    font-size: 1.25rem;
    line-height: 1.5;
    font-weight: normal;
    color: var(--light-sky);
    margin: 0;
}

/* slider */
.slider {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    height: auto;
    padding: 5rem 0;
    width: 100vw;
    overflow-x: hidden;
    background-image: linear-gradient(to bottom, rgba(246, 216, 19, .3) 0, var(--black) 5%, var(--black) 95%, rgba(246, 216, 19, .3) 100%);
}

.slider__text {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.slider__title {
    max-width: 430px;
    text-align: center;
}

.slider__subtitle {
    margin: 0;
    font-size: 1.5rem;
    line-height: 1.5;
    font-weight: normal;
    color: var(--light-sky);
}

.slider__paragraph {
    max-width: 768px;
}

.slider__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
    /* width: 100vw; */
    /* max-width: 100vw; */
}

.itc-slider-wrapper {
    background-color: transparent;
}

.slider__list {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 10px;
    position: relative;
    overflow-x: hidden;
}

.slider__item,
.itc-slider-item {
    width: 200px;
    height: 300px;
    flex-shrink: 0;
    position: relative;
}

.itc-slider-items {
    counter-reset: slide;
    gap: 10rem;
}

.itc-slider-item {
    flex: 0 0 auto;
    max-width: 350px;
    counter-increment: slide;
    position: relative;
    overflow: hidden;
}

.itc-slider-item::before {
    content: attr(data-alt);
    position: absolute;
    bottom: 10px;
    left: 23px;
    color: #fff;
    font-family: var(--encode);
    font-size: 2rem;
    line-height: 1;
    font-weight: normal;
    /* text-transform: uppercase; */
    /* -webkit-text-stroke: 2px var(--blue); */
    display: block;
}

.itc-slider-2 .itc-slider-item {
    max-width: 500px;
}

.itc-slider-btn {
    width: 271px;
    background: linear-gradient(90deg, #214DAA 25%, rgba(33, 77, 170, 0) 100%);
    height: 313px;
}

.itc-slider-btn-prev {
    justify-content: flex-start;
    padding-left: 2rem;
    transition: background 0.3s ease;
}

.itc-slider-btn-prev:hover,
.itc-slider-btn-prev:focus {
    background: linear-gradient(90deg, #214DAA 25%, rgba(33, 77, 170, 0) 50%, rgba(33, 77, 170, 0) 100%);
}

.itc-slider-btn-next {
    justify-content: flex-end;
    padding-right: 2rem;
    background: linear-gradient(270deg, #214DAA 25%, rgba(33, 77, 170, 0) 100%);
}

.itc-slider-btn-next:hover,
.itc-slider-btn-next:focus {
    background: linear-gradient(270deg, #214DAA 25%, rgba(33, 77, 170, 0) 50%, rgba(33, 77, 170, 0) 100%);
}

.itc-slider-indicators {
    bottom: -2rem;
    z-index: 0;
}

.itc-slider-indicator {
    background: rgba(250, 221, 121, 0.2);
    /* border-radius: 5px; */
    width: 60px;
    height: 10px;
    margin: 0;
    border-top-width: 0;
    border-bottom-width: 0;
    flex: 1 1 auto;
}

.itc-slider-indicator:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.itc-slider-indicator:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.itc-slider-indicator-active {
    background: var(--sun);
}

.slider__link {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.slider__image {
    object-fit: cover;
    width: 100%;
    display: block;
}

.slider__progress {
    margin-top: 50px;
}

.slider__progress-bar {
    pointer-events: none;
    width: 20vw;
    height: 5px;
    background: rgba(255, 255, 255, 0.2);
}

.slider__buttons {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
    margin-top: 3rem;
}

/* action */
.action {
    min-height: 100vh;
    padding: 5rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-image: url('../images/black-and-gold-letter-v_10.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-position-y: bottom;
}

.action__wrapper {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    padding: 5rem;
    gap: 4rem;
}

.action__image {
    width: 450px;
    height: auto;
    border-radius: 50px;
}

.action__text-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 2rem;
}

.action__subtitle {
    font-family: 'Encode Sans SC';
    font-style: normal;
    font-size: 1.625rem;
    line-height: 1.1;
    font-weight: 400;
    margin: 0;
}

.action__text {
    font-style: normal;
    font-weight: 400;
    font-size: 1rem;
    line-height: 150%;
    letter-spacing: 0.04rem;
    margin: 0;
}

.action ul {
    list-style: none;
    list-style-type: disc;
    margin: 0;
}

.action li::marker {
    color: var(--gold);
    font-size: 18px;
}

/* feedback */
.feedback {
    display: flex;
    height: auto;
    padding: 5rem 0;
    background-image: url('../images/zigzag-rotate.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top right;
}

.feedback__container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4rem;
}

.feedback__title {
    text-align: center;
}

.feedback__slider {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
}

.feedback__slider .itc-slider-items {
    gap: 5rem;
}

.feedback__card {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    width: 500px;
    height: auto;
    gap: 1.5rem;

    background: linear-gradient(180deg, rgba(255, 255, 255, 0.084) 0%, rgba(217, 217, 217, 0.042) 100%);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    padding: 2rem 2rem 2rem 3rem;
    position: relative;
}

.feedback__card::before {
    content: '';
    position: absolute;
    display: block;
    width: 64px;
    height: 50px;
    background-image: url('../images/quote.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    right: 24px;
    top: 0;
}

.feedback__text {
    display: flex;
    /* overflow-y: hidden; */
    min-height: max-content;
    margin: 0;
}

.feedback__divider {
    display: block;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, rgba(255, 255, 255, 1) 0%, rgba(217, 217, 217, 0.042) 100%);
}

.feedback__author-block {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}

.feedback__author {
    font-weight: 600;
}

.feedback__author>span {
    font-weight: 400;
    font-style: italic;
    font-size: 14px;
}

.feedback__image {
    width: 90px;
    height: auto;
    border-radius: 50%;
    margin-right: 1rem;
}

.feedback__bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    width: 100%;
}

.feedback__extra {
    font-family: 'Vampiro One';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 110%;
    display: flex;
    align-items: center;
    letter-spacing: 0.035em;
    text-transform: capitalize;
    position: relative;
    padding-left: 30px;
    height: 22px;
}

.feedback__extra::before {
    content: '';
    position: absolute;
    display: block;
    width: 22px;
    height: 22px;
    background-image: url('../images/chekin.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position-y: bottom;
    left: 0;
    top: 0;
}

.itc-slider-2 {
    width: 1120px;
}

.itc-slider-2 .itc-slider-indicators {
    gap: 1rem;
    align-items: flex-end;
}

.itc-slider-2 .itc-slider-indicator {
    background: var(--white);
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    flex: 0 0 auto;
    gap: 1rem;
}

.itc-slider-2 .itc-slider-indicator-active {
    background: var(--light-sky);
    width: 1.2rem;
    height: 1.2rem;
}

/* user agreement */
.ua {
    margin-top: 5rem;
    margin-bottom: 5rem;
}

/* media */
@media screen and (max-width: 1120px) {
    .header {
        padding: 1rem;
    }

    .container {
        width: 100%;
        max-width: 100%;
        padding: 0 1rem;
    }

    .title,
    .accident {
        font-size: 2rem;
        text-align: center;
    }

    .button {
        width: auto;
        height: auto;
        padding: 1.5rem 3rem;
    }

    .hero {
        height: auto;
    }

    .hero__wrap {
        display: flex;
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }

    .hero__text {
        min-width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .hero__title {
        text-align: center;
    }

    .hero__subtitle {
        padding: 0 1rem;
    }

    .hero__image,
    .desc__image {
        width: 50%;
    }

    .desc {
        height: auto;
        padding-top: 5rem;
    }

    .desc__title {
        font-size: 2rem;
        text-align: center;
    }

    .slider {
        height: auto;
        padding-top: 5rem;
    }

    .slider__subtitle {
        padding: 0 2rem;
    }

    .action__wrapper {
        flex-direction: column;
        align-items: center;
        padding: 2rem;
    }

    .action__text-wrapper {
        align-items: center;
    }

    .itc-slider-2 {
        width: 100%;
    }

}

@media screen and (max-width: 768px) {
    body {
        min-height: 100vh;
    }

    main {
        flex-direction: column;
        min-height: 100%;
        flex: 1 1 auto;
    }

    .itc-slider-btn {
        display: none;
    }

    .itc-slider-item {
        max-width: 20rem;
    }

    .itc-slider-item::before {
        font-size: 2.25rem;
    }

    .button {
        min-width: 20rem;
        font-size: 1.5rem;
    }

    .desc__text-block,
    .slider__buttons {
        flex-direction: column;
    }

    .action__image {
        width: 280px;
    }

    .feedback__bottom {
        gap: .5rem;
    }

    .feedback__image {
        margin-right: .5rem;
    }

    .feedback__extra {
        display: none;
    }

    .footer {
        flex-direction: column;
        gap: 1rem;
    }

    .footer__menu {
        gap: 1rem;
    }
}

@media screen and (max-width: 480px) {
    .action__wrapper {
        margin: 0 -1rem;
    }

    .itc-slider-2 .itc-slider-item {
        max-width: 20rem;
    }
}