/*! 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
   ========================================================================== */

/* Global Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-family: Futura, Helvetica, sans-serif;
}

body {
  margin: 0;
  padding: 0;
  background: #ffffff;
  color: #333;
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Dancing Script', cursive;
}

/* Navigation */
.navbar {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background: transparent;
  padding: 1rem 0;
  z-index: 100;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav-logo img {
  height: 40px;
  display: block;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 2rem;
}

.nav-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.nav-link:hover {
  text-decoration: underline wavy;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.nav-link.active {
  text-decoration: underline wavy;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.language-toggle {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.lang-link {
  color: white;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.lang-link:hover {
  text-decoration: underline wavy;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.lang-link.active {
  color: rgba(255, 255, 255, 0.7);
}

.lang-separator {
  color: rgba(255, 255, 255, 0.5);
}

/* Hero Section */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #6b8a9e;
}

.hero::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background-image: url('../img/header-lowq.jpeg');
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 30s ease-in-out infinite;
  z-index: 0;
  transition: opacity 0.5s ease-in-out;
}

.hero.hero-hd-loaded::before {
  background-image: url('../img/header-hd.jpeg');
}

.hero::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

@keyframes heroZoom {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.hero-content {
  max-width: 800px;
  color: white;
  position: relative;
  z-index: 2;
  margin-top: 10vh;
}

.hero-title {
  font-size: 4.5rem;
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero-subtitle {
  font-family: 'Courier Prime', monospace;
  font-size: 1.4rem;
  margin-bottom: 4rem;
  font-weight: 400;
  opacity: 0.95;
  line-height: 1.6;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
}

.cta-button {
  display: inline-block;
  padding: 1rem 2.5rem;
  background: transparent;
  color: white;
  text-decoration: none;
  border-radius: 50px;
  border: 2px solid white;
  font-family: Futura, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.1rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.cta-button:hover {
  background: white;
  color: #6fae88;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.cta-button-dark {
  background: transparent;
  color: #6fae88;
  border: 2px solid #6fae88;
}

.cta-button-dark:hover {
  background: #6fae88;
  color: white;
}

/* Hero About Section */
.hero-about {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  background-color: #7a8e95;
}

.hero-about::before {
  content: '';
  position: absolute;
  top: -5%;
  left: -5%;
  right: -5%;
  bottom: -5%;
  background-image: url('../img/header-about.jpeg');
  background-size: cover;
  background-position: center 30%;
  animation: heroZoom 30s ease-in-out infinite;
  z-index: 0;
}

.hero-about::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.1) 20%, rgba(0, 0, 0, 0.8) 100%);
  z-index: 1;
}

.hero-about-content {
  max-width: 800px;
  color: white;
  position: relative;
  z-index: 2;
}

/* About Section */
.about {
  padding: 5rem 2rem;
  background: #ffffff;
}

/* About Page */
.about-page {
  padding: 3rem 2rem 5rem;
  background: #ffffff;
  min-height: 100vh;
}

.back-link {
  display: inline-block;
  margin-bottom: 2rem;
  color: #6fae88;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.back-link:hover {
  transform: translateX(-5px);
  color: #5a9371;
}

.page-title {
  text-align: center;
  font-size: 3.8rem;
  margin-bottom: 3rem;
  color: white;
  font-weight: 700;
}

.about-page h2 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #6fae88;
}

.about-grid {
  display: grid;
  grid-template-columns: 350px 1fr;
  gap: 3rem;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}

.about-image {
  position: sticky;
  top: 2rem;
}

.about-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
  object-fit: cover;
  aspect-ratio: 1;
}

.about-story h3 {
  font-size: 2.2rem;
  margin-bottom: 1.5rem;
  color: #6fae88;
}

.about-story p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  color: #555;
  text-align: left;
}

.about-contact-box {
  margin-top: 2.5rem;
  padding: 2rem;
  background: linear-gradient(135deg, #f0faf4 0%, #fff5ed 100%);
  border-radius: 12px;
  border-left: 4px solid #6fae88;
}

.about-contact-box h4 {
  font-size: 1.9rem;
  margin-bottom: 1rem;
  color: #6fae88;
}

.about-contact-box p {
  margin-bottom: 0.75rem;
  font-size: 1.05rem;
  color: #555;
}

.contact-name {
  font-size: 1.2rem;
}

.whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  background: transparent;
  color: #25D366;
  padding: 0.875rem 1.75rem;
  border-radius: 50px;
  border: 2px solid #25D366;
  text-decoration: none;
  font-family: Futura, Helvetica, sans-serif;
  font-weight: 400;
  font-size: 1.05rem;
  transition: all 0.3s ease;
  margin: 0.75rem 0;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
}

.whatsapp-button:hover {
  background: #25D366;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.whatsapp-button:hover svg path {
  fill: white;
}

.whatsapp-button svg {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
}

.contact-phone a {
  color: #6fae88;
  text-decoration: none;
  font-weight: 600;
}

.contact-phone a:hover {
  text-decoration: underline;
}

.contact-note {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 2px solid rgba(111, 174, 136, 0.2);
  font-style: italic;
  color: #6fae88;
  font-weight: 600;
}

/* Tours Section */
.tours {
  padding: 5rem 2rem;
  background: #f8f9fa;
}

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

.section-title {
  text-align: center;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
  color: #6fae88;
  font-weight: 700;
}

.experiences-note {
  text-align: center;
  font-size: 1.15rem;
  margin-bottom: 3rem;
  color: #333;
  font-weight: 400;
  font-style: italic;
}

.tours-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2.5rem;
}

