/* -------------------------------------------------------- */
/* VARIABLES */
/* -------------------------------------------------------- */

/* Variables are used like this: var(--text-color) */
:root {
  /* Background Colors: */
  --background-color: #313134;
  --content-background-color: #222222;
  --sidebar-background-color: #222222;

  /* Text Colors: */
  --text-color: #b23a14;
  --sidebar-text-color: #fffefe;
  --link-color: #ffffff;
  --link-color-hover: #ffffff;

  /* Text: */
  --font: Arial, sans-serif;
  --heading-font: Courier New, monospace;
  --font-size: 14px;

  /* Other Settings: */
  --margin: 7px;
  --padding: 20px;
  --border: solid black 1px;
  --round-borders: 0.3rem;
  --sidebar-width: 226px;
}


/* -------------------------------------------------------- */
/* BASICS */
/* -------------------------------------------------------- */

* {
  box-sizing: border-box;
}

body {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  min-height: 100vh;
  font-size: var(--font-size);
  margin: 0;
  padding: var(--margin);
  color: var(--text-color);
  font-family: var(--font);
  line-height: 1.2;
  background: var(--background-color);
  background-image: url("");

  justify-content: center;
  padding: var(--margin);

}



::selection {
  /* (Text highlighted by the user) */
  background: rgba(0, 0, 0, 0.2);
}

mark {
  /* Text highlighted by using the <mark> element */
  text-shadow: 1px 1px 4px var(--link-color);
  background-color: inherit;
  color: var(--text-color);
}

/* Links: */
a {
  text-decoration: none;
}

a,
a:visited {
  color: var(--link-color);
  text-decoration: none;
}

a:hover,
a:focus {
  color: var(--link-color-hover);
  text-decoration: none;
  cursor: url("Images/orangecursor32px.png"), auto !important;
}

/* -------------------------------------------------------- */
/* LAYOUT */
/* -------------------------------------------------------- */
/* 1200px width */
.layout {
    width: 100%;
  max-width: 1350px;
  margin: 0 auto;
  display: grid;
  grid-gap: var(--margin);
  grid-template: 
    "header header" auto
    "leftSidebar main" auto
    "footer footer" auto 
    / var(--sidebar-width) 1fr;
}

main {
  grid-area: main;
  overflow-y: auto;
  padding: var(--padding);
  background: var(--content-background-color);
  border: var(--border);
  border-radius: var(--round-borders);
  /* FIX: prevent main from causing horizontal scroll on mobile */
  min-width: 0;
  overflow-x: hidden;
}

/* -------------------------------------------------------- */
/* HEADER */
/* -------------------------------------------------------- */

header {
  grid-area: header;
  font-size: 1.2em;
    overflow: hidden;
  border: var(--border);
  border-radius: var(--round-borders);
  background: var(--content-background-color);
}

.headbanner{
    
    display: grid;
    place-items: center;
}

.header-content {
  padding: var(--padding);
}

.header-title {
  font-family: var(--heading-font);
  font-size: 1.5em;
  font-weight: bold;
}

.header-image img {
  width: 100%;
  height: auto;
}

/* -------------------------------------------------------- */
/* SIDEBARS */
/* -------------------------------------------------------- */

aside {
  grid-area: aside;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  background: var(--sidebar-background-color);
  padding: var(--padding);
  color: var(--sidebar-text-color);
}

.left-sidebar {
  grid-area: leftSidebar;
}

.right-sidebar {
  grid-area: rightSidebar;
}

.sidebar-title {
  font-weight: bold;
  font-size: 1.2em;
  font-family: var(--heading-font);
}

.sidebar-section:not(:last-child) {
  margin-bottom: 3em;
}

.sidebar-section ul,
.sidebar-section ol {
  padding-left: 1.5em;
}

.sidebar-section > *:not(p):not(ul):not(ol):not(blockquote) {
  margin-top: 10px;
}

/* Sidebar Blockquote: */

.sidebar-section blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
  overflow: hidden;
}

.sidebar-section blockquote > *:first-child {
  margin-top: 0;
}

.sidebar-section blockquote > *:last-child {
  margin-bottom: 0;
}

/* Site Button: */

