/* =========================================
   FRAUFIGG
   VERSION 2
   Old internet / MSN Spaces inspired
   ========================================= */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  padding: 0;
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  color: #222;
  background:
    radial-gradient(
      circle at 10% 10%,
      #fff4a8 0,
      transparent 28%
    ),
    radial-gradient(
      circle at 90% 90%,
      #ffb6e4 0,
      transparent 32%
    ),
    #bdefff;
}
/* =========================================
   MAIN PAGE
   ========================================= */
.page {
  width: 94%;
max-width: 1050px;
  margin: 25px auto;
  padding: 20px;
  background:
    rgba(255,255,255,0.9);
  border: 4px solid #222;
  border-radius: 18px;
  box-shadow:
    8px 8px 0 #222;
}
/* =========================================
   HEADER
   ========================================= */
.header {
  position: relative;
  padding: 35px 20px 28px;
  text-align: center;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      #ff7ac8,
      #ffc857,
      #75e6da,
      #8fa7ff
    );
  border: 3px solid #222;
  border-radius: 15px;
}
.header h1 {
  margin: 0;
  font-family: Georgia, 
  "Times New Roman", serif;
 font-size: 6rem;
  letter-spacing: -5px;
  text-shadow:
    3px 3px 0 white,
    6px 6px 0 #222;
  transform:
    rotate(-2deg);
}
.tagline {
  display: inline-block;
  margin: 16px 0 8px;
  padding: 7px 15px;
  background: white;
  border: 2px solid #222;
  border-radius: 20px;
  font-weight: bold;
}
.status {
  font-size: .85rem;
  font-weight: bold;
}
.sparkle {
  position: absolute;
  font-size: 2.5rem;
}
.sparkle-one {
  top: 12px;
  left: 25px;
}
.sparkle-two {
  right: 30px;
  bottom: 20px;
}
/* =========================================
   WELCOME
   ========================================= */
.welcome {
  margin-top: 25px;
  padding: 25px;
  text-align: center;
  background: #fffbd6;
  border:
    3px dashed #222;
  border-radius: 12px;
}
.welcome h2 {
  margin-top: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 2rem;
}
.welcome p {
  max-width: 700px;
  margin:
    10px auto;
  line-height: 1.6;
}
.brain {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 15px;
  color: #7cff00;
  background: #222;
  border-radius: 5px;
  font-family:
    "Courier New",
    monospace;
  box-shadow:
    4px 4px 0 #ff4f9a;
}
/* =========================================
   UNDERGROUND SECTION
   ========================================= */
.underground {
  margin-top: 25px;
  padding: 25px;
  background: #f5f1ff;
  border: 3px solid #222;
  border-radius: 12px;
}
.map-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}
.map-heading h2 {
  margin: 0;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-size: 2rem;
}
.map-heading p {
  margin: 4px 0 0;
  color: #666;
}
.map-icon {
  font-size: 3rem;
}
/* =========================================
   MAP
   ========================================= */
.tube-map {
  position: relative;
  min-height: 720px;
  overflow: hidden;
  border: 3px solid #222;
  border-radius: 12px;
  background-color: #fafafa;
  background-image:
    radial-gradient(
      #d8d8d8 1px,
      transparent 1px
    );
  background-size: 16px 16px;
}
/* =========================================
   TUBE LINES
   ========================================= */
.tube-line {
  position: absolute;
  height: 13px;
  border-radius: 20px;
  transform-origin: left center;
}
/* PINK */
.pink-line {
  width: 90%;
  left: 5%;
  top: 18%;
  background: #f04b9b;
  transform:
    rotate(8deg);
}
/* BLUE */
.blue-line {
  width: 90%;
  left: 6%;
  top: 51%;
  background: #3277d9;
  transform:
    rotate(-7deg);
}
/* GREEN */
.green-line {
  width: 85%;
  left: 8%;
  top: 76%;
  background: #24a36b;
  transform:
    rotate(5deg);
}
/* YELLOW */
.yellow-line {
  width: 72%;
  left: 15%;
  top: 7%;
  background: #f0c62e;
  transform:
    rotate(77deg);
}
/* =========================================
   STATIONS
   ========================================= */
.station {
  position: absolute;
  display: flex;
  flex-direction: column;
  min-width: 135px;
  padding: 8px 12px;
  color: #222;
  text-decoration: none;
  background: white;
  border: 3px solid #222;
  border-radius: 8px;
  box-shadow:
    4px 4px 0 rgba(0,0,0,.25);
  transition:
    transform .15s ease,
    box-shadow .15s ease;
  z-index: 5;
}
.station:hover {
  transform:
    translate(-3px,-5px)
    rotate(-2deg);
  background: #fff36b;
  box-shadow:
    7px 7px 0 #222;
}
.station-dot {
  position: absolute;
  width: 22px;
  height: 22px;
  left: -15px;
  top: 50%;
  transform:
    translateY(-50%);
  background: white;
  border: 6px solid #222;
  border-radius: 50%;
}
.station-name {
  font-weight: 900;
  font-size: .9rem;
}
.station-sub {
  margin-top: 3px;
  font-size: .68rem;
  color: #666;
}
/* =========================================
   STATION POSITIONS
   ========================================= */
