/* ====== Configurable Variables ====== */
:root {
    --bg-color: #FFF287;
    --text-color: #C83F12;
    --stroke-color: #3B060A;
    --stroke-size: 10px;
    --scroll-speed: 25s;
    --image-opacity: 0.5;
    --button-bg: rgba(50,50,50,0.5);
    --button-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Dela Gothic One', sans-serif;
    color: var(--text-color);
    overflow-x: hidden;
    background-color: var(--bg-color);
}

.scrolling-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-image: url('scroll.png');
    background-repeat: repeat;
    background-size: 500px 500px;
    opacity: var(--image-opacity);
    pointer-events: none;
    z-index: 0;
    animation: scrollDiagonal var(--scroll-speed) linear infinite;
}

@keyframes scrollDiagonal {
    0% { background-position: 0 0; }
    100% { background-position: -500px 500px; }
}

.content {
    position: relative;
    z-index: 2; /* Above scrolling image */
    padding: 50px;
    max-width: 800px;
    margin: auto;
    text-align: center;
    justify-content: center;
}

.fade-in {
    opacity: 0;
    animation: fadeInAnimation 0.5s forwards;
}

@keyframes fadeInAnimation {
    to {
        opacity: 1;
    }
}


h1, h2 {
    color: var(--text-color);
    -webkit-text-stroke: var(--stroke-size) var(--stroke-color);
    paint-order: stroke fill;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3);
}

h3 {
    color: var(--text-color);
    -webkit-text-stroke: calc(var(--stroke-size) / 1.3) var(--stroke-color);
    paint-order: stroke fill;
    text-shadow: 0px 2px 2px rgba(0,0,0,0.3);
}

h1 { font-size: 4em; margin-bottom: 20px; }
h2 { font-size: 2.5em; margin-bottom: 15px; }
h3 { font-size: 1.8em; margin-bottom: 10px; }

p {
    font-size: 1.2em;
    line-height: 1.5em;
}

.slideshow-container {
  max-width: 1000px;
  position: relative;
  margin: auto;
  box-sizing: border-box;
  display: block;
}

.mySlides {
  display: none;
}

.mySlides img {
  width: 100%; 
  display: block; 
  box-shadow: 0px 8px 20px rgba(0, 0, 0, 0.6);
  border-radius: 10px;
}


.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

.next {
  right: 0;
  border-radius: 0 3px 3px 0;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
  background-color: rgba(0,0,0,0.8);
}

.captiontext {
  color: #f2f2f2;
  font-size: 15px;
  padding: 8px 12px;
  position: absolute;
  bottom: 8px;
  width: 100%;
  text-align: center;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
  text-shadow: 0px 0px 10px rgb(0, 0, 0);
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

.active, .dot:hover {
  background-color: #717171;
}

.galleryfade {
  animation-name: galfade;
  animation-duration: 1.5s;
}

@keyframes galfade {
  from {opacity: .4}
  to {opacity: 1}
}

.btn {
    display: inline-block;
    padding: 12px 25px;
    margin: 10px 0;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 1.5em;
    color: var(--text-color);
    -webkit-text-stroke: calc(var(--stroke-size) / 2) var(--stroke-color);
    paint-order: stroke fill;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
    background-color: var(--button-bg);
    border: none;
    border-radius: var(--button-radius);
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn:hover {
    background-color: rgba(24, 24, 24, 0.5);
    transform: scale(1.05);
}

.footer {
    background-image: linear-gradient(to bottom right, #1fd2fb, #a037fc);
    color: white;
    padding: 30px 20px;
    text-align: center;
    font-family: 'Dela Gothic One', sans-serif;
    font-size: 1em;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.3);
    position: relative;
    z-index: 1;
}

.footer a {
    color: #FFD700;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.halfcontainer {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}

.half {
    flex: 1 1 50%;
    padding: 20px;
    box-sizing: border-box;
}