*,
 *:before,
 *:after {
     box-sizing: border-box;
}
 
html {
     font-family: sans-serif;
     min-height: 100dvh;
}
 
body {
     margin: 0;
     min-height: 100dvh;
     background: 
        linear-gradient(
             to bottom, 
             rgb(116, 173, 95) 2%, 
             hsla(104, 100%, 15%, 1) 50%
             )
        #144d00;
}
 
.wrapper {
     display: grid;
     width: min(100%, 825px);
     background: #382500;
}

header {
     display: flex;
     justify-content: center;
     margin-left: 48px;
     background: 
         linear-gradient(
             to bottom, 
             hsl(104 56% 65%), 
             hsl(104 100% 15%)
         )
         #144d00;
     box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
     z-index: 9999;
}
 
header h1 {
     flex: 1 1 auto;
     margin: 0;
     padding: 0;
     color: #fff;
     line-height: 48px;
     text-align: center;
     font-size: clamp( 1rem, 4vw, 2rem);
     letter-spacing: 4px;
     text-shadow: 0 -2px 2px rgba(0, 0, 0, 0.6);
     background: 
         linear-gradient(
             to bottom, 
             hsla(104, 56%, 65%, 0.7) 1px, 
             hsla(104, 100%, 27%, 0.7) 2px, 
             hsla(104, 100%, 15%, 1)
         );
}

.nav-main {
     position: absolute;
     left: 0;
     line-height: 0;
     background: #8ed874;
}
 
.nav-main-menu-toggle {
     background: none;
     border: none;
     cursor: pointer;
     padding: 0;
     line-height: 0;
}

.nav-main-menu-toggle:hover {
     transition: all .2s linear;
     transform: scaleX(.8);
}

.nav-main-menu-toggle svg * {
     transform-box: fill-box;
}

.nav-main-menu-toggle rect:nth-child(1) {
     transition: .5s cubic-bezier(.8, .5, .2, 1.4);
}
 
.nav-main-menu-toggle rect:nth-child(3) {
     transition: .5s cubic-bezier(.8, .5, .2, 1.4);
}

.nav-main-menu-toggle[aria-expanded="true"] rect:nth-child(1) {
     scale: 0;
}
  
.nav-main-menu-toggle[aria-expanded="true"] rect:nth-child(3) {
     scale: 0;
}

#nav-main-menu {
     transform: translateY(-100%);
     transition: all 1s ease-in-out;
     background: #144d00;
     position: absolute;
     margin-left: 48px;
     padding: 0;
     width: 100vw;
     color: white;
     font-size: 1.1rem;
     font-weight: bold;
     text-decoration: none;
     list-style: none;
     display: flex;
     visibility: hidden;
     flex-direction: column;
}
 
#nav-main-menu:not([hidden]) {
     visibility: visible;
     transform: translateY(-20px);
     transition: all .8s ease-in-out;
}
 
#nav-main-menu li a {
     color: inherit;
     display: flex;
     line-height: 3.5;
     padding: 0 2em;
     transition: all .25s ease-in-out;
}
 
#nav-main-menu li a:hover,
#nav-main-menu li a:focus {
     background: #8ed874;
     color: black;
}

section {
     margin: 20px;
     border: 2px solid hsl(40 100% 15%);
     border-radius: 10px;
     padding: 20px;
     box-shadow: 0 4px 4px rgba(0, 0, 0, 0.8);
     background:  
          linear-gradient(
          160deg,
          hsl(100deg 53% 97%) 0%,
          hsl(100deg 57% 96%) 8%,
          hsl(101deg 60% 95%) 17%,
          hsl(101deg 62% 95%) 25%,
          hsl(101deg 64% 94%) 33%,
          hsl(102deg 65% 93%) 42%,
          hsl(102deg 67% 92%) 50%,
          hsl(102deg 67% 92%) 58%,
          hsl(103deg 68% 91%) 67%,
          hsl(103deg 69% 90%) 75%,
          hsl(104deg 69% 90%) 83%,
          hsl(104deg 70% 89%) 92%,
          hsl(104deg 70% 88%) 100%
          )
         whitesmoke;
}