.site-button {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.site-button textarea {
  font-family: monospace;
  font-size: 0.7em;
}

/* -------------------------------------------------------- */
/* FOOTER */
/* -------------------------------------------------------- */

footer {
  grid-area: footer;
  border: var(--border);
  border-radius: var(--round-borders);
  overflow: hidden;
  font-size: 1rem;
  padding: 15px;
  background: var(--content-background-color);
  display: flex;
  justify-content: center;
}

footer a,
footer a:visited {
  color: var(--link-color);
}

footer a:hover,
footer a:focus {
  color: var(--link-color-hover);
}

/* -------------------------------------------------------- */
/* NAVIGATION */
/* -------------------------------------------------------- */

nav {
  margin-bottom: 3em;
}

nav .sidebar-title {
  margin-bottom: 0.5em;
}

nav ul {
  margin: 0 -5px;
  padding:0;
  list-style: none;
  user-select: none;
  
}

nav ul li {
  margin-bottom: 0;
  

}



nav > ul li > a,
nav > ul li > strong {
    display: inline-block;
  background: radial-gradient(#ac5439, rgba(182, 102, 77, 0.98));
  
  border: 3px solid #b98b60;

  margin-bottom: 0.7rem;
  text-align: center;
}

nav > ul li > a,
nav > ul li > details summary,
nav > ul li > strong {
  padding: 5px 10px;
  font-size: 1.9rem;
  color: #ffffff;
  text-align: center;
  border-radius: 0.4rem;
  font-family: 'caveat'
  
}

nav a:link,
nav a:visited {
    color:#ffffff;
    text-decoration: none;
}


nav > ul li > a.active,
nav > ul li > details.active summary {
  font-weight: bold;
}

nav ul summary {
  cursor: pointer;
}

nav ul ul li > a {
  padding-left: 30px;
  
}


nav ul li a .prim{
    font-size: 8rem;
    
}

/* -------------------------------------------------------- */
/* CONTENT */
/* -------------------------------------------------------- */

main {
  line-height: 1.5;
}

main a,
main a:visited {
  color: var(--link-color);
}

main a:hover,
main a:focus {
  color: var(--link-color-hover);
  text-decoration-style: wavy;
}

main p,
main .image,
main .full-width-image,
main .two-columns {
  margin: 0.75em 0;
}

main ol,
main ul {
  margin: 0.5em 0;
  padding-left: 1.5em;
}

main ol li,
main ul li {
  margin-bottom: 0.2em;
  line-height: 1.3;
}

main ol {
  padding-left: 2em;
}

main blockquote {
  background: rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin: 1em 0;
  border-radius: 10px;
}

main pre {
  margin: 1em 0 1.5em;
}

main code {
  text-transform: none;
}

main center {
  margin: 1em 0;
  padding: 0 1em;
}

main hr {
  border: 0;
  border-top: var(--border);
  margin: 1.5em 0;
}

/* HEADINGS: */

main h1,
main h2,
main h3,
main h4,
main h5,
main h6 {
  font-family: var(--heading-font);
  margin-bottom: 0;
  line-height: 1.5;
}

main h1:first-child,
main h2:first-child,
main h3:first-child,
main h4:first-child,
main h5:first-child,
main h6:first-child {
  margin-top: 0;
}

main h1 {
  h1 {
  color: #fefae0;
  font-family: Amita;
  margin: 20px auto;
  font-size: 3rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
}
}

main h2 {
  font-size: 1.4em; color:#a18f29 ;
  text-align: center;
  width: 100%;
  text-align: center;
  display: block;
}
  


main h3 {
  font-size: 1.3em;
}

main h4 {
  font-size: 1.2em;
}

main h5 {
  font-size: 1.1em;
}

main h6 {
  font-size: 1em;
}

/* COLUMNS: */

.two-columns {
  display: flex;
}

.two-columns > * {
  flex: 1 1 0;
  margin: 0;
}

.two-columns > *:first-child {
  padding-right: 0.75em;
}

.two-columns > *:last-child {
  padding-left: 0.75em;
}

/* -------------------------------------------------------- */
/* CONTENT IMAGES */
/* -------------------------------------------------------- */

.image {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
}

.full-width-image {
  display: block;
  width: 100%;
  height: auto;
}

.images {
  display: flex;
  width: calc(100% + 5px + 5px);
  margin-left: -5px;
  margin-right: -5px;
}

.images img {
  width: 100%;
  height: auto;
  padding: 5px;
  margin: 0;
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* ACCESSIBILITY */
/* -------------------------------------------------------- */

/* please do not remove this. */

#skip-to-content-link {
  position: fixed;
  top: 0;
  left: 0;
  display: inline-block;
  padding: 0.375rem 0.75rem;
  line-height: 1;
  font-size: 1.25rem;
  background-color: var(--content-background-color);
  color: var(--text-color);
  transform: translateY(-3rem);
  transition: transform 0.1s ease-in;
  z-index: 99999999999;
}

#skip-to-content-link:focus,
#skip-to-content-link:focus-within {
  transform: translateY(0);
}

/* -------------------------------------------------------- */
/* MOBILE RESPONSIVE */
/* -------------------------------------------------------- */

/* CSS Code for devices < 800px */
@media (max-width: 800px) {
  body {
    font-size: 14px;
  }

  .layout {
    width: 100%;
    min-width: 0;
    grid-template: "header" auto  "leftSidebar" auto "main" auto "footer" auto / 1fr;
  }

  
  .right-sidebar { 
    display: none;
  }

  aside {
    border-bottom: 1px solid;
    padding: 9px;
    font-size: 0.9em;
    min-width: 0;
    overflow-x: hidden;
  }

  
  nav {
    padding: 0;
  }

  nav > ul {
    padding-top: 0.5em;
  }

  nav > ul li > a,
  nav > ul li > details summary,
  nav > ul li > strong {
    padding: 0.5em;
  }

  main {
    max-height: none;
    padding: 15px;
    min-width: 0;
    overflow-x: hidden;
  }

  .images {
    flex-wrap: wrap;
  }

  .images img {
    width: 100%;
  }

  #skip-to-content-link {
    font-size: 1rem;
  }
}

