@font-face {
  font-family: Romestone;
  src: url('https://res.cloudinary.com/olimqvor/raw/upload/v1790233416/romestone.ttf');
}

@font-face {
  font-family: Delirium;
  src: url('https://res.cloudinary.com/olimqvor/raw/upload/v1790233419/delirium-ncv.ttf');
}

@font-face {
  font-family: Oswald;
  src: url('https://res.cloudinary.com/olimqvor/raw/upload/v1790233417/oswald-400.ttf');
  font-weight: 400;
}

@font-face {
  font-family: Playfair;
  src: url('https://res.cloudinary.com/olimqvor/raw/upload/v1790233419/playfair-400italic.ttf');
  font-style: italic;
}

:root {
  --paper: #ebebeb;
  --ink: #393536;
  --yellow: #e6e300;
  --line: #aaa9a6;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
  background: #fff;
  color: var(--ink);
}

body {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 32px 16px;
  font-family: Oswald, sans-serif;
}

.frame {
  width: 493px;
  height: 745px;
  position: relative;
  flex: none;
  outline: 1px solid #aaa9a6;
  box-shadow: 0 5px 20px #00000014;
}

.poster {
  width: 493px;
  height: 745px;
  position: relative;
  transform-origin: top left;
  overflow: hidden;
  background: var(--paper);
}

h1,
h2,
p,
ol,
ul {
  margin: 0;
}

h1,
h2 {
  font-family: Romestone, sans-serif;
  font-weight: 400;
}

.display {
  font-family: Delirium, sans-serif;
  font-weight: 400;
}

h2 {
  font-size: 34px;
  line-height: 1;
}

.note {
  font-family: Playfair, serif;
  font-style: italic;
  font-size: 9px;
  line-height: 1.3;
}

.rule {
  position: absolute;
  height: 1.4px;
  background: var(--line);
}

h1 {
  position: absolute;
  left: 24px;
  top: 15px;
  font-size: 91px;
  line-height: 1;
  white-space: nowrap;
  letter-spacing: 0.15px;
}

.top-rule {
  left: 24px;
  top: 111px;
  width: 343px;
}

.steps {
  position: absolute;
  left: 390px;
  top: 19px;
  width: 68px;
  height: 192px;
}

