html {
    box-sizing: border-box;
  }
  
  *,
  *:before,
  *:after {
    box-sizing: inherit;
  }
  
  html {
    font-family: sans-serif;
    min-height: 100vh;
  }
  
  body {
    margin: 0;
    min-height: 100vh;
    background-image: url(images/rainbow-trout.webp),
      url(images/spinner-black.webp),
      linear-gradient(to bottom, #5e8b73, #7daa92, #a2c0ac, #cadddb, #e2f1f0);
    background-position: center center, left bottom, 0 0;
    background-repeat: no-repeat, repeat-x, no-repeat;
    background-attachment: fixed, scroll, fixed;
    background-size: contain, auto, cover;
    padding-top: 2px;
    padding-bottom: 2px;
  }
  
  .wrapper {
    display: grid;
    max-width: 768px;
    border-radius: 20px;
    background: #384d63;
    margin-top: 20px;
    margin-bottom: 20px;
  }
  
  header {
    display: flex;
    border-radius: 10px;
    margin: 20px;
    background: url(images/fly-fishing.webp) no-repeat center / cover;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
  }
  
  header h1 {
    flex: 1 1 auto;
    margin: 0;
    color: #fff;
    line-height: 2;
    text-align: center;
    letter-spacing: 4px;
    border-radius: 10px;
    background: linear-gradient(to bottom, #7db9e8 0%, #1a3c40 100%);
    font-size: clamp(1rem, 5vw, 2.25rem);
  }
  
  /* Navigation Section */
  /* START - .nav-main */
  .navbarbtn {
    margin: 10px;
    text-decoration: none;
    border: 2px solid rgb(0, 0, 0);
    border-radius: 10px;
    max-width: 150px;
    cursor: pointer;
    background-color: #a8ac89;
    padding: 8px 16px;
    transition: all 0.3s ease;
  }

.navbarbtn:hover {
    background-color: #e0e0e0;
    transform: scale(1.05);
}

  .nav-main {
    position: sticky;
    text-align: right;
    margin-right: 20px;
    top: 0;
    right: 20px;
    line-height: 0;
    z-index: 999;
}
  
  .nav-main-menu-toggle {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 5px;
    cursor: pointer;
    padding: 0;
    width: 40px;
    height: 40px;
}
  
.nav-main-menu-toggle svg {
    width: 100%;
    height: 100%;
    fill: #fff;
    transition: transform 0.3s ease;
}

.nav-main-menu-toggle[aria-expanded="true"] svg {
    transform: rotate(90deg);
  }
  
  /* END - .nav-main-menu-toggle */
  
  #nav-main-menu {
    z-index: 1000;
    transform: translateX(100%);
    transition: all .5s ease-in-out;
    position: absolute;
    width: 100vw;
    height: 40vh;
    background: linear-gradient(45deg, #4c669f, #3b5998, #192f6a);
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
    visibility: hidden;
    flex-direction: column;
    clip-path: inset(0px 0px -10px 0px);
  }
  
  #nav-main-menu:not([hidden]) {
    visibility: visible;
    transform: translateY(0);
    transition: all 1.8s ease-in-out;
  }
  
  #nav-main-menu li a {
    color: inherit;
    display: flex;
    justify-content: center;
    line-height: 3;
    padding: 0 2em;
    transition: all 0.25s ease-in-out;
  }
  
  #nav-main-menu li a:hover,
  #nav-main-menu li a:focus {
    background: linear-gradient(45deg, #55ad93, #3b9879, #1a6963);
    color: #fff;
  }
  
  /* END - .nav-main */
  
  /*Content Section */
  .content-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  .content-wrapper img {
    width: 100%;
    display: block;
    margin-bottom: 20px;
  }
  
  .image-wrapper .img2 {
    display: none;
  }
  
  .image-wrapper img {
    max-width: 100%;
    display: block;
    margin-bottom: 25px;
    padding: 0 10px 0 10px;
    border-radius: 20px;
  }
  
  section {
    margin: 20px;
    border-radius: 10px;
    padding: 0 10px 2em;
    box-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
    background: linear-gradient(to bottom, #7db9e8 0%, #1a3c40 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
  }
  
  h2 {
    margin: 15px 0 10px;
    text-align: center;
    color: #fff;
  }
  
  p {
    margin: 0 0 30px 0;
    line-height: 1.8;
    max-width: 80ch;
    color: #fff;
  }
  
  img {
    width: 100%;
  }
  
  /* Button Brook Trout */
  .btn {
    z-index: 1;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin: 1rem 0;
    padding: 1rem 0;
  }
  
  .btn-brook-link {
    --color: #9ed3b6;
    --color2: rgb(0, 0, 0);
    padding: 0.8em 1.75em;
    margin: 10px;
    background-color: transparent;
    border-radius: 6px;
    border: 0.3px solid var(--color);
    transition: 0.5s;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    font-weight: 300;
    font-family: "Segoe UI", sans-serif;
    text-transform: uppercase;
    color: var(--color);
  }
  
  .btn-brook-link-small {
    font-size: 0.8em;
  }
  
  .btn-brook-link-default {
    font-size: 1em;
  }
  
  .btn-brook-link-large {
    font-size: 1.5em;
  }
  
  .btn-brook-link::after,
  .btn-brook-link::before {
    content: "";
    display: block;
    height: 100%;
    width: 100%;
    transform: skew(90deg) translate(-50%, -50%);
    position: absolute;
    inset: 50%;
    left: 25%;
    z-index: -1;
    transition: 0.5s ease-out;
    background-color: var(--color);
  }
  
  .btn-brook-link::before {
    top: -50%;
    left: -25%;
    transform: skew(90deg) rotate(180deg) translate(-50%, -50%);
  }
  
  .btn-brook-link:hover::before {
    transform: skew(45deg) rotate(180deg) translate(-50%, -50%);
  }
  
  .btn-brook-link:hover::after {
    transform: skew(45deg) translate(-50%, -50%);
  }
  
  .btn-brook-link:hover {
    color: var(--color2);
  }
  
  .btn-brook-link:active {
    filter: brightness(0.7);
    transform: scale(0.98);
  }
  
  /* Button Rainbow Trout */
  .btn-rainbow-link {
    position: relative;
    font-size: 17px;
    text-transform: uppercase;
    text-decoration: none;
    margin: 15px;
    padding: 1em 2.5em;
    display: inline-block;
    border-radius: 6em;
    transition: all 0.2s;
    border: none;
    font-family: inherit;
    font-weight: 500;
    color: black;
    background-color: white;
  }
  
  .btn-rainbow-link-small {
    font-size: 0.8em;
  }
  
  .btn-rainbow-link-success {
    background-color: #02c05b;
  }
  
  .btn-rainbow-link-warning {
    background-color: #b61818;
    color: #ffffff;
  }
  
  .btn-rainbow-link-secondary {
    background-color: #cadddb;
  }
  
  .btn-rainbow-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  }
  
  .btn-rainbow-link:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
  }
  
  .btn-rainbow-link::after {
    content: "";
    display: inline-block;
    height: 100%;
    width: 100%;
    border-radius: 100px;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.4s;
  }
  
  .btn-rainbow-link::after {
    background-color: #fff;
  }
  
  .btn-rainbow-link-success::after {
    background-color: #02c05b;
  }
  
  .btn-rainbow-link-warning::after {
    background-color: #b61818;
  }
  
  .btn-rainbow-link:hover::after {
    transform: scaleX(1.4) scaleY(1.6);
    opacity: 0;
  }
  
  /* Button Brown Trout */
  .btn-brown-link {
    letter-spacing: 2px;
    text-transform: uppercase;
    display: inline-block;
    text-align: center;
    font-weight: bold;
    margin: 10px;
    padding: 0.7em 2em;
    border: 3px solid white;
    border-radius: 2px;
    position: relative;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.1);
    color: white;
    text-decoration: none;
    transition: 0.3s ease all;
    z-index: 1;
  }
  
  .btn-brown-link-small {
    font-size: 0.8em;
  }
  
  .btn-brown-link-large {
    font-size: 1.5em;
  }
  
  .btn-brown-link-success {
    border: 3px solid #02c05b;
  }
  
  .btn-brown-link:before {
    transition: 0.5s all ease;
    position: absolute;
    top: 0;
    left: 50%;
    right: 50%;
    bottom: 0;
    opacity: 0;
    content: "";
    background-color: black;
    z-index: -1;
  }
  
  .btn-brown-link-small .btn-brown-link:hover,
  .btn-brown-link:focus {
    color: white;
  }
  
  .btn-brown-link-success:hover,
  .btn-brown-link-success:focus {
    color: #02c05b;
  }
  
  .btn-brown-link:hover:before,
  .btn-brown-link:focus:before {
    transition: 0.5s all ease;
    left: 0;
    right: 0;
    opacity: 1;
  }
  
  .btn-brown-link:active {
    transform: scale(0.9);
  }
  
  /* Button Golden Trout */
  .btn-golden-link {
    margin: 10px;
    padding: 1em 2em;
    border: none;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 3px;
    background: #dcfffc;
    text-transform: uppercase;
    color: #088178;
    transition: all 1000ms;
    font-size: 15px;
    position: relative;
    overflow: hidden;
    outline: 2px solid #088178;
  }
  
  .btn-golden-link:hover {
    color: #dcfffc;
    transform: scale(1);
    outline: 2px solid #088178;
    box-shadow: 4px 5px 17px -4px #088178;
  }
  
  .btn-golden-link::before {
    content: "";
    position: absolute;
    left: -50px;
    top: 0;
    width: 0;
    height: 100%;
    background-color: #088178;
    transform: skewX(30deg);
    z-index: -1;
    transition: width 1000ms;
  }
  
  .btn-golden-link-small {
    font-size: 0.8em;
  }
  
  .btn-golden-link-large {
    font-size: 1.5em;
  }
  
  .btn-golden-link-warning {
    background-color: #b61818;
    color: #dcfffc;
    outline: 2px solid #801717;
  }
  
  .btn-golden-link-warning:hover {
    color: #dcfffc;
    outline: 2px solid #b61818;
    box-shadow: 4px 5px 17px -4px #b61818;
  }
  
  .btn-golden-link-warning::before {
    background-color: #801717;
  }
  
  .btn-golden-link:hover::before {
    width: 250%;
  }
  
  .btn-golden-link:active {
    transform: scale(0.9);
  }
  
  /* Footer Section */
  footer {
    display: flex;
    gap: 20px;
    margin: 0 20px 20px;
  }
  
  footer a {
    color: white;
    text-decoration: none;
    line-height: 2;
  }
  
  footer a:first-child {
    margin-right: auto;
  }
  
  footer a[href^="javascript"] {
    position: relative;
    color: #000;
    background-color: #fff;
    border-radius: 3px;
    padding: 0 10px;
    box-shadow: 0 2px 2px #000;
  }
  
  footer a[href^="javascript"]:active {
    top: 2px;
    box-shadow: none;
  }
  
  /* Media Queries */
  @media (min-width: 48rem) {
    .wrapper {
      margin: 20px auto;
    }
  
    .content-wrapper {
      display: flex;
      align-items: flex-start;
    }
  
    .content-wrapper p {
      flex: 2;
    }
  
    .image-wrapper {
      display: grid;
      width: 100%;
      grid-template-columns: 1fr;
      grid-template-rows: 1fr;
    }
  
    .image-wrapper img {
      width: 100%;
      height: auto;
      top: 0;
      left: 0;
      border-radius: 50px;
    }
  
    .image-wrapper .img1 {
      z-index: 2;
    }
  
    .image-wrapper .img2 {
      display: block;
      z-index: 1;
    }
  
    header {
      height: 400px;
      background: url(images/fly1.webp) no-repeat top 20px left 0px,
        url(images/fly2.webp) no-repeat top 20px right 0px,
        url(images/fly-fishing.webp) no-repeat center center / cover;
    }
  
    header h1 {
      font-size: 2.75em;
      line-height: 2;
      align-self: flex-end;
      border-top-left-radius: 0px;
      border-top-right-radius: 0px;
    }
  
    .nav-main {
      position: static;
      top: auto;
      left: auto;
      z-index: 999;
    }
  
    #nav-main-menu {
      position: relative;
      visibility: visible;
      transform: translateX(0);
      transition: none;
      width: auto;
      height: auto;
      background: transparent;
      backdrop-filter: none;
      flex-direction: row;
      box-shadow: none;
      clip-path: none;
    }
  
    .nav-main-menu-toggle {
      display: none;
    }
  }
  