/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

/* Reset and Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --color-night-sky: #1a1a2e;
  --color-deep-blue: #16213e;
  --color-purple: #533483;
  --color-aurora-green: #00d9ff;
  --color-aurora-pink: #ff6ec7;
  --color-gold: #f7dc6f;
  --color-warm-white: #f8f9fa;
  --color-light-gray: #e8eaf6;
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Poppins', sans-serif;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  color: var(--color-warm-white);
  background: var(--color-night-sky);
  line-height: 1.7;
  overflow-x: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
}

/* Language Switcher */
.language-switcher {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1000;
  display: flex;
  gap: 0.5rem;
  background: rgba(26, 26, 46, 0.9);
  backdrop-filter: blur(10px);
  padding: 0.5rem;
  border-radius: 50px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.lang-btn {
  background: transparent;
  border: 2px solid transparent;
  color: var(--color-warm-white);
  padding: 0.5rem 1rem;
  border-radius: 25px;
  cursor: pointer;
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  opacity: 0.7;
}

.lang-btn:hover {
  opacity: 1;
  background: rgba(255, 255, 255, 0.1);
  transform: scale(1.05);
}

.lang-btn.active {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-color: var(--color-gold);
  opacity: 1;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-heading);
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  text-align: center;
  margin-bottom: 3rem;
  color: var(--color-gold);
  position: relative;
  padding-bottom: 1rem;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, var(--color-aurora-green), var(--color-aurora-pink));
  border-radius: 2px;
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  background: linear-gradient(180deg, #0f0c29 0%, #302b63 50%, #24243e 100%);
  overflow: hidden;
  text-align: center;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(ellipse at top, rgba(0, 217, 255, 0.1), transparent),
              radial-gradient(ellipse at bottom, rgba(255, 110, 199, 0.1), transparent);
  pointer-events: none;
}

.stars {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    radial-gradient(2px 2px at 20px 30px, white, transparent),
    radial-gradient(2px 2px at 60px 70px, white, transparent),
    radial-gradient(1px 1px at 50px 50px, white, transparent),
    radial-gradient(1px 1px at 130px 80px, white, transparent),
    radial-gradient(2px 2px at 90px 10px, white, transparent);
  background-repeat: repeat;
  background-size: 200px 200px;
  animation: twinkle 5s infinite;
  opacity: 0.5;
}

@keyframes twinkle {
  0%, 100% { opacity: 0.5; }
  50% { opacity: 0.8; }
}

.hero-title {
  font-size: 3.5rem;
  color: var(--color-gold);
  margin-bottom: 1rem;
  animation: fadeInDown 1s ease-out;
  position: relative;
  z-index: 1;
}

.hero-subtitle {
  font-size: 1.5rem;
  color: var(--color-warm-white);
  margin-bottom: 2rem;
  animation: fadeInDown 1.2s ease-out;
  position: relative;
  z-index: 1;
}

.gift-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: 20px;
  padding: 2rem 3rem;
  margin: 2rem auto;
  max-width: 600px;
  animation: fadeInUp 1.5s ease-out;
  position: relative;
  z-index: 1;
}

.hero-text {
  font-size: 1.8rem;
  margin-bottom: 0.5rem;
  color: var(--color-warm-white);
}

.hero-text-small {
  font-size: 1.2rem;
  color: var(--color-light-gray);
  opacity: 0.8;
}

.scroll-indicator {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2rem;
  animation: bounce 2s infinite;
  color: var(--color-gold);
  z-index: 1;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(50px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateX(-50%) translateY(0);
  }
  40% {
    transform: translateX(-50%) translateY(-20px);
  }
  60% {
    transform: translateX(-50%) translateY(-10px);
  }
}

/* Gift Reveal Section */
.gift-reveal {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-night-sky) 100%);
}

/* Reveal Button */
.reveal-button-container {
  text-align: center;
  margin: 4rem auto;
  max-width: 600px;
}

.reveal-button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: 3px solid var(--color-gold);
  border-radius: 50px;
  padding: 2rem 4rem;
  font-size: 1.3rem;
  font-family: var(--font-body);
  color: var(--color-warm-white);
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 40px rgba(102, 126, 234, 0.4);
  position: relative;
  overflow: hidden;
  font-weight: 600;
}

.reveal-button::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.reveal-button:hover {
  transform: scale(1.05);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4), 0 0 60px rgba(102, 126, 234, 0.6);
  border-color: var(--color-aurora-green);
}

.reveal-button:hover::before {
  width: 300px;
  height: 300px;
}

.reveal-button:active {
  transform: scale(0.98);
}

.button-text {
  position: relative;
  z-index: 1;
}

.reveal-hint {
  margin-top: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-gold);
  font-style: italic;
  animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

.gift-card {
  max-width: 800px;
  margin: 0 auto;
}

/* Locked sections */
.locked {
  display: none !important;
  pointer-events: none;
}

.ticket-design {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  padding: 3rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 3px dashed var(--color-gold);
  position: relative;
  overflow: hidden;
}

