/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: black;
  color: white;
  font-family: Lucida;
}

.bg-video,
.bg-gif {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

h1,
p {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  background-color: black;
  padding: 0.25em 0.5em;
}

a {
  color: rgb(255, 255, 255);
}
a:hover {
  color: rgb(128, 128, 128);
}

.logo {
  position: fixed;
  top: 20px;
  left: 20px;

  width: 100px;
}

.footer {
  position: fixed;
  bottom: 1%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.centeredtext {
  text-align: center;
}

.center-gif {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.link-index {
  position: fixed;
  top: 80px;
  left: 20px;
}

.links {
  margin: 0.25em 0;
}

.mute-btn {
  position: fixed;
  bottom: 2%;
  right: 2%;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  line-height: 0;
}

/* Blog entry content: a readable, centered column that flows down the page. */
.blogtext {
  display: block;
  max-width: 42em;
  margin: 6em auto 4em;
  padding: 1.5em 2em;
  background-color: black;
  line-height: 1.7;
  text-align: left;
  font-size: 1.05rem;
}

/* Headings and paragraphs inside a blog entry */
.blogtext h1,
.blogtext h2,
.blogtext h3 {
  width: auto;
  margin: 1.2em 0 0.5em;
  padding: 0;
  background-color: transparent;
  line-height: 1.3;
}

.blogtext p {
  width: auto;
  margin: 0 0 1em;
  padding: 0;
  background-color: transparent;
}

/* Embeds (images, videos, iframes) placed inside a blog entry */
.blogembed {
  display: block;
  max-width: 100%;
  margin: 1.5em auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* Responsive video/iframe embeds keep a 16:9 ratio */
.blogembed-video {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  margin: 1.5em auto;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 6px;
}

/* Caption text under an embed */
.blogcaption {
  display: block;
  width: auto;
  margin: -0.75em auto 1.5em;
  padding: 0;
  background-color: transparent;
  font-size: 0.85rem;
  font-style: italic;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}