/* --------------------------------------------------
   Global CSS Variables
-------------------------------------------------- */
:root {
  --bg-color: #5d4243;
  --darker-color: #5d4243;
  --lighter-color: #fff9f4;
  --accent-color: #5d4243;
  --text-color: #806e74;
}

/* --------------------------------------------------
   Base Styles
-------------------------------------------------- */
html,
body {
  background-color: var(--bg-color);
  width: 100dvw;
  min-height: 100%;
  margin: 0;
  padding: 0;
  text-align: center;
  color: var(--text-color);
  font-family: sans-serif;
}

/* --------------------------------------------------
   Links
-------------------------------------------------- */
a:link,
a:visited {
  color: var(--darker-color);
  text-decoration: none;
}

a:hover:not(:has(> img:only-child)) {
  background-color: #AE9095;
  border-radius: 5dvw;
  color: var(--lighter-color);
}

a.active {
    background-color: #C6ADAD;
    color: var(--darker-color);
    border-radius: 5dvw;
}
/* --------------------------------------------------
   Horizontal Rule (the colored line break <hr>)
-------------------------------------------------- */
hr {
  border: none;
  background-color: var(--darker-color);
  height: 0.6dvh;
  border-radius: 5dvh;
  margin: 1.5rem 0;
}

/* --------------------------------------------------
   Header/Banner Image
-------------------------------------------------- */
header {
  border-top: 1px solid transparent;
  margin: 1dvh 0 2dvh;
}

header img {
  display: block;
  max-width: 1850px;
  min-height: 100px;
  max-height: 300px;
  border-radius: 0.5dvh;
  margin: 0 auto;
}

/* --------------------------------------------------
   Layout/Spacing
-------------------------------------------------- */
.flex-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;
  width: 100dvw;
  height: 70%;
}

.containers {
  display: flex;
  justify-content: space-between;
}

/* --------------------------------------------------
   Navigation
-------------------------------------------------- */
nav {
  background-color: var(--lighter-color);
  padding: 1rem;
  margin-left: 2rem;
  flex: 0 0 10dvw;
  border-radius: 0.5dvh;
}

#homebutton {
  width: 100%;
  height: auto;
  margin-bottom: 1rem;
}

.nav-links a {
  display: block;
  margin: 0.5rem 0;
}

.webbadge {
  width: 88px;
  height: 31px;
}
/* --------------------------------------------------
   Main Content
-------------------------------------------------- */
main {
  background-color: var(--lighter-color);
  padding: 2%;
  border-radius: 0.5dvh;
  font-size: clamp(2px, 1dvw, 24px);
  width: 100dvw;
  max-height: 60dvh;
  overflow-y: auto;
  margin-right: 2rem;
}

.box {
  border: 0.25dvh solid var(--darker-color);
  border-radius: 1dvh;
  padding: 2dvw;
  font-size: 1.5rem;
  box-sizing: border-box;
  width: 25dvw;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 16px;
}

.gallery img {
  display: block;
  width: 100%;
  height: auto;
}

/* --------------------------------------------------
   Age Verification Elements
-------------------------------------------------- */
#verifyage {
  position: fixed;
  top: 0;
  left: 0;
  width: 100dvw;
  height: 100dvh;
  background-color: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  color: var(--lighter-color);
}

.ageverificationcontent {
  background-color: var(--lighter-color);
  color: var(--darker-color);
  padding: 5%;
  border-radius: 8%;
  text-align: center;
}

button {
  background-color: var(--darker-color);
  color: var(--lighter-color);
  padding: 5% 10%;
  margin: 5%;
  border: none;
  border-radius: 8%;
  font-size: 2.3dvh;
  cursor: pointer;
}