.ticket-design::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
  animation: rotate 20s linear infinite;
}

@keyframes rotate {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.ticket-design h3 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 2rem;
  position: relative;
  z-index: 1;
}

.ticket-details {
  position: relative;
  z-index: 1;
}

.ticket-line {
  font-size: 1.2rem;
  margin: 1rem 0;
  padding-left: 1rem;
}

.ticket-fine-print {
  font-size: 0.9rem;
  text-align: center;
  margin-top: 1.5rem;
  opacity: 0.8;
  font-style: italic;
}

/* Planning Chronicles Section */
.planning-section {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-night-sky) 0%, var(--color-deep-blue) 100%);
}

.planning-timeline {
  max-width: 800px;
  margin: 3rem auto;
  position: relative;
}

.planning-timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(180deg, var(--color-aurora-green), var(--color-aurora-pink));
  transform: translateX(-50%);
}

.planning-quote {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2rem 0;
  position: relative;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.planning-quote:hover {
  transform: scale(1.02);
  border-color: var(--color-gold);
}

.planning-quote.highlight-quote {
  border-color: var(--color-aurora-pink);
  background: rgba(255, 110, 199, 0.1);
}

.quote-header {
  margin-bottom: 1rem;
}

.quote-date {
  font-size: 0.9rem;
  color: var(--color-gold);
  font-weight: 600;
  opacity: 0.8;
}

.quote-text {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--color-warm-white);
  line-height: 1.6;
  margin: 1rem 0;
}

.quote-image {
  margin-top: 1.5rem;
  border-radius: 10px;
  overflow: hidden;
}

.quote-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.planning-conclusion {
  text-align: center;
  margin-top: 3rem;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.planning-conclusion p {
  font-size: 1.3rem;
  color: var(--color-aurora-green);
  font-weight: 600;
}

/* Journey Section */
.journey {
  padding: 6rem 0;
  background: var(--color-night-sky);
}

.section-intro {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 3rem;
  color: var(--color-light-gray);
}

.route-map {
  max-width: 900px;
  margin: 0 auto;
}

.route-stop {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  margin: 2rem 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.route-stop:hover {
  transform: translateX(10px);
  box-shadow: 0 10px 30px rgba(0, 217, 255, 0.3);
  border-color: var(--color-aurora-green);
}

.stop-marker {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.route-stop h3 {
  color: var(--color-gold);
  font-size: 1.8rem;
  margin-bottom: 1rem;
}

.stop-image {
  margin: 1.5rem 0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.4);
}

.stop-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.route-stop:hover .stop-image img {
  transform: scale(1.05);
}

.route-stop p {
  margin: 0.8rem 0;
  line-height: 1.6;
}

.route-stop ul {
  margin: 1rem 0 1rem 2rem;
}

.route-stop li {
  margin: 0.5rem 0;
}

.route-line {
  width: 4px;
  height: 60px;
  background: linear-gradient(180deg, var(--color-aurora-green), var(--color-aurora-pink));
  margin: 0 auto;
  border-radius: 2px;
  position: relative;
}

.route-line.night-train {
  background: linear-gradient(180deg, #667eea, #764ba2);
  height: 80px;
}

.joke-text {
  color: var(--color-gold);
  font-style: italic;
  margin-top: 0.5rem;
}

.highlight-text {
  color: var(--color-aurora-green);
  font-weight: 600;
  margin-top: 1rem;
}

.memory-text {
  background: rgba(255, 110, 199, 0.1);
  border-left: 3px solid var(--color-aurora-pink);
  padding: 1rem;
  margin-top: 1rem;
  border-radius: 5px;
  font-style: italic;
}

.journey-note {
  margin-top: 3rem;
  text-align: center;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
}

.reference-text {
  color: var(--color-gold);
  font-style: italic;
  margin-top: 1rem;
}

/* Why Sweden Section */
.why-sweden {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-night-sky) 0%, var(--color-deep-blue) 100%);
}

.reason-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.reason-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 2rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.reason-card:hover {
  transform: translateY(-10px);
  border-color: var(--color-aurora-green);
  box-shadow: 0 15px 40px rgba(0, 217, 255, 0.2);
}

.reason-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  text-align: center;
}

.reason-card h3 {
  color: var(--color-gold);
  font-size: 1.5rem;
  margin-bottom: 1rem;
  text-align: center;
}

.reason-card p {
  margin: 0.8rem 0;
  line-height: 1.6;
}

/* Train Love Section */
.train-love {
  padding: 6rem 0;
  background: var(--color-deep-blue);
}

.train-content {
  max-width: 800px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 3rem;
}

.train-text {
  font-size: 1.2rem;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.train-reasons {
  margin: 2rem 0 2rem 2rem;
  list-style: none;
}

.train-reasons li {
  margin: 1rem 0;
  padding-left: 1rem;
  line-height: 1.8;
  font-size: 1.1rem;
}

.train-conclusion {
  font-size: 1.2rem;
  color: var(--color-gold);
  font-weight: 600;
  margin-top: 2rem;
  text-align: center;
}

/* Spain Memories Section */
.spain-memories {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-deep-blue) 0%, var(--color-night-sky) 100%);
}