.text
{
color:white

}

.header > img{
    width: 100%;
    height: auto;
    display: block;
}


/* //---navbar animation---// */

nav,
nav ul,
nav ul li,
.hvr-back-pulse,
.hvr-back-pulse ul,
.hvr-back-pulse ul li {
  filter: none !important;
  -webkit-filter: none !important;
  isolation: isolate;
}

/* Back Pulse */
@-webkit-keyframes hvr-back-pulse {
  50% {
    background: radial-gradient(#b23a14, #cb5430);
  }
}
@keyframes hvr-back-pulse {
  50% {
    background: radial-gradient(#d4b173, #D5B982);
  }
}
.hvr-back-pulse ul li a {
  display: inline-block;
  vertical-align: middle;
  box-shadow: 0 0 1px rgba(0, 0, 0, 0);
  overflow: hidden;
  -webkit-transition-duration: 0.5s;
  transition-duration: 0.5s;
  -webkit-transition-property: color, background-color;
  transition-property: color, background-color;
   cursor: url("Images/orangecursor32px.png"), auto !important;
}
.hvr-back-pulse ul li a:hover, .hvr-back-pulse ul li a:focus, .hvr-back-pulse ul li a:active {
  -webkit-animation-name: hvr-back-pulse;
  animation-name: hvr-back-pulse;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1s;
  -webkit-animation-delay: 0.5s;
  animation-delay: 0.5s;
  -webkit-animation-timing-function: linear;
  animation-timing-function: linear;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  background: radial-gradient(#d4b173, #D5B982);
cursor: url("Images/orangecursor32px.png"), auto !important;
  color: white;
}


.hvr-back-pulse ul li a {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px;

  background: radial-gradient(#b23a14, #cb5430);
  transition: 
    transform 0.2s ease,
    background 0.3s ease;
}

.hvr-back-pulse ul li a {
  display: inline-block;
  width: 100%;
  box-sizing: border-box;
  text-align: center;
  padding: 10px;
}

/* //----------// */

.maintext {
    font-size: 0.9rem;
    color: #a18f29;
    text-align: center;
    font-family: Georgia, 'Times New Roman', Times, serif;
}

/* //-------- scrollbar-------// */


/* ----sidebar timelapse--- */
.timelapse{
  width: 10rem;

}


/* ------- */

body {
    min-height: 100vh;
    display: -webkit-flex;
    display: flex;
    flex-direction: column;
    cursor: url("Images/orangecursor32px.png"), auto !important;
}

h1 {
  color: #fefae0;
  font-family: Amita;
  margin: 20px auto;
  font-size: 3rem;
  text-align: center;
  width: 100%;
  max-width: 100%;
}

.ingallery .inimage {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  border-radius: 10px;

  display: block;

  transition: transform 0.8s;
}

@media (min-width: 801px) {

  .thumb {
    width: 20rem;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
    margin: 1rem;
  }

}

.ingallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(18rem, 1fr));
  gap: 2rem;
}

/* ///mobile gallery//// */

@media (max-width: 800px) {

  .ingallery {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.7rem;
  }

  .thumb {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 10px;
  }

  .thumb .inimage {
    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: center;

    display: block;
    margin: 0;
  }

}


.ingallery .inimage:hover {
    object-fit: cover;
    -webkit-transform: scale(1.1);
    -ms-transform: scale(1.1);
    transform: scale(1.1);
    -webkit-filter: none;
    filter: none;
    cursor: url("Images/orangecursor32px.png"), auto !important;
}


.gallerynav ul {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1rem;
  padding: 0;
  margin: 0 auto;
  list-style: none;
  width: 100%;
}

.gallerynav li {
  flex: 0 0 auto;
}

.gallerynav a {
  display: block;
  text-align: center;
  padding: 10px 16px;
  font-size: 1.5rem;
  white-space: nowrap;
  text-decoration: none;
  color: #ffffff;
  font-family: 'Caveat', sans-serif;
  background: radial-gradient(#ac5439, rgba(182, 102, 77, 0.98));
  border: 3px solid #b98b60;
  border-radius: 0.4rem;
  transition: transform 0.2s ease, background 0.3s ease;
  animation: none;
}

.gallerynav a:hover {
  animation: hvr-back-pulse 1s 0.5s linear infinite;
  background: radial-gradient(#d4b173, #D5B982);
  transform: scale(1.1);
  color: #ffffff;
}


/* -------------------------------------------------------- */
/* GALLERY POP UP */
/* -------------------------------------------------------- */

#myImg {
  border-radius: 5px;
  cursor: pointer;
  transition: 0.3s;
}

#myImg:hover { opacity: 0.7; }

/* The Modal (background) */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  /* FIX: hidden on x-axis so wide images never show a horizontal scrollbar */
  overflow-x: hidden;
  overflow-y: auto;
  padding: 60px 20px 60px;
  box-sizing: border-box;
  gap: 12px;
}

.modal-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 120px);
  gap: 12px;
  width: 100%;
}

