@import url('https://fonts.googleapis.com/css?family=Lato:300,400,700,900');
body{
  font-family: 'Lato';
  color: #d6f9dd;
}
*{
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}
figure img {
    border-radius: 5px;
}
img{
  max-width: 100%;
}
.caption{
  position: absolute;
  /*top:10%;
  left:8rem;*/
  z-index: 9;
  transform: translateY(-50%);
  opacity:1;
  transition: 500ms ease opacity, 500ms ease transform;
  transform: translateY(60px);
  width: 100%;
  text-align: center;
  
  &.current-caption{
    transition-delay: 1000ms;
    opacity:1;
    transform: translateY(0);
  }
  &.previous-caption{
    transform: translateY(-60px);
  }
  .caption-heading{
    transition: 500ms ease-in all;
  }
  .caption-heading h1{
    /*font-size: 4rem;*/
    font-size: 62px;
    margin-bottom:1.5rem;
    text-transform: uppercase;
    text-indent: -0.2rem;
    letter-spacing: .2rem;
    font-weight: 700;
    color: #fff;
    line-height: 72px;
    text-shadow: 1px 1px 3px #000000;
    text-align: center;
  }
  .caption-heading h4{
    font-size: 24px;
    text-align: center;
    font-weight: 800;
    color: #fff;
    text-shadow: 1px 1px 3px #000000;
  }
  .caption-subhead{
    font-size:1rem;
    font-weight: 300;
    text-transform: uppercase;
    color: white;
    /*color: #909590;*/
    letter-spacing: 4px;
    word-spacing: .1rem;
    margin-bottom: 2.5rem;
    display:block;
  }
  a.btn{
    color: #333;
    font-size: 0.8rem;
    text-decoration: none;
    background-color: white;
    padding: .5rem 1rem;
    text-transform: uppercase;
    letter-spacing: .2rem;
    position:relative;
    z-index:9;
    transition: 250ms ease-in background-color, 500ms ease-in color;
    &:hover{
      background-color: black;
      color: white;
    }
    // word-spacing: rem;
  }
}
.main-container {
  width:100%;
  height: 500px;
  /*height: 90vh;*/
  /*background-color: #2C302E;*/
  background-color: #fff;
  display:flex;
  position: relative;
  
}
.left-col, .right-col{
  width: 100%;
  box-sizing: border-box;
  /*height: calc(100% - 4rem);*/
  height: calc(100%);
  overflow:hidden;
}
.left-col{
  background-size: cover;
  background-postion: center top;
  overflow: hidden;
  /*margin: 2rem;*/
  position: relative;
  .slide{
    /*filter: grayscale(100%);*/
    position:absolute;
    width: 100%;
    height: 100%;
    background-position:  left top !important;
    background-size: cover !important;
    background-repeat:no-repeat;
    opacity: 0;
    transition: 1000ms cubic-bezier(1.000, 0.040, 0.355, 1.000) transform, 1000ms cubic-bezier(0.680, -0.550, 0.265, 1.550) clip-path;
    transform:translateY(-100%); scale: 1;
    z-index: -1;
   
    &.previous{
      z-index:1;
      opacity:1;
      transform: translateY(0);
      animation-delay: 1s;
      clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
      transition:3s ease transform;
      will-change: transform;

      &.change{
        transform: translateY(50%);
      }
    }
    &.next{
      transform: translateY(-100%);
      z-index:3;
      opacity:1;
      clip-path: polygon(0 0, 100% 0, 100% 90%, 0% 100%);
    }
    &.current{
      opacity:1;
       /*transform:translateY(0) scale(1.25);*/
       transform: scale(1);
      z-index:2;
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    }
    
  }
}
.right-col{
  display:flex;
  align-items: center;
  justify-content: center;
}
.right-col .preview{
  max-width:400px;
  
}

.nav{
  display: block;
  position:absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 6;
  overflow: hidden;
  /* pointer-events:none;*/
  a{
    color: rgba(250,250,250,1);
    font-size: 3rem;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.4);
  }
  &:hover{
    
    .slide-up, .slide-down{
      opacity: .5;
      transform: translateX(0);
    }
    .slide-up{
    }
  }
  .slide-up, .slide-down{
    display:block;
    position:absolute;
    width: 5%;
      text-align:center;
    padding:1rem;
    opacity: 0;
    transition: .25s ease opacity,.25s ease transform;
    z-index:99;
    &:hover{
      opacity: 1;
    }
    a{
      text-decoration:none;
      font-weight: 300 !important;

    }
    
  }
  .slide-up{
    top:50%;
    left:0;
    transform: translateX(-100%);
  }
  .slide-down{
    top:50%;
    right:0;
    transform: translateX(100%);
  }
  
}

/* City section */
.city {
    margin: 0 auto;
    max-width: 1350px;
    display: flex;
    gap: 1em;
    justify-content: center;
    position: absolute;
    top: 350px;
    z-index: 60;
    background: rgb(255 255 255 / 85%);
    left: 50%;
    margin-left: -675px;
    border-radius: 30px;
    padding: 30px 40px;
    flex-wrap: wrap;
    box-shadow: 0px 2px 12px 0px rgb(51 51 51 / 10%);
}
.city figure {
    flex-basis: 30%;
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: center;
    position: relative;
    flex-shrink: 1;
    flex-grow: 1;
}
.city figure:hover {
    border-radius: 5px;
    /*border: 2px solid transparent;
    background-image: linear-gradient(#333, #333), linear-gradient(to right, #fb6a1e 0%, #feb63d 100%);
    background-origin: border-box;
    background-clip: content-box, border-box;
    margin: -2px;*/
}
.city figcaption {
    position: absolute;
    top: 40%;
    font-size: calc(18px +(35 - 30)*((100vw - 320px) /(1920 - 320)));
    color: #fff;
    left: 35px;
    line-height: 17px;
    display: flex;
    align-items: center;
    font-weight: 500;
    letter-spacing: -1px;
    text-shadow: 0 0 3px #000;
}
section#event {
    margin-top: 180px;
    background: #fff;
}
section#videos {
    background: #f3f4f7;
    display: block;
    margin: 30px 0;
}