@import url(https://fonts.bunny.net/css?family=figtree:500,700);

*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
@media (prefers-reduced-motion: no-preference) { html { interpolate-size: allow-keywords; } }
body { line-height: 1.5; -webkit-font-smoothing: antialiased; }
img, picture, video, canvas, svg { display: block; max-width: 100%; }
input, button, textarea, select { font: inherit; }
p, h1, h2, h3, h4, h5, h6 { overflow-wrap: break-word; }
p { text-wrap: pretty; }
h1, h2, h3, h4, h5, h6 { text-wrap: balance; }
#root, #__next { isolation: isolate; }

p { margin-bottom: 0.75rem;}
ul { padding-left: 20px; }

.hidemob {
  @media (max-width: 799px) {
    display: none;
  }
}

body {
  background-color: #004177;
  color: white;
  font-size: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-family: 'Figtree', sans-serif;
  font-weight: 500;
}

  .typing-container {
    position: absolute;font-size: 38px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto;
  }

  .logo {
    width: 200px;
    height: 200px;
    background-image: url('/img/yorkshire-boating-logo.png');
    background-size: cover;
    background-position: center;
  }

    #feature-text {
      margin-left: 8px;
    }

    .input-cursor {
      display: inline-block;
      width: 2px;
      height: 38px;
      background-color: white;
      margin-left: 8px;
      animation: blink .6s linear infinite alternate;
    }
  
  @keyframes blink {
    0% {opacity: 1;}
    40% {opacity: 1;}
    60% {opacity: 0;}
    100% {opacity: 0;}
  }

ul.primary-nav {
    display: flex;
    list-style-type: none;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    padding: 0 10px;
}

  ul.primary-nav a {
    text-decoration: none;
    font-size: 16px;
  }

a {
  color: #fecb3d;
}


.site-header {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a.btn-primary {
  color: white;
  text-decoration: underline;
  text-transform: uppercase;
  font-weight: 700;
  display: block;
  width: auto;
  padding-top: 4px;
}

.gallery-image {
    position: relative;
    overflow: hidden;
    width: 100%;
  }
  .slide {
    width: 100%;
    height: 100%;
    background: #004177;
    z-index: 1;
    position: absolute;
    top: 0;
    left: 0;
  }
  .gallery-image.draw .slide {
    transition: transform 0.6s cubic-bezier(0.87, 0, 0.13, 1);
    transform: translateX(-100%);
  }
  .gallery-image.draw .slide.slide-right {
    transform: translateX(100%);
  }

.container {
  padding: 2rem;
  display: flex;
  gap: 2rem;
  max-width: 1920px;
  width: 100%;

  @media (max-width: 800px) {
    flex-direction: column;
    padding: 1rem;
  }
}

  .container .row {
    display: flex;
    flex-direction: column;
    width: 100%;
    margin-bottom: 2rem;
    gap: 1rem;
    @media (min-width: 800px) {
      gap: 2rem !important;
      flex-direction: row;
    }
  }

  .container.column {
    flex-direction: column;
  }

  .container .row.centered {
    align-items: center;
    justify-content: center;
  }

  .container.column .row {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
    margin-bottom: 2rem;
    gap: 1rem;

    @media (max-width: 799px) {
      flex-direction: column;
      padding: 1rem;
    }
  }

    .container.column .row.reverse {
      @media (min-width: 800px) {
        flex-direction: row-reverse;
      }
    }

.gallery-image {
  @media (min-width: 800px) {
    width: calc(50% - 1rem);
  }
}

.content {
  @media (min-width: 800px) {
    width: calc(50% - 1rem);
  }
}

.page-title {
  text-align: center;
  max-width: 800px;

}

.item {
  display: flex;
  flex-direction: column;
  background-color: rgba(255, 255, 255, 0.1);
  padding: 1rem;
  gap: 1rem;
  text-align: center;
}

  .item .gallery-image, .item .content {
    width: 100%;
  }

footer {
  font-size: 14px;
  color: white;
  padding: 1rem;
}
  footer a {
    color: white;
    text-decoration: underline;
  }
  footer p {
    padding: 0px;
    margin: 0px;
  }

@media (min-width: 600px) {
  .show-mobile {
    display: none;
  }
}