/* HOME PAGE */

body {
  margin: 0;
  height: 100%;
  background-image: linear-gradient(#2c64ff7d, #ffffff00),
    url(/background/dithered-sky.png);
  background-size: cover;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center;
  font-family: "Times New Roman", Times, serif;
  font-size: 1em;
  color: white;
}

header {
  font-size: 1.5em;
}

h1,
h2,
h3,
nav {
  font-family: Cambria, Cochin, Georgia, Times, "Times New Roman", serif;
}

h1 {
  text-align: center;
  margin-bottom: 10px;
}

h2 {
  border-bottom: 3px dotted white;
  text-align: center;
}

h3 {
  border-radius: 20px;
  text-align: center;
}

audio {
  display: block;
  float: right;
  margin: 0 auto;
  text-align: center;
}

.audio-playing {
  overflow: hidden;
  margin: 4px auto;
  background-color: #011c66b6;
  border: solid 1px black;
}

.audio-name {
  animation-name: audio-name;
  animation-duration: 20s;
  animation-direction: normal;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  font-style: italic;
  opacity: 0.9;
  white-space: nowrap;
}

@keyframes audio-name {
  0% {
    transform: translate(100%, 0);
  }
  100% {
    transform: translate(-100%, 0);
  }
}

.kirby-gif {
  max-width: 50px;
  position: absolute;
  z-index: 1;
}

.container {
  display: flex;
  justify-content: center;
}

.blue-section,
.update {
  background-color: #011c66b6;
  padding: 20px;
}

.update,
.webring {
  border: 1px solid white;
}

.update img,
textarea {
  display: block;
  margin: auto;
  text-align: center;
}

textarea {
  margin-top: 8px;
  width: 300px;
  height: auto;
  background-color: #011c6654;
  color: white;
  border: 1px solid white;
}

.border {
  display: block;
  margin: 0 auto;
}

main {
  max-width: 1000px;
  margin: 0 auto;
  line-height: 1.5;
}

.scroll {
  scrollbar-color: rgb(255, 255, 255) #011c66b6;
}

.update {
  max-width: 300px;
  height: 200px;
  overflow-x: hidden;
  overflow-y: scroll;
}

.update-links {
  text-align: center;
}

.to-do {
  max-height: 300px;
  overflow-y: scroll;
  border: 1px solid white;
}

.webring {
  text-align: center;
  overflow-y: scroll;
  height: 400px;
  color: #20457d;
  background-color: #ffffff79;
}

.buttons {
  margin: 20px auto;
  text-align: center;
}

footer {
  text-align: center;
  color: #00316973;
}

a {
  color: #ffffff;
  text-decoration: none;
  text-shadow: 0 0 2px blue, 0 0 2px black, 0 0 2px black;
}

a:hover {
  text-shadow: 0 0 2px #ffffff, 0 0 2px #7fb2ff, 0 0 30px #ffffff;
}

.update a,
.update-log a,
.middle-link a,
.blue-section a {
  text-decoration: underline;
}

.blue-section {
  overflow-y: scroll;
}

.blue-section ul,
.update ul {
  list-style-image: url(/icon/wing.ico);
}

.menu-icon {
  width: 30px;
}

nav {
  overflow: hidden;
  text-align: center;
}

.nav a {
  padding: 12px;
  font-weight: bold;
}

.nav .icon {
  display: none;
}

@media screen and (max-width: 1000px) {
  .nav a {
    display: none;
  }
  .nav a.icon {
    position: absolute;
    right: 0;
    top: 0;
    display: block;
  }
  .nav.responsive a.icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .nav.responsive a {
    float: none;
    display: block;
    text-align: left;
  }

  .webring,
  .reminders {
    margin-top: 20px;
  }
  .update {
    margin-top: 20px;
  }

  .container {
    display: flex;
    flex-direction: column;
  }

  .update {
    max-width: 100%;
  }

  article p {
    font-size: small;
  }

  .site-map {
    font-size: small;
  }
}

/* UPDATE PAGE */

.update-log {
  height: 500px;
  overflow-y: scroll;
}

time {
  font-weight: bold;
}

/* IMAGE MODAL */

img {
  transition: transform 0.2s;
}

img:hover {
  transform: scale(1.02);
}

.thumbnail {
  max-width: 100%;
  object-fit: cover;
  cursor: pointer;
}

.lightbox {
  display: none;
  position: fixed;
  z-index: 999;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000000cc;
  justify-content: center;
  align-items: center;
}

.lightbox-content {
  max-width: 90%;
  max-height: 90%;
}

/* WEBSITE HISTORY PAGE */

.website-history-image {
  width: 300px;
}

/* ABOUT */

.about-list {
  list-style-image: url(/icon/wing.ico);
}

.source {
  font-size: small;
}

.white-border {
  margin-top: 40px;
}

.userbox img {
  max-width: 150px;
}

.hamster-gif {
  display: block;
  margin: auto;
}

.thanks {
  display: block;
  text-align: center;
  margin-bottom: 20px;
  color: #00316973;
  font-style: italic;
}

.quiz {
  display: flex;
  flex-flow: row wrap;
}

.quiz img {
  display: block;
  margin: auto;
  text-align: center;
  width: 100px;
  margin: auto;
}

.quiz-source {
  display: block;
  text-align: center;
  margin: 20px auto;
  font-size: 12px;
}

.thumbnail {
  cursor: pointer;
  width: 300px;
  margin-right: 22px;
  margin-bottom: 6px;
  float: left;
}

.tooltip {
  position: relative;
  display: inline-block;
  color: skyblue;
  border-bottom: 2px dotted skyblue;
}

.tooltip .tooltip-text {
  visibility: hidden;
  width: 90px;
  background-color: #3380f3;
  border: 2px solid #ffffff;
  font-size: 14px;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip:hover .tooltip-text {
  visibility: visible;
}

.tooltip .tooltip-text::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.tooltip-purple {
  position: relative;
  display: inline-block;
  color: mediumslateblue;
  border-bottom: 2px dotted mediumslateblue;
}

.tooltip-purple .tooltip-text-purple {
  visibility: hidden;
  width: 90px;
  background-color: black;
  border: 2px solid mediumslateblue;
  font-size: 14px;
  color: mediumslateblue;
  text-align: center;
  padding: 5px;
  border-radius: 6px;
  position: absolute;
  z-index: 1;
  top: 100%;
  left: 50%;
  margin-left: -60px;
}

.tooltip-purple:hover .tooltip-text-purple {
  visibility: visible;
}

.tooltip-purple .tooltip-text-purple::after {
  content: " ";
  position: absolute;
  bottom: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: transparent transparent white transparent;
}

.inline {
  color: #69c0ff;
}

.inline-blue {
  color: #69c0ff;
  text-shadow: 1px 1px 1px blue;
}

.inline-blue > a:hover {
  text-shadow: 0 0 1px #38a2ff, 0 0 1px #38a2ff, 0 0 2px #38a2ff;
}

.inline-purple {
  color: mediumslateblue;
  text-shadow: 1px 1px 1px blue;
}

.inline-purple > a:hover {
  text-shadow: 0 0 1px #5027f5, 0 0 1px #6038ff, 0 0 2px #6038ff;
}

.bio {
  margin-bottom: 20px;
  padding: 20px;
  background-color: #011c66b6;
  max-height: 600px;
  overflow-y: scroll;
  overflow-x: hidden;
}

.bio a {
  text-decoration: underline;
}

/* OC */

.description {
  text-align: center;
  max-width: 500px;
  margin: auto;
  padding: 10px 20px;
  border: 1px solid white;
  background-color: #ffffff1a;
}

/* SITE MAP PAGE */

.site-map {
  display: flex;
  justify-content: center;
}

.site-map ul {
  list-style-image: none;
}