.tour-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border-left: 4px solid #6fae88;
}

.tour-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.2);
}

.tour-card-family {
  border-left-color: #ec6e14;
}

.tour-card-special {
  border-left-color: #ec6e14;
}

.tour-image {
  width: 100%;
  height: 250px;
  overflow: hidden;
  background: #e9ecef;
  display: flex;
  align-items: center;
  justify-content: center;
}

.tour-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.tour-card:hover .tour-image img {
  transform: scale(1.05);
}

.tour-title {
  font-family: Futura, Helvetica, sans-serif;
  font-size: 1.5rem;
  text-transform: uppercase;
  font-weight: 400;
  margin: 1.5rem 1.5rem 1rem;
  color: #6fae88;
}

.tour-card-family .tour-title,
.tour-card-special .tour-title {
  color: #ec6e14;
}

.tour-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 1.5rem 1rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 6px;
}

.tour-duration {
  font-size: 0.95rem;
  color: #666;
  font-weight: 500;
}

.tour-price {
  font-size: 1.25rem;
  font-weight: 700;
  color: #6fae88;
}

.tour-card-family .tour-price,
.tour-card-special .tour-price {
  color: #ec6e14;
}

.currency {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', sans-serif;
}

.tour-description {
  font-size: 1rem;
  line-height: 1.6;
  color: #666;
  margin: 0 1.5rem 1rem;
}

.tour-perfect-for,
.tour-note,
.tour-availability,
.tour-special {
  font-size: 0.9rem;
  margin: 0 1.5rem 1rem;
  padding: 0.5rem;
  background: #f0f4ff;
  border-radius: 4px;
  color: #555;
}

.tour-special {
  background: #fff5ed;
  color: #ec6e14;
  font-weight: 400;
}

.tour-special-green {
  background: #e2eee7;
  color: #6fae88;
  font-weight: 400;
}

/* Business Section */
.business {
  display: none; /* Hidden for now */
  padding: 5rem 2rem;
  background: linear-gradient(135deg, #6fae88 0%, #ec6e14 100%);
  color: white;
  text-align: center;
}

.business .section-title {
  color: white;
}

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

.business-content p {
  font-size: 1.125rem;
  line-height: 1.8;
  margin-bottom: 1.5rem;
  opacity: 0.95;
}

.business-content .cta-button {
  margin-top: 1rem;
}

/* Contact Section */
.contact {
  padding: 6rem 2rem;
  background-image: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url('../img/bg_pattern.png');
  background-size: contain;
  color: #555;
}

.contact .container {
  max-width: 1000px;
}

.contact .section-title {
  text-align: center;
  margin-bottom: 3rem;
  color: #6fae88;
  font-size: 2.5rem;
}

.contact-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 900px;
  margin: 0 auto;
}

.contact-image img {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
  object-fit: cover;
  aspect-ratio: 1;
}

.contact-info {
  text-align: left;
}

/* Center contact-info when it's the only child (about pages) */
.contact-grid:has(.contact-info:only-child) {
  grid-template-columns: 1fr;
  justify-items: center;
}

.contact-grid .contact-info:only-child {
  text-align: center;
  max-width: 600px;
}

.contact-grid .contact-info:only-child .contact-name,
.contact-grid .contact-info:only-child .contact-languages,
.contact-grid .contact-info:only-child .contact-phone {
  justify-content: center;
}

.contact-grid .contact-info:only-child .contact-buttons {
  justify-content: center;
}

.contact .about-contact-box {
  margin: 0;
  padding: 0;
  background: transparent;
  box-shadow: none;
  border: none;
}

.contact .about-contact-box h4 {
  font-size: 1.9rem;
  text-align: center;
  margin-bottom: 3rem;
  color: #6fae88;
  opacity: 0.95;
  font-weight: 400;
}

