html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000000;
  background-image: url("assets/gifs/starfield.gif");
  color: #00ff00;
  font-family: "Comic Sans MS", "Comic Sans", "Trebuchet MS", Arial, sans-serif;
  font-size: 18px;
  line-height: 1.35;
}

a:link {
  color: #ffff00;
}

a:visited {
  color: #ff00ff;
}

a:hover,
a:active {
  color: #ff0000;
  background: #ffff00;
}

h1 {
  margin: 8px 0;
  color: #00ffff;
  font-family: "Times New Roman", Times, serif;
  font-size: clamp(34px, 6vw, 64px);
  line-height: 1.04;
  text-align: center;
  text-shadow: 3px 3px 0 #0000ff, 5px 5px 0 #ff00ff;
}

h3 {
  margin: 6px 0 10px;
  color: #ffff00;
  font-size: 28px;
  text-decoration: underline;
}

th {
  color: #ffff00;
  background: #330066;
  font-family: "Times New Roman", Times, serif;
  font-size: 30px;
  text-align: center;
  text-shadow: 2px 2px 0 #000000;
}

ul {
  margin: 0 0 18px 28px;
  padding: 0;
}

li {
  margin: 8px 0;
}

input,
textarea,
button {
  font-family: "Comic Sans MS", "Comic Sans", Arial, sans-serif;
  font-size: 16px;
}

input,
textarea {
  width: min(420px, 72vw);
  background: #ffffcc;
  color: #000000;
  border: 3px inset #cccccc;
}

textarea {
  resize: vertical;
}

.page-shell {
  width: min(94vw, 1100px);
  margin: 18px auto;
  background: #000033;
  border-color: #00ffff #000099 #000099 #00ffff;
  box-shadow: 0 0 0 5px #ff00ff, 0 0 24px #00ffff;
}

.header-table {
  background: #000000;
  border-color: #ffff00 #ff00ff #ff00ff #ffff00;
}

.header-stage {
  position: relative;
  min-height: 540px;
  padding: 24px 0 14px;
  overflow: hidden;
}

.header-main {
  position: relative;
  z-index: 2;
  width: min(78%, 820px);
  margin: 0 auto;
  padding-top: 10px;
}

.sick-gif {
  position: absolute;
  z-index: 1;
  height: auto;
  pointer-events: none;
}

.sick-top-left {
  top: 54px;
  left: 46px;
  width: 185px;
}

.sick-top-right {
  top: 54px;
  right: 92px;
  width: 96px;
}

.sick-bottom-left {
  left: 30px;
  bottom: 18px;
  width: min(28vw, 310px);
}

.sick-bottom-right {
  right: 60px;
  bottom: 58px;
  width: min(22vw, 230px);
}

.welcome-gif {
  display: block;
  width: min(576px, 80vw);
  height: auto;
  margin: 8px auto;
}

.subtitle {
  color: #ffcc00;
  font-size: 26px;
  font-weight: bold;
}

.tiny-note,
.music-note {
  color: #ccccff;
  font-size: 14px;
}

.old-button {
  margin: 4px;
  padding: 5px 12px;
  color: #000000;
  background: #cccccc;
  border: 4px outset #ffffff;
  cursor: pointer;
  font-weight: bold;
}

.old-button:active {
  border-style: inset;
}

.top-marquee {
  display: block;
  width: 100%;
  overflow: hidden;
  margin: 12px 0;
  padding: 5px;
  color: #003c42;
  background: #ff4b00;
  border: 3px ridge #ffff00;
  font-size: 20px;
  font-weight: bold;
}

.directory-table {
  background: #003333;
  border-color: #00ff00 #006600 #006600 #00ff00;
}

.directory-table td {
  background: #000000;
  font-size: 17px;
}

.directory-table img {
  width: 30px;
  height: 24px;
  vertical-align: middle;
}

.content-section {
  margin-top: 18px;
  background: #000000;
  border-color: #00ffff #0000cc #0000cc #00ffff;
}

.content-section td {
  background: #000033;
}

.about-section td {
  color: #ffffff;
}

.float-right {
  float: right;
  margin: 0 0 10px 16px;
}

.small-gif {
  max-width: 86px;
}

.divider {
  max-width: min(504px, 78vw);
  height: auto;
}

.thin-divider {
  width: min(610px, 82vw);
  height: 12px;
}

.photo-section p {
  color: #ffffff;
}

.photo-frame {
  max-width: 900px;
  background: #330066;
  border-color: #ffcc00 #996600 #996600 #ffcc00;
}

.wide-photo {
  display: block;
  max-width: min(830px, 82vw);
  height: auto;
  border: 3px ridge #ffffff;
}

.caption {
  color: #ffff00;
  font-size: 16px;
  margin-top: 6px;
}

.dog-table {
  background: #330033;
  border-color: #ff00ff #660066 #660066 #ff00ff;
}

.dog-table td {
  background: #000000;
}

.dog-photo {
  max-width: min(330px, 36vw);
  max-height: 440px;
  width: auto;
  height: auto;
  border: 4px ridge #ffff00;
}

