:root {
  --galleryFrame: initial;
  --leftToggler: initial;
  --rightToggler: initial;
  --bigImageNumbers: 'hello';
}




.gallerySmallImages,
.gallerySmallImagesWide {
  cursor: pointer;
}


.gallerySmallImagesWide IMG {
  width: 100%;
  border-radius: 10px;
  opacity: 100%;
  filter: brightness(85%)
}

.gallerySmallImages IMG:hover,
.gallerySmallImagesWide IMG:hover {
  opacity: 100%;
  filter: brightness(100%);
}

/*-----------------------------------------------------------POPUP GALLERY---------------------------------------------*/


#galleryFrame {
  display: var(--galleryFrame);
  height: 100vh;
  width: 100vw;
  background-color: black;
  background: url('./assets/qvaz.png');
  background-size: 100%;
  position: fixed;
  z-index: 10000000;
  animation-name: turnOn;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
}

#closeGallery {
  color: white;
  text-align: right;
  margin-top: 60px;
  margin-right: 100px;
  cursor: pointer;
  font-size: 48px;
}

.closeGalleryDelay {
  transform: scale(1);
}

#closeGallery:hover {
  color: var(--highLightColor);
}

.swapLeftIn {
  animation-name: swapLeftIn;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.swapLeftOut {
  animation-name: swapLeftOut;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.swapRightIn {
  animation-name: swapRightIn;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

.swapRightOut {
  animation-name: swapRightOut;
  animation-duration: 0.5s;
  animation-delay: 0s;
  animation-fill-mode: forwards;
  animation-iteration-count: 1;
}

#toggleLeft {
  color: white;
  position: absolute;
  top: 50%;
  left: 4%;
  border-left: solid 6px white;
  border-top: solid 6px white;
  transform: rotate(-45deg);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: var(--leftToggler);
  z-index: 5000;
}

#toggleRight {
  color: white;
  position: absolute;
  top: 50%;
  right: 4%;
  border-left: solid 6px white;
  border-top: solid 6px white;
  transform: rotate(135deg);
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: var(--rightToggler);
  z-index: 5000;
}

#toggleRight:hover,
#toggleLeft:hover {
  border-color: var(--highLightColor);
}


.scaledImages {
  animation-name: scaleUp;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}

.lowerImages {
  animation-name: scaleDown;
  animation-duration: 0.5s;
  animation-fill-mode: forwards;
  animation-delay: 0s;
}

.galleryBigImages {
  text-align: center;
  display: none;
  position: absolute;
  z-index: 4000;
}

.showSelectedGalleryImage {
  display: initial;
}

.galleryBigImages IMG {
  height: 80vh;
  opacity: 100%;
}

.wideImages IMG {
  height: 80vh;
  opacity: 100%;
}


#galleryList {
  z-index: 1000000;
  position: absolute;
  color: white;
  font-size: 24px;
  top: 93%;
  left: 48%;
}

#galleryList::after {
  content: var(--bigImageNumbers);
}

.galleryPics {
  opacity: 100%;
  transform: none;
  transition: ease 0.3s;
}

.loadSmallPictures {
  opacity: 0%;
  transform: translateY(100px)scale(0.2);
}



@keyframes turnOn {
  0% {
    transform: scale(0);
  }

  100% {
    transform: scale(1);
  }
}


@keyframes scaleUp {
  0% {
    transform: scale(0.1)
  }

  100% {
    transform: scale(1)
  }
}

@keyframes scaleDown {
  0% {
    filter: grayscale(90);
    transform: scale(1);
  }

  100% {
    transform: scale(0);
    filter: grayscale(100);

  }
}

@keyframes swapLeftIn {
  0% {
    margin-left: 200vh;
  }

  100% {
    margin-left: 0vh;
  }
}

@keyframes swapLeftOut {
  0% {
    margin-left: 0vh;
  }

  100% {
    margin-left: -200vh;
  }
}

@keyframes swapRightIn {
  0% {
    margin-left: -200vh;
  }

  100% {
    margin-left: 0vh;
  }
}

@keyframes swapRightOut {
  0% {
    margin-left: 0vh;
  }

  100% {
    margin-left: 200vh;
  }
}


@keyframes themeSwap {
  0% {
    margin-right: -198.6vw;
  }

  30.5% {
    margin-right: -198.6vw;
  }

  33% {
    margin-right: 0vw;
  }

  63.5% {
    margin-right: 0vw;
  }

  66% {
    margin-right: 198.6vw;
  }


  98% {
    margin-right: 198.6vw;
  }

  100% {
    margin-right: -198.6vw;
  }
}



@media screen and (max-width: 1024px) {
  .galleryBigImages img {
    height: unset;
    width: 100%;
    transform: translate(0px,0px);

  }

  .galleryBigImages {
    padding-left: 30px !important

  }

  #closeGallery {
    margin-right: 10px;
    margin-top: 4px;
  }
}


@media screen and (max-height: 576px) {
  .galleryBigImages img {
    height: 100%;
    width: 85%;
    transform: translate(10px, -50px)
  }

  #closeGallery {
    margin-right: 10px;
    margin-top: 4px;
  }

  #galleryList {
    top: 90%;
  }
}