body {
  margin: 0;
  background: url(images/bg.gif);
  background-size: 100% 100%;
  font-family: Verdana, Arial, sans-serif;
  font-size: 14px;
  color: #000;
}

#wrapper {
  width: 900px;
  margin: 20px auto;
  background: white;
  border: 4px ridge #cfcfcf;
}

#header {
  background: linear-gradient(#4ea8ff, #0b4e9e);
  color: white;
  text-align: center;
  padding: 25px;
  border-bottom: 4px ridge silver;
}

#header h1 {
  margin: 0;
  font-family: "Times New Roman", serif;
  font-size: 30px;
}

#header img {
  height: 120px;
}
#navbar {
  background: #d9e9ff;
  padding: 8px;
  border-bottom: 2px solid #6a9dd6;
  text-align: center;
}

#navbar a {
  text-decoration: none;
  color: navy;
  font-weight: bold;
  padding: 8px 14px;
}

#navbar a:hover {
  background: #87b8ff;
}

#content {
  display: flex;
}

#sidebar {
  width: 220px;
  background: #edf5ff;
  border-right: 2px solid #7ca7dd;
  padding: 15px;
}

#sidebar h3 {
  margin-top: 0;
  background: #3f81d6;
  color: white;
  padding: 5px;
  text-align: center;
}

#sidebar ul {
  padding-left: 20px;
}

#sidebar li {
  margin-bottom: 8px;
}

#sidebar a {
  color: #003399;
}

.counter {
  background: black;
  color: lime;
  text-align: center;
  font-family: monospace;
  padding: 6px;
  border: inset 3px gray;
}

#main {
  flex: 1;
  min-width: 0;
  padding: 20px;
}

#main h2 {
  color: #0055aa;
  border-bottom: 2px solid #9cc4ff;
}

#main img {
  width: 100%;
  border: 4px ridge silver;
  margin: 10px 0 20px;
}

.report {
  width: 100%;
  border-collapse: collapse;
}

.report th {
  background: #4e8fdd;
  color: white;
}

.report td,
.report th {
  border: 1px solid gray;
  padding: 8px;
}

#footer {
  background: #d9e9ff;
  text-align: center;
  padding: 15px;
  font-size: 12px;
  border-top: 2px solid #6a9dd6;
}

/* -------------------- marquee -------------------- */
.marquee {
  --gap: 10rem;
  position: relative;
  display: flex;
  overflow: hidden;
  user-select: none;
  gap: var(--gap);
  background: dodgerblue;
  color: white;
  line-height: 0;
}

.marquee__content {
  flex-shrink: 0;
  display: flex;
  justify-content: space-around;
  min-width: 100%;
  gap: var(--gap);
  animation: scroll 20s linear infinite;
  padding-inline-start: 0;
}

.marquee:hover .marquee__content {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-100% - var(--gap)));
  }
}

.marquee__content li {
  list-style: none;
}

.marquee__content li::before {
  content: "★";
  margin-right: 0.75rem;
  color: gold;
}

.marquee__content li::after {
  content: "★";
  margin-left: 0.75rem;
  color: gold;
}

/* -------------------- mascot -------------------- */
#mascot-container {
  position: relative;
  height: 300px;
  overflow: hidden;
  border: 4px ridge silver;
}

#mascot-container:hover {
  cursor: pointer;
}

#mascot-container .background {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  border: none;
  margin: 0;
}

#mascot-container .mascot {
  position: absolute;
  bottom: -100px;
  left: 70%;
  transform: translateX(-50%);
  width: 350px;
  z-index: 1;
  border: none;
  margin: 0;
}

.speech-box {
  position: absolute;
  top: 20px;
  left: 20px;
  z-index: 2;

  background: white;
  border: 3px solid #0055aa;
  border-radius: 15px;
  padding: 15px 20px;
  width: 200px;
  text-align: center;
  color: #003399;
  font-weight: bold;
  box-shadow: 4px 4px 0px #9cc4ff;
}

.speech-box::before {
  content: "";
  position: absolute;
  bottom: -20px;
  right: 30px;
  border-width: 0 20px 20px 20px;
  border-style: solid;
  border-color: transparent #0055aa transparent transparent;
}

.speech-box::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 32px;
  border-width: 0 16px 16px 0;
  border-style: solid;
  border-color: transparent white transparent transparent;
}

.speech-box p {
  -webkit-user-select: none; /* Safari */
  -moz-user-select: none; /* Firefox */
  -ms-user-select: none; /* IE10+/Edge */
  user-select: none; /* Standard */
}
