* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 20px;
  font-family: "Times New Roman", serif;
  background-color: #c0c0c0;
  background-image: url("images/16974.png");
  background-repeat: repeat;
  background-position: top left;
  color: #000000;
  line-height: 1.4;
}

.wrapper {
  display: flex;
  flex-direction: column;
  min-height: calc(100vh - 40px);
  max-width: 900px;
  margin: 0 auto;
  background: #f8f8ff;
  border: 3px solid #000000;
  padding: 10px;
}

.footer {
  margin-top: auto;
  text-align: center;
  padding: 10px 0 0;
}

.banner {
  background: lch(19.65% 98.76 306.29);
  color: #ffffff;
  border: 2px solid #000000;
  padding: 8px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  font-size: 20px;
  font-weight: bold;
  text-transform: uppercase;
}

.banner-weather {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 16px;
  font-weight: bold;
  text-transform: lowercase;
  cursor: help;
}

.banner-weather img {
  height: 24px;
  width: auto;
  display: block;
}

.banner-tooltip {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  background: #ffffff;
  color: #000000;
  border: 2px solid #000000;
  padding: 4px 8px;
  font-size: 12px;
  font-weight: bold;
  text-transform: none;
  white-space: nowrap;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 5;
}

.banner-weather:hover .banner-tooltip,
.banner-weather:focus-within .banner-tooltip {
  opacity: 1;
  visibility: visible;
}

.topbox {
  border: 2px solid #000000;
  margin-top: 10px;
  padding: 8px;
  background: #ffffcc;
}

.carousel {
  border: 2px solid #000000;
  margin: 10px auto 0;
  padding: 8px;
  background: #ffffff;
  overflow: hidden;
  width: 800px;
  max-width: 100%;
  height: 400px;
}

.carousel-track {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  perspective: 1200px;
  transform-style: preserve-3d;
}

.carousel-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: translateX(100%);
  z-index: 0;
  transition: opacity 1s ease, transform 1s ease;
  pointer-events: none;
}

.carousel-slide.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 1;
  pointer-events: auto;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 2px solid #000000;
  display: block;
}

.carousel-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 50px;
  padding: 6px 12px;
  background: #0000aa;
  color: #ffffff;
  font-size: 20px;
  font-family: "Times New Roman", serif;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  text-align: center;
}


.tiny {
  margin: 0 0 6px;
  font-size: 12px;
}

marquee {
  font-size: 13px;
}

.navbox {
  border: 2px solid #000000;
  margin-top: 10px;
  padding: 8px;
  background: #dcdcdc;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.navbox a {
  color: #0000aa;
  font-weight: bold;
  text-decoration: underline;
}

.main-layout {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 10px;
  margin-top: 10px;
}

.left-column,
.right-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.panel {
  border: 2px solid #000000;
  padding: 10px;
  background: #ffffff;
}

.panel h1,
.panel h2 {
  margin-top: 0;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: underline;
}

.panel p,
.panel li {
  font-size: 14px;
}

.signup-panel {
  background: #ffffcc;
}

.signup-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.signup-form input {
  flex: 1 1 180px;
  padding: 6px 8px;
  border: 2px solid #000000;
  font-family: "Times New Roman", serif;
}

.signup-form button {
  padding: 6px 10px;
  border: 2px solid #000000;
  background: #0000aa;
  color: #ffffff;
  font-family: "Times New Roman", serif;
  font-weight: bold;
  cursor: pointer;
}

.signup-message {
  margin-top: 8px;
  font-size: 13px;
  font-weight: bold;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

ul {
  padding-left: 20px;
  margin: 0;
}

.image-box {
  margin-top: 8px;
  border: 2px dashed #000000;
  padding: 30px 10px;
  text-align: center;
  background: #f0f0f0;
  font-size: 13px;
}

.footer {
  margin-top: 10px;
  border: 2px solid #000000;
  padding: 8px;
  text-align: center;
  background: #e0e0e0;
  font-size: 12px;
}

@media (max-width: 700px) {
  body {
    padding: 8px;
  }

  .banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .main-layout {
    grid-template-columns: 1fr;
  }
}
