/* GLOBAL */
.window {
  border: 2px solid white;
}

body {
  margin: 0;
  min-height: 100vh;

  background-image: url("background-image.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;

  font-family: 'Inter', sans-serif;
}



/* Header */
header {
  background: transparent;
  color: white;
  padding: 0px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0;
}


.dr-title {
  width: 400px;   /* increase or decrease this number */
  height: auto;  /* keeps proportions correct */
  vertical-align: middle;
  margin: 0;
  padding: 0;
  margin-right: 0px; /* space between image and text */
  display: block;
  margin-bottom: 0px; /* pull the cat down slightly */
}

.title-row {
  width: 100%;
  background: transparent;
  padding: 30px 0;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 30px; /* pull the cat down slightly */
  line-height: 0;
}

.title-row a {
  text-decoration: none;
}

.title {
  position: relative;   /* logo will anchor to THIS */
  display: inline-block;
  margin: 0;
  padding: 0;
  line-height: 0;
}

/* edit the position of the logo here */
.logo {
  position: absolute;
  top: 5px;     /* move UP (negative = up, positive = down) */
  right: -125px;    /* move LEFT (increase number = more left) */
  width: 75px;
  height: auto;
}

/* HOME CONTENT */
main {
  padding: 0px;
}

.image-row {
  display: flex;
  justify-content: center;
  gap: 40px;        /* space between the two images */
  margin: 40px 0;   /* space between rows */
}

.image-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  padding: 20px;
}

.link-image {
  display: block;
  width: 100%;
  height: 800px;
  overflow: hidden;

  border-radius: 12px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 0 20px rgba(255, 210, 127, 0.5);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.link-image:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(255, 210, 127, 0.9);
}

.link-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.content {
  position: relative;
  background: rgba(255, 255, 255, 0.9);
  margin-bottom: 20px;
  padding: 20px;
  padding-right: 240px; /* space for the cat */
  font-family: 'Quicksand', sans-serif;
  font-size: 1rem;
  border-radius: 10px;
}

.lightbox {
  position: fixed;
  inset: 0; /* top:0; right:0; bottom:0; left:0 */
  background: rgba(0, 0, 0, 0.85);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;

  opacity: 0;
  transition: opacity 0.25s ease;
  pointer-events: none;
}

.lightbox.active {
    opacity: 1;
    pointer-events: auto;
}

.lightbox img {
	max-width: 95vw;
	max-height: 95vh;
	width: auto;
	height: auto;

	border-radius: 10px;
	box-shadow: 0 0 40px rgba(255,255,255,0.2);
}

/* Lightbox arrows */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 60px;
  color: white;
  cursor: pointer;
  user-select: none;
  padding: 10px;
  transition: 0.2s ease;
}

.arrow:hover {
  color: #ffd27f;
  transform: translateY(-50%) scale(1.2);
}

.prev {
  left: 30px;
}

.next {
  right: 30px;
}

/* Fade + Zoom animation */
.lightbox.active img {
  animation: fadeZoom 0.25s ease;
}

@keyframes fadeZoom {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.close {
    position: absolute;
    top: 20px;
    right: 30px;

    color: white;
    font-size: 48px;
    cursor: pointer;

    user-select: none;
}

/* Day/Night Button */
.dark {
  filter: invert(1) hue-rotate(180deg);
}

/* Footer */
footer {
  text-align: center;
  padding: 10px;
  background: rgba(0, 0, 0, 0.8);
  color: white;
}