section img {
    box-shadow: 2px 2px 5px black;
}
 
h2 {
     margin: 24px 0 20px;
}

p {
     margin: 0 0 16px;
     line-height: 1.6;
     font-size: 1.1rem;
     max-width: 60ch;
}

img {
     width: 100%;
}

a {
     display: inline-block;
     text-decoration: none;
}

.cta-button-wood {
     font-size: 1.4rem;
     letter-spacing: 1.5px;
     font-weight: bold;
     text-decoration: none;
     text-shadow: 2px 2px 10px black;
     line-height: 2;
     padding: 15px;
     color: white;
     border: 2px solid;
     border-radius: 12px;
     background-image: linear-gradient(0deg,
               hsl(40deg 100% 15%) 0%,
               hsl(39deg 80% 19%) 8%,
               hsl(39deg 68% 22%) 17%,
               hsl(39deg 59% 26%) 25%,
               hsl(39deg 53% 30%) 33%,
               hsl(39deg 48% 33%) 42%,
               hsl(39deg 44% 37%) 50%,
               hsl(39deg 41% 41%) 58%,
               hsl(39deg 38% 44%) 67%,
               hsl(39deg 35% 48%) 75%,
               hsl(39deg 36% 52%) 83%,
               hsl(40deg 39% 56%) 92%,
               hsl(40deg 44% 60%) 100%);
     background-color: #4d3300;
     box-shadow: inset 0 0.0625em 0 0 #f4f4f4, 0 0.0625em 0 0 #efefef,
       0 0.125em 0 0 #ececec, 0 0.25em 0 0 #e0e0e0, 0 0.3125em 0 0 #dedede,
       0 0.375em 0 0 #dcdcdc, 0 0.425em 0 0 #cacaca, 0 0.425em 0.5em 0 #cecece;
     transition: 0.15s ease;
     cursor: pointer;
}

.cta-button-wood:hover {
     transform: translateY(-3px);
}

.cta-button-wood:active {
     translate: 0 0.225em;
     box-shadow: inset 0 0.03em 0 0 #f4f4f4, 0 0.03em 0 0 #efefef,
     0 0.0625em 0 0 #ececec, 0 0.125em 0 0 #e0e0e0, 0 0.125em 0 0 #dedede,
     0 0.2em 0 0 #dcdcdc, 0 0.225em 0 0 #cacaca, 0 0.225em 0.375em 0 #cecece;
}

.cta-button-wood-small {
     font-size: 1.2rem;
     line-height: 1.5;         
}

.cta-button-wood-large {
     font-size: 1.8rem;
}

.cta-button-stone {
     cursor: pointer;
     font-size: 1.3rem;
     font-family: inherit;
     font-weight: bold;
     letter-spacing: 1.3px;
     text-decoration: none;
     color: white;
     background-color: #444448;
     padding: 0.8em 2.2em;
     border-radius: 50em;
     border: 6px solid #8c8d91;
     box-shadow: 0px 8px #444448;
}
   
.cta-button-stone:hover {
     background-color:#ceced7;
     color: #444448;
   }
   
.cta-button-stone:active {
     position: relative;
     top: 8px;
     border: 6px solid #8c8d91;
     box-shadow: 0px 0px;
}
   
.cta-button-stone-small {
     font-size: 1rem;
}

.cta-button-stone-large {
     font-size: 1.7rem;
}

.cta-button-snow {
     color: #090909;
     padding: 0.7em 1.7em;
     font-family: inherit;
     font-size: 1.3rem;
     font-weight: bold;
     text-decoration: none;
     letter-spacing: 1px;
     border-radius: 0.5em;
     background: #e8e8e8;
     cursor: pointer;
     border: 1px solid #e8e8e8;
     transition: all 0.3s;
     box-shadow: 6px 6px 12px #c5c5c5, -6px -6px 12px #ffffff;
}

.cta-button-snow:hover {
     box-shadow: 6px 6px 12px #a3a3a3, -6px -6px 12px #ffffff;
}

