/* Element css specifications */
html {
  scroll-behavior: smooth;
}

body {
  background-attachment: scroll;
  background-image: url("../images/behind-code.png");
  background-position-x: -1.95rem;
  background-size: cover;
  font-family: fantasy, serif;
  padding-top: 0.5rem;
  text-align: center;
}

h1 {
  font-size: 75px;
  margin: 50px auto 0px auto;
}

h2 {
  font-family: "Merriweather", serif;
  margin: 0;
}

h3 {
  font-family: "Merriweather", serif;
  margin-bottom: 0;
}

h4 {
  font-family: "Merriweather", serif;
  position: relative;
  top: 15px;
  margin-bottom: 10px;
}

p {
  font-family: "Lato", sans-serif;
  margin: 0;
  padding: 16px;
}

ul {
  margin-top: 8px;
}

a:hover {
  color: rgb(61, 24, 24);
}

/* NAVBAR */

.navbar-container {
  background-attachment: fixed;
  background: linear-gradient(#000000, #00000010);
}

.contact-links {
  text-align: right;
}

.logo-image {
  height: 1.3rem;
  margin-right: 0.4rem;
}

.top-of-page-link {
  font-size: 1.5rem;
  padding-top: 1rem;
}

.custom-nav-link-style {
  font-size: 1.1rem;
  padding-left: 1.5rem;
}

.nav-links :hover {
  background-color: green;
}

/* TOP CONTAINER */
.top-container {
  /*
    JS updates these sky stops from hero scroll progress.
    Keeping the colors in CSS variables lets the browser repaint one gradient
    instead of forcing layout changes or adding extra DOM layers.
  */
  --sky-top: #65d9f0;
  --sky-middle: #0fb6cc;
  --sky-bottom: #b7eef7;

  background: linear-gradient(
    180deg,
    var(--sky-top) 0%,
    var(--sky-middle) 58%,
    var(--sky-bottom) 100%
  );
  color: #ffbd69;
  min-height: 100vh;
  overflow: hidden;
  padding-top: 100px;
  position: relative;
}

.top-container::after {
  /*
    Dark handoff from forest floor to the underground section.
    This lives on the hero side so the transition starts before the profile scene begins.
  */
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(9, 25, 15, 0.52) 42%,
    rgba(14, 25, 15, 0.92) 100%
  );
  bottom: 0;
  content: "";
  height: clamp(7rem, 14vw, 13rem);
  left: 0;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 6;
}

.scene-layer {
  pointer-events: none;
  position: absolute;
  will-change: transform;
}

.text-layer {
  position: relative;
  z-index: 5;
}

.sub-title {
  font-size: 1.75rem;
  margin-top: 0;
  transition: opacity 2s;
}

.sun-character {
  cursor: pointer;
  height: 115px;
  left: clamp(6rem, 8vw, 11rem);
  pointer-events: auto;
  top: 6rem;
  width: 115px;
  z-index: 1;
}

.sun-character.is-awakened {
  cursor: default;
  pointer-events: none;
}

.sun-img {
  display: block;
  height: 100%;
  width: 100%;
}

.sun-face {
  /*
    The face is layered over the existing sun image.
    Percentage positioning keeps it aligned as the sun scales during parallax.
  */
  height: 42%;
  left: 50%;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  top: 38%;
  transform: translateX(-50%);
  transition: opacity 1s ease;
  width: 46%;
}

.sun-character.is-awakened .sun-face {
  opacity: 1;
}

.sun-eye {
  background: #fff7d6;
  border: 2px solid #6f4b1d;
  border-radius: 50%;
  height: 28%;
  position: absolute;
  top: 0;
  transform-origin: center;
  transition: transform 0.1s ease;
  width: 28%;
}

.sun-character.is-blinking .sun-eye {
  transform: scaleY(0.12);
}

.sun-eye-left {
  left: 8%;
}

.sun-eye-right {
  right: 8%;
}

.sun-pupil {
  /*
    JS writes --pupil-x and --pupil-y from mouse position.
    Defaults keep the face centered when the mouse has not moved yet.
  */
  --pupil-x: 0px;
  --pupil-y: 0px;

  background: #3d2b14;
  border-radius: 50%;
  display: block;
  height: 38%;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(calc(-50% + var(--pupil-x)), calc(-50% + var(--pupil-y)));
  width: 38%;
}

.sun-mouth {
  border-bottom: 3px solid #6f4b1d;
  border-radius: 0 0 999px 999px;
  bottom: 25%;
  height: 28%;
  left: 50%;
  position: absolute;
  transform: translateX(-50%);
  width: 42%;
}

@media (max-width: 768px) {
  .sun-character {
    height: 80px;
    left: 1.5rem;
    top: 6.5rem;
    width: 80px;
  }
}

.sun-character.is-oof .sun-eye {
  transform: scaleY(1.15);
}

.sun-character.is-oof .sun-pupil {
  transform: translate(calc(-50% + var(--pupil-x)), calc(-50% + var(--pupil-y))) scale(0.72);
}

.sun-character.is-oof .sun-mouth {
  border: 3px solid #6f4b1d;
  border-radius: 50%;
  bottom: 18%;
  height: 20%;
  width: 18%;
}

.top-cloud {
  right: clamp(6rem, 10vw, 14rem);
  top: 6rem;
  width: 200px;
  z-index: 2;
}

@media (max-width: 768px) {
  .top-cloud {
    right: 1.5rem;
    top: 6.75rem;
    width: 135px;
  }
}

.bottom-cloud {
  left: 15%;
  top: 45%;
  z-index: 3;
}

.forest-mist {
  background:
    radial-gradient(ellipse at 20% 60%, rgba(230, 238, 229, 0.32), transparent 58%),
    radial-gradient(ellipse at 55% 45%, rgba(230, 238, 229, 0.24), transparent 62%),
    linear-gradient(180deg, transparent 0%, rgba(220, 232, 224, 0.28) 65%, transparent 100%);
  bottom: 3rem;
  height: clamp(140px, 24vw, 280px);
  left: -5%;
  opacity: var(--mist-opacity, 0);
  pointer-events: none;
  position: absolute;
  transform: translateY(var(--mist-y, 24px));
  transition: opacity 120ms linear;
  width: 110%;
  z-index: 5;
}

.forest-line {
  bottom: -1px;
  height: clamp(190px, 28vw, 360px);
  left: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  z-index: 5;
}

.forest-line::after {
  background: linear-gradient(
    180deg,
    rgba(8, 39, 23, 0) 0%,
    rgba(8, 39, 23, 0.95) 34%,
    rgb(14, 25, 15) 100%
  );
  bottom: 0;
  content: "";
  height: 42%;
  left: 0;
  position: absolute;
  width: 100%;
  z-index: 4;
}

