/* ================= BASIC ================= */

:root {
    --paper: #ebebed;
    --ink: #383435;
    --yellow: #eee000;
    --line: #a4a4a4;

    --title-font: Impact, "Arial Narrow", sans-serif;
    --body-font: "Bahnschrift Condensed", "Arial Narrow", sans-serif;
    --note-font: "Times New Roman", serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;

    background: var(--paper);
    color: var(--ink);
}

body {
    font-family: var(--body-font);
}

h1,
h2,
p {
    margin: 0;
}

.poster-wrapper {
    position: relative;
    margin: 0 auto;
}

.poster {
    position: relative;

    width: 1128px;
    height: 1692px;

    overflow: hidden;

    background: var(--paper);

    transform-origin: top left;
}


/* ================= SHARED TYPOGRAPHY ================= */

.poster-title,
.goods-title,
.steps-heading,
.hot-spots-title,
.playlists-title,
.transport-item span,
.restaurants-title,
.weekly-title,
.wake-time,
.sleep-time {
    font-family: var(--title-font);
    font-weight: normal;

    line-height: 1;
    white-space: nowrap;

    transform-origin: top left;
}

.steps-description,
.hot-spots-description,
.playlists-description,
.transport-description,
.restaurants-description,
.week-days,
.schedule-middle {
    font-family: var(--note-font);
    font-size: 23px;
    font-style: italic;

    line-height: 1.08;
}


/* ================= HEADER ================= */

.poster-header {
    position: absolute;

    top: 0;
    left: 0;

    width: 1128px;
    height: 535px;
}

.poster-title {
    position: absolute;

    top: 45px;
    left: 54px;

    font-size: 160px;

    transform: scaleX(0.64);
}

.poster-header::after {
    content: "";

    position: absolute;

    top: 264px;
    left: 56px;

    width: 768px;
    height: 3px;

    background: var(--line);
}


/* ================= GOODS ================= */

.goods {
    position: absolute;

    top: 300px;
    left: 55px;

    width: 770px;
    height: 190px;
}

.goods-title {
    position: absolute;

    top: 0;
    left: 0;

    font-size: 80px;
    line-height: 1.02;

    transform: scaleX(0.54);
}

.goods-images {
    position: absolute;

    top: 4px;
    left: 322px;

    display: grid;

    grid-template-columns: 135px 145px;
    grid-template-rows: 84px 84px;

    column-gap: 7px;
    row-gap: 14px;
}

.food {
    position: relative;
}

.food::before {
    content: "";

    position: absolute;

    top: 0;
    right: 0;

    width: 84px;
    height: 84px;

    border-radius: 50%;

    background: var(--yellow);
}

.food img {
    position: relative;
    z-index: 1;

    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;

    filter: grayscale(100%);
}

.goods-list {
    position: absolute;

    top: 1px;
    left: 637px;

    margin: 0;
    padding-left: 32px;

    font-size: 32px;
    line-height: 48px;
}


/* ================= STEPS ================= */

.steps {
    position: absolute;

    top: 58px;
    left: 875px;

    width: 205px;
    height: 600px;
}

.steps-heading {
    position: absolute;

    bottom: 0;
    left: 0;

    display: flex;
    align-items: baseline;

    font-size: 165px;

    transform: rotate(-90deg) scaleX(0.64);
    transform-origin: top left;
}

.steps-number {
    color: var(--ink);
}

.steps-title {
    color: var(--yellow);
}

.steps-description {
    position: absolute;

    bottom: 0;
    left: 150px;

    width: 430px;
    height: 200px;

    white-space: nowrap;

    transform: rotate(-90deg);
    transform-origin: top left;
}


/* ================= HOT SPOTS ================= */

.hot-spots {
    position: absolute;

    top: 533px;
    left: 56px;

    width: 428px;
    height: 300px;

    border-top: 3px solid var(--line);
    border-bottom: 3px solid var(--line);
}

.hot-spots-chart {
    position: absolute;

    top: 36px;
    left: 0;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    width: 428px;
    height: 138px;
}

.hot-spot {
    position: relative;

    width: 60px;
    height: 138px;
}

.hot-spot-name {
    position: absolute;

    bottom: 0;
    left: 0;

    font-size: 24px;

    white-space: nowrap;
    writing-mode: vertical-rl;

    transform: rotate(180deg);
}

.bar {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 24px;

    background: var(--yellow);
}

.bar-jacobs {
    height: 138px;
}

.bar-soda {
    height: 122px;
}

.bar-dwinelle {
    height: 58px;
}

.bar-cheit {
    height: 26px;
}

.bar-mlk {
    height: 42px;
}

.bar-kresge {
    height: 18px;
}

.hot-spots-title {
    position: absolute;

    top: 201px;
    left: 0;

    font-size: 55px;

    transform: scaleX(0.63);
}

.hot-spots-description {
    position: absolute;

    top: 210px;
    left: 197px;
}


/* ================= PLAYLISTS ================= */

.playlists {
    position: absolute;

    top: 533px;
    left: 536px;

    width: 544px;
    height: 375px;

    border-top: 3px solid var(--line);
}

