:root {
  --black: #050505;
  --dark-red: #61000d;
  --red: #d4001c;
  --bright-red: #ff1836;
  --panel: rgba(18, 0, 4, 0.35);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;

  background:
    radial-gradient(
      circle at 20% 10%,
      rgba(130, 0, 20, 0.18),
      transparent 30%
    ),
    radial-gradient(
      circle at 80% 90%,
      rgba(130, 0, 20, 0.16),
      transparent 35%
    ),
    var(--black);

  color: var(--red);

  font-family:
    Georgia,
    "Times New Roman",
    serif;
}

.page {
  position: relative;

  width: min(900px, 100%);
  min-height: 100vh;

  margin: 0 auto;

  padding:
    70px
    28px
    90px;

  border-left: 1px solid var(--dark-red);
  border-right: 1px solid var(--dark-red);

  background:
    repeating-linear-gradient(
      0deg,
      transparent 0,
      transparent 42px,
      rgba(120, 0, 20, 0.035) 43px
    );
}

h1,
h2,
p,
li {
  text-shadow:
    -1px -1px 0 #240006,
     1px -1px 0 #240006,
    -1px  1px 0 #240006,
     1px  1px 0 #240006;
}

h1,
h2 {
  margin-top: 0;
}

h1 {
  margin-bottom: 14px;

  font-size:
    clamp(
      2rem,
      7vw,
      4rem
    );

  line-height: 1;
}

h2 {
  font-size:
    clamp(
      1.4rem,
      4vw,
      2rem
    );
}

p,
li {
  font-size:
    clamp(
      1rem,
      2.7vw,
      1.2rem
    );

  line-height: 1.45;
}

.intro {
  position: relative;
  z-index: 2;

  width: min(580px, 92%);

  margin:
    0
    auto
    55px;

  padding:
    24px
    28px;

  text-align: center;

  background: rgba(38, 0, 8, 0.62);

  border:
    1px
    solid
    rgba(115, 0, 18, 0.7);

  box-shadow:
    8px 8px 0
    rgba(100, 0, 15, 0.22);

  transform: rotate(-0.8deg);
}

.intro p {
  margin-bottom: 0;
}

.layout {
  position: relative;
  z-index: 2;

  display: grid;

  grid-template-columns:
    repeat(
      2,
      minmax(0, 1fr)
    );

  gap:
    42px
    70px;

  align-items: start;
}

.card {
  padding:
    14px
    18px;

  text-align: center;

  background: var(--panel);

  border: none;

  border-left:
    2px
    solid
    rgba(120, 0, 18, 0.55);

  box-shadow:
    8px 8px 0
    rgba(70, 0, 10, 0.16);
}

.card:nth-child(odd) {
  transform: rotate(-0.4deg);
}

.card:nth-child(even) {
  transform: rotate(0.4deg);
}

.card ul {
  padding: 0;
  margin: 18px 0 0;

  list-style: none;
}

.card li {
  margin: 13px 0;
}

.card li::before {
  content: "✦ ";

  color: var(--bright-red);
}

.wide {
  grid-column:
    1 / -1;

  width:
    min(
      650px,
      100%
    );

  justify-self: center;
}

.interest-image {
  display: block;

  width:
    min(
      230px,
      90%
    );

  max-height: 260px;

  margin:
    -4px
    auto
    20px;

  object-fit: cover;

  border:
    2px
    solid
    rgba(120, 0, 18, 0.75);

  box-shadow:
    7px 7px 0
    rgba(85, 0, 12, 0.32);
}

.tilted-left {
  transform: rotate(-2deg);
}

.tilted-right {
  transform: rotate(2deg);
}

.purple-image {
  width: min(190px, 88%);
  height: 240px;

  object-fit: cover;
  object-position: center;

  border-color:
    rgba(105, 55, 145, 0.8);

  box-shadow:
    7px 7px 0
    rgba(72, 30, 100, 0.3);
}

.games-image {
  width: min(220px, 90%);
  height: 175px;

  object-fit: cover;
  object-position: center;
}

.image-pair {
  display: flex;

  align-items: flex-start;
  justify-content: center;

  gap: 12px;

  margin-bottom: 20px;
}

.pair-image {
  width: 44%;
  height: 175px;

  margin: 0;

  object-fit: cover;
}

.decor {
  position: absolute;
  z-index: 1;

  color: transparent;

  font-size: 180px;
  line-height: 1;

  -webkit-text-stroke:
    3px
    var(--dark-red);

  opacity: 0.58;

  filter:
    drop-shadow(
      0 0 8px
      rgba(210, 0, 30, 0.24)
    );
}

.decor::after {
  content: "↻";

  position: absolute;
  inset: 0;

  display: grid;
  place-items: center;

  color: var(--red);

  font-size: 60px;

  -webkit-text-stroke: 0;
}

.decor-one {
  top: -30px;
  left: -65px;

  transform: rotate(18deg);
}

.decor-two {
  top: 20px;
  right: -70px;

  transform: rotate(-15deg);
}

.decor-three {
  bottom: 80px;
  left: -75px;

  transform: rotate(-20deg);
}

.decor-four {
  bottom: 20px;
  right: -65px;

  transform: rotate(14deg);
}

footer {
  position: relative;
  z-index: 2;

  margin-top: 60px;

  text-align: center;

  opacity: 0.65;
}

@media (max-width: 650px) {

  .page {
    padding:
      55px
      18px
      90px;
  }

  .layout {
    grid-template-columns: 1fr;

    gap: 30px;
  }

  .wide {
    grid-column: auto;
  }

  .card {
    width: 92%;
  }

  .card:nth-child(odd) {
    justify-self: start;
  }

  .card:nth-child(even) {
    justify-self: end;
  }

  .interest-image {
    width:
      min(
        190px,
        88%
      );

    max-height: 220px;
  }

  .purple-image {
    width: min(175px, 85%);
    height: 220px;
  }

  .games-image {
    width: min(190px, 88%);
    height: 155px;
  }

  .image-pair {
    gap: 8px;
  }

  .pair-image {
    width: 46%;
    height: 145px;
  }

  .decor {
    font-size: 125px;
    opacity: 0.45;
  }

  .decor::after {
    font-size: 42px;
  }
}