* {
    font-family: "EB Garamond", serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    color: #CFCBCA;
    font-size: clamp(1rem, 1.3vw, 1.5rem);
}

a{
    color: white;
}

p {
  margin: 1rem 0;
}

body {
    background-color: #000;
    color: #FFF;
    vertical-align: middle;
    overflow-x: hidden;
}

aside {
    background-color: rgba(0, 0, 0, .9);
    position: absolute;
    left: 200%;
}

nav {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, .75);
    text-transform: uppercase;
    padding: 10px;
    z-index: 99;
} 
  nav section {
    flex-grow: 1;
    flex-shrink: 1;
  }
  nav img {
    width: 250px;
  }

nav ul {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    list-style-type: none;
    height: 100%;
}
nav ul:last-child {
  justify-content: flex-end;
}

nav ul li {
    height: 100%;
}

nav ul li a,
nav ul li button {
    display: inline-block;
    width: 100%;
    height: 100%;
    vertical-align: middle;
    color: rgba(255, 255, 255, .75);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.2s;
    padding: 10px;
}

nav .active,
nav ul li a:hover {
    color: rgba(255, 255, 255, 1);
}

#hamburger:checked~li {
    display: none;
}

#hamburger {
    display: none;
}

.banners {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 80vh;
    margin-bottom: -40px;
    z-index: 98;
}
  .banners .header {
    background-color: rgba(0, 0, 0, .5);
    position: absolute;
    top: 100px;
    left: 1rem;
    z-index: 98;
    text-shadow: 0px 0px 20px rgba(0, 0, 0, 1);
    filter: drop-shadow(3px 2px 3px rgba(0,0,0,0.5));
    width: 35%;
    border-radius: 30px;
    padding: 10px 20px 10px 20px;
    min-width: 240px;
  }
  .banners .header p {
    margin: 0;
    color: #f4d58d !important;
    font-weight: normal;
    text-transform: uppercase;
    padding: 0;
  }
  .banners .header h1 {
    font-size: 1.5rem;
  }
  .banners .header h2 {
    font-size: 1rem;
  }
  .banners .header p {
    font-size: 0.8rem;
  }
  .banners .header .talk {
    position: absolute;
    bottom: -15px;
    right: 40px;
    border-radius: 0% 0 0% 100%;
    background-color: rgba(0, 0, 0, .5);
    width: 15px;
    height: 15px;
    z-index: 98;
    filter: drop-shadow(3px 2px 3px rgba(0,0,0,0.5));
  }
  .banners .copy {
    position: absolute;
    bottom: 50px;
    right: 0;
    color: white;
    margin: 10px;
    z-index: 98;
    font-size: 0.5rem;
    text-align: right;
  }
  .banners img {
    min-width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 98;
    mask-image: url('/img/banner-mask-landscape.png');
    mask-repeat: repeat-x;
    mask-position: bottom;
    mask-size: cover;
    filter: drop-shadow(0px 0px 10px #000000);
  }

.dropdown {
    position: relative;
    display: inline-block;
  }
  
  /* Dropdown Content (Hidden by Default) */
  .dropdown-content {
    display: none;
    position: absolute;
    right: 0;
    min-width: 160px;
    z-index: 1;
  }
  .dropdown-content li {
    background-color: rgba(0, 0, 0, .9);
  }
  .dropdown-content li:last-child {
    border-radius: 0 0 0.5rem 0.5rem;
  }

  /* Show the dropdown menu on hover */
  .dropdown:hover .dropdown-content {
    display: block;
    padding-top: 12px;
  }
  .dropdown-content a {
    font-size: 0.8rem;
  }

  .grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
    
    padding-bottom: 5rem;
  }
  .grid-auto-rows {
    grid-auto-rows: 1fr;
  }
  .row {
    display: flex;
    margin: 1rem 0 1rem 0;
  }
    .row div {
      flex: 1;
    }
    .row hr {
      flex: 1;
      background-color: #f4d58d;
      height: 2rem;
      width: 100%;
      flex-shrink: 1;
      margin: 0.5rem;
    }
  .grid-align-center {
    align-items: center;
  }
  .grid-content-center *{
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .grid img {
    width: 100%;
    height: auto;
  }

  article {
    font-size: 1.5rem;
    font-weight: normal;
    box-shadow: inset 0 0 1rem 0.5rem black;
    
  }
  .dark {
    background-color: #210F04;
    background-image: url('/img/parchment.jpg');
    background-blend-mode: multiply;
    filter: drop-shadow(0px 0px 10px #000000);
    margin-bottom: -67px;
    z-index: 97;
    padding: 30px 1rem 0 1rem;
  }
  .dark:last-child {
    margin-bottom: 0;
    padding-bottom: 2rem;
  }
  .light{
    background-color: #726953;
    background-image: url('/img/parchment.jpg');
    background-blend-mode: multiply;
    mask-image: url('/img/section-mask-landscape.png');
    mask-repeat: repeat-x;
    mask-size: cover;
    filter: drop-shadow(0px 0px 10px #000000);
    z-index: 98;
    padding: 100px 1rem 60px 1rem;
  }

  footer {
    display: flex;
    gap: 5rem;
    align-items: center;
    justify-content: space-around;
    background-color: black;
    padding: 2rem;
  }
    footer p {
      margin: 0 !important;
      padding: 0 !important;
    }
    footer ul {
      display: flex;
      justify-content: flex-start;
      list-style: none;
    }
    footer ul a {
      display: block;
      font-size: 0.75rem !important;
      height: 100%;
    }
    footer ul li:not(:first-child) {
      border-left: 1px solid white;
      margin-left: 0.5rem;
      padding-left: 0.5rem;
    }

  h1{
    color: #f4d58d;
    font-size: 2.5rem;
    font-weight: normal;
    text-transform: uppercase;
  }
  h2 {
    color: #f4d58d;
    font-size: 1.5rem;
    font-weight: normal;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
  }
  h3 {
    color: #e3170a;
  }

  .product-list{
    display: flex;
    gap: 2rem;
    justify-content: flex-start;
    align-items: flex-start;
    flex-wrap: wrap;
    transform-style: preserve-3d;
    transform: perspective(1000px);
  }
  .product {
    color: black;
    transition: .2s;
    background-color: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: inset 0 0 .3rem 0.2rem black;
    min-width: 2.5in;
    min-height: 3.5in;
    max-width: 2.5in;
    max-height: 3.5in;
    filter: brightness(0.75);
  }
  .product:hover {
    filter: brightness(1);
    transform: translateZ(50px);
  }
  .product:hover + * {
    filter:brightness(0.85);
    transform: translateZ(25px) rotateY(20deg);
  }
  .product:has(+ *:hover){
    filter:brightness(0.85);
    transform: translateZ(25px) rotateY(-20deg);
  }

  .call {
    display: inline-block;
    cursor: pointer;
    border: 0;
    font-size: 1.25rem;
    border-radius: 10px;
    background-color: #0353a4;
    color: white;
    min-height: 30px;
    padding: .75rem;
    margin: 1rem 0;
    text-decoration: none;
  }
  .call:hover {
    background-color: #2465a6;
  }
  .call-bottom {
    position: absolute;
    bottom: 0;
  }
.align-right {
  text-align: right;
}
.anchor {
  display: block;
  position: relative;
  top: -50px;
  height: 1px;
}
.mask-portrait {
  mask-size: contain;
  mask-image: url('/img/img-mask-portrait.png');
  -webkit-mask-image: url('/img/img-mask-portrait.png');
  mask-repeat: no-repeat;
}
.mask-landscape {
  mask-size: contain;
  mask-image: url('/img/img-mask-landscape.png');
  -webkit-mask-image: url('/img/img-mask-landscape.png');
  mask-repeat: no-repeat;
}

@media (min-width: 45rem) {
    #navigation-links .media-mobile {
        display: none;
    }
    
}
@media (max-width: 45rem) {
    #navigation-links .media-desktop {
        display: none;
    }
    .product-list {
      align-items: center !important;
    }
}