.cta-button-snow:active {
     color: #666;
     box-shadow: inset 4px 4px 12px #c5c5c5, inset -4px -4px 12px #ffffff;
}

.cta-button-snow-small {
     font-size: 1rem;
}

.cta-button-snow-large {
     font-size: 1.7rem;
     padding: 0.7em 1em;
}

.cta-button-store {
     background-color: hsl(104 100% 15%);
     color: #fff;
     font-family: inherit;
     font-size: 1.4rem;
     font-weight: bold;
     text-decoration: none;
     letter-spacing: 1px;
     padding: 12px 24px;
     border: none;
     border-radius: 5px;
     box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
     cursor: pointer;
     transition: all 0.3s ease-in-out;
}

.cta-button-store:hover {
     transform: translateY(-3px);
     box-shadow: 0 8px 20px rgba(0, 0, 0, 0.5);
     background-color: #5d49a7
}

.cta-button-store:active {
     transform: translateY(0.5em);
     box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.cta-button-store-small {
     font-size: 1rem;
}

.cta-button-store-large {
     font-size: 1.7rem;
}
 
footer {
     display: flex;
     gap: 20px;
     margin: 0 20px 20px;
}
 
footer a {
    position: relative;
     color: white;
    background-color: #4d3300;
    text-decoration: none;
    line-height: 2;
    border-radius: 3px;
    padding: 0 10px;
    box-shadow: 2px 2px 2px #8ed874;
}

footer a:hover {
    background-color: #7a5200;
    text-decoration: none;
    line-height: 2;
    box-shadow: none;
    top: 2px;
}
 
footer a:first-child {
     margin-right: auto;
}
 
footer a[href^="javascript"] {
     position: relative;
     color: white;
     background-color: #4d3300;
     border-radius: 3px;
     padding: 0 10px;
     box-shadow: 2px 2px 2px #8ed874;
}
 
footer a[href^="javascript"]:active {
     top: 2px;
     box-shadow: none;
}

footer a[href^="javascript"]:hover {
    top: 2px;
    color: white;
    background-color: #7a5200;
    box-shadow: none;
}
 
@media (min-width: 48rem) {
     
     .wrapper {
         margin: 0 auto;
         border: 2px solid hsl(40 100% 15%);
         border-radius: 10px;
         box-shadow: 4px 4px 5px black;
     }
    
     header {
         height: 300px;
         margin: 20px;
         border: 2px solid hsl(40 100% 15%);
         border-radius: 10px;
         background: 
             url(images/stamp.webp) no-repeat 30px 210px / 80px 80px, 
             url(images/header-main.webp) no-repeat center center / cover, 
             linear-gradient(
                 to bottom, 
                 hsl(104 56% 65%), 
                 hsl(104 100% 15%))
            #382500;
            box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.8);
     }
 
     header h1 {
         line-height: 1.5;
         align-self: flex-start;
         border-bottom-left-radius: 0px;
         border-bottom-right-radius: 0px;
         margin: 0;
         padding: 0;
         color: #fff;
         line-height: 2;
         text-align: center;
         letter-spacing: 4px;
         text-shadow: 0 -2px 2px rgba(0, 0, 0, 0.6);
         background: 
             transparent 
             linear-gradient(
                 to bottom, 
                 hsla(104, 56%, 65%, 0.7) 1px, 
                 hsla(104, 100%, 27%, 0.7) 2px, 
                 hsla(104, 100%, 15%, 1)
             );
     }

     .nav-main {
          background-color: #144d00;
          width: 825px;
          position: static;
          padding-left: 20px;
          z-index: auto;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
     }
  
     .nav-main-menu-toggle {
          display: none;
     }
  
     #nav-main-menu {
          position: relative;
          margin: 0;
          visibility: visible;
          color: white;
          background-color: #144d00;
          text-decoration: none;
          transform: translateX(0);
          transition: none;
          background: transparent;
          display: flex;
          flex-direction: row;
     }
 
     #nav-main-menu li a:hover {
          color: black;
          background-color: #8ed874;
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.8)
     }

     img {
         width: auto;
         float: right;
         margin: 0 0 2px 4px;
     }
}
 