

.fotos {
  overflow-x: hidden;
}

.trigger {
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  margin: auto;
  width: 3em;
  height: 2.5em;
  outline: none;
  cursor: pointer;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 99;
  visibility: hidden;
  opacity: 0;
  transform: translateY(-100%);
  transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.trigger:after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 50%;
  height: 50%;
  background: linear-gradient(to bottom, white, white 20%, transparent 20%, transparent 40%, white 40%, white 60%, transparent 60%, transparent 80%, white 80%, white 100%);
  opacity: 0.7;
  transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.trigger.js-animating {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), visibility 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.trigger:hover:after {
  opacity: 1;
}

.panels {
  display: flex;
  justify-content: center;
  flex-direction: column;
  height: 1300px;
  transform-style: preserve-3d;
}

@media (min-width: 700px) {
  .panels {
    flex-direction: row;
    height: 100vh;
  }
}

.panels:not(.js-animating):hover span:not(:hover) .panel-title {
  opacity: 0.3;
}
.panels:not(.js-animating):hover span:hover {
  background-color: transparent;
  cursor: pointer;
}
.panels:not(.js-animating):hover span:hover .panel-title {
  transform: translateY(-6px);
}
.panels.js-animating .panel {
  flex: 100%;
  transition: flex 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.panels.js-animating .panel a {
  cursor: default;
}
.panels.js-animating .panel:not(.js-selected) {
  flex: 0;
}
.panels.js-animating .panel:not(.js-selected) a {
  background-color: #001e37;
}
.panels.js-animating .panel:not(.js-selected) .panel-content {
  opacity: 0;
  transition: opacity 0s, transform 0s;
}
.panels.js-animating .panel.js-selected a {
  background-color: rgba(0, 30, 55, 0.9);
}

.panel {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  flex: 100%;
  width: 100%;
  height: 100%;
  transition: flex 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  background-color: #001e37;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.panel:nth-child(1) {
  background-image: url("/images/photos/sesion-cumpleanios.webp");
}
.panel:nth-child(2) {
  background-image: url("/images/photos/sesion-promocion.webp");
}
.panel:nth-child(3) {
  background-image: url("/images/photos/sesion-pasarela.webp");
}
.panel:nth-child(4) {
    background-image: url("/images/photos/sesion-tematica.webp");
  }

.panel span {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  background-color: #36048b91;
  text-decoration: none;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  transition: background-color 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.panel .panel-content {
  transition: opacity 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.panel .panel-title {

  position: relative;
  padding: 0 0.75em 0.375em 0.75em;
  transition: opacity 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.panel .panel-title h2{
    line-height: 32px;
    margin-bottom: 5px;
}

.panel-btn{
    border: 1px solid #fff;
    color: #fff;
    font-size: 14px;
    height: 40px;
    line-height: 40px;
    margin: 0 auto;
    text-align: center;
    width: 170px;
    border-radius: 6px;
}

 .main-panel .detail{
        border: 1px solid #8042ea;
        background: #8042ea;
        border-radius: 5px;
        color: #fff;
        font-size: 16px;
        line-height: 19px;
        padding: 8px 0;
        padding: 8px 16px 8px 16px;
}
 @media (min-width: 700px) {
  .panel .panel-title {
    font-size: 2.5vw;
  }
  .panel .panel-title h2{
    line-height: 32px;
    margin-bottom: 25px;
  }
}

.teasers {
  display: none;
  margin: 1.4084507042%;
}
.teasers.js-animating {
  display: block;
}

.teaser {
  margin-bottom: 1.4084507042%;
  padding: 1.5em;
  width: 100%;
  background-color: #ededed;
}
@media (min-width: 700px) {
  .teaser {
    width: 49.2957746479%;
    float: left;
  }
  .teaser:nth-child(2n+1) {
    margin-left: 0;
    margin-right: -100%;
    clear: both;
    margin-left: 0;
  }
  .teaser:nth-child(2n+2) {
    margin-left: 50.7042253521%;
    margin-right: -100%;
    clear: none;
  }
}
@media (min-width: 900px) {
  .teaser {
    width: 23.9436619718%;
    float: left;
  }
  .teaser:nth-child(4n+1) {
    margin-left: 0;
    margin-right: -100%;
    clear: both;
    margin-left: 0;
  }
  .teaser:nth-child(4n+2) {
    margin-left: 25.3521126761%;
    margin-right: -100%;
    clear: none;
  }
  .teaser:nth-child(4n+3) {
    margin-left: 50.7042253521%;
    margin-right: -100%;
    clear: none;
  }
  .teaser:nth-child(4n+4) {
    margin-left: 76.0563380282%;
    margin-right: -100%;
    clear: none;
  }
}
.teaser > * {
  margin-bottom: 0.75em;
}
.teaser > *:last-child {
  margin-bottom: 0;
}
.teaser .teaser-title {
  font-size: 1.25em;
  font-weight: bold;
}