.playlists-title {
    position: absolute;

    top: 28px;
    left: 0;

    font-size: 64px;
    line-height: 1.07;

    transform: scaleX(0.62);
}

.playlist-list {
    position: absolute;

    top: 184px;
    left: -2px;

    margin: 0;
    padding-left: 20px;

    font-size: 23px;
    line-height: 28px;
}

.playlist-chart {
    position: absolute;

    top: 32px;
    left: 194px;

    width: 342px;
    height: 342px;
}

.playlist-chart svg {
    display: block;

    width: 100%;
    height: 100%;
}

.pie-background {
    fill: var(--yellow);
}

.pie-dividers {
    fill: none;

    stroke: var(--paper);
    stroke-width: 6;
}

.pie-numbers {
    fill: var(--ink);

    font-family: var(--title-font);
    font-size: 55px;

    text-anchor: middle;
}

.playlists-description {
    position: absolute;

    top: 338px;
    left: 0;
}


/* ================= TRANSPORT ================= */

.transportation {
    position: absolute;

    top: 872px;
    left: 55px;

    width: 429px;
    height: 332px;

    border-bottom: 3px solid var(--line);
}

.transport-list {
    display: flex;
    flex-direction: column;

    gap: 12px;
}

.transport-item {
    position: relative;

    height: 56px;
}

.transport-item span {
    position: absolute;

    top: -3px;
    left: 0;

    font-size: 62px;
    letter-spacing: -2px;

    transform: scaleX(0.48);
}

.transport-bar {
    position: absolute;

    top: 0;

    height: 56px;

    background: var(--yellow);
}

.transport-bus .transport-bar {
    left: 55px;
    width: 230px;
}

.transport-scooter .transport-bar {
    left: 113px;
    width: 234px;
}

.transport-foot .transport-bar {
    left: 67px;
    width: 350px;
}

.transport-car .transport-bar {
    left: 55px;
    width: 128px;
}

.transport-description {
    position: absolute;

    top: 277px;
    left: -1px;

    font-size: 22px;
    white-space: nowrap;
}


/* ================= RESTAURANTS ================= */

.restaurants {
    position: absolute;

    top: 952px;
    left: 538px;

    width: 532px;
    height: 250px;

    border: 2px solid var(--line);
}

.restaurants-title {
    position: absolute;

    top: 17px;
    left: 18px;

    font-size: 60px;

    transform: scaleX(0.58);
}

.restaurants-description {
    position: absolute;

    top: 25px;
    left: 282px;
}

.restaurant-list {
    position: absolute;

    right: 14px;
    bottom: 18px;
    left: 16px;

    display: flex;
    align-items: flex-end;
    justify-content: space-between;

    height: 142px;
}

.restaurant {
    display: flex;
    align-items: flex-end;

    gap: 1px;
}

.restaurant-name {
    font-size: 23px;

    white-space: nowrap;
    writing-mode: vertical-rl;

    transform: rotate(180deg);
}

.restaurant-stars {
    color: var(--yellow);

    font-family: Arial, sans-serif;
    font-size: 25px;
    line-height: 23px;

    writing-mode: vertical-rl;
    text-orientation: upright;
}


/* ================= WEEKLY ================= */

.weekly {
    position: absolute;

    top: 1238px;
    left: 56px;

    width: 1016px;
    height: 200px;

    border-bottom: 3px solid var(--line);
}

.weekly-title {
    position: absolute;
    z-index: 1;

    top: 0;
    left: 3px;

    font-size: 64px;
    line-height: 1.05;

    transform: scaleX(0.64);
}

.weekly-chart {
    position: absolute;

    right: 0;
    bottom: 0;
    left: 0;

    height: 178px;
}

.weekly-chart svg {
    display: block;

    width: 100%;
    height: 100%;
}

.weekly-chart path {
    fill: var(--yellow);
}

.week-days {
    position: absolute;

    bottom: 4px;
    left: 3px;

    display: flex;
    justify-content: space-between;

    width: 870px;
}


/* ================= SCHEDULE ================= */

.schedule {
    position: absolute;

    top: 1480px;
    left: 53px;

    width: 1022px;
    height: 165px;
}

.wake-time {
    position: absolute;

    top: 0;
    left: 0;

    font-size: 150px;

    transform: scaleX(0.76);
}

.schedule-middle {
    position: absolute;

    top: 47px;
    left: 357px;

    width: 274px;
}

.schedule-middle p {
    white-space: nowrap;
}

.schedule-arrow {
    display: block;

    width: 274px;
    height: 48px;

    margin: -2px 0 -1px;
}

.schedule-arrow path {
    fill: none;

    stroke: var(--line);
    stroke-width: 6;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sleep-time {
    position: absolute;

    top: 0;
    left: 653px;

    font-size: 150px;

    transform: scaleX(0.73);
}


/* ================= PRINT ================= */

@page {
    size: 1128px 1692px;
    margin: 0;
}

@media print {
    .poster-wrapper {
        width: 1128px !important;
        height: 1692px !important;
    }

    .poster {
        transform: none !important;
    }

    body {
        print-color-adjust: exact;
        -webkit-print-color-adjust: exact;
    }
}