/****************************************
COVER + VIDEO
****************************************/

.cover {
  width: 100%;
  height: 100vh;
  min-height: 400px;
  position: relative;
  background-size: cover;
  background-position: center;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }

  50% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.cover-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, .3);
  display: flex;
  align-items: center;
  animation: fadeIn 2s ease;
}

.cover-title {
  line-height: 0;
  width: 100%;
  text-align: center;
  font-size: 200px;
  color: #fff;
  margin-bottom: 50px;
}

.cover-authors {
  color: #fff;
  position: absolute;
  text-align: center;
  width: 100%;
  bottom: 25px;
  font-size: 16px;
}

.cover--index {
  position: absolute;
  right: 0;
  bottom: 0;
  min-height: 500px;
  width: auto;
  transform: translate3d(-50%, -50%, 0);
  left: 50%;
  top: 50%;
  overflow: hidden;
  z-index: -99;
  width: calc(100% - 50px);
  height: calc(100% - 50px);
  max-height: none;
  max-width: none;
}

.video {
  position: absolute;
  left: 50%;
  top: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  overflow: hidden;
  zoom: .4;
  z-index: 2;
}

.video-index {
  position: absolute;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: -100;
}

.videoCover-index {
  position: relative;
  color: white;
  width: 100%;
  min-height: 600px;
  height: 100vh;
  /*z-index: 0;*/
}

.video-layer {
  position: absolute;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  background-image: url(../images/bg/index-bg.jpg);
  z-index: -101;
  top: 0;
}

.video-colorLayer {
  width: 100%;
  height: 100%;
  top: 0;
  -webkit-animation: fromWhite 3s;
  animation: fromWhite 3s;
  background-color: rgba(113, 139, 150, .1);
  z-index: 4;
  /*background: -moz-linear-gradient(top, rgba(0,0,0,0.4) 0%, rgba(0,0,0,0) 20%, rgba(0,0,0,0) 50%, rgba(0,0,0,0) 80%, rgba(0,0,0,0.4) 100%);*/
  /*background: -webkit-linear-gradient(top, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 80%,rgba(0,0,0,0.4) 100%);*/
  /*background: linear-gradient(to bottom, rgba(0,0,0,0.4) 0%,rgba(0,0,0,0) 20%,rgba(0,0,0,0) 50%,rgba(0,0,0,0) 80%,rgba(0,0,0,0.4) 100%);*/
  /*filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#66000000', endColorstr='#66000000',GradientType=0 );*/
}

@media (min-width: 1640px) {
  .cover--index {
    width: calc(100% - 200px);
    height: calc(100% - 200px);
  }
}

@media (min-width: 1440px) {
  .coverTitleBlock {
    left: 50%;
    transform: translate3d(-50%, -50%, 0);
  }
}

@media (max-width: 1200px) {

}

@media (max-width: 1024px) {
  .cover-image {
    width: calc(100% - 40px);
    height: calc(100% - 40px);
    background-attachment: unset;
  }

  .coverTitleBlock {
    left: 0;
    width: 100%;
  }

  .cover-title {
    font-size: 150px;
  }


  .c.white {
    left: 50%;
    transform: translateX(-50%);
  }
}

@media (max-width: 812px) {
  .video-colorLayer {
    background-color: rgba(0, 0, 0, .3);
  }
  .cover-title {
    padding-left: 0;
    font-size: 100px;
  }
  .cover-authors {
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .cover-image {
    width: calc(100% - 30px);
    height: calc(100% - 30px);
  }

  .cover-title {
    font-size: 64px;
  }
}

@media (max-width: 360px) {

}