

.gallery {
  width: 100%;
  overflow: hidden;
}

.gallery.vis .container .containerImgs .image {
  opacity: 1;
  transform: none;
}
.gallery.vis .container .containerImgs .image:nth-child(5n+1) {
  transition-delay: 0.1s;
}
.gallery.vis .container .containerImgs .image:nth-child(5n+2) {
  transition-delay: 0.2s;
}
.gallery.vis .container .containerImgs .image:nth-child(5n+3) {
  transition-delay: 0.3s;
}
.gallery.vis .container .containerImgs .image:nth-child(5n+4) {
  transition-delay: 0.4s;
}
.gallery.vis .container .containerImgs .image:nth-child(5n+5) {
  transition-delay: 0.5s;
}

.gallery.scale .container {
  opacity: 0;
  transform: scale(1.2);
}
.gallery .container {
  width: 90%;
  margin: 0 auto;
  transition: ease all 0.5s;
  background-color:rgba(0,0,0,0) !important;
}
.gallery .container h1, .gallery .container h2 {
  opacity: 0;
  color: #fff;
  font-weight: 500;
  text-align: center;
  letter-spacing: 1px;
  text-transform: uppercase;
  transform: translateY(-30px);
  transition: ease all 0.5s;
}
.gallery .container h1 {
  font-size: 60px;
}
.gallery .container .containerImgs {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-start;
  align-content: center;
  width: 100%;
/*  margin-top: 30px;*/
}
.gallery .container .containerImgs .image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  width: calc(20% - 10px);
  height: 100px;
  margin: 5px;
  opacity: 0;
  transform: translateX(-50px);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  transition: ease all 0.5s;
}
.gallery .container .containerImgs .image:hover:before {
  opacity: 1;
}
.gallery .container .containerImgs .image:hover .name {
  transform: none;
}
.gallery .container .containerImgs .image:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  background: linear-gradient(transparent, rgba(var(--light-blue-tertiary),1));
  transition: ease all 0.5s;
}

.dark-mode .gallery .container .containerImgs .image:before {
	background: linear-gradient(transparent, rgba(var(--orange-tertiary),1));
}

.gallery .container .containerImgs .image .name {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 90%;
  color: #fff;
  font-size: 2em;
  text-align: center;
  transform: translateY(100%);
  text-shadow: -2px -2px 5px #1c1c1c;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s;
}

.fullPreview {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(28, 28, 28, 0.9);
  z-index: 1000;
}
.fullPreview.anim .wrapper .title {
  opacity: 0;
  transform: translateX(-100px);
  transition-delay: 0s;
}
.fullPreview.anim .wrapper img {
  opacity: 0;
  transform: translateX(100px);
}
.fullPreview.anim .wrapper .desc {
  opacity: 0;
  transform: translateY(100px);
  transition-delay: 0s;
}
.fullPreview .closeButton {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  position: absolute;
  top: 30px;
  right: 30px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: rgba(var(--light-blue-tertiary),1);
  cursor: pointer;
  z-index: 10;
  transition: ease all 0.3s;
}



.dark-mode .fullPreview .closeButton{
	background-color:rgba(var(--orange-tertiary),1);	
}

.dark-mode .fullPreview .closeButton:hover{
	background-color:rgba(var(--orange-quinary),1);	
}


.fullPreview .closeButton:hover {
  transform: rotate(90deg);
  background-color: rgba(var(--light-blue-quinary),1);
  
}

.fullPreview .closeButton:before, 
.fullPreview .closeButton:after {
  content: "";
  position: absolute;
  width: 50%;
  height: 2px;
  background-color: rgba(var(--light-blue-quinary), 1);
}
.fullPreview .closeButton:before {
  transform: rotate(45deg);
}
.fullPreview .closeButton:after {
  transform: rotate(-45deg);
}

.fullPreview .closeButton:hover:before, 
.fullPreview .closeButton:hover:after {
  background-color: rgba(var(--light-blue-tertiary), 1);
}


.fullPreview .wrapper {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  width: 90%;
  height: 90%;
  position: relative;
}
.fullPreview .wrapper .blur {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  filter: blur(40px);
  transition: ease all 0.5s;
}
.fullPreview .wrapper .title {
  position: absolute;
  top: 0;
  left: 100px;
  color: rgba(var(--light-blue-quinary),1);
  font-size: 100px;
  -webkit-text-stroke: 0.5px #000;
  z-index: 1;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s 0.3s;  
}

.dark-mode .fullPreview .wrapper .title {
  color: rgba(var(--orange-quinary),1);
}
	
.fullPreview .wrapper img {
  max-width: 90%;
  max-height: 80%;
  position: relative;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.3s;
}
.fullPreview .wrapper .desc {
	font-size:1.5em;
  width: 100%;
  max-width: 600px;
  padding: 10px 0;
  color: #fff;  
  text-align: center;
  position: relative;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.5s 0.3s;
	border-radius: 5px;
	background-color: rgba(var(--light-blue-quaternary),.3);
}

.dark-mode .fullPreview .wrapper .desc {
	background-color: rgba(var(--orange-quaternary),.3);
}

.fullPreview .wrapper .controlPrev{
  position: absolute;
  bottom: 50%;
  left: 50px;
}

.fullPreview .wrapper  .controlNext{
  position: absolute;
  bottom: 50%;
  right: 50px;
}

.fullPreview .wrapper .controls .control {

  border-radius: 50%;
  background-color: rgba(var(--light-blue-tertiary),1);

  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  align-content: center;
  width: 50px;
  height: 50px;
  position: relative;
  cursor: pointer;
  transition: cubic-bezier(0.68, -0.55, 0.27, 1.55) all 0.3s;
  z-index:500

}
.fullPreview .wrapper  .controls .control:hover {
    transform: scale(1.5); 
    background-color: rgba(var(--light-blue-quinary),1);

}

.galleryControlArrowIcon{
	fill:rgba(var(--light-blue-quinary),1);	
}

.galleryControlArrowIcon:hover{
	fill:rgba(var(--light-blue-tertiary),1);	
}

.dark-mode .galleryControlArrowIcon{
	fill:rgba(var(--orange-quinary),1);	
}

.dark-mode .galleryControlArrowIcon:hover{
	fill:rgba(var(--orange-tertiary),1);	
}

.fullPreview  .wrapper .controls .control.av {
  transform: rotate(180deg);
}

.fullPreview  .wrapper .controls .control.av:hover {
 transform: rotate(180deg) scale(1.5) !important;
}