/* Modal image — default (fits viewport, no overflow) */
.modal-content {
  display: block;
  /* FIX: use 92vw so it never reaches the edges and triggers a scrollbar */
  max-width: 92vw;
  max-height: 78vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 4px;
  cursor: zoom-in;
  transition: max-width 0.3s ease, max-height 0.3s ease, width 0.3s ease;
  animation: modal-open-pop 0.2s ease-out;
}

@keyframes modal-open-pop {
  from { opacity: 0; transform: scale(0.93); }
  to   { opacity: 1; transform: scale(1); }
}

/* Zoomed state */
.modal-content.zoomed {
  /* FIX: on desktop grow to 85% of viewport width — always larger than the
     default 92vw cap so the image actually grows instead of shrinking.
     On mobile this is handled separately below. */
  max-width: none;
  max-height: none;
  width: 85vw;
  cursor: zoom-out;
}

/* Caption */
#caption {
  display: block;
  width: 80%;
  max-width: 700px;
  text-align: center;
  font-family: Georgia, 'Times New Roman', Times, serif;
  color: #ccc;
  padding: 0;
  height: auto;
  font-size: 0.95rem;
  line-height: 1.5;
  padding-bottom: 40px;
}

/* Close button */
.close {
  position: fixed;
  top: 15px;
  right: 35px;
  color: #f1f1f1;
  font-size: 40px;
  font-weight: bold;
  transition: 0.3s;
  line-height: 1;
  cursor: pointer;
  z-index: 1001;
}

.close:hover,
.close:focus {
  color: #bbb;
  text-decoration: none;
  cursor: pointer;
}

/* Lock scroll when modal is open */
body.modal-open {
  overflow: hidden;
}

body.modal-open main {
  overflow: hidden;
}

