body {
  background-color: black;
  height: 100vh;
  margin: 0px;
  overflow: hidden;
}

.image {
  width: 50vmin;
  position: absolute;
  transform: translate(-50%, -50%);
}

.image[data-status="inactive"] {
  display: none;
}

.image[data-status="active"] {
  display: block;
}

/* -- YouTube Link Styles -- */

body.menu-toggled > .meta-link > span {
  color: rgb(30, 30, 30);
}

#source-link {
  bottom: 60px;
}

#source-link > i {
  color: rgb(94, 106, 210);
}

#yt-link > i {
  color: rgb(239, 83, 80);
}

.meta-link {
  align-items: center;
  backdrop-filter: blur(3px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  bottom: 10px;
  box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.1);
  cursor: pointer;  
  display: inline-flex;
  gap: 5px;
  left: 10px;
  padding: 10px 20px;
  position: fixed;
  text-decoration: none;
  transition: background-color 400ms, border-color 400ms;
  z-index: 10000;
}

.meta-link:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.meta-link > i, .meta-link > span {
  height: 20px;
  line-height: 20px;
}

.meta-link > span {
  color: white;
  font-family: "Rubik", sans-serif;
  font-weight: 500;
}

.caption {
  color: white;
  font-family: 'Rubik', sans-serif;
  font-size: 1rem;
  text-align: center;
}


.lightbox.active {
  display: flex;
}

.lightbox {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 10001;
}

.lightbox-content {
  position: relative;
  display: inline-flex;
  align-items: flex-start; /* Align button with the top of the image */
}

.lightbox img {
  max-width: 90vw;
  max-height: 80vh;
  transition: transform 0.3s ease-in-out;
  margin-bottom: 10px; /* Small space between image and caption */
}

.close-btn {
  position: absolute;
  top: 0; /* Aligns with the top of the image */
  right: -30px; /* Position it to the right side of the image */
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: white;
  cursor: pointer;
  z-index: 10002; /* Ensure it appears above the image */
}

.close-btn:hover {
  color: #ccc;
}

.caption {
  color: white;
  font-family: 'Rubik', sans-serif;
  font-size: 0.75rem;
  text-align: center;
}

