:root {
  --carousel-width: 1728px;
  /* --carousel-height: calc(var(--carousel-width) * var(--golden)); */

  /*colors*/
  --clr-primary: hsl(196, 88%, 66%);
  --clr-secondary: hsl(217, 60%, 47%);
  --clr-tertiary: #e5e2ee;
  --clr-dark: rgb(27, 29, 27);
  --clr-accent: #e7209e;
  --glass-background: rgb(153, 202, 235);
  /*background opacity*/
  --clr-dark-background: rgba(27, 29, 27, 0.2);

  /* --clr-primary: hsl(196, 88%, 66%);
  --clr-secondary: hsl(217, 60%, 47%);
  --clr-tertiary: #e5e2ee;
  --clr-dark: rgb(27, 29, 27);
  --clr-accent: #e7209e;
  --glass-background: rgb(153, 202, 235);*/
  /*background opacity*/
  --clr-dark-background: rgba(27, 29, 27, 0.2);
  /*image ration*/
  --golden: 1.6180339887498948482;
}
@media screen and (max-width:1824px) {
  :root {
    --carousel-width: 90vw;
  }
}
/*/////////////////////*/
/*gallery slider*/
.gallery-slider-section {
  height: max-content;
  padding-inline: calc((100vw - var(--page-width)) / 2);
  padding-block: 2em;
  /* background-color: var(--clr-secondary); */
}
.gallery-slider-section .section-title{
  text-align: center;
}
.gallery-slider-section .container {
  height: max-content;
  position: relative;
  z-index: 0;
  max-width: 1728px;
}

.gallery-slider-section .carousel-container {
  aspect-ratio:  var(--golden) !important;
  position: relative;
  overflow-x: clip;
  min-height: unset;
  height: unset;
  /* overflow-y: scroll; */
}
.gallery-slider-section .carousel-container::before,
.gallery-slider-section .carousel-container::after {
  /* background-color: var(--clr-secondary); */
  z-index: 1;
}

@media screen and (max-width: 549px) {
  .gallery-slider-section .carousel-container {
    width: 100%;
    max-width: 100%;
  }
}
.gallery-slider {
  position: relative;
  left: 0;
  translate: calc(0.025 * var(--carousel-width)) 0;
  /* top: 3em;
  bottom: 3em; */
  /* width: calc(3 * var(--carousel-width));
  height: calc(var(--carousel-width) / var(--golden)); */
  display: flex;
  align-items: center;
  justify-content: flex-start;
  transition: left 325ms ease-out;
}

@media screen and (max-width: 549px) {
  .gallery-slider {
    translate: 0;
  }
}

/* .gallery-slide { */
/* width: var(--carousel-width);
  
  height: calc(var(--carousel-width) / var(--golden));
} */

.gallery-slide {
  width: calc(0.9 * var(--carousel-width));
  /* height: calc(var(--carousel-width) / var(--golden)); */
  height: 100%;
  /* padding-inline: 1em; */
  padding-inline: calc(0.05 * var(--carousel-width));
  max-height: 800px;
}
@media screen and (max-width: 549px) {
  .gallery-slide {
    /* width: var(--carousel-width); */
    /* width: 100%; */
    width: 97vw;
    padding-inline: 0;
  }
}
.gallery-foto {
  width: 100%;
  height: 100%;
  text-align: center;
  overflow: hidden;

}
.gallery-foto > img {
  object-fit: cover;
  /* width: var(--carousel-width); */
  /* aspect-ratio: var(--golden); */
  /* max-height: 70vh; */
  /* width: 100%; */
  max-height: 100%;
  margin: 0;
}
.porotce-bio {
  overflow-y: scroll;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  :root {
    --carousel-width: 90vw;
  }
  .gallery-slide {
    padding-inline: 4em;
  }
}
@media screen and (min-width: 1025px) {
  /* :root {
    --carousel-width: 80vw;
  }
  .gallery-slider-section .carousel-container {
    height: 100vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  } */
  /* .gallery-slider {
    width: calc(5 * var(--carousel-width));
  }
  .gallery-slide {
    width: var(--carousel-width);
    padding: 0.5em;
  } */
}
@media screen and (min-width: 1368px) {
  /* :root {
    --carousel-width: 60vw;
  }
  .gallery-slider-section .carousel-container {
    height: 80vh;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  } */
  /* .porotce-bio {
    overflow-y: unset;
  } */
}
/* @media screen and (min-height: 1081px) {
  .gallery-slider-section .carousel-container {
    height: 1000px;
    position: relative;
    overflow-x: hidden;
    overflow-y: hidden;
  }
} */
/*controls*/
.gallery-controls {
  position: absolute;
  max-height: 2em;
  z-index: 10;
}

.gallery-controls img {
  transition: transform 75ms ease-in-out;
}
.gallery-controls img:hover {
  transform: scale(1.25);
}
.gallery-controls > div > img {
  max-height: 50px;
  cursor: pointer;
  width: 100%;
  object-fit: contain;
  filter: invert(100%) sepia(38%) saturate(946%) hue-rotate(203deg)
    brightness(112%) contrast(101%);
}

@media screen and (max-width: 549px) {
  .gallery-controls > div > img {
    width: 2em;
    height: 2em;
  }
}

.gallery-controls-left {
  left: min(50vw - var(--carousel-width) / 2, 0px);
  top: 50%;
  bottom: 0;
  /* right: calc( 50vw + var(--carousel-width) / 2); */
  transform: translateX(0%);
  translate: 0 -50%;
  z-index: 10;
}
.gallery-controls-left > div {
  display: flex;
}