.forest-layer {
  bottom: 0;
  left: 0;
  position: absolute;
  transform-origin: bottom center;
  width: 100%;
}

.forest-layer svg {
  display: block;
  height: 100%;
  width: 100%;
}

.forest-layer-back {
  height: 52%;
  opacity: 0.65;
  z-index: 1;
}

.forest-layer-mid {
  height: 68%;
  opacity: 0.85;
  z-index: 2;
}

.forest-layer-front {
  height: 88%;
  z-index: 3;
}

.mountain-stage {
  /* Mountain gameplay coordinates are relative to this box, not the full hero viewport. */
  /*
    Mountain props use em dimensions so changing this scoped font-size scales
    the whole game layer with the image without transform conflicts.
  */
  --mountain-prop-unit: 1px;
  font-size: var(--mountain-prop-unit);
  margin: 2rem auto 0;
  position: relative;
  width: 98%;
  z-index: 4;
}

.cabin-character {
  cursor: pointer;
  height: 52em;
  left: 44%;
  pointer-events: auto;
  position: absolute;
  top: 20%;
  width: 70em;
  z-index: 6;
}

.cabin-character.is-disabled {
  cursor: default;
  pointer-events: none;
}

.cabin-svg {
  display: block;
  height: 100%;
  width: 100%;
}

.cabin-roof {
  fill: #3f2414;
}

.cabin-body {
  fill: #6f3f20;
}

.cabin-door {
  fill: #2b1a10;
}

.cabin-chimney {
  fill: #2f1a10;
}

.cabin-window {
  fill: #23170f;
  transition:
    fill 180ms ease,
    filter 180ms ease;
}

.cabin-smoke {
  fill: rgba(28, 26, 24, 0.7);
  opacity: 0;
  transition: opacity 220ms ease;
}

.cabin-character.is-smoking .cabin-smoke,
.cabin-character.is-lit .cabin-smoke,
.cabin-character.is-activated .cabin-smoke {
  opacity: 1;
}

.cabin-character.is-lit .cabin-window,
.cabin-character.is-activated .cabin-window {
  fill: #ffd36f;
  filter: drop-shadow(0 0 4px rgba(255, 211, 111, 0.75));
}

/* Lift styling */
.mountain-lift {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 6;
}

.lift-svg {
  inset: 0;
  overflow: visible;
  pointer-events: none;
  position: absolute;
  width: 100%;
  height: 100%;
}

/* SVG path for the lift cable. The curve gives the cable a little sag. */
.lift-cable {
  fill: none;
  stroke: #2b1a10;
  stroke-linecap: round;
  stroke-width: 0.2;
}

.lift-tower,
.lift-terminal {
  position: absolute;
}

.lift-tower {
  height: 34em;
  pointer-events: none;
  transform: translate(-50%, -100%);
  width: 22em;
}

.lift-tower-top {
  left: 48.5%;
  top: 26%;
}

.lift-tower-middle {
  left: 61%;
  top: 30%;
}

.lift-tower-bottom {
  left: 78%;
  top: 64%;
}

.lift-tower-post {
  background: #4b2c16;
  bottom: 0;
  height: 30em;
  left: 9em;
  position: absolute;
  width: 4em;
}

/* Small crossbar so the post reads like lift equipment, not a random stick. */
.lift-tower-crossbar {
  background: #4b2c16;
  height: 3em;
  left: 1em;
  position: absolute;
  top: 3em;
  width: 20em;
}

.lift-tower-wheel {
  background: #d9a441;
  border: 2px solid #2b1a10;
  border-radius: 50%;
  height: 8em;
  left: 6em;
  position: absolute;
  top: -2em;
  width: 8em;
}

.lift-terminal {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 32em;
  padding: 0;
  pointer-events: auto;
  width: 32em;
}

.lift-terminal:focus {
  outline: none;
}

.lift-terminal-top {
  left: 47%;
  top: 21%;
}

.lift-terminal-bottom {
  left: 77%;
  top: 58%;
}

/* JS places .lift-car at a sampled point on the SVG cable. Draw the chair downward from that anchor. */
.lift-car {
  display: none;
  height: 34em;
  left: 78%;
  pointer-events: none;
  position: absolute;
  top: 61%;
  transform: translate(-50%, 0);
  width: 28em;
  z-index: 8;
}

.lift-car.is-visible {
  display: block;
}

/* Wheel sits directly on the sampled cable point so the car feels attached to the line. */
.lift-car-wheel {
  background: #d9a441;
  border: 2px solid #2b1a10;
  border-radius: 50%;
  height: 8em;
  left: 10em;
  position: absolute;
  top: -4em;
  width: 8em;
}

.lift-car-hanger {
  background: #2b1a10;
  height: 15em;
  left: 13em;
  position: absolute;
  top: 3em;
  width: 2em;
}

.lift-car-seat {
  background: #4b2c16;
  border-radius: 2em;
  height: 8em;
  left: 5em;
  position: absolute;
  top: 18em;
  width: 19em;
}

.lift-car-seat::before {
  background: #2b1a10;
  content: "";
  height: 12em;
  left: 2em;
  position: absolute;
  top: -10em;
  width: 3em;
}

/* Keep the passenger as simple CSS shapes so it scales with the rest of the mountain props. */
.lift-car-skier {
  background: transparent;
  height: 16em;
  left: 10em;
  position: absolute;
  top: 5em;
  width: 12em;
}

.lift-car-skier-head {
  background: #d9a441;
  border: 1px solid #2b1a10;
  border-radius: 50%;
  height: 6em;
  left: 4em;
  position: absolute;
  top: 0;
  width: 6em;
}

.lift-car-skier-body {
  background: #10100e;
  border-radius: 2em;
  height: 9em;
  left: 5em;
  position: absolute;
  top: 6em;
  transform: rotate(-12deg);
  width: 5em;
}

.lift-car-skier-ski {
  background: #10100e;
  border-radius: 999px;
  height: 2em;
  left: 0;
  position: absolute;
  top: 16em;
  transform: rotate(8deg);
  width: 15em;
}

.path-markers,
.cabin-unlocks {
  inset: 0;
  pointer-events: none;
  position: absolute;
}

.final-skier-rest {
  display: none;
  height: 24em;
  left: 40%;
  pointer-events: none;
  position: absolute;
  top: 39%;
  transform: translate(-50%, -50%) scaleX(-1);
  width: 24em;
  z-index: 7;
}

.final-skier-rest.is-visible {
  display: block;
}

.final-skier-rest-svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.final-skier-head,
.final-skier-body {
  fill: #10100e;
}

.final-skier-limb {
  fill: none;
  stroke: #10100e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.path-markers {
  z-index: 5;
}

.path-marker {
  height: 24em;
  opacity: 0.28;
  position: absolute;
  transform: translate(-50%, -100%);
  transition:
    opacity 180ms ease,
    filter 180ms ease;
  width: 14em;
}

