:root {
  font-size: 16px;
}
@media (max-width: 500px) {
  :root {
    font-size: 14px;
  }
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

::selection {
  background: #87cd33;
  color: white;
}

body {
  overflow: hidden;
/*  font-family: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial,
    sans-serif, Apple Color Emoji, Segoe UI Emoji; */
}
header.header {
  display: flex;
  justify-content: center;
  height: 100vh;
  text-align: center;
  background: #ddd;
  margin-bottom: 80px;
}
.header-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: black;
  color: white;
}

.demo-wrapper {
  overflow-x: hidden;
  overflow: hidden;
}

.wrapper {
  display: flex;
}

.demo-gallery:not(.last) {
  padding-bottom: 1rem;
}
.demo-text .text {
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: 1;
  font-weight: 900;
  white-space: nowrap;
}
.demo-text .text a {
  font-size: clamp(8rem, 15vw, 16rem);
  line-height: 1;
  font-weight: 900;
  color: #40ff00;
  text-decoration: none;
}
.demo-text .text a:hover,
.demo-text .text a:focus,
.demo-text .text a:active {
  color: #40ff00; /* Keep the same color */
  text-decoration: none; /* Prevent underline */
  outline: none; /* Remove focus outline (optional, but improves aesthetics) */
}
/* For LightBox */
.modal.and.carousel {
  position: fixed; // Needed because the carousel overrides the position property
}
.modal-dialog {
  width: 70vw !important;
  max-width: none !important;
}

.modal-content {
  width: 100%;
  height: 70vh !important;
}

.modal-body {
  padding: 0;
}

.carousel-inner {
  width: 100%;
  height: 100%;
}

.carousel-inner img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* or "cover" for a different effect */
}

.carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  background: none !important; /* Remove any gradient around the buttons */
  border: none !important; /* Remove any border around the buttons */
  box-shadow: none !important; /* Remove any box-shadow or glow effect */
}

.carousel-control span {
  color: #40ff00; /* Green color for the icons */
  font-size: 1rem; /* Optional: adjust size of the icons */
}

.carousel-control:hover,
.carousel-control:focus {
  background: none !important; /* Ensure no background when hovered/focused */
  color: #40ff00 !important; /* Maintain green color */
}

@media (max-width: 768px) {
  /* only when the lightbox is actually open (BS3 uses .in) */
  #lightbox.modal.fade.in {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;   /* kill any unwanted padding */
    margin: 0 !important;    /* kill any unwanted margins */
  }

  /* center its dialog box */
  #lightbox.modal.fade.in .modal-dialog {
    margin: auto !important;
    max-width: 90vw !important;
    width: auto !important;
  }

  /* ensure your content scrolls if it overflows */
  #lightbox.modal.fade.in .modal-content {
    max-height: 80vh !important;
    overflow-y: auto !important;
  }
}