.gallery-controls-right {
  /* left: calc( 50vw + var(--carousel-width) / 2); */
  top: 50%;
  bottom: 0;
  right: min(50vw - var(--carousel-width) / 2, 0px);
  translate: 0 -50%;
  transform: translateX(0%);
}
.gallery-controls-right > div {
  display: flex;
  flex-direction: row-reverse;
}

/* @media screen and (max-height: 480px) and (orientation: landscape) {
  .gallery-controls-left {
    transform: translateX(-5%);
  }
  .gallery-controls-right {
    transform: translateX(5%);
  }
} */
@media screen and (min-width: 550px) {
  .gallery-controls > div > img {
    filter: none;
  }
}
@media screen and (min-width: 1025px) {
  .gallery-controls {
    /* display: unset; */
    position: absolute;
    max-height: 2em;
    z-index: 151;
  }
  /* .gallery-controls-left {
    transform: translateX(-20%);
  }
  .gallery-controls-right {
    transform: translateX(20%);
  } */
}

/* @media screen and (min-width: 1368px) {
  .gallery-controls-left {
    transform: translateX(8%);
  }
  .gallery-controls-right {
    transform: translateX(-8%);
  }
} */

@media screen and (min-width: 1921px) {
  .gallery-controls-left {
    left: 0;
    right: unset;
  }
  .gallery-controls-right {
    right: 0;
    left: unset;
  }
}
/*********************************************/
/*********************************************/

.fullscreen-gallery {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  max-height: 93vh;
  color: white;
  display: grid;
  grid-template-rows: 9fr 1fr;
  overflow: hidden;
  z-index: 10001;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .fullscreen-gallery {
    max-height: 85vh;
  }
}
@media screen and (min-width: 1025px) {
  .fullscreen-gallery {
    max-height: 100vh;
  }
}
.close-gallery {
  filter: invert(100%) sepia(38%) saturate(946%) hue-rotate(203deg)
    brightness(112%) contrast(101%);
}
.fullsize-image {
  /* outline: 1px solid red; */
  height: 83vh;
  background-color: rgba(0, 0, 0, 0.7);
  grid-column-start: 1;
  grid-column-end: -1;
  grid-row-start: 1;
  grid-row-end: 2;
  overflow-y: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.full-img {
  padding: 0.5em;
  max-height: 85vh;
  max-width: 100vw;
}
@media screen and (max-height: 480px) and (orientation: landscape) {
  .fullsize-image {
    height: 75vh;
    width: unset;
  }
  .full-img {
    max-height: 75vh;
  }
}
@media screen and (min-width: 1025px) {
  .fullsize-image {
    height: 90vh;
    width: unset;
  }
  .full-img {
    max-height: 90vh;
  }
}

.preview-grid {
  height: 10vh;
  grid-row-start: 2;
  grid-row-end: 3;
  position: relative;
  background-color: rgba(0, 0, 0, 0.7);
  /* flex-direction: row; */
}
@media screen and (min-width: 1025px) {
  .preview-grid {
    height: 10vh;
  }
}

.preview-slider {
  position: absolute;
  display: flex;
  left: 45vw;
  transition: transform 500ms ease-in;
}
.preview-img-container {
  position: relative;
  isolation: isolate;
  z-index: 0;
}

.container-active {
  z-index: 2;
  background-color: unset !important;
}
.container-active > .preview-img {
  filter: saturate(100%);
  z-index: 3;
}
.preview-img {
  position: relative;
  padding: 0.5em;
  height: 10vh;
  width: calc(10vh * var(--golden));
  filter: saturate(0%);
  /* outline: 1px solid red; */
  object-fit: cover;
  z-index: -1;
}
.display-gallery {
  margin: 2em auto;
}
.stop-scrolling {
  height: 100%;
  overflow: hidden;
}


.gallery-slider-section .available-albums .container .available-albums-wrapper .album picture img{}

.gallery-slider-section .available-albums + .gallery{
  display: none;
}

.gallery-slider-section .available-albums .container .available-albums-wrapper{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
  gap: 30px;
}

.gallery-slider-section .available-albums .container .available-albums-wrapper .album{
  flex-basis: calc(32% - 15px);
  position: relative;
}
@media screen and (max-width: 959px){
  .gallery-slider-section .available-albums .container .available-albums-wrapper .album{
    flex-basis: calc(49% - 15px);
  } 
}
@media screen and (max-width: 499px){
  .gallery-slider-section .available-albums .container .available-albums-wrapper .album{
    flex-basis: 100%;
  } 
}
.gallery-slider-section .available-albums .container .available-albums-wrapper .album:hover .album-title{
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}

.gallery-slider-section .available-albums .container .available-albums-wrapper .album picture img{
  width: 100%;
  aspect-ratio: var(--golden);
  object-fit: cover;
}
.gallery-slider-section .available-albums .container .available-albums-wrapper .album .album-title{
  position: absolute;
  inset: 0;
  box-sizing: border-box;
  padding: 10px;
  /* display: -webkit-box;
  display: -ms-flexbox;
  display: flex; */
  display: none;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
          justify-content: center;
          -webkit-box-align: center;
-ms-flex-align: center;
        align-items: center;
        /* background-color: rgba(231, 32, 158, 0.7); */
        background-color: var(--clr-accent);

}
.gallery-slider-section .available-albums .container .available-albums-wrapper .album .album-title p{
  text-align: center;
  color: var(--clr-tertiary);
}