/* filepath: /Users/dmvishnyak/maxksienda/style.css */
body {
  font-family: "Anton", sans-serif;
  background-color: #000000;
  color: #f3fa00;
  font-style: italic;
  text-align: center;
  /* Remove opacity/transition from body */
}
body.loaded {
  /* ...existing code... */
}
.anton-heading {
  font-family: "Anton", sans-serif;
  font-size: 1.8rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 1.5rem;
  color: #f3fa00;
}

.subtitle {
  font-family: "Alumni Sans", sans-serif;
  color: #f3fa00;
  font-size: 0.8em;
  margin-top: 0em;
  text-align: center;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.media-row {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  margin-bottom: 0 !important;
  padding: 0 !important;
  border: none;
  /* Remove any default vertical spacing */
}
.media-row + .media-row {
  margin-top: 0 !important;
  padding-top: 0 !important;
  border: none;
}
.media-row .media-label {
  font-family: "Anton", sans-serif;
  text-transform: uppercase;
  line-height: 1;
  font-size: 1.2em;
  display: flex;
  align-items: flex-start;
  width: 100px;
  justify-content: flex-end;
}
.media-row .media-label.right {
  justify-content: flex-start;
  text-align: left;
}
.media-row .media-label.left {
  margin-right: 18px;
  text-align: right;
}
.media-row .media-label.right {
  margin-left: 18px;
  text-align: left;
}
.media-row .media-images {
  display: flex;
  justify-content: center;
  margin: 0 !important;
  padding: 0 !important;
  border: none;
}
.media-row .media-images img {
  width: 180px;
  box-sizing: border-box;
  transition: border 0.2s;
}
.media-row .media-images a:hover img {
  border: 1px dashed #f3fa00;
}
.media-row .media-images a {
  display: inline-block;
  line-height: 0;
  padding: 0;
  margin: 0;
  border: none;
  background: none;
  vertical-align: top;
}
.media-row .media-images a:focus {
  outline: none;
}
.lightbox-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.85);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  pointer-events: none;
  visibility: hidden;
}
.lightbox-overlay.active {
  display: flex;
  opacity: 1;
  pointer-events: auto;
  visibility: visible;
}
.lightbox-overlay:not(.active) {
  transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}
.lightbox-content {
  position: relative;
  background: transparent;
  padding: 5rem;
  border-radius: 8px;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lightbox-close {
  position: absolute;
  top: -32px;
  right: 0;
  font-size: 5rem;
  color: #f3fa00;
  background: none;
  border: none;
  cursor: pointer;
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10;
}
.lightbox-close:hover {
  transform: scale(1.15);
}
/* Add for mobile: show close button inside content */
@media (max-width: 600px) {
  .lightbox-close {
    top: 15px;
    right: 8px;
    font-size: 4rem;
    position: absolute;
    z-index: 10;
  }
  .lightbox-content {
    padding: 0.5rem;
  }
}
#preloader-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 2999;
  opacity: 1;
  pointer-events: auto;
  transition: opacity 0.4s;
}
body.loaded #preloader-overlay {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 3000;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  opacity: 1;
  transition: opacity 0.4s;
  pointer-events: auto;
}
body.loaded #preloader {
  opacity: 0;
  pointer-events: none;
  z-index: -1;
}
.preloader-title {
  font-family: "Anton", sans-serif;
  font-size: 2.5rem;
  color: #222;
  display: flex;
  user-select: none;
  text-transform: uppercase;
  z-index: 3100;
}
.preloader-title .preloader-letter {
  color: #222;
  transition: color 0.2s;
}
.preloader-title .preloader-letter.active {
  color: #f3fa00;
}
.preloader-loading-text {
  margin-top: 1.5rem;
  font-family: "Alumni Sans", sans-serif;
  font-size: 1.1rem;
  color: #f3fa00;
  letter-spacing: 0.12em;
  opacity: 0.7;
  animation: preloader-blink 1.4s infinite;
  transition: opacity 0.2s;
}
@keyframes preloader-blink {
  0% {
    opacity: 0.7;
  }
  50% {
    opacity: 0.15;
  }
  100% {
    opacity: 0.7;
  }
}
@media (max-width: 800px) {
  body {
    margin: 0 !important;
    padding: 0 !important;
  }
  .media-row {
    flex-direction: column;
    align-items: center;
    position: relative;
    margin-bottom: 0 !important;
    padding: 0 !important;
    width: 100vw;
    box-sizing: border-box;
    border: none;
  }
  .media-row + .media-row {
    margin-top: 0 !important;
    padding-top: 0 !important;
    border: none;
  }
  .media-row .media-label {
    position: absolute;
    width: auto;
    color: #f3fa00;
    font-size: 1.1em;
    z-index: 2;
    margin: 0;
    top: 50%;
    transform: translateY(-50%);
    pointer-events: none;
    justify-content: center;
    left: 0;
    right: 0;
    display: none;
  }
  .media-row .media-label.left {
    vertical-align: auto;
    display: block;
    margin: 0%;
    font-size: clamp(1.2em, 4vw, 1.4em);
    color: #f3fa00;
    font-weight: bold;
    letter-spacing: 0.05em;
    text-align: center;
    position: absolute;
    top: 7vw;
    left: 0;
    right: 0;
    z-index: 2;
  }
  .media-row .media-label.right {
    text-align: center;
    vertical-align: auto;
    display: block;
    margin: 0%;
    font-size: clamp(0.6em, 4vw, 0.8em);
    color: #f3fa00;
    font-style: italic;
    letter-spacing: 0.02em;
    position: absolute;
    /* Place beneath left label */
    top: calc(7vw + 1.7em);
    left: 0;
    right: 0;
    z-index: 2;
  }
  .media-row .media-images {
    width: 100vw;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    border: none;
    opacity: 0.85;
  }
  .media-row .media-images img {
    width: 32vw;
    min-width: 0;
    max-width: 33.33vw;
  }
}
@media (max-width: 900px) and (orientation: landscape) {
  .lightbox-content {
    padding: 0 !important;
    max-width: 100vw;
    max-height: 100vh;
  }
  #lightbox-iframe {
    width: 100vw !important;
    height: 100vh !important;
    max-width: 100vw !important;
    max-height: 100vh !important;
    border-radius: 0 !important;
    display: block;
  }
}