.path-marker::before {
  background: #4b2c16;
  border-radius: 999px;
  bottom: 0;
  content: "";
  height: 18em;
  left: 6em;
  position: absolute;
  width: 3em;
}

.path-marker::after {
  background: #ffd36f;
  border: 1px solid rgba(64, 39, 18, 0.65);
  border-radius: 50%;
  box-shadow: 0 0 7px rgba(255, 211, 111, 0.65);
  content: "";
  height: 9em;
  left: 2em;
  position: absolute;
  top: 4em;
  width: 9em;
}

.path-marker-cap {
  background: #10100e;
  border-radius: 8px 8px 2px 2px;
  height: 5em;
  left: 1em;
  position: absolute;
  top: 0;
  width: 11em;
  z-index: 1;
}

.path-marker.is-active-route {
  filter: saturate(1.2);
  opacity: 0.9;
}

/* Static scenery ramp for the intermediate jump; route physics stay in JS. */
.mountain-ramp {
  filter: drop-shadow(0 1.5em 0 rgba(79, 102, 119, 0.18));
  height: 18em;
  opacity: 0.78;
  pointer-events: none;
  position: absolute;
  transform-origin: 50% 100%;
  width: 34em;
  z-index: 6;
}

/* Hand-tuned against intermediateMountainRoute jump timing/position. */
.mountain-ramp-intermediate {
  left: 53%;
  top: 48%;
  transform: translate(-50%, -100%) rotate(-5deg);
}

.mountain-ramp::before {
  background: #8a5a36;
  clip-path: polygon(8% 100%, 100% 100%, 100% 28%);
  content: "";
  inset: 0;
  position: absolute;
}

.mountain-ramp-snow {
  background: #f4fbff;
  clip-path: polygon(26% 46%, 96% 4%, 100% 20%, 24% 64%);
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

/* Snow lip partially buries the ramp so it sits in the slope instead of on top. */
.mountain-ramp::after {
  background: #f4fbff;
  border-radius: 50%;
  bottom: -2em;
  content: "";
  height: 5em;
  left: 4em;
  position: absolute;
  width: 22em;
}

.mountain-ramp-plank {
  background: rgba(63, 36, 20, 0.65);
  border-radius: 999px;
  height: 1.8em;
  position: absolute;
  right: 2em;
  transform: rotate(-23deg);
  width: 22em;
}

.mountain-ramp-plank-top {
  bottom: 5em;
}

.mountain-ramp-plank-bottom {
  bottom: 10em;
}

.cabin-unlocks {
  z-index: 5;
}

.cabin-unlock {
  position: absolute;
  transform: translate(-50%, -50%);
}

.cabin-unlock svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.cabin-unlock.is-supply {
  opacity: 0.72;
  transform: translate(-50%, -50%) scale(0.8);
}

.cabin-unlock.is-supply svg {
  filter: saturate(0.75);
}

.cabin-unlock-campfire {
  height: 26em;
  width: 28em;
}

.cabin-unlock-clothesline {
  height: 28em;
  width: 58em;
}

.cabin-unlock-fish-rack {
  height: 32em;
  width: 38em;
}

.cabin-unlock-wood-pile {
  height: 20em;
  width: 36em;
}

.cabin-unlock-hot-spring {
  height: 34em;
  width: 46em;
}

.cabin-unlock-sauna {
  height: 42em;
  width: 46em;
}

.cabin-unlock-guest-cabin {
  height: 44em;
  width: 54em;
}

/* Route marker button: a real button styled to look like an in-scene trail sign. */
.route-marker {
  background: transparent;
  border: 0;
  cursor: pointer;
  height: 23em;
  padding: 0;
  pointer-events: auto;
  position: absolute;
  transform: translate(-50%, -100%);
  width: 8em;
  z-index: 7;
}

.route-marker-easy {
  left: 45%;
  top: 29%;
}

.route-marker-intermediate {
  left: 44%;
  top: 28%;
}

.route-marker-intermediate .route-marker-symbol {
  background: #1c7ed6;
  border-radius: 1em;
}

/* Disabled until the cabin reaches the activated state. */
.route-marker:disabled {
  cursor: default;
}

/* Wooden post below the sign face. */
.route-marker-post {
  background: #4b2c16;
  border-radius: 999px;
  bottom: 0;
  height: 20em;
  left: 10em;
  position: absolute;
  width: 3em;
}

/* Sign face that holds the ski difficulty symbol. */
.route-marker-sign {
  align-items: center;
  background: #f2d39a;
  border: 2px solid #4b2c16;
  border-radius: 3em;
  box-shadow: 0 2px 0 rgba(43, 26, 16, 0.28);
  display: flex;
  height: 12em;
  justify-content: center;
  left: 1em;
  position: absolute;
  top: 0;
  width: 12em;
}

/* Green circle = easiest ski trail. Dim while disabled, full color when enabled. */
.route-marker-symbol {
  background: #2f9e44;
  border-radius: 50%;
  display: block;
  height: 6em;
  opacity: 0.42;
  width: 6em;
}

/* Enabled route gets a soft glow so it reads as available. */
.route-marker:not(:disabled) .route-marker-sign {
  box-shadow:
    0 2px 0 rgba(43, 26, 16, 0.28),
    0 0 10px rgba(47, 158, 68, 0.75);
}

.route-marker:not(:disabled) .route-marker-symbol {
  opacity: 1;
}

/* Remove the default button focus ring so the custom in-scene focus style owns it. */
.route-marker:focus {
  outline: none;
}

/* Keyboard focus ring for accessibility without changing the visual shape. */
.route-marker:focus-visible {
  outline: 3px solid #fff7d6;
  outline-offset: 3px;
}

.supplies-cabin {
  height: 42em;
  left: 78%;
  pointer-events: none;
  position: absolute;
  top: 58%;
  width: 54em;
  z-index: 5;
}

.supplies-cabin-svg {
  display: block;
  height: 100%;
  width: 100%;
}

.supplies-cabin-roof {
  fill: #3f2414;
}

.supplies-cabin-body {
  fill: #6f3f20;
}

.supplies-cabin-door {
  fill: #2b1a10;
}

.supplies-cabin-window {
  fill: #ffd36f;
  filter: drop-shadow(0 0 4px rgba(255, 211, 111, 0.6));
}

.supplies-crate {
  fill: #9b6a35;
}

.supplies-crate-lines {
  fill: none;
  stroke: #4b2c16;
  stroke-width: 1.5;
}

/* Crash cue: a tiny ski patrol sign near supplies, lit only until the return lift starts. */
.ski-patrol-cue {
  bottom: -1em;
  height: 24em;
  opacity: 0;
  pointer-events: none;
  position: absolute;
  right: -7em;
  transition:
    opacity 160ms ease,
    filter 160ms ease;
  width: 18em;
}

.supplies-cabin.is-recovery-needed .ski-patrol-cue {
  filter: drop-shadow(0 0 5px rgba(214, 48, 49, 0.85));
  opacity: 1;
}

.ski-patrol-cue-post {
  background: #4b2c16;
  bottom: 0;
  height: 16em;
  left: 8em;
  position: absolute;
  width: 3em;
}

.ski-patrol-cue-sign {
  background: #fff7d6;
  border: 2px solid #4b2c16;
  border-radius: 2em;
  height: 12em;
  left: 2em;
  position: absolute;
  top: 0;
  width: 14em;
}

.ski-patrol-cue-cross::before,
.ski-patrol-cue-cross::after {
  background: #d63031;
  content: "";
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
}

.ski-patrol-cue-cross::before {
  height: 8em;
  width: 3em;
}

.ski-patrol-cue-cross::after {
  height: 3em;
  width: 8em;
}

.mountain-skier {
  height: 18em;
  left: 40%;
  pointer-events: auto;
  position: absolute;
  top: 34%;
  transform-origin: center;
  width: 23em;
  z-index: 5;
}

.mountain-skier.is-hidden {
  display: none;
}

.skier-svg {
  display: block;
  height: 100%;
  overflow: visible;
  width: 100%;
}

.skier-standing,
.skier-fallen {
  fill: none;
  stroke: #10100e;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 3;
}

.skier-head,
.skier-torso {
  fill: #10100e;
  stroke: none;
}

.skier-fallen {
  display: none;
}

.mountain-skier.is-fallen .skier-standing {
  display: none;
}

.mountain-skier.is-fallen .skier-fallen {
  display: block;
}

.mountain-skier.is-skiing .skier-svg {
  animation: skier-bob 450ms ease-in-out infinite;
}

.mountain-skier.is-resting .skier-svg {
  animation: none;
  transform: rotate(-12deg);
}

@media (max-width: 1000px) {
  .mountain-stage {
    --mountain-prop-unit: 0.62px;
  }

  .cabin-character,
  .route-marker,
  .lift-terminal,
  .mountain-skier {
    cursor: default;
    pointer-events: none;
  }
}

@keyframes skier-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-1.6px);
  }
}