.steps-word {
  position: absolute;
  left: 0;
  top: 0;
  color: var(--yellow);
  font-size: 78px;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.steps-number {
  position: absolute;
  left: 0;
  top: 90px;
  font-size: 90px;
  line-height: 1;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
}

.steps .note {
  position: absolute;
  left: 79px;
  top: 190px;
  width: 190px;
  transform-origin: 0 0;
  transform: rotate(-90deg);
  white-space: nowrap;
}

.food {
  position: absolute;
  left: 24px;
  top: 130px;
  width: 345px;
  height: 81px;
}

.food h2 {
  font-size: 43px;
  line-height: 1.02;
}

.food-pictures {
  position: absolute;
  left: 145px;
  top: 0;
  width: 126px;
  height: 81px;
  display: grid;
  grid-template-columns: 58px 64px;
  grid-template-rows: 40px 40px;
  gap: 2px;
}

.food-pictures span {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.food-pictures span::before {
  content: '';
  position: absolute;
  right: 0;
  width: 36px;
  height: 36px;
  background: var(--yellow);
  border-radius: 50%;
}

.food-pictures img {
  position: relative;
  max-width: 100%;
  max-height: 43px;
  object-fit: contain;
}

.food-list {
  position: absolute;
  top: -2px;
  left: 285px;
  padding-left: 14px;
  font-size: 14px;
  line-height: 22px;
}

.food-list li {
  padding-left: 1px;
}

.spots {
  position: absolute;
  left: 24px;
  top: 231px;
  width: 191px;
  height: 135px;
  border-top: 1.4px solid var(--line);
  border-bottom: 1.4px solid var(--line);
}

.spot-chart {
  height: 79px;
  display: flex;
  gap: 8px;
  align-items: flex-end;
  padding-left: 2px;
}

.spot {
  height: 63px;
  display: flex;
  align-items: flex-end;
  gap: 4px;
}

.spot span {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  font-size: 11px;
  line-height: 12px;
}

.spot i {
  width: 10px;
  background: var(--yellow);
}

.spot-jacobs i { height: 61px; }
.spot-soda i { height: 42px; }
.spot-dwinelle i { height: 26px; }
.spot-caffe i { height: 13px; }
.spot-mlk i { height: 19px; }
.spot-kresge i { height: 8px; }

.spots h2 {
  position: absolute;
  top: 90px;
  left: 0;
  font-size: 32px;
}

.spots .note {
  position: absolute;
  left: 88px;
  top: 92px;
  width: 106px;
}

.music {
  position: absolute;
  left: 239px;
  top: 231px;
  width: 243px;
  height: 168px;
  border-top: 1.4px solid var(--line);
}

.music h2 {
  position: absolute;
  top: 12px;
  font-size: 32px;
  line-height: 0.96;
}

.music ol {
  position: absolute;
  top: 80px;
  left: 0;
  padding-left: 10px;
  font-size: 9px;
  line-height: 12.5px;
}

.music .note {
  position: absolute;
  top: 150px;
}

.pie {
  position: absolute;
  top: 14px;
  left: 86px;
  width: 152px;
  height: 153px;
}

.pie img {
  width: 100%;
  height: 100%;
}

.pie b {
  position: absolute;
  font-family: Delirium;
  font-size: 35px;
  font-weight: 400;
  line-height: 1;
}

.pie .p1 { left: 106px; top: 82px; }
.pie .p2 { left: 33px; top: 85px; }
.pie .p3 { left: 35px; top: 28px; font-size: 26px; }
.pie .p4 { left: 77px; top: 18px; font-size: 24px; transform: translateX(-50%); }
.pie .p5 { left: 108px; top: 24px; font-size: 21px; }

.transport {
  position: absolute;
  left: 24px;
  top: 383px;
  width: 191px;
  height: 148px;
  border-bottom: 1.4px solid var(--line);
}

.transport-row {
  height: 30px;
  display: flex;
  gap: 5px;
  align-items: flex-start;
}

.transport-row span {
  font-family: Romestone;
  font-size: 31px;
  line-height: 26px;
}

.transport-row i {
  display: block;
  background: var(--yellow);
  height: 25px;
}

.transport-row.bus i { width: 103px; }
.transport-row.scooter i { width: 104px; }
.transport-row.foot i { width: 156px; }
.transport-row.car i { width: 55px; }

.transport .note {
  position: absolute;
  top: 123px;
  white-space: nowrap;
}

.restaurants {
  position: absolute;
  left: 239px;
  top: 418px;
  width: 238px;
  height: 113px;
  border: 1.4px solid #b7b6b3;
}

.restaurants h2 {
  position: absolute;
  top: 7px;
  left: 8px;
  font-size: 31px;
}

.restaurants > .note {
  position: absolute;
  left: 126px;
  top: 9px;
  width: 105px;
}

.ratings {
  position: absolute;
  left: 8px;
  right: 6px;
  bottom: 9px;
  height: 65px;
  display: flex;
  justify-content: space-between;
}

.rating {
  display: flex;
  align-items: flex-end;
  gap: 1px;
}

.rating-name {
  font-size: 10px;
  writing-mode: vertical-rl;
  text-orientation: sideways;
  transform: rotate(180deg);
  line-height: 12px;
  white-space: nowrap;
}

.stars {
  display: flex;
  flex-direction: column-reverse;
}

.stars img {
  width: 10px;
  height: 10px;
}

.week {
  position: absolute;
  left: 24px;
  top: 546px;
  width: 454px;
  height: 90px;
  border-bottom: 1.4px solid var(--line);
}

.week h2 {
  position: absolute;
  left: 2px;
  top: 0;
  font-size: 32px;
  line-height: 0.95;
  z-index: 1;
}

.week img {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 454px;
  height: 81px;
}

.days {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 2px;
  display: flex;
  justify-content: space-between;
  padding-right: 67px;
  font-family: Playfair, serif;
  font-size: 9px;
  font-style: italic;
}

.sleep {
  position: absolute;
  top: 656px;
  left: 24px;
  width: 455px;
  height: 73px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.time {
  font-family: Delirium;
  font-size: 90px;
  line-height: 1;
  white-space: nowrap;
}

.sleep-middle {
  position: absolute;
  top: 18px;
  left: 158px;
  width: 123px;
  height: 44px;
}

.sleep-middle img {
  position: absolute;
  left: 0;
  top: 5px;
  width: 123px;
  height: 21px;
}

.sleep-middle .note {
  position: absolute;
  left: 0;
  white-space: nowrap;
}

.sleep-middle .bed-note {
  top: 22px;
}

@media print {
  @page {
    size: 130.44mm 197.12mm;
    margin: 0;
  }

  body {
    display: block;
    padding: 0;
    background: var(--paper);
  }

  .frame {
    outline: none;
    box-shadow: none;
  }

  .frame,
  .poster {
    transform: none !important;
  }

  * {
    print-color-adjust: exact;
    -webkit-print-color-adjust: exact;
  }
}
