html {
  scroll-behavior: smooth;
  min-height: 100%;
}

body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-image: url('img/bg.gif');
  background-repeat: repeat;
  min-height: 100vh;
}

.presents {
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

nav {
  text-align: center;
  padding-top: 16px;
  padding-bottom: 16px;
  font-size: 16px;
}

nav a {
  margin: 0 30px;
}

h1 {
  text-align: center;
  font-weight: bold;
  font-size: 32px;
  margin-top: 16px;
  margin-bottom: 16px;
}

.subtitle {
  text-align: center;
  font-family: "Times New Roman", serif;
  color: rgb(0, 0, 255);
  font-size: 19px;
  font-style: italic;
  font-weight: bold;
}

.marquee-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.marquee-wrapper marquee {
  width: 100%;
}

.footer-text {
  font-family: "Times New Roman", serif;
  font-size: 10px;
  font-style: italic;
  color: black;
  margin-top: 0;
  line-height: 1.5;
  text-align: left;
}

.footer-wrapper {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  margin: 16px 0;
  padding-left: 16px;
}

.footer-text-wrapper {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 8px;
  height: 64px;
}

.footer-text-wrapper p {
  margin: 0;
}


.home-image {
  margin-top: 0;
  margin-bottom: 16px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  max-width: 640px;
  width: 100%;
}

.audio-hint {
  margin-top: 0;
  margin-bottom: 0;
  padding-bottom: 16px;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

.gallery-hint {
  margin-top: 16px;
  margin-bottom: 0;
  text-align: center;
  font-family: Arial, sans-serif;
  font-weight: bold;
  font-size: 16px;
}

.copyright {
  margin-top: 16px;
  margin-bottom: 0;
  text-align: center;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 16px;
}

.credits {
  margin-top: 2px;
  margin-bottom: 16px;
  text-align: center;
  font-family: "Times New Roman", serif;
  font-style: italic;
  font-size: 10px;
}

.faq-title {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", serif;
  font-size: 32px;
  font-weight: bold;
}

.faq-item {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", serif;
  font-size: 19px;
  font-style: normal;
  font-weight: normal;
}

.greeting {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", serif;
  font-size: 32px;
  font-weight: bold;
}

.description {
  margin-top: 0;
  margin-bottom: 16px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  font-family: "Times New Roman", serif;
  font-size: 19px;
  font-style: normal;
  font-weight: normal;
}

.separator {
  margin-top: 16px;
  margin-bottom: 16px;
  border: none;
  border-top: 1px solid black;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

img {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.gallery-table {
  margin-top: 16px;
  margin-bottom: 16px;
  margin-left: auto;
  margin-right: auto;
  border-collapse: collapse;
}

.gallery-table td {
  border: 1px solid black;
  padding: 8px;
  text-align: center;
  vertical-align: middle;
  font-size: 16px;
}

.gallery-count {
  margin-top: 16px;
  margin-bottom: 16px;
  text-align: left;
  font-family: monospace;
  font-size: 32px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
}

.gallery-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 0;
  margin-bottom: 16px;
}

.gallery-container img {
  width: 121px;
  height: auto;
  object-fit: contain;
}