.ticket-table {
  background: #000000;
  border-color: #ffff00 #996600 #996600 #ffff00;
}

.ticket-table td {
  background: #330000;
  color: #ffffff;
  font-size: 22px;
}

.ticket-link {
  display: inline-block;
  margin: 10px 0;
  font-size: 24px;
  font-weight: bold;
}

.dnd-section td {
  color: #ffffff;
}

.dnd-section img {
  margin: 4px;
}

.blog-entry {
  background: #000000;
  border-color: #00ff00 #006600 #006600 #00ff00;
}

.blog-entry td {
  background: #001a00;
}

.paint-bottle-photo {
  float: right;
  width: min(360px, 42vw);
  height: auto;
  margin: 0 0 12px 16px;
  border: 4px ridge #00ffff;
}

.coming-soon {
  color: #ff00ff;
  font-size: 34px;
  font-weight: bold;
  text-decoration: blink;
  animation: blink 1s steps(2, start) infinite;
}

.recipe-section td {
  color: #ffffff;
}

.ranch-gif {
  width: min(220px, 32vw);
  height: auto;
  border: 4px ridge #00ff00;
  background: #000000;
}

.recipe-card {
  margin: 12px 0;
  background: #000000;
  border-color: #ffff00 #996600 #996600 #ffff00;
}

.recipe-card th {
  background: #330066;
  font-size: 22px;
}

.recipe-card td {
  background: #001a00;
  color: #ffffff;
  font-size: 18px;
}

.recipe-total td,
.recipe-card .recipe-total td {
  background: #330000;
  color: #ffff00;
  font-weight: bold;
}

.links-section td {
  color: #ffffff;
}

.weekend-guide-table {
  margin-top: 12px;
  background: #000000;
  border-color: #ffff00 #996600 #996600 #ffff00;
  table-layout: fixed;
}

.weekend-guide-table th {
  font-size: 20px;
  background: #330066;
}

.weekend-guide-table td {
  color: #ffffff;
  background: #001a1a;
  font-size: 16px;
  vertical-align: top;
  overflow-wrap: anywhere;
}

.weekend-guide-table td:first-child {
  width: 28%;
  font-weight: bold;
}

.guestbook-section td {
  color: #ffffff;
}

.form-table {
  background: #000000;
  border-color: #ff00ff #660066 #660066 #ff00ff;
}

.form-table td {
  background: #330033;
  color: #ffffff;
}

.bot-field {
  display: none;
}

.footer-gif {
  width: min(360px, 75vw);
  height: auto;
}

.blink {
  animation: blink 0.9s steps(2, start) infinite;
}

@keyframes blink {
  0%, 45% {
    opacity: 1;
  }
  46%, 100% {
    opacity: 0;
  }
}

@media (max-width: 760px) {
  body {
    font-size: 16px;
    overflow-x: hidden;
  }

  .page-shell {
    width: calc(100vw - 16px);
    margin: 8px auto;
    box-shadow: 0 0 0 3px #ff00ff, 0 0 14px #00ffff;
  }

  .page-shell,
  .page-shell table {
    max-width: 100%;
  }

  .header-table,
  .directory-table,
  .content-section,
  .dog-table,
  .form-table,
  .ticket-table,
  .blog-entry {
    table-layout: fixed;
  }

  .header-stage {
    min-height: 650px;
    padding-top: 14px;
  }

  .header-main {
    width: 100%;
    padding-top: 42px;
  }

  .sick-top-left {
    top: 14px;
    left: 14px;
    width: 82px;
  }

  .sick-top-right {
    top: 18px;
    right: 22px;
    width: 58px;
  }

  .sick-bottom-left {
    left: 8px;
    bottom: 14px;
    width: 128px;
  }

  .sick-bottom-right {
    right: 10px;
    bottom: 34px;
    width: 116px;
  }

  h1 {
    font-size: clamp(26px, 9vw, 34px);
    overflow-wrap: anywhere;
  }

  th {
    font-size: 24px;
    overflow-wrap: anywhere;
  }

  .directory-table td,
  .dog-table td,
  .form-table td {
    display: block;
    width: 100% !important;
  }

  .directory-table tr,
  .dog-table tr,
  .form-table tr {
    display: block;
    width: 100%;
  }

  .dnd-gif-table,
  .dnd-gif-table tbody,
  .dnd-gif-table tr,
  .dnd-gif-table td {
    display: block;
    width: 100% !important;
  }

  .dnd-gif-table img {
    max-width: 42vw;
    height: auto;
  }

  .ticket-link,
  .links-section a,
  .weekend-guide-table a {
    overflow-wrap: anywhere;
  }

  .weekend-guide-table,
  .weekend-guide-table tbody,
  .weekend-guide-table tr,
  .weekend-guide-table th,
  .weekend-guide-table td {
    display: block;
    width: 100% !important;
  }

  .weekend-guide-table th {
    text-align: left;
    font-size: 19px;
  }

  input,
  textarea {
    width: 100%;
  }

  .dog-photo {
    max-width: 72vw;
  }

  .float-right,
  .paint-bottle-photo {
    float: none;
    display: block;
    margin: 10px auto;
  }
}