/* -------------------------------------------------------- */
/* MODAL — MOBILE OVERRIDES */
/* -------------------------------------------------------- */
@media (max-width: 800px) {
  .modal {
    /* FIX: tighter padding so image has full width to work with */
    padding: 55px 8px 40px;
    /* FIX: hide scrollbar on mobile while keeping scroll functionality */
    -ms-overflow-style: none;  /* IE/Edge */
    scrollbar-width: none;     /* Firefox */
  }

  /* FIX: hide scrollbar on mobile for WebKit (Chrome, Safari) */
  .modal::-webkit-scrollbar {
    display: none;
  }

  .modal-content {
    /* FIX: use almost full width on mobile so portrait images don't look tiny */
    max-width: 96vw;
    max-height: 70vh;
  }

  .modal-content.zoomed {
    /* FIX: zoomed on mobile = fill the width, let the modal scroll vertically.
       96vw matches the unzoomed cap so it grows via max-height removal,
       not by shrinking. Set a large explicit width so it's visibly bigger. */
    max-width: none;
    max-height: none;
    width: 96vw;
    cursor: zoom-out;
  }

  .close {
    /* FIX: move close button inward so it's not cut off on small screens */
    right: 16px;
    font-size: 32px;
  }
}

/* -------------------------------------------------------- */
/* OTHER */
/* -------------------------------------------------------- */

a,
a:link,
a:visited {
  color: var(--link-color);
  text-decoration: none;
}

a:hover,
a:active {
  color: var(--link-color-hover);
}

.gototop {
    text-align: center;
    color: #fffcfc;
}

.gallerynav {
  width: 100%;
  display: flex;
  justify-content: center;
}

main .gallerynav a,
main .gallerynav a:visited {
  color: #ffffff;
}

.footer {
  color: #b23a14; 
  font-family: Courier New; 
  font-weight: bold;
  font-size: 1rem;
}

.hvr-back-pulse ul li {
  transition: transform .2s;
}

.hvr-back-pulse ul li:hover {
  transform: scale(1.1);
}

/* =========================
   SCROLLBAR
========================= */

::-webkit-scrollbar {
  width: 0.7rem;
}

::-webkit-scrollbar-track {
  background: #4f4f4f;
}

::-webkit-scrollbar-thumb {
  background: #C4471F;
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: #D5B982;
}

::-webkit-scrollbar-button {
  width: 0;
  height: 0;
  display: none;
}

::-webkit-scrollbar-button:single-button {
  width: 16px;
  height: 16px;
  display: block;
  background: #C4471F;
  border: none;
  box-shadow: none;
}

/* Up Arrow */
::-webkit-scrollbar-button:single-button:vertical:decrement {
  background-color: #C4471F;
  background-image:
    linear-gradient(135deg, transparent 50%, #D5B982 50%),
    linear-gradient(225deg, transparent 50%, #D5B982 50%);
  background-position:
    calc(50% - 3px) center,
    calc(50% + 3px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

/* Down Arrow */
::-webkit-scrollbar-button:single-button:vertical:increment {
  background-color: #C4471F;
  background-image:
    linear-gradient(45deg, transparent 50%, #D5B982 50%),
    linear-gradient(315deg, transparent 50%, #D5B982 50%);
  background-position:
    calc(50% - 3px) center,
    calc(50% + 3px) center;
  background-size: 6px 6px;
  background-repeat: no-repeat;
}

::-webkit-scrollbar-button:hover {
  background-color: #D5B982;
}

/* =========================
   MOBILE GALLERY NAV
========================= */

@media (max-width: 700px) {
  .gallerynav ul {
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
  }

  .gallerynav ul li {
    width: 100%;
    text-align: center;
  }

  .gallerynav ul li a {
    display: block;
    width: 100%;
    color: #ffffff;
  }
}

/* -------------------------------------------------------- */
/* NAV POSITIONING & SOON LABEL */
/* -------------------------------------------------------- */

nav ul li {
  position: relative;
}

.soon-label {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%) rotate(20deg);
  font-size: 0.7rem;
  padding: 2px 6px;
  background: #c99916;
  color: #e7e7e7;
  border-radius: 999px;
  white-space: nowrap;
  pointer-events: none;
}

/* -------------------------------------------------------- */
/* STORE ITEM — no hover changes at all */
/* -------------------------------------------------------- */

.hvr-back-pulse ul li.store-item:hover {
  transform: none !important;
}

.store-item a,
.store-item a:hover,
.store-item a:focus,
.store-item a:active {
  animation: none !important;
  transform: none !important;
  background: radial-gradient(#ac5439, rgba(182, 102, 77, 0.98)) !important;
  cursor: default !important;
}