body {
    font-family: 'Times New Roman', serif; /* Medieval font suggestion */
    background-color: #2c1810; /* Dark wood-like background */
    color: #faf9f8; /* Parchment color for text */
    margin: 0;
    padding: 0;
}

header {
    background-color: #8b4513; /* Saddle brown for tavern wood */
    text-align: center;
    border-bottom: 5px solid #daa520; /* Golden border */
    padding-top: 10px;
    position: fixed;
    top: 0;
    width: 100%;
    color: rgb(255, 255, 255);
}

.form-floating {
    width: 100% !important;
}

@media (max-height: 800px) {

    .hidden-short {
        display: none !important;
    }
}

@media (max-width: 1200px) {
    .hidden-medium {
        display: none !important;
    }

    .category-div-text {
        font-size: 1em !important;
    }
}

@media (max-width: 768px) {

    body {
        padding-top: 0 !important;
    }

    .chamber-img {
        height: 50px !important;
    }

    .insight-sub {
        padding: 10px !important;
        padding-top: 0 !important;
        margin-bottom: 0px !important;
    }

    .tiktok-column, .first-box {
        padding-top: 20px !important;
    }

    .big-video, .pre-reg, .side-video, .small-tiktok-text {
        display: none !important;
    }

    .small-video {
        display: block !important;
        margin-bottom: 20px;
    }

    .welcome-text, .small-text, .content-panel {
        font-size: 0.7em !important;
    }

    .small-form-text {
        font-size: 0.8em !important;
    }

    .parchment-nav {
        top: 0 !important;
    }

    .img1{
        padding-top: 80px !important;
    }

    p { font-size: 1.3em;  }

    .form-row {
        margin-bottom: 100px;
    }

    footer {
        font-size: 0.6em;
    }

    .category-div, .hidden-small {
        display: none !important;
    }

    .hidden-medium.show-small {
        display: inline !important;
    }

    .show-small {
        display: block !important;
    }

    /* .scroll-bar {
        background-size: cover;
        background-repeat: repeat-x;
        background-position: center;
        padding: 0.5rem !important;
        padding-top: 0.2rem !important;
    } */

    .scroll-bar > div {
        font-size: 0.6em;
        padding: 0.4rem !important;
    }

    .bench-card {
        width: 100% !important;
    }

    .bottom-row {
        height: 200px !important;
    }

    cheese { display: none; }
}

.form-row {
    margin-bottom: 200px !important;
}

footer {
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    z-index: 999;
    border-top: 5px solid #daa520;
    background-color: #2c2c2c;
    color: #f4e4bc;
    text-align: center;
    padding: 10px;
    height: 50px;
    transition: height 0.5s ease;
}

footer.expanded {
  height: 200px;
}

/* Optional styling for content */
.footer-content h4 {
    margin-top: 0;
    color: #daa520;
}

.footer-content ul {
    list-style: none;
    padding: 0;
}

.footer-content ul li a {
    color: #f4e4bc;
    text-decoration: none;
}

.footer-content ul li a:hover {
    text-decoration: underline;
}

.footer-buffer {
    position: fixed;
    bottom: 0px;
    height: 0px;
    width: 100%;
    z-index: 997;
    pointer-events: auto;
}

.footer-buffer.expanded {
  height: 220px;
}

.fullscreen-map {
    background-image: url('../images/town.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fullscreen-tavern {
    background-image: url('../images/tavern.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fullscreen-fail {
    background-image: url('../images/mail-fail.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fullscreen-success {
    background-image: url('../images/mail-success.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.fullscreen-sounds {
    background-image: url('../images/videos.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* .content-panel {
    padding: 30px;
    border-radius: 20px;
    background-color: rgba(151, 92, 15, 0.8);
    color: white;
    border: 2px solid rgba(253, 115, 2, 0.4);
    font-size: 1.5em;
    margin-bottom: 10px;
} */

.content-panel {
  padding: 30px !important;
  border-radius: 12px;
  background-image: url('../images/parchment.png'); /* Use a seamless parchment texture */
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  color: #3b2f1e; /* Deep ink tone */
  border: 2px solid #d4b483; /* Aged parchment edge */
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4), inset 0 0 10px rgba(255, 255, 200, 0.2);
  font-family: 'IM Fell English', serif;
  font-size: 1.2em;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.btn-scroll {
  background: linear-gradient(to bottom, #d6c7a1, #bfae7a);
  color: #3b2f1c;
  border: 2px solid #8b7c5a;
  border-radius: 8px;
  font-weight: bold;
  font-family: 'Cinzel', serif; /* Optional fantasy font */
  text-shadow: 0 1px 1px #fff;
  box-shadow: 0 0 10px rgba(139, 124, 90, 0.4);
  transition: all 0.3s ease;
}

.btn-scroll:hover {
  background: linear-gradient(to bottom, #f0e6c0, #d6c7a1);
  box-shadow: 0 0 15px rgba(255, 215, 100, 0.6);
  transform: scale(1.05);
}

.category-div {
    padding: 20px;
    margin-bottom: 10px;
    border-radius: 10px;
    width: 100%;
    aspect-ratio: 1 / 1;
    cursor: pointer;
}

.category-div > div {
    /* width: 100%;
    height: auto; */
    max-width: 350px;
    max-height: 350px;
    aspect-ratio: 1 / 1;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    border: 1px solid white;
}

.bg-section {
  height: 100vh;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;
}

.chamber-img {
    height: 200px;
    background-size: cover;
    background-position: center;
    color: white;
    text-shadow: 0 0 5px black;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2em;
    font-weight: bold;
}

.chamber-img1 {
    background-image: url('../images/chamber-lore.jpg');
}

.chamber-img2 {
    background-image: url('../images/chamber-tools.jpg');
}

.chamber-img3 {
    background-image: url('../images/chamber-generators.jpg');
}

#chamber-insight-panel {
  scroll-margin-top: 215px; /* Adjust to match your fixed header height */
}

#arcane-emporium-panel {
  scroll-margin-top: 215px; /* Adjust to match your fixed header height */
}

#battle-atlas-panel {
  scroll-margin-top: 215px; /* Adjust to match your fixed header height */
}

#rusty-hearth-panel {
  scroll-margin-top: 215px; /* Adjust to match your fixed header height */
}

#realmshapers-bench-panel {
  scroll-margin-top: 215px; /* Adjust to match your fixed header height */
}

.caps-font { font-family: 'Cinzel', serif !important; }