.contact .contact-name {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: #555;
  font-weight: 400;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact .contact-name img {
  width: 24px;
  height: 24px;
}

.contact .contact-languages {
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
  color: #555;
  opacity: 0.95;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact .contact-languages img {
  width: 24px;
  height: 24px;
}

.contact .contact-phone {
  font-size: 1.2rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.contact .contact-phone img {
  width: 24px;
  height: 24px;
}

.contact .contact-phone a {
  color: #555;
  text-decoration: none;
  font-weight: 400;
}

.contact .contact-phone a:hover {
  text-decoration: underline;
}

.contact-buttons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.contact .whatsapp-button {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #25D366;
  font-family: Futura, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 400;
  border: 2px solid #25D366;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  margin: 0;
}

.contact .whatsapp-button:hover {
  background: #25D366;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.contact .whatsapp-button:hover svg path {
  fill: white;
}

.contact .whatsapp-button svg {
  width: 20px;
  height: 20px;
}

.contact .whatsapp-button svg path {
  fill: #25D366;
}

.about-button {
  display: inline-flex;
  align-items: center;
  background: transparent;
  color: #ec6e14;
  font-family: Futura, Helvetica, sans-serif;
  font-size: 1rem;
  padding: 0.875rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: 400;
  border: 2px solid #ec6e14;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.about-button:hover {
  background: #ec6e14;
  color: white;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.25);
  transform: translateY(-2px);
}

.contact .contact-note {
  font-size: 1rem;
  margin-top: 1rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 8px;
  color: white;
  font-style: italic;
}

/* Footer */
.footer {
  background: #6fae88;
  color: white;
  text-align: center;
  padding: 2rem;
}

.footer p {
  margin: 0;
  font-size: 0.95rem;
  opacity: 0.9;
}

/* WhatsApp Floating Button */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  right: 30px;
  width: 60px;
  height: 60px;
  background: #25D366;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(37, 211, 102, 0.3);
  transition: all 0.3s ease;
  z-index: 1000;
  text-decoration: none;
}

.whatsapp-float:hover {
  background: #20BA5A;
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(37, 211, 102, 0.4);
}

.whatsapp-float svg {
  width: 32px;
  height: 32px;
}

/* Responsive Design */
@media only screen and (max-width: 768px) {
  .navbar {
    padding: 0.75rem 0;
  }

  .nav-container {
    padding: 0 1rem;
  }

  .nav-logo img {
    height: 35px;
  }

  .nav-right {
    gap: 1rem;
  }

  .nav-link {
    font-size: 0.9rem;
  }

  .lang-link {
    font-size: 0.85rem;
  }

  .hero-title {
    font-size: 3.2rem;
  }

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

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

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

  .about-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .about-image {
    position: static;
  }

  .about-image img {
    max-width: 300px;
    margin: 0 auto;
    display: block;
  }

  .about-story p {
    font-size: 1rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-image img {
    max-width: 250px;
    margin: 0 auto;
    display: block;
  }

  .contact-info {
    text-align: center;
  }

  .contact-info .contact-name,
  .contact-info .contact-languages,
  .contact-info .contact-phone {
    justify-content: center;
  }

  .contact-info .contact-name img,
  .contact-info .contact-languages img,
  .contact-info .contact-phone img {
    flex-shrink: 0;
  }

  .contact-buttons {
    justify-content: center;
  }

  .about {
    padding: 3.5rem 2rem;
  }

  .tours {
    padding: 3.5rem 2rem;
  }

  .contact {
    padding: 3.5rem 2rem;
  }

  .contact .section-title {
    font-size: 2.6rem;
  }

  .contact .contact-name {
    font-size: 1.5rem;
  }

  .contact .whatsapp-button {
    font-size: 1rem;
  }
}

@media only screen and (max-width: 480px) {
  .nav-logo img {
    height: 30px;
  }

  .nav-right {
    gap: 0.75rem;
  }

  .nav-link {
    font-size: 0.85rem;
  }

  .lang-link {
    font-size: 0.8rem;
  }

  .hero-title {
    font-size: 2.6rem;
  }

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

  .cta-button {
    padding: 0.875rem 2rem;
    font-size: 1rem;
  }

  .tours-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .tour-card {
    border-left-width: 3px;
  }

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

  .whatsapp-float {
    bottom: 20px;
    right: 20px;
    width: 55px;
    height: 55px;
  }

  .whatsapp-float svg {
    width: 28px;
    height: 28px;
  }

  .about {
    padding: 2.5rem 2rem;
  }

  .tours {
    padding: 2.5rem 2rem;
  }

  .contact {
    padding: 2.5rem 2rem;
  }

  .contact-grid {
    gap: 1.5rem;
  }

  .contact-image img {
    max-width: 200px;
  }

  .contact-buttons {
    flex-direction: column;
  }

  .contact-buttons a {
    width: 100%;
    justify-content: center;
  }

  .contact .section-title {
    font-size: 2.3rem;
  }

  .contact .about-contact-box h4 {
    font-size: 1.6rem;
  }

  .contact .contact-name {
    font-size: 1.3rem;
  }

  .contact .contact-phone {
    font-size: 1.1rem;
  }

  .contact .whatsapp-button {
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
  }

  .about-button {
    font-size: 0.95rem;
    padding: 0.875rem 1.5rem;
  }

  .contact .contact-note {
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   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;
  }
}