.mountain-img {
  display: block;
  margin-top: 0;
  position: relative;
  width: 100%;
  z-index: 4;
}

/* PROFILE SCENE: SHELL */
/*
  Underground profile scene.
  The room data attributes are used by the cart and lift routing logic.
*/
.profile-scene {
  background:
    linear-gradient(
      180deg,
      rgba(11, 26, 17, 0.82) 0%,
      rgba(46, 35, 20, 0.68) 4.5rem,
      rgba(103, 57, 31, 0) 10rem
    ),
    radial-gradient(circle at 18% 22%, rgba(238, 188, 113, 0.18), transparent 18rem),
    radial-gradient(circle at 82% 58%, rgba(89, 48, 29, 0.35), transparent 22rem),
    linear-gradient(180deg, rgb(92, 49, 27) 0%, #7a472b 18%, #3e2d25 100%);
  color: #f6dfb8;
  overflow: hidden;
  padding: 5rem 6vw 6rem;
  position: relative;
}

.profile-scene::before {
  /*
    Rock flecks and roots live on the scene, not the rooms, so the whole section
    reads as one cutaway instead of four separate cards.
  */
  background:
    radial-gradient(circle, rgba(255, 230, 175, 0.2) 0 2px, transparent 3px) 0 0 / 8rem 7rem,
    radial-gradient(circle, rgba(24, 18, 14, 0.35) 0 2px, transparent 3px) 3rem 2rem / 9rem 8rem,
    linear-gradient(160deg, transparent 0 48%, rgba(40, 25, 16, 0.35) 49% 51%, transparent 52%);
  content: "";
  inset: 0;
  opacity: 0.55;
  pointer-events: none;
  position: absolute;
}

.profile-cavern {
  --cart-direction: 1;
  --cart-x: 24%;
  --cart-y: 30%;
  --profile-lift-y: 27%;

  display: grid;
  gap: 4.5rem 4rem;
  grid-template-areas:
    "hello shaft recent"
    "story shaft work";
  grid-template-columns: minmax(0, 1fr) clamp(8rem, 12vw, 12rem) minmax(0, 1fr);
  margin: 0 auto;
  max-width: 98rem;
  min-height: 52rem;
  position: relative;
  z-index: 1;
}

/* PROFILE SCENE: RAILS */

.profile-rail-layer {
  inset: 0;
  pointer-events: none;
  position: absolute;
  z-index: 1;
}

.profile-rail {
  background:
    linear-gradient(90deg, transparent, rgba(28, 19, 14, 0.9) 10% 90%, transparent),
    linear-gradient(
      180deg,
      transparent 36%,
      #2d2018 37% 45%,
      transparent 46% 58%,
      #2d2018 59% 67%,
      transparent 68%
    );
  height: 1.5rem;
  left: 7%;
  position: absolute;
  right: 7%;
}

.profile-rail-top {
  top: 30%;
}

.profile-rail-bottom {
  top: 72%;
}

.profile-rail-tie {
  background: rgba(41, 27, 18, 0.75);
  border-radius: 2px;
  height: 2rem;
  position: absolute;
  transform: rotate(88deg);
  width: 0.45rem;
}

/* PROFILE SCENE: CART */

.profile-mine-cart {
  /*
    JS only changes --cart-x/--cart-y and --cart-direction.
    Keeping the animation contract in CSS makes the later room animations easier to layer in.
  */
  height: 2.6rem;
  left: var(--cart-x);
  pointer-events: none;
  position: absolute;
  top: var(--cart-y);
  transform: translate(-50%, -78%) scaleX(var(--cart-direction));
  transition:
    left 520ms ease-in-out,
    top 520ms ease-in-out,
    filter 180ms ease,
    opacity 220ms ease;
  width: 4.4rem;
  z-index: 4;
}

.profile-cavern.is-profile-cart-hidden .profile-mine-cart {
  opacity: 0;
}

.profile-mine-cart-bucket {
  background: linear-gradient(180deg, #9b6b3e, #5f3b24);
  border: 3px solid #2b1c13;
  border-radius: 0.45rem 0.45rem 0.8rem 0.8rem;
  bottom: 0.55rem;
  box-shadow: inset 0 -0.35rem 0 rgba(0, 0, 0, 0.22);
  height: 1.65rem;
  left: 0.35rem;
  position: absolute;
  width: 3.65rem;
}

.profile-cavern.is-profile-cart-moving .profile-mine-cart-bucket {
  animation: profile-cart-bob 260ms ease-in-out infinite;
}

.profile-mine-cart-lamp {
  background: #ffd577;
  border-radius: 50%;
  box-shadow: 0 0 1rem rgba(255, 213, 119, 0.9);
  height: 0.65rem;
  position: absolute;
  right: 0;
  top: 0.55rem;
  width: 0.65rem;
}

.profile-cavern.is-profile-cart-moving .profile-mine-cart-lamp {
  filter: brightness(1.18);
}

.profile-mine-cart-wheel {
  background: #211610;
  border: 2px solid #8b633e;
  border-radius: 50%;
  bottom: 0;
  height: 0.8rem;
  position: absolute;
  width: 0.8rem;
}

.profile-cavern.is-profile-cart-moving .profile-mine-cart-wheel {
  animation: profile-cart-wheel-spin 260ms linear infinite;
}

.profile-mine-cart-wheel-left {
  left: 0.85rem;
}

.profile-mine-cart-wheel-right {
  right: 0.85rem;
}

/* PROFILE SCENE: ACTIVE ROOM STATES */

.profile-room.is-active {
  border-color: rgba(255, 214, 137, 0.86);
  box-shadow:
    inset 0 0 2.4rem rgba(0, 0, 0, 0.42),
    0 0 2.3rem rgba(255, 198, 101, 0.24);
}

.profile-cavern.has-active-room .profile-room:not(.is-active):not(:hover):not(:focus-visible) {
  opacity: 0.84;
}

.profile-room.is-active .profile-room-prop-lantern,
.profile-room.is-active .profile-room-prop-campfire {
  filter: brightness(1.16);
}

.profile-rail-tie-one {
  left: 20%;
  top: 29.6%;
}

.profile-rail-tie-two {
  right: 20%;
  top: 29.6%;
}

.profile-rail-tie-three {
  left: 20%;
  top: 71.6%;
}

.profile-rail-tie-four {
  right: 20%;
  top: 71.6%;
}

/* PROFILE SCENE: SHAFT AND LIFT */

.profile-shaft {
  --shaft-beam-top: #26170f;
  --shaft-beam-base: #51331f;

  align-self: stretch;
  background: linear-gradient(
    90deg,
    rgba(28, 20, 15, 0.7),
    rgba(73, 48, 30, 0.55),
    rgba(28, 20, 15, 0.7)
  );
  border-left: 0.45rem solid rgba(37, 24, 16, 0.9);
  border-right: 0.45rem solid rgba(37, 24, 16, 0.9);
  box-shadow: inset 0 0 2rem rgba(0, 0, 0, 0.45);
  grid-area: shaft;
  position: relative;
  top: -5.75rem;
  z-index: 3;
}

.profile-shaft-beam,
.profile-shaft-cable,
.profile-lift-car,
.profile-info-booth {
  position: absolute;
}

.profile-shaft-beam {
  background: linear-gradient(180deg, var(--shaft-beam-top) 0%, var(--shaft-beam-base) 24%);
  bottom: 0;
  top: -10%;
  width: 0.45rem;
}

.profile-shaft-beam-left {
  left: 23%;
}

.profile-shaft-beam-right {
  right: 23%;
}

.profile-shaft-cable {
  background: rgba(19, 16, 14, 0.9);
  bottom: 8%;
  left: 50%;
  top: -7%;
  transform: translateX(-50%);
  width: 2px;
}

.profile-lift-car {
  background: #8f6037;
  border: 3px solid #322116;
  border-radius: 4px;
  height: 4rem;
  left: 50%;
  top: var(--profile-lift-y);
  transform: translateX(-50%);
  transition: top 520ms ease-in-out;
  width: 5rem;
}

.profile-cavern.is-profile-cart-moving .profile-lift-car {
  box-shadow: 0 0 1.1rem rgba(255, 213, 119, 0.18);
}

.profile-info-booth {
  background: #5f3c25;
  border: 3px solid #2b1c13;
  border-radius: 6px 6px 2px 2px;
  bottom: 44%;
  height: 4.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 6rem;
}

.profile-info-booth-light {
  background: #ffd577;
  border-radius: 50%;
  box-shadow: 0 0 1.5rem rgba(255, 213, 119, 0.9);
  display: block;
  height: 0.9rem;
  margin: 0.65rem auto 0;
  width: 0.9rem;
}

/* PROFILE SCENE: ROOMS */

.profile-room {
  background:
    radial-gradient(circle at 50% 0%, rgba(255, 208, 131, 0.16), transparent 14rem),
    linear-gradient(180deg, rgba(48, 35, 28, 0.92), rgba(32, 25, 22, 0.95));
  border: 2px solid rgba(219, 170, 101, 0.22);
  border-radius: 46% 54% 42% 48% / 18% 20% 14% 16%;
  box-shadow:
    inset 0 0 2.2rem rgba(0, 0, 0, 0.58),
    0 1.2rem 2rem rgba(0, 0, 0, 0.22);
  min-height: 21rem;
  padding: 2.25rem;
  position: relative;
  text-align: left;
  transition:
    border-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
  z-index: 2;
}

.profile-room:hover,
.profile-room:focus-visible {
  border-color: rgba(255, 214, 137, 0.72);
  box-shadow:
    inset 0 0 2.4rem rgba(0, 0, 0, 0.45),
    0 0 2rem rgba(255, 198, 101, 0.22);
  outline: none;
  transform: translateY(-2px);
}

.profile-room-hello {
  grid-area: hello;
  text-align: center;
}

.profile-room-recent {
  grid-area: recent;
}

.profile-room-recent::after {
  /*
    Temporary marker while this room waits for its full scene treatment.
    Keep this small and removable so the content stays the point.
  */
  background: repeating-linear-gradient(135deg, #e4a932 0 0.45rem, #2b1c13 0.45rem 0.9rem), #8f6037;
  border: 2px solid rgba(43, 28, 19, 0.95);
  border-radius: 0.2rem;
  box-shadow: 0 0.35rem 0.8rem rgba(0, 0, 0, 0.28);
  color: #1e130d;
  content: "UNDER CONSTRUCTION";
  font-family: "Lato", sans-serif;
  font-size: 0.62rem;
  font-weight: 900;
  letter-spacing: 0.04rem;
  line-height: 1;
  padding: 0.52rem 0.62rem 0.34rem;
  pointer-events: none;
  position: absolute;
  right: 2rem;
  text-shadow:
    0 1px rgba(255, 229, 151, 0.85),
    0 -1px rgba(255, 229, 151, 0.45);
  top: 2.75rem;
  transform: rotate(3deg);
}

.profile-room-story {
  grid-area: story;
}

.profile-room-work {
  grid-area: work;
}

.profile-room h2 {
  color: #f7d99f;
  margin-bottom: 1.25rem;
  text-align: center;
}

.profile-room p {
  color: #f2dfc0;
  font-weight: 600;
  line-height: 1.7;
  padding: 0 0 1rem;
}

.profile-pic {
  border: 4px solid rgba(255, 218, 151, 0.45);
  border-radius: 50%;
  box-shadow: 0 0 1.5rem rgba(255, 198, 101, 0.25);
  height: 200px;
  margin-bottom: 1rem;
  padding-top: 0;
  width: 200px;
}

.profile-recent-company {
  color: #d7a86b;
  font-weight: 700;
  margin-bottom: 0.75rem;
  padding: 0;
}

.profile-recent-list {
  font-size: 1.25rem;
  line-height: 1.75;
  list-style: none;
  padding-left: 0;
}

.profile-recent-list li {
  border-left: 3px solid rgba(255, 207, 128, 0.42);
  color: #f2dfc0;
  font-family: "Merriweather", serif;
  font-weight: bold;
  margin-bottom: 0.45rem;
  padding-left: 0.85rem;
}

/* PROFILE SCENE: DECORATIVE ROOM PROPS */

.profile-room-prop {
  pointer-events: none;
  position: absolute;
}

.profile-room-prop-lantern {
  background: #ffc963;
  border-radius: 50%;
  box-shadow: 0 0 1.4rem rgba(255, 201, 99, 0.85);
  height: 1rem;
  right: 2.2rem;
  top: 2rem;
  width: 1rem;
}

.profile-room-prop-campfire {
  background: #ff9f43;
  border-radius: 50% 50% 45% 45%;
  bottom: 1.5rem;
  box-shadow: 0 0 1.6rem rgba(255, 136, 57, 0.7);
  height: 1.5rem;
  right: 2rem;
  width: 1.2rem;
}

/* PROFILE SCENE: CART ANIMATION */

@keyframes profile-cart-bob {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

@keyframes profile-cart-wheel-spin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* PROFILE SCENE: RESPONSIVE LAYOUT */

@media (max-width: 1200px) {
  .profile-cavern {
    /*
      The cart route needs horizontal room to read correctly.
      At tablet widths we keep the cave rooms and drop the rail machinery instead of squeezing it.
    */
    gap: 2.5rem;
    grid-template-areas:
      "hello recent"
      "story work";
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    max-width: 72rem;
    min-height: 0;
  }

  .profile-rail-layer,
  .profile-mine-cart,
  .profile-shaft {
    display: none;
  }

  .profile-room {
    border-radius: 2.25rem;
    min-height: 0;
    padding: 1.75rem;
  }

  .profile-room h2 {
    font-size: 1.65rem;
  }

  .profile-room p {
    font-size: 0.95rem;
    line-height: 1.55;
  }

  .profile-recent-list {
    font-size: 1.05rem;
    line-height: 1.55;
  }

  .profile-room-recent::after {
    display: none;
  }
}

@media (max-width: 900px) {
  .profile-scene {
    padding: 3rem 1.25rem 4rem;
  }

  .profile-cavern {
    display: grid;
    gap: 2rem;
    grid-template-areas:
      "hello"
      "recent"
      "story"
      "work";
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .profile-rail-layer {
    display: none;
  }

  .profile-mine-cart {
    display: none;
  }

  .profile-room {
    border-radius: 2rem;
    min-height: 0;
    padding: 1.75rem;
  }

  .profile-room h2 {
    text-align: left;
  }

  .profile-room-hello,
  .profile-room-hello h2 {
    text-align: center;
  }
}

/* PROFILE SCENE: HELLO ROOM GEAR WALL */

.profile-room-hello {
  overflow: hidden;
}

.profile-room-hello h2,
.profile-room-hello p,
.profile-pic-hello {
  position: relative;
  z-index: 2;
}

.profile-room-scene-hello {
  /*
    SVG gear wall behind the portrait.
    The room starts text-first; the cart arrival brightens this layer and rolls the portrait aside.
  */
  background:
    linear-gradient(180deg, rgba(85, 53, 32, 0.58), rgba(34, 23, 18, 0.38)),
    linear-gradient(
      90deg,
      transparent 0 7%,
      rgba(126, 83, 48, 0.9) 8% 10%,
      transparent 11% 89%,
      rgba(126, 83, 48, 0.9) 90% 92%,
      transparent 93%
    ),
    linear-gradient(
      180deg,
      transparent 0 20%,
      rgba(126, 83, 48, 0.95) 21% 25%,
      transparent 26% 61%,
      rgba(126, 83, 48, 0.78) 62% 65%,
      transparent 66%
    );
  border: 2px solid rgba(255, 214, 137, 0.18);
  border-radius: 0.8rem;
  height: 13.6rem;
  left: 36%;
  opacity: 0.12;
  pointer-events: none;
  position: absolute;
  right: 1.65rem;
  top: 1.3rem;
  transition:
    opacity 650ms ease,
    filter 650ms ease;
  z-index: 1;
}

.profile-room-hello.has-entered-hello .profile-room-scene-hello {
  filter: saturate(1.08) brightness(1.05);
  opacity: 0.88;
}

.profile-pic-hello {
  transform: rotate(90deg);
  transition: transform 850ms ease-in-out;
}

.profile-room-hello.has-entered-hello .profile-pic-hello {
  transform: translateX(clamp(-13rem, -16vw, -9rem)) rotate(0deg);
}

.hello-gear-rack {
  background:
    linear-gradient(90deg, rgba(43, 28, 19, 0.9), rgba(43, 28, 19, 0.15), rgba(43, 28, 19, 0.9)),
    linear-gradient(180deg, rgba(143, 96, 55, 0.9), rgba(96, 61, 36, 0.9));
  border: 2px solid rgba(43, 28, 19, 0.95);
  border-radius: 0.35rem;
  bottom: 0.7rem;
  left: 0.7rem;
  position: absolute;
  right: 0.7rem;
  top: 0.7rem;
}

.hello-gear-icon {
  cursor: pointer;
  filter: drop-shadow(0 0.25rem 0.18rem rgba(0, 0, 0, 0.38));
  outline: none;
  pointer-events: none;
  position: absolute;
  transform: var(--messy-transform, var(--tidy-transform, none));
  transition:
    filter 180ms ease,
    opacity 180ms ease,
    transform 900ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.profile-room-hello.has-entered-hello .hello-gear-icon:not(.is-tidied) {
  pointer-events: auto;
}

.hello-gear-icon:hover,
.hello-gear-icon:focus-visible {
  filter:
    drop-shadow(0 0.25rem 0.18rem rgba(0, 0, 0, 0.38))
    drop-shadow(0 0 0.42rem rgba(255, 219, 141, 0.65));
}

.hello-gear-icon.is-tidied {
  cursor: default;
  pointer-events: none;
  transform: var(--tidy-transform, none);
}

.hello-gear-icon.is-tidied:hover,
.hello-gear-icon.is-tidied:focus-visible {
  filter: drop-shadow(0 0.25rem 0.18rem rgba(0, 0, 0, 0.38));
}

.hello-gear-calendar {
  height: 2.55rem;
  left: 6%;
  top: 0.95rem;
  --messy-transform: translate(7.5rem, 2.4rem) rotate(17deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-map {
  height: 3rem;
  left: 6%;
  top: 4.55rem;
  --messy-transform: translate(2.1rem, -1.2rem) rotate(-14deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-exit-poster {
  height: 2.8rem;
  right: 7%;
  top: 0.85rem;
  --messy-transform: translate(-4.4rem, 3.3rem) rotate(19deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-rope {
  height: 3.55rem;
  left: 18%;
  top: 4.25rem;
  --messy-transform: translate(4.2rem, 2.3rem) rotate(-28deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-rope-secondary {
  height: 2.9rem;
  left: 22%;
  top: 4.75rem;
  --messy-transform: translate(-2rem, -1.3rem) rotate(24deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-backpack {
  bottom: 1.35rem;
  height: 4.25rem;
  left: 30%;
  --messy-transform: translate(3.5rem, -1.8rem) rotate(11deg);
  --tidy-transform: none;
}

.hello-gear-helmet {
  height: 2.7rem;
  right: 16%;
  top: 4rem;
  --messy-transform: translate(-5.2rem, -1rem) rotate(-18deg);
  --tidy-transform: rotate(3deg);
}

.hello-gear-helmet-secondary {
  height: 2.45rem;
  right: 20.5%;
  top: 4.35rem;
  --messy-transform: translate(-2.8rem, 2.2rem) rotate(21deg);
  --tidy-transform: rotate(-4deg);
}

.hello-gear-boots {
  bottom: 1rem;
  height: 2.65rem;
  left: 7%;
  --messy-transform: translate(5.7rem, -0.8rem) rotate(-10deg);
  --tidy-transform: none;
}

.hello-gear-boots-secondary {
  bottom: 1rem;
  height: 2.35rem;
  left: 10%;
  --messy-transform: translate(3.4rem, -2.5rem) rotate(16deg);
  --tidy-transform: none;
}

.hello-gear-pickaxe {
  bottom: 0.95rem;
  height: 4.45rem;
  right: 30%;
  --messy-transform: translate(8.2rem, -1.4rem) rotate(-7deg);
  --tidy-transform: rotate(-46deg);
}

.hello-gear-pickaxe-secondary {
  bottom: 0.95rem;
  height: 4.45rem;
  right: 27%;
  --messy-transform: translate(5.6rem, -2.6rem) rotate(-68deg);
  --tidy-transform: rotate(-46deg);
}

.hello-gear-pickaxe-tertiary {
  bottom: 0.95rem;
  height: 4.45rem;
  right: 24%;
  --messy-transform: translate(2rem, -4rem) rotate(-18deg);
  --tidy-transform: rotate(-46deg);
}

.hello-gear-shovel {
  bottom: 0.95rem;
  height: 4.6rem;
  right: 2%;
  --messy-transform: translate(-5.2rem, -2.6rem) rotate(26deg);
  --tidy-transform: rotate(-15deg);
}

.hello-gear-shovel-secondary {
  bottom: 1.05rem;
  height: 4.35rem;
  right: 6%;
  --messy-transform: translate(-7.2rem, 1.2rem) rotate(-42deg);
  --tidy-transform: rotate(-15deg);
}

.hello-gear-shovel-tertiary {
  bottom: 0.78rem;
  height: 4.15rem;
  right: 10%;
  --messy-transform: translate(-3.8rem, -4rem) rotate(34deg);
  --tidy-transform: rotate(-15deg);
}

.hello-gear-flashlight {
  height: 2rem;
  left: 43%;
  top: 4.5rem;
  --messy-transform: translate(-5rem, 1.8rem) rotate(-31deg);
  --tidy-transform: rotate(45deg);
}

.hello-gear-flashlight-secondary {
  height: 2rem;
  left: 45%;
  top: 4.5rem;
  --messy-transform: translate(4.2rem, 2.5rem) rotate(82deg);
  --tidy-transform: rotate(45deg);
}

.hello-gear-carabiner {
  height: 1.85rem;
  left: 33%;
  top: 5.1rem;
  --messy-transform: translate(-2.7rem, -2.6rem) rotate(-28deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-carabiner-secondary {
  height: 1.7rem;
  left: 34.5%;
  top: 5.05rem;
  --messy-transform: translate(2.4rem, -2.1rem) rotate(34deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-carabiner-tertiary {
  height: 1.55rem;
  left: 36%;
  top: 5.25rem;
  --messy-transform: translate(-1.2rem, 2rem) rotate(21deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-carabiner-quaternary {
  height: 1.45rem;
  left: 37.4%;
  top: 5.05rem;
  --messy-transform: translate(1.8rem, 2.3rem) rotate(-17deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-carabiner-quinary {
  height: 1.35rem;
  left: 38.7%;
  top: 5.28rem;
  --messy-transform: translate(4.4rem, -1.2rem) rotate(30deg);
  --tidy-transform: rotate(0deg);
}

.hello-gear-goggles {
  height: 2rem;
  left: 55%;
  top: 4.5rem;
  --messy-transform: translate(-3.6rem, 2.1rem) rotate(37deg);
  --tidy-transform: rotate(90deg);
}

.hello-gear-goggles-secondary {
  height: 1.85rem;
  left: 57.8%;
  top: 4.55rem;
  --messy-transform: translate(2.5rem, -2.6rem) rotate(126deg);
  --tidy-transform: rotate(90deg);
}

@media (prefers-reduced-motion: reduce) {
  .profile-pic-hello {
    transition: none;
  }

  .hello-gear-icon {
    transition-duration: 180ms;
  }
}

@media (max-width: 1200px) {
  .profile-room-scene-hello {
    display: none;
  }

  .profile-pic-hello,
  .profile-room-hello.has-entered-hello .profile-pic-hello {
    transition: none;
    transform: none;
  }
}

/* MIDDLE CONTAINER */

.middle-container {
  background:
    linear-gradient(#000000, #00000010),
    url("../images/laptop-with-plants.jpg") no-repeat center center scroll;
  -webkit-background-size: cover;
  -moz-background-size: cover;
  -o-background-size: cover;
  background-size: cover;
}

/* ABOUT SECTION */

.about-columns {
  display: grid;
  gap: 4rem;
  grid-template-columns: 1fr 1fr;
  margin: 0 auto;
  max-width: 86rem;
  padding: 0 8vw;
  text-align: left;
}

.about-column h2 {
  margin-bottom: 1.5rem;
  text-align: center;
}

.about-column p {
  line-height: 1.8;
}

.about-section {
  background-color: rgb(215, 170, 114);
  padding-top: 4rem;
  padding-bottom: 2rem;
}

@media (max-width: 768px) {
  .about-columns {
    gap: 2.5rem;
    grid-template-columns: 1fr;
    padding: 0 1.25rem;
  }

  .about-column h2 {
    text-align: left;
  }
}

.story-hole-spacer {
  background: linear-gradient(rgb(215, 170, 114), rgb(215, 170, 114, 0.7));
  height: 1rem;
}

.hole {
  /*
    Old repo peek between the underground profile scene and skills.
    The image is applied directly here so it no longer depends on fixed body background behavior.
  */
  background:
    linear-gradient(180deg, rgba(31, 23, 19, 0.25), rgba(31, 23, 19, 0.65)),
    url("../images/behind-code.png") center 28% / min(100%, 1100px) auto no-repeat fixed;
  box-shadow:
    inset 0 1.2rem 1.4rem rgba(0, 0, 0, 0.45),
    inset 0 -1.2rem 1.4rem rgba(0, 0, 0, 0.35);
  height: 150px;
  mix-blend-mode: normal;
  opacity: 1;
  padding: 0;
  width: auto;
}

.story-hole-spacer {
  background: linear-gradient(180deg, #3e2d25 0%, #1f1713 100%);
  height: 1rem;
}

.hole-skills-spacer {
  background: linear-gradient(180deg, #1f1713 0%, #fecb89 100%);
  height: 1rem;
}

/* SKILLS SECTION */

#skills-section {
  font-family: "Merriweather", serif;
}

.skills-title-bar {
  background: #fecb89;
  height: 69px;
  padding-bottom: 6rem;
  padding-top: 3rem;
}

.skills-section-title {
  display: inline-block;
  margin-left: 5rem;
  margin-right: 5rem;
  padding-top: 20px;
}

.my-skills-hr {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  margin-bottom: 10px;
  width: 25%;
}

.skill-row {
  display: inline-block;
  vertical-align: top;
}

.skills-lists-box {
  background: linear-gradient(#fecb89, #0fb6cc90);
  border-bottom-left-radius: 55px;
  border-bottom-right-radius: 55px;
  margin: 0;
  text-align: center;
  width: 100%;
}

.frontend-icon {
  height: 6.25rem;
}

.frontend-skill {
  margin-right: 1rem;
}

.frontend-list {
  display: inline-block;
}

.frontend-list > li {
  text-align: left;
  /* margin-left: 2rem; */
}

.backend-icon {
  height: 100px;
  padding-top: 1rem;
  padding-bottom: 10px;
  width: 80px;
}

.backend-skill {
  margin-left: 3rem;
}

.backend-list {
  display: inline-block;
}

.backend-list > li {
  text-align: left;
  /* margin-left: 2rem; */
}

.team-icon {
  /* border-left: 1px solid black;
    border-right: 1px solid black; */
  height: 5.1rem;
  margin-top: 1rem;
  margin-bottom: 0.12rem;
  padding-bottom: 0.7rem;
  width: 5rem;
}

.team-list {
  display: inline-block;
}

.team-list > li {
  text-align: left;
  margin-left: 2rem;
}

/* WORK SECTION */
.my-work-hr {
  border-style: solid;
  border-width: 1px;
  border-color: rgba(245, 245, 245, 0.705);
  display: inline-block;
  margin-bottom: 10px;
  width: 25%;
}

.work-section-title {
  color: rgba(245, 245, 245, 0.705);
  display: inline-block;
  margin-left: 5rem;
  margin-right: 5rem;
  padding-bottom: 2rem;
}

.portfolio {
  display: inline-block;
  padding-top: 50px;
  text-align: center;
}

.portfolio-description-divide {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 10px;
  width: 25%;
}

.project {
  background-color: rgb(15, 182, 204, 0.7);
  border: solid black;
  border-radius: 10px;
  display: block;
  font-weight: bold;
  min-height: 200px;
  margin: 5% 15% 5%;
  /* position: relative; */
  text-align: center;
  width: 70%;
}

.project-image {
  border: solid black 2px;
  border-radius: 10px;
  margin-top: 1rem;
  text-align: center;
  width: 45%;
}

.project-image:hover {
  opacity: 0.8;
}

.project-play-button {
  position: absolute;
  left: 45%;
  top: 15%;
  /* display: inline-block; */
  /* margin-left: -100%;
    margin-top: 1.5%; */
  z-index: 1;
}

.project-title {
  padding-top: 0.5rem;
  text-align: center;
}

/* #beta-climbers {
    padding-right: 22%;
} */

.project-link {
  font-size: 0.8rem;
  text-decoration: none;
}

div.project-link a {
  color: black;
}

div.project-link a:hover {
  color: whitesmoke;
}

.project-skills > li {
  list-style: none;
  margin: 4px;
  text-align: center;
}

.project-skills ul {
  text-align: center;
  margin-left: 35%;
}

.project-skills li {
  display: inline;
  padding: 1%;
}

.contact-me {
  background-image: linear-gradient(#0fb6cc, #c78e44);
  border-top-left-radius: 55px;
  border-top-right-radius: 55px;
  border-top: solid 1px;
  border-left: solid 1px;
  border-right: solid 1px;
  margin-top: 70px;
}

/* BOTTOM CONTAINER */
.bottom-container {
  background-color: #c78e44;
  display: block;
  position: relative;
  bottom: 0;
}

.blog-section-title {
  display: inline-block;
  margin-top: 2rem;
  margin-left: 5rem;
  margin-right: 5rem;
}

.tech-blog-hr {
  border-color: black;
  border-style: solid;
  border-width: 1px;
  display: inline-block;
  margin-bottom: 10px;
  width: 25%;
}

.blog-image {
  border-radius: 10px;
  height: 12rem;
  max-width: 18rem;
  margin-top: 3rem;
  margin-left: auto;
  margin-right: auto;
}

.blog-image:hover {
  filter: drop-shadow(2rem 2rem 2rem #0fb6cc70) contrast(135%);
}

.blog-caption-title {
  margin-top: 1rem;
}

.blog-title-link {
  color: rgb(238, 227, 206);
  text-decoration: none;
}

.blog-title-link:hover {
  color: whitesmoke;
  text-decoration: none;
}

.carousel-caption {
  position: relative;
  left: auto;
  right: auto;
}

/* CONTACT INFO */
.contact-info-section-title {
  margin-top: 4rem;
}

.email-link {
  font-size: 1.5em;
  color: #0f67cc;
}

.contact-hr {
  margin-top: 15px;
}

.footer-link {
  display: inline-block;
  font-size: 1.5em;
  padding: 20px 20px;
  color: #0f67cc;
}