.spain-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.spain-memory {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(10px);
  border: 2px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1rem;
  transition: transform 0.3s ease, border-color 0.3s ease;
  overflow: hidden;
}

.spain-memory:hover {
  transform: translateY(-5px);
  border-color: var(--color-gold);
  box-shadow: 0 15px 40px rgba(247, 220, 111, 0.2);
}

.spain-memory.highlight-memory {
  border-color: var(--color-aurora-pink);
  background: rgba(255, 110, 199, 0.08);
}

.spain-memory.highlight-memory:hover {
  border-color: var(--color-aurora-pink);
  box-shadow: 0 15px 40px rgba(255, 110, 199, 0.3);
}

.memory-image {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1rem;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.memory-image img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.spain-memory:hover .memory-image img {
  transform: scale(1.05);
}

.memory-caption {
  font-size: 1rem;
  line-height: 1.5;
  color: var(--color-light-gray);
  text-align: center;
  padding: 0.5rem;
}

.spain-conclusion {
  margin-top: 4rem;
  text-align: center;
  padding: 3rem 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 20px;
  border: 2px solid rgba(255, 255, 255, 0.1);
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.spain-conclusion-text {
  font-size: 2rem;
  font-family: var(--font-heading);
  color: var(--color-gold);
  margin-bottom: 1rem;
  font-weight: 700;
}

.spain-conclusion-subtext {
  font-size: 1.3rem;
  color: var(--color-aurora-green);
  font-style: italic;
}

/* Closing Section */
.closing {
  padding: 6rem 0;
  background: linear-gradient(180deg, var(--color-night-sky) 0%, #0f0c29 100%);
  text-align: center;
}

.closing-content {
  max-width: 800px;
  margin: 0 auto;
}

.closing-text {
  font-size: 1.3rem;
  margin: 1.5rem 0;
  line-height: 1.8;
}

.closing-love {
  font-size: 1.4rem;
  margin: 3rem 0;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.2);
  line-height: 2;
  color: var(--color-aurora-pink);
  font-style: italic;
}

.signature {
  font-size: 1.5rem;
  margin: 2rem 0;
  font-family: var(--font-heading);
  color: var(--color-gold);
}

.birthday-final {
  margin-top: 3rem;
  padding: 2rem;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 20px;
  font-size: 2rem;
  font-weight: 600;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  padding: 2rem;
  text-align: center;
  background: var(--color-night-sky);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-light-gray);
  font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-title {
    font-size: 2.5rem;
  }

  .hero-subtitle {
    font-size: 1.2rem;
  }

  .section-title {
    font-size: 2rem;
  }

  .gift-box {
    padding: 1.5rem;
  }

  .reveal-button {
    padding: 1.5rem 2.5rem;
    font-size: 1.1rem;
  }

  .reveal-hint {
    font-size: 1rem;
  }

  .planning-timeline::before {
    left: 20px;
  }

  .planning-quote {
    padding-left: 3rem;
  }

  .quote-text {
    font-size: 1.1rem;
  }

  .planning-conclusion p {
    font-size: 1.1rem;
  }

  .ticket-design {
    padding: 2rem;
  }

  .ticket-design h3 {
    font-size: 1.5rem;
  }

  .ticket-line {
    font-size: 1rem;
  }

  .reason-grid {
    grid-template-columns: 1fr;
  }

  .train-content {
    padding: 2rem;
  }

  .spain-gallery {
    grid-template-columns: 1fr;
  }

  .memory-image img {
    height: auto;
  }

  .spain-conclusion-text {
    font-size: 1.5rem;
  }

  .spain-conclusion-subtext {
    font-size: 1.1rem;
  }

  .stop-image img {
    height: auto;
  }

  .language-switcher {
    top: 10px;
    right: 10px;
    gap: 0.3rem;
    padding: 0.3rem;
  }

  .lang-btn {
    padding: 0.4rem 0.7rem;
    font-size: 0.8rem;
  }

  .container {
    padding: 0 1rem;
  }
}

@media (max-width: 480px) {
  .hero-title {
    font-size: 2rem;
  }

  .hero-text {
    font-size: 1.4rem;
  }

  .section-title {
    font-size: 1.7rem;
  }

  .reveal-button {
    padding: 1.2rem 2rem;
    font-size: 1rem;
  }

  .reveal-hint {
    font-size: 0.9rem;
  }

  .quote-text {
    font-size: 1rem;
  }

  .planning-conclusion p {
    font-size: 1rem;
  }

  .spain-conclusion-text {
    font-size: 1.3rem;
  }

  .spain-conclusion-subtext {
    font-size: 1rem;
  }

  .memory-caption {
    font-size: 0.9rem;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

.visually-hidden {
  border: 0;
  clip: rect(0, 0, 0, 0);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  white-space: nowrap;
  width: 1px;
  /* 1 */
}

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
  (-webkit-min-device-pixel-ratio: 1.25),
  (min-resolution: 1.25dppx),
  (min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


