/* Define the font-face for TimesNow-Light */
@font-face {
  font-family: "TimesNow-Light";
  src: url("https://cdn.glitch.global/bc57a476-3a25-4b2f-8296-8ada771f843c/TimesNow-Light.ttf?v=1720944671993")
    format("truetype");
  font-weight: normal;
  font-style: normal;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 3px 6px 3px 6px;
}

body {
  overflow: hidden;
  background-color: black;
  transition: background-color 2s, opacity 2s;
}

body.fade-to-black {
  background-color: black;
}

body.fade-from-black {
  opacity: 0;
  transition: opacity 2s;
}
#info {
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(255, 255, 255, 0.8);
  z-index: 1000;
  padding: 10px;
  border-bottom: 1px solid #000;
  width: 100%;
  box-sizing: border-box;
}

.gif-image {
  width: 100%;
  height: 100%;
  object-fit: fill;
  user-drag: none;
  -webkit-user-drag: none;
  user-select: none;
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
}

.glow {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none; /* Ensure the glow does not affect interactions */
  -webkit-box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6);
  -moz-box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6);
  box-shadow: inset 0 0 20px rgba(255, 255, 255, 0.6);
  z-index: 1000;
}

.serif-style {
  font-family: TimesNow-Light, serif;
  font-weight: 300;
  color: white;
  font-size: 50px;
  line-height: 1;
  -webkit-text-stroke-width: 1.2px;
  font-smooth: never;
  -webkit-font-smoothing: subpixel-antialiased;
  margin: 0px;
  padding: 0px;
  text-align: center;
  overflow: hidden;
  mix-blend-mode: difference;
}

#playEndLink {
  text-decoration: underline;
  cursor: pointer;
}

#playEndLink:hover {
  color: cyan;
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px;
  width: 100%;
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
