

body {
  font-family: "Dynamix";
  margin: 0;
  background-color: #d8f2d1;
  background: linear-gradient(179deg,#effaca 0%, #6ea559 100%);
  background: -webkit-linear-gradient(179deg,#effaca 0%, #6ea559 100%);
  background: -moz-linear-gradient(179deg,#effaca 0%, #6ea559 100%);
  }
  
  .chelsea-market-regular {
  font-family: "Chelsea Market", system-ui;
  font-weight: 400;
  font-style: normal;
}

  
/*Everything goes inside here.*/
.wrapper {
  width: 900px;
  margin: 0 auto;
  
  }

  

details {
  background: #a1c2bd00;
  border-radius: 6px;
  margin-bottom: 10px;
  
}

summary {
  list-style-position: outside;
  margin-left: 40px;
  padding: 15px 15px 15px 20px;
  cursor: pointer;
}

summary::marker {
  color: rgba(161, 192, 132, 0.568);
  font-size: 20px;
}

details[open] summary {
  border-radius: 6px 6px 0 0;
}

.sidebar-img, .footer, .title, .links, .box {
  margin-top: 25px;
  }
  
.title, .links, .footer {
  text-align: center;
  }
  
/*Navigation links.*/
.links ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
font-family: "springwood";
font-size: 1.6em;
color: rgb(143, 226, 83);
  }

  
.links li {
  display: inline-block;
  color:#000000;
  }

/*Some fancy code for fun, to add special characters around the navigation links. Change content to "" if you don't want these.*/
.links li:before {
  content: "「";
  }
  
.links li:after {
  content: "」 ∷ ";
  }
  
.links .last:after {
  content: "」";
  }
  
.links li:before, .links li:after {
  letter-spacing: 0.1em;
  }
  
/*Basic box code that is used for all content boxes on the page.*/
.box {
  border: 1px solid black;
  padding: 0.5em 1em;
  -webkit-box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0); 
box-shadow: 0px 10px 13px -7px #000000, 5px 5px 15px 5px rgba(0,0,0,0);
color: black;
  }
  
/*Goes inside the box class. Not given any style by default, but can be used for stuff like fancy borders.*/
.inner {
  border: 5px outset #8fac64;

background: #e4f5bd;
padding: 3px;
text-shadow: -2px 2px 3px rgba(112, 197, 52, 0.288);
justify-content: center;
text-align: center;
height: auto;
width: auto;
  }

  
  .innertwo {
      border: 5px outset #8fac64;

background: #e4f5bd;
padding: 3px;
text-shadow: -2px 2px 3px rgba(112, 197, 52, 0.288);
justify-content: center;
text-align: center;
position: relative;
height: auto;
  }

/*Prevent image overflow.*/
.box img, .sidebar img {
  max-width: 100%;
  height: auto;
}

/* Gallery styles */
.gallery {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}
.gallery__viewport {
  width: 100%;
  overflow: hidden;
}
.gallery__track {
  display: flex;
  gap: 0; /* no space between images */
  transition: transform 420ms cubic-bezier(.2,.8,.2,1);
  will-change: transform;
}
.gallery__track,
.gallery__slide {
  height: 100%;
}
.gallery__slide {
  flex: 0 0 100%;
}
.gallery__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover; /* crop to fill */
}
.gallery__viewport {
  /* ensure consistent aspect ratio so all boxes have identical heights */
  aspect-ratio: 4 / 3; /* changeable; keeps height consistent */
  /* allow vertical page scroll while enabling horizontal swipe handling in JS */
  touch-action: pan-y;
}

/* caption overlay: semi-transparent strip at bottom covering ~20% of slide */
.gallery__slide {
  position: relative;
}
.gallery__caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 20%;
  min-height: 40px;
  padding: 6px 10px;
  background: rgba(0,0,0,0.45);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-weight: normal;
  box-sizing: border-box;
  z-index: 30;
}
/* caption font/size to match site style */
.gallery__caption {
  font-family: 'springwood', 'Pancake Pen', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
  font-size: 1rem;
  line-height: 1;
  font-weight: normal;
}
/* make caption anchors look like plain overlay (no underline) */
.gallery__caption[href] {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
/* Ensure caption links render as pure white text with no outline/shadow. 
   This overrides any global `a` styles from skins. */
.gallery__caption,
.gallery__caption:link,
.gallery__caption:visited,
.gallery__caption:hover,
.gallery__caption:active {
  color: #ffffff !important;
  text-decoration: none !important;
  text-shadow: none !important;
  -webkit-text-stroke: 0px transparent !important;
  -moz-text-stroke: 0px transparent !important;
  filter: none !important;
}
.gallery__btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  padding: 8px 10px;
  border-radius: 4px;
  cursor: pointer;
  z-index: 40;
}
.gallery__btn--prev { left: 8px; animation: sway-left 2.4s ease-in-out infinite; }
.gallery__btn--next { right: 8px; animation: sway-right 2.4s ease-in-out infinite; }
.gallery__btn:active { transform: translateY(-50%) scale(.98); }

@keyframes sway-left {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  25% { transform: translateY(-50%) translateX(-2px) rotate(0deg); }
  50% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  75% { transform: translateY(-50%) translateX(-2px) rotate(0deg); }
}

@keyframes sway-right {
  0%, 100% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  25% { transform: translateY(-50%) translateX(2px) rotate(0deg); }
  50% { transform: translateY(-50%) translateX(0) rotate(0deg); }
  75% { transform: translateY(-50%) translateX(2px) rotate(0deg); }
}
.gallery__dots {
  display:flex;
  gap:.4rem;
  justify-content:center;
  margin-top:.6rem;
}
.gallery__dot {
  width:12px; height:12px; border-radius:50%; background:#ffffff;
  border: 2px solid #0b6623;
  cursor:pointer;
  transition: background 180ms ease, border-color 180ms ease;
}
.gallery__dot:hover {
  background: #f0f8f0;
}
.gallery__dot.is-active {
  background: #000000;
  border: 2px solid #ffffff;
}
.gallery__dot.is-active:hover {
  background: #000000;
}


/* ensure gallery fits inside the .box without adding extra space */
.box .gallery { margin: 0; }
  
/*Wrapper for the sidebar.*/
.sidebar {
  width: 240px;
  float: left;
  }
  
/*Container for the sidebar image.*/
.sidebar-image {
  border: 1px solid black;
  }
  
/*Remove extra padding line at the bottom of the image.*/
.sidebar-image img {
  display: block;
  }
  
/*This is where the title, navbar, and main content all go.*/
.main-wrapper {
  margin-left: 225px;
  }
  
/*Two columns by default. The "single-column" class can be added to make it one column.*/
.main {
  columns: 2;
  column-gap: 25px;
  }
  
/*Make sure boxes don't spread over multiple columns.*/
.main .box {
  display: block;
  }
  
.single-column {
  columns: 1;
  margin-bottom: 10px;
  }
  
.footer {
  margin-bottom: 25px;
  }
  
@media(max-width:915px) {
  .wrapper {    
    width: 95%;
    }
    
  .main-wrapper {
    width: calc(100% - 225px);
    }
  }
  
@media (orientation: portrait), (max-width: 480px) {
  .wrapper {
    width: 100%;
    }
  
  .main-wrapper, .sidebar, .footer {
    margin: 0 auto;
    width: 90%;
    }
  
  .sidebar {
    float: none;
    display: block;
    }

  .sidebar-image {
    margin: 0 auto;
    width: 33%;
    margin-top:25px;
    }

  .sidebar .sidebar-image img {
    width: 100%;
    }
    
  .footer {
    margin-bottom: 25px;
    }
  
  }