.home {
  top: 10%;
  left: 7%;
}
.about {
  top: 25%;
  left: 28%;
}
.music {
  top: 9%;
  right: 7%;
}
.memories {
  top: 38%;
  left: 7%;
}
.random {
  top: 50%;
  right: 7%;
}
.interests {
  bottom: 11%;
  left: 8%;
}
.brainstation {
  top: 68%;
  left: 42%;
}
.archive {
  bottom: 8%;
  right: 8%;
}
.construction {
  top: 38%;
  right: 32%;
}
/* =========================================
   INTERCHANGE STATIONS
   ========================================= */
.interchange {
  border-width: 4px;
}
.interchange .station-dot {
  width: 28px;
  height: 28px;
  left: -18px;
  border-width: 7px;
}
/* =========================================
   MAP NOTES
   ========================================= */
.map-note {
  position: absolute;
  padding: 5px 9px;
  font-family:
    "Courier New",
    monospace;
  font-size: .7rem;
  background: #fff;
  border:
    2px dashed #555;
  transform: rotate(-3deg);
}
.note-one {
  top: 2%;
  right: 25%;
}
.note-two {
  top: 62%;
  left: 17%;
  transform:
    rotate(4deg);
}
.note-three {
  bottom: 2%;
  right: 28%;
  transform:
    rotate(-4deg);
}
/* =========================================
   LEGEND
   ========================================= */
.legend {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 15px;
  padding: 12px;
  font-size: .8rem;
  background: white;
  border: 2px solid #222;
  border-radius: 8px;
}
.legend div {
  display: flex;
  align-items: center;
  gap: 7px;
}
.legend-line {
  display: inline-block;
  width: 30px;
  height: 8px;
  border-radius: 10px;
}
.legend-line.pink {
  background: #f04b9b;
}
.legend-line.blue {
  background: #3277d9;
}
.legend-line.green {
  background: #24a36b;
}
.legend-line.yellow {
  background: #f0c62e;
}
/* =========================================
   INFORMATION BOXES
   ========================================= */
.boxes {
  display: grid;
  grid-template-columns:
    repeat(3, 1fr);
  gap: 15px;
  margin-top: 25px;
}
.box {
  padding: 18px;
  background: white;
  border: 3px solid #222;
  border-radius: 10px;
  box-shadow:
    5px 5px 0 #222;
}
.box h3 {
  margin-top: 0;
}
.box p {
  font-size: .9rem;
}
/* =========================================
   FOOTER
   ========================================= */
footer {
  margin-top: 30px;
  padding: 20px;
  text-align: center;
  border-top:
    3px dotted #222;
  font-family:
    Georgia,
    "Times New Roman",
    serif;
  font-weight: bold;
}
.tiny {
  font-family:
    Arial,
    Helvetica,
    sans-serif;
  font-size: .7rem;
  font-weight: normal;
  opacity: .7;
}
/* =========================================
   MOBILE
   ========================================= */
@media (max-width: 650px) {
  .page {
    width: 94%;
    margin: 12px auto;
    padding: 10px;
    box-shadow:
      5px 5px 0 #222;
  }
  .header {
    padding:
      28px 10px;
  }
  .header h1 {
    font-size: 3.5rem;
  }
  .map-heading {
    align-items: flex-start;
  }
  .map-heading h2 {
    font-size: 1.5rem;
  }
  .tube-map {
    min-height: 780px;
  }
  .station {
    min-width: 105px;
    padding: 7px 9px;
  }
  .home {
    top: 8%;
    left: 6%;
  }
  .about {
    top: 22%;
    left: 37%;
  }
  .music {
    top: 9%;
    right: 3%;
  }
  .memories {
    top: 39%;
    left: 4%;
  }
  .random {
    top: 51%;
    right: 3%;
  }
  .interests {
    bottom: 13%;
    left: 5%;
  }
  .brainstation {
    top: 68%;
    left: 37%;
  }
  .archive {
    bottom: 7%;
    right: 3%;
  }
  .construction {
    top: 37%;
    right: 23%;
  }
  .note-three {
    display: none;
  }
  .boxes {
    grid-template-columns: 1fr;
  }
  
}/* Keep Tube stations clickable above the map lines */
.station {
  z-index: 10;
  cursor: pointer;
}

.tube-line {
  z-index: 1;
  pointer-events: none;
}

.map-note {
  pointer-events: none;
}