@import "reset.css";
@import "../fonts/fonts.css";

:root {
    --red: #a91f15;
    --dark-red: #a50e0d;
    --ink: #111111;
    --graphite: #393939;
    --paper: #ecebeb;
    --cream: #fbecdd;
    --white: #ffffff;
    --font-display: 'Unbounded', 'Arial Black', sans-serif;
    --font-serif: 'Cormorant Garamond', Georgia, serif;
    --font-sans: 'Urbanist', 'Helvetica Neue', Arial, sans-serif;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    min-width: 1024px;
    line-height: 1.2;
    background: var(--ink);
    font-family: var(--font-display);
    color: var(--ink);
    -webkit-font-smoothing: antialiased;
}

img {
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
}

.header {
    display: flex;
    height: 88px;
    background: var(--red);
    border-bottom: 2px solid var(--ink);
}

.header__brand {
    display: flex;
    align-items: center;
    gap: 8px;
    width: 316px;
    padding-left: 12px;
    border-right: 2px solid var(--ink);
}

.header__logo {
    width: 56px;
    height: 56px;
}

.header__title {
    font-weight: 700;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: var(--white);
}

.header__nav {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    gap: 45px;
}

.header__link {
    font-weight: 600;
    font-size: 17px;
    letter-spacing: 0.06em;
    color: var(--white);
    transition: color 0.2s;
}

.header__link:hover {
    color: var(--ink);
}

.header__actions {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 244px;
    border-left: 2px solid var(--ink);
}

.button {
    display: flex;
    align-items: center;
    height: 50px;
    padding: 0 24px;
    background: var(--ink);
    font-weight: 700;
    font-size: 16px;
    letter-spacing: 0.06em;
    color: var(--white);
    transition: background-color 0.2s, color 0.2s;
}

.button:hover {
    background: var(--white);
    color: var(--ink);
}

.hero {
    position: relative;
    padding: 200px 0 90px 7%;
    background: var(--red);
    overflow: hidden;
}

.hero__bills {
    position: absolute;
    top: 0;
    left: 0;
}

.hero__bill {
    position: absolute;
    top: 0;
    left: 0;
}

.hero__bill--kzt {
    width: 412px;
}

.hero__bill--euro {
    left: 80px;
    width: 456px;
}

.hero__bill--yen {
    width: 316px;
}

.sticker {
    position: absolute;
    top: 75px;
    right: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 490px;
    height: 110px;
    background: var(--white);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
    transform: rotate(-7deg);
    transform-origin: 0 0;
}

.sticker::before {
    content: "";
    position: absolute;
    top: 11px;
    right: 14px;
    bottom: 11px;
    left: 14px;
    border-top: 1px solid var(--ink);
    border-bottom: 1px solid var(--ink);
}

.sticker__text {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 60px;
    line-height: 1.1;
}

