/* =========================
   GLOBAL RESET
   ========================= */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Lato', Arial, sans-serif;
  font-size: 12px;
  background: #000000 url(https://lindseywebphotos.carrd.co/assets/images/gallery02/f32b5acc.gif?v=c963ae88) repeat;
  background-size: auto; /* keeps original pixel size */
  display: block;
  justify-content: center;
  letter-spacing: 1px;
  text-shadow: 0px 0px 1px;
  color: #d4e5f7;
  padding: 8px 0;
  cursor: url('https://www.rw-designer.com/cursor-download/191829/Watermelon%20TOTM%202023%20-normalselect.cur'), auto;
}


textarea {
  font: 9px Calibri;
  letter-spacing: 1px;
  color: #999;
  background: #eee;
}

a:link, a:visited, a:active {
  color: #a6c1e4;
  cursor: url('https://www.rw-designer.com/cursor-download/191831/Waterelon%20TOTM%202023%20-%20normalselect2.cur'), auto;
  text-decoration: underline;
}

a:hover {
  color: #888;
}

b {
  font-weight: bold;
  font-style: normal;
}

i {
  color: #489dae;
  letter-spacing: 2px;
  font-family: monospace;
  font-size: 12px;
  font-style: normal;
  font-weight: bold;
  text-transform: uppercase;
}

u {
  text-decoration: none;
  font-style: italic;
}

/* =========================
   CONTAINER AND LAYOUT
   ========================= */
.container {
  width: 900px;
  max-width: 95%;
  background: transparent; /* show repeating GIF from body */
  border-radius: 4px;
  overflow: visible;
  box-shadow: 0 1px 5px rgba(0,0,0,0.1);
  margin: 0 auto;
}

.header {
  width: 100%;
  height: 10%;
  background: transparent;
  background-size: auto;
  background-position: center;
  /*border-bottom: 1px solid #ddd;*/
  text-align: center;
  top: 0;
  z-index: 1000;
}

.sitename {
  font: 40px 'Pixelify Sans', sans-serif;
  letter-spacing: 3px;
  text-shadow: 1px 1px 2px #000;
  padding-top: 5%;
}

.layout {
  display: flex;
  flex-wrap: wrap; /* allows responsive wrapping */
  align-items: flex-start; /* ensures children start at top */
}

.leftside {
  width: 200px;
  background: transparent;
  padding: 5px;
  flex-shrink: 0;           /* prevent shrinking */
  display: flex;
  flex-direction: column;

  position: sticky;          /* sticky behavior */
  top: 10px;                    /* distance from top of viewport */
  align-self: flex-start;    /* ensures it starts at top in flex layout */
}

.leftside .boxleft {
  margin-top: auto;
}

.nav-top-box {
  background: transparent;
  border: 2px solid #000;
  padding: 10px;
  margin-bottom: 15px;
  text-align: center;
}

.nav-top-box .boxtitle {
  margin-bottom: 8px;
  text-align: left;
}

.counter-display {
    font-size: 12px;
    justify-content: center;
}
 
#count {
    font-size: 12px;
    font-weight: BOLD;
}
 
.counter-btn {
    padding: 1.2rem;
    font-size: 1.2rem;
    background:url(https://lindseywebphotos.carrd.co/assets/images/image13.gif?v=58d067d0) center no-repeat;
    background-size: contain;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    filter: brightness(0.7);
    width: 50%;
}
 
.counter-btn:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px white);
    cursor: url('https://www.rw-designer.com/cursor-download/191831/Waterelon%20TOTM%202023%20-%20normalselect2.cur'), auto;
}

.mp3-btn {
    padding: 2rem;
    font-size: 1.2rem;
    background:url(https://lindseywebphotos.carrd.co/assets/images/image17.gif?v=d4c7c63e) center no-repeat;
    background-size: contain;
    justify-content: center;
    color: white;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s;
    filter: brightness(0.7);
}

.mp3-btn:hover {
    filter: brightness(1.2) drop-shadow(0 0 8px white);
    cursor: url('https://www.rw-designer.com/cursor-download/191831/Waterelon%20TOTM%202023%20-%20normalselect2.cur'), auto;
}

/* =========================
   NAVIGATION
   ========================= */
.navi {
  display: block;
  padding: 6px 5px;
  border-radius: 3px;
  transition: background 0.2s;
  background: linear-gradient(145deg, #4800d6, #489dae);
  margin-bottom: 4px;
  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 3px;
}

.navi:hover {
  background-color: #ddd;
}

.sublinks {
  display: none;
  padding-left: 8px;
  margin-top: 0px;
  cursor: pointer;
}

.sublinks a {
  display: block;
  padding: 4px 0;
  color: #d4e5f7;
  text-decoration: none;
}

.sublinks a:hover {
  color: #666;
}



/* =========================
   MAIN CONTENT AREA
   ========================= */
.rightside {
  flex: 1;                   /* take remaining space */
  padding: 8px;
  background: transparent;
  min-width: 0;              /* prevents flex overflow issues */
}

.mainbox {
  width: 100%;
  transition: background 0.2s;
  background: linear-gradient(145deg, #191f59, #489dae);
  padding: 8px;
  text-align: justify;
  margin-bottom: 8px;
  border-radius: 4px;
}

.maintitle {
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid #191f59;
  margin-bottom: 4px;
  padding-top: 2px;
  letter-spacing: 3px;
  font: 18px 'Pixelify Sans', courier new, arial;
  padding-left: 5px;
}

/* =========================
   GRID & BOXES
   ========================= */
.grid {
  column-count: 1;
  column-gap: 8px;
}

.box {
  transition: background 0.2s;
  background: linear-gradient(145deg, #191f59, #489dae);
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  margin-bottom: 8px;
  text-align: justify;
  padding: 6px;
  display: inline-block;
  width: 100%;
}

.boxleft {
  background: none;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  text-align: justify;
  margin-top: 5px;
  padding: 4px;
  display: inline-block;
  width: 100%;
}

.boxtitle {
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid #191f59;
  margin-bottom: 4px;
  padding-top: 0px;
  letter-spacing: 3px;
  font: 18px 'Pixelify Sans', courier new, arial;
  padding-left: 5px;
}

/* =========================
   RESPONSIVE DESIGN
   ========================= */
/*@media (max-width: 800px) {
  .grid { column-count: 2; }
}*/

@media (max-width: 600px) {
  .layout { flex-direction: column; }
  .leftside { width: 100%; }
  .grid { column-count: 1; }
}

/* Disable left sidebar sticky on screens 768px wide or smaller */
@media screen and (max-width: 768px) {
    .leftside {
        position: static;
    }
}

/* =========================
   VIDEO EMBEDS
   ========================= */
.video-container {
  position: relative;
  width: 100%;
  padding-bottom: 56.25%;
  height: 0;
  overflow: visible;
}

.video-container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* SCROLL TRACK */

.scroll-wrapper {
  width: 100%;        
  overflow: hidden;  
}

.scroll-track {
  display: flex;
  width: max-content;
  animation: scroll 20s linear infinite;
  padding: 10px;
  margin-bottom: 10px;
}

.scroll-track img {
  margin-right: 20px;
}

/* animation */
@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}