

/*
#123524
#3E7B27
#85A947
#EFE3C2
*/

html
{
  height: 100%;
  background: #123524 url(images/tablebg.png);
  background-attachment: fixed;
  cursor: url('images/dragcurpng.png'), auto;
}

body
{
  margin: 0;
  padding: 0;
  color: #efe3c2;
  font-weight: normal;
  font-style: normal;
  font-family: "Times New Roman",Times,serif;
  background: transparent;
}

header
{
  padding-top: 0px;
  padding-left: 5%;
  padding-bottom: 5%;
  padding-right: 5%;
  color: #efe3c2;
  text-align: center;
  /*top:0;
  position:sticky;*/
}
img
{
  cursor: url('images/dragcurpng.png'), auto;
}
main
{
    padding: 20px;
}

a
{
  color: #85a947;
  text-decoration: none;
  font-weight: bold;
}

a:visited
{
  color: #3e7b27;
}

a:hover
{
  text-decoration: underline;
  color: #efe3c2;
}

button
{
  border: 2px solid #3e7b27;
  padding: 10px 20px;
  background-color: #123524;
  color: #3e7b27;
  cursor: pointer;
  font-weight: bold;
}

button:hover
{
  border-color: #85a947;
  color: #85a947;
}

footer
{
  padding-top: 5%;
  padding-left: 5%;
  padding-bottom: 0%;
  padding-right: 5%;
  color: #efe3c2;
  text-align: center;
  margin-top: 40px;
}

.main-header
{
    color: #85A947;
    text-align: center;
    padding: 20px 20px 20px;
}

.main-header img
{
    display: block;
    margin: 0 auto 20px;
    max-width: 100%;
    height: auto;
}

nav
{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

nav a
{
  margin: 0 15px;
}

nav img
{
  height: 100px;
}

/* Optional hover effect for all nav images */
nav img:hover
{
  transform: scale(1.1);
  filter: brightness(1.1) saturate(1.5);
}

/* Nav link wrapper*/
.nav-links
{
  display: flex;
  gap: 15px;
  justify-content: center;
  align-items: center;
}

.nav-links img
{
  transition: transform 0.2s ease, filter 0.2s ease;
  filter: brightness(0.9) saturate(1.2);
}

.fancy-divider {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 20px auto;
}

table.main
{
  border-width: 8px;
  border-spacing: 8px;
  border-style: groove;
  border-color: #efe3c2;
  border-collapse: separate;
  background: #123524;
}

table.main td
{
  border-width: 4px;
  padding: 8px;
  border-style: ridge;
  border-color: #efe3c2;
  -moz-border-radius: ;
}     

/* --------------------------------
   Firefox killed the MARQUEE and we
have to fudge it back with annoying CSS crap
-------------------------------- */

.contact-scroll-cell {
    width: 15%;
    max-width: 15%;
    overflow: hidden;
}

.contact-scroll {
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
}

.contact-scroll-track {
    display: inline-block;
    white-space: nowrap;
    animation: oldschool-marquee 8s linear infinite;
}

.contact-scroll-item {
    display: inline-block;
    margin: 0;
    padding: 0;
}

.contact-scroll-item img {
    display: inline-block;
    vertical-align: middle;
    max-height: 24px;
    height: auto;
    width: auto;
}

@keyframes oldschool-marquee {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}


/* -------------------------------
   MOBILE
---------------------------------- */
@media (max-width: 768px) {


/* -------------------------------
   MOBILE
---------------------------------- */
@media (max-width: 768px) {


/* -------------------------------
   MOBILE
---------------------------------- */
@media (max-width: 768px) {
  html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    box-sizing: border-box;
    font-size: clamp(12px, 3vw, 14px);
  }

  *, *::before, *::after {
    box-sizing: inherit;
  }

  .fairy-img {
    width: 100%;
    max-width: 80px;
    height: auto;
  }

  header,
  .main-header,
  .main-content,
  .main-table-wrapper,
  .navpanel,
  footer,
  .footer-wrapper {
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 0;
    text-align: center;
  }

  table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
  }

  .main td,
  .navpanel td,
  footer .main td {
    padding: 6px;
    text-align: left;
    word-break: break-word;
  }

  footer a {
    display: block;
    text-align: center;
    margin: 10px auto;
  }

  footer a img {
    display: inline-block;
    max-width: 64px;
    height: auto;
  }

  img {
    max-width: 100%;
    height: auto;
    display: block;
  }

  .nav-links {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: center;
  }

  .nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 120px;
    width: 100%;
    padding: 5px 0;
  }

  .nav-label {
    font-size: clamp(12px, 3vw, 14px);
    text-shadow: 4px 4px 16px var(--magenta);
    margin-top: 5px;
  }

  .nav-links img {
    display: block;
    width: 100%;
    max-width:150px;
    height: auto;
    margin-top: 5px;
  }

  .gif-scroll-bg {
    display: flex;
    gap: 10px;
    animation: gif-scroll-mobile 10s linear infinite alternate;
  }

  .gif-scroll-bg img {
    height: clamp(40px, 15vw, 70px);
    flex-shrink: 0;
  }

  marquee img {
    display: inline-block;
    vertical-align: middle;
    max-height: 24px;
    height: auto;
    width: auto;
  }

  marquee {
    white-space: nowrap;
    overflow: hidden;
  }

  .marquee-overlay-text p {
    font-size: clamp(12px, 4vw, 14px);
    line-height: 1.4;
    padding: 0 10px;
    word-break: break-word;
  }



}