.hero__title {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.hero__money {
    position: relative;
    z-index: 1;
    margin-bottom: -0.33em;
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 500;
    font-size: min(300px, 21vw);
}

.hero__maker {
    font-weight: 900;
    font-size: min(270px, 19vw);
    letter-spacing: -0.03em;
    color: var(--white);
}

.hero__subtitle {
    margin: 10px 0 0 21%;
    font-size: min(35px, 2.5vw);
    color: var(--white);
}

.program {
    height: 950px;
    overflow: hidden;
    background:
        linear-gradient(var(--graphite), var(--graphite)) 0 750px / 100% 200px no-repeat,
        url("../assets/photo-program.jpg") 0 120px / 100% auto no-repeat,
        var(--graphite);
}

.program__list {
    display: flex;
    flex-direction: column;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 36px;
    width: 200%;
    height: 180px;
    padding-left: 160px;
    background: var(--red);
    box-shadow: 8px 8px 11px rgba(0, 0, 0, 0.3);
    transform-origin: 0 0;
}

.step:nth-child(1) {
    margin-left: -40px;
    transform: rotate(2deg);
}

.step:nth-child(2) {
    margin: 85px 0 0 -40px;
    transform: rotate(-2.5deg);
}

.step:nth-child(3) {
    margin: 5px 0 0 -20px;
    transform: rotate(2deg);
}

.step:nth-child(4) {
    margin: 100px 0 0 -30px;
    transform: rotate(-3deg);
}

.step__number {
    margin-top: -25px;
    font-weight: 900;
    font-size: 230px;
    line-height: 1;
}

.step__info {
    width: 560px;
    padding-top: 24px;
}

.step__title {
    font-weight: 800;
    font-size: 64px;
    line-height: 1.1;
}

.step__text {
    margin-top: 6px;
    font-size: 22px;
    line-height: 1.3;
}

.about {
    min-height: 900px;
    padding-top: 176px;
    background: url("../assets/photo-about.jpg") center / cover no-repeat;
}

.about__frame {
    display: flex;
    flex-direction: column;
    gap: 30px;
    width: min(1224px, calc(100% - 80px));
    min-height: 520px;
    margin: 0 auto;
    padding: 55px 25px 40px;
    background: #eaeaea;
    border: 5px solid #a92815;
}

.about__text {
    font-family: var(--font-sans);
    font-weight: 600;
    font-size: 25px;
    letter-spacing: 0.06em;
    line-height: 1.2;
    color: #000000;
}

.about__accent {
    font-family: var(--font-display);
    font-size: 47px;
    color: var(--red);
}

.schedule {
    min-height: 950px;
    padding: 14px 0 40px;
    background: url("../assets/photo-schedule.jpg") center / cover no-repeat;
}

.schedule__title {
    text-align: center;
    font-weight: 900;
    font-size: min(150px, 10.5vw);
    letter-spacing: -0.02em;
    line-height: 1;
}

.schedule__events {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px 150px;
    margin-top: 32px;
}

.event {
    display: flex;
    flex-direction: column;
    gap: 18px;
    width: 520px;
}

.card {
    display: flex;
    flex-direction: column;
    gap: 17px;
    height: 516px;
    padding: 28px;
    background: var(--paper);
    border: 1px solid var(--ink);
    box-shadow: 0 9px 20px rgba(0, 0, 0, 0.25);
}

.card__date {
    display: flex;
    align-items: center;
    gap: 9px;
    align-self: flex-start;
    height: 28px;
    padding: 0 13px;
    background: var(--ink);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 0.04em;
    color: var(--white);
}

.card__date::before {
    content: "";
    width: 12px;
    height: 12px;
    background: var(--red);
    clip-path: polygon(50% 0, 53% 43%, 85% 15%, 57% 47%, 100% 50%, 57% 53%, 85% 85%, 53% 57%, 50% 100%, 47% 57%, 15% 85%, 43% 53%, 0 50%, 43% 47%, 15% 15%, 47% 43%);
}

.card__picture {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 248px;
    background: var(--red);
    border: 1px solid var(--ink);
}

.card__art--bill {
    width: 284px;
    margin-top: 20px;
}

.card__art--coins {
    width: 244px;
}

.card__title {
    font-family: var(--font-serif);
    font-weight: 600;
    font-size: 40px;
    line-height: 1;
}

.card__text {
    font-size: 12px;
    line-height: 1.5;
}

.ticket {
    display: flex;
    height: 180px;
    background: url("../assets/ticket-light.svg") center / 100% 100% no-repeat;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: #000000;
}

.ticket--red {
    background-image: url("../assets/ticket-red.svg");
    color: var(--cream);
}

.ticket__main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 390px;
    padding: 18px 6px 12px 12px;
}

.ticket__row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.ticket__row:first-child {
    align-items: flex-start;
}

.ticket__brand {
    margin-top: 2px;
    font-size: 18px;
    color: var(--red);
}

.ticket__label {
    margin-top: 12px;
    font-weight: 400;
    font-size: 8px;
    letter-spacing: 0;
    color: var(--red);
}

.ticket__desc {
    width: 180px;
    margin: 8px 0 0 2px;
    font-family: var(--font-sans);
    font-size: 7px;
}

.ticket__info {
    width: 112px;
    font-family: var(--font-sans);
    font-size: 12px;
}

.ticket__row:last-child .ticket__info:first-child {
    width: auto;
    padding-left: 2px;
}

.ticket__stub {
    display: flex;
    flex: 1;
    justify-content: space-between;
    align-items: flex-end;
    padding: 0 12px 18px 6px;
}

.ticket__copy,
.ticket__side {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

.ticket__copy {
    margin-bottom: 24px;
    font-weight: 400;
    font-size: 8px;
    letter-spacing: 0;
    color: rgba(0, 0, 0, 0.3);
}

.ticket__side {
    font-size: 15px;
    color: var(--red);
}

.ticket--red .ticket__brand,
.ticket--red .ticket__label,
.ticket--red .ticket__side {
    color: var(--cream);
}

.ticket--red .ticket__label {
    color: var(--white);
}

.ticket--red .ticket__copy {
    color: rgba(255, 255, 255, 0.3);
}

.footer__top {
    display: flex;
    align-items: center;
    height: 410px;
    padding: 0 50px;
    background: var(--graphite);
}

.footer__contacts {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 20px;
    font-size: 16px;
    color: var(--cream);
}

.footer__logo {
    width: 270px;
    height: 270px;
}

.footer__spacer {
    flex: 1;
}

.footer__band {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 80px;
    height: 80px;
    background: var(--red);
    font-weight: 900;
    font-size: 25px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 410px;
    padding-top: 12px;
    background: var(--ink);
}

.footer__hand {
    width: 440px;
    margin-left: 40px;
}

.footer__info {
    display: flex;
    justify-content: space-between;
    width: min(1000px, calc(100% - 80px));
    margin-top: 10px;
    padding-bottom: 20px;
    border-bottom: 1px solid #7a7a7a;
    font-size: 16px;
    color: #bdbdbd;
}

.footer__copy {
    margin-top: 24px;
    font-size: 16px;
    color: #7a7a7a;
}

@media (max-width: 1200px) {
    .header__title {
        display: none;
    }

    .header__brand {
        width: auto;
        padding-right: 13px;
    }

    .header__nav {
        gap: 30px;
    }
}
