@font-face {
  font-family: 'Korolev Condensed';
  src: url('../fonts/KorolevCondensed-Heavy.woff2') format('woff2'),
    url('../fonts/KorolevCondensed-Heavy.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}


@font-face {
  font-family: 'Korolev Medium';
  src: url('../fonts/Korolev-Medium.woff2') format('woff2'),
    url('../fonts/Korolev-Medium.woff') format('woff');
  font-weight: normal;
  font-style: normal;

}



html {
  margin: 0;
  height: 100%;
  width: 100%;
  scroll-behavior: smooth;
}

body {
  color: #EFD7AD;
  text-transform: uppercase;
  background: #C10016;
  font-family: 'Korolev Condensed';
  background-image: url('../img/background.jpg');
  background-size: 100% 100%;
  background-attachment: fixed;
}

body.safari {
  background-image: none !important;
  background:
  repeating-radial-gradient(circle, rgba(0,0,0,0.02) 0 1px, transparent 1px 3px),
  radial-gradient(circle at center, #e50914 0%, #b3060f 100%) !important;
}

body>div {
  overflow-x: hidden;
}

a,
a:hover {
  color: inherit;
  text-decoration: none;
}



img {
  max-width: 100%;
}

.coming-soon{
  width:480px;
  height:480px;
  padding:70px;




}

.coming-soon div{
  font-size:36px;
  background:rgba(0,0,0,0.1);
  border-radius: 50%;
  height:100%;
  width:100%;
  display: flex;
align-items: center;
justify-content: center;

}
.hero {
 height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.goverlay {
  background: rgba(0, 0, 0, 0.5);
}

h1 {
  font-size: 260px;
  line-height: normal;
  letter-spacing: -0.05em;
  background: url('../img/texture.jpg') no-repeat center center;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  padding: 0 15px;

}

#time {
  width: 560px;
  text-align: right;
  display: inline-block;
}

.biscuit {
  text-align: center;
  max-width: 480px;
  display: none;
  position: relative;

}
.biscuit-img {
 position: relative;
}

.biscuit.active {
  display: block;
  opacity: 1;


}

/* .biscuit.active .biscuit-wrapper .biscuit-img {
  animation: pulseIn 0.6s ease forwards;
} */

/* @keyframes pulseIn {
  0% {
    transform: scale(0.8);
  }

  50% {
    transform: scale(1.1);
  }

  100% {
    transform: scale(1);
  }
} */






.biscuit-type:hover .video-thumbnail {
  opacity: 1;
}


/* .biscuit-wrapper{
 background: red;
   isolation: isolate;
} */



.shadow {
  position: absolute;
  z-index:-1;
  mix-blend-mode: multiply;
 -webkit-mix-blend-mode: multiply;
  opacity: 0.6;
  transform: translate3d(0,0,0);
  /* transition: opacity 1s ease; */


}




/* .biscuit.active .shadow {
  animation: shadowFadeIn 1.5s ease forwards;
} */


/* @keyframes shadowFadeIn {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 0.7;
  }
} */


/* .time-scroll span{
  display:inline-block;
  transition: transform .4s ease, opacity .4s ease;
}

.time-scroll span.animate{
  transform: translateY(-20px);
  opacity:0;
}  */

.fullscreen-modal .modal-dialog {
  max-width: 100%;
  height: 100%;
  margin: 0;
}

.fullscreen-modal .modal-content {
  height: 100vh;
  overflow: hidden;
  border-radius: 0;
}

.fullscreen-modal .modal-body {
  height: 100%;
}

.fullscreen-modal .modal-dialog {
  max-width: 100%;
  height: 100%;
  margin: 0;
}

.fullscreen-modal .modal-content {
  height: 100vh;
  border-radius: 0;
}

.fullscreen-modal p {
  color: #F2DAB6;
  font-size: 100px;
  max-width: 375px;
  letter-spacing: -0.05em;
  line-height: 0.8;
}

.fullscreen-modal .close {
  text-shadow: none;
  color: #F2DAB6;
  border: 3px solid #F2DAB6;
  border-radius: 5px;
  opacity: 1;
  line-height: normal;
  font-weight: normal;
  text-transform: uppercase;
  padding: 3px 5px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 24px;
  float:left;
  margin-right:15px;
}

.intro-play{
  background: #F2DAB6;
  color:#000;
  display:inline-block;
  border: 3px solid #F2DAB6;
  border-radius: 5px;
  opacity: 1;
  line-height: normal;
  font-weight: normal;
  text-transform: uppercase;
  padding: 3px 5px;
  margin-top: 15px;
  cursor: pointer;
  font-size: 24px;

}
.intro-play:after{
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 0;
  height: 0;
  border-top: 9px solid transparent;
  border-bottom: 9px solid transparent;
  border-left: 15px solid #000;
}

.intro-play:hover:after{
  border-left-color: #C10016;
}

.intro-play:hover{
  color: #C10016;
}

.fullscreen-modal .close:focus {
  outline: none;
}

.fullscreen-modal .close:hover {
  color: #C10016;
  background: #F2DAB6;
}

.video-modal {
  position: relative;
  height: 100vh;
  overflow: hidden;
  padding: 0;
}


.modal-bg-video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
}


.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.7) 0%,   /* strongest at bottom */
    rgba(0, 0, 0, 0.4) 20%,
    rgba(0, 0, 0, 0) 40%     /* fully transparent at ~40% height */
  );
}


.modal-content-inner {
  position: relative;
  z-index: 3;
  color: white;
  height: 100%;
  width:100%;
  display: flex;
  align-items: flex-start;
  justify-content: flex-end;
  flex-direction: column;
  padding: 100px;
}

.biscuit-btn {
  border: 3px solid #EFD7AD;
  padding: 0px 5px;
  border-radius: 10px;
  font-size: 26px;
}

.biscuit-btn:after {
  content: "";
  display: inline-block;
  margin-left: 7px;
  width: 0;
  height: 0;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  border-left: 16px solid #EFD7AD;
}

.biscuit-btn:hover {
  background: #EFD7AD;
  color: #C10016;
  text-decoration: none;
}

.biscuit-btn:hover:after {
  border-left-color: #C10016;
  ;
}

.disable-btn{
  cursor: default;
}

.disable-btn:after {
  display:none !important;
}

.video-thumbnail {
  max-width: 400px;
  position: fixed;
  pointer-events: none;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity .2s ease;
  z-index: 100;
}

.video-thumbnail img {
  border-radius: 8px;
}

.video-thumbnail:after,
.thumbnail:after {
  content: '';
  background-image: url('../img/thumb-play.svg');
  display: inline-block;
  width: 34px;
  height: 42px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

}

.thumbnail-all img {
  border-radius: 10px;
  margin-bottom: 15px;
}

.thumbnail img {
  border-radius: 10px;
}

.time-control {
  margin-left: 290px;
  display: inline-block;
  z-index: 1;
}

.time-control:hover img {
  opacity: 0.9;
}

.timeframe {
  display: flex;
  align-items: center;
  justify-content: center;
}

.all-videos .col-md-4 {
  padding: 15px 30px;
}

.all-videos p {
  font-size: 20px;
}

.all-videos p span{
  margin-right:40px;
}

.project-info .modal-dialog {
  position: fixed;
  bottom: 40px;
  left: 40px;
  margin: 0;
  max-width: 1000px;
  background: #F2DAB6;
  color: #C10016;
  border-radius: 25px;
  padding: 50px 50px 50px;

}

.project-info p {
  font-size: 24px;
  line-height: 1.1;
  text-transform: none;
  font-family: 'Korolev Medium';
}

.all-videos {
  padding-left: 40px;
  padding-right: 40px;
  width: 100%;
}

.all-videos .modal-dialog {
  position: fixed;
  bottom: 0px;
  margin-bottom: 0;
  width: calc(100% - 80px);
  max-width: 100%;
  background: #F2DAB6;
  color: #C10016;
  border-radius: 25px 25px 0 0;
  padding: 40px;
  height: 700px;
  overflow-y: auto;

}

.modal.fade .modal-dialog {
  transform: translate3d(0, 100vh, 0);
}

.modal.show .modal-dialog {
  transform: translate3d(0, 0, 0);
}


.actions {
  position: absolute;
  bottom: 0;
  padding: 0 40px 40px;
  width: 100%;
  font-size: 26px;
}

.logo {
  position: absolute;
  top: 40px;
  max-width: 221px;

}

.modal-logo {
  position: absolute;
  top: 40px;
  max-width: 221px;
  left: 50%;
 transform: translateX(-50%);
 z-index:5;

}

.view-videos-btn {
  float: right;
}

@media screen and (max-width: 1799px) {
  h1 {
    font-size: 190px;
  }

  #time {
    width: 350px;
  }

  .time-control {
    margin-left: 185px;
  }

}

@media screen and (max-width: 1599px) {
  h1 {
    font-size: 170px;
  }

  #time {
    width: 310px;
  }

  .modal-content-inner{
    padding:70px;
  }

  .time-control {
    margin-left: 140px;
  }

  .time-control img {
    width: 30px;
  }

  .biscuit {
    text-align: center;
    max-width: 400px;
  }

  .biscuit-btn {
    font-size: 30px;
  }

  .biscuit-btn:after {
    border-top-width: 10px;
    border-bottom-width: 10px;
    border-left-width: 18px;
    margin-left: 6px
  }
}

@media screen and (max-width: 1279px) {
  h1 {
    font-size: 120px;
  }

  .time-control img {
    width: 25px;
  }

  .biscuit {
    max-width: 350px;
  }

  .actions {

    padding: 25px 30px;
    font-size: 24px;
  }

  .logo, .modal-logo {
    position: absolute;
    top: 30px;
    max-width: 160px;
  }

  #time {
    width: 230px;
  }

  .time-control {
    margin-left: 140px;
  }

  #welcomeModal .modal-content-inner {
    padding:40px;
  }
}


@media only screen and (min-width: 1024px) {
.biscuit{
  margin-left: -30px;
}
}

@media only screen and (max-width: 1023px) {
  h1 {
    font-size: 120px;
    line-height: 0.8;
  }

  #welcomeModal{
    max-width:100%;
    max-height:100vh;
  }




  .time-control {
    position: absolute;
    margin-left: 0;
    top: 40px;
    transform: rotate(-90deg);

  }

  .time-prev {
    left: 50px;

  }

  .time-next {
    right: 50px;
  }

  .actions {
    padding: 20px;
    font-size: 22px;
  }

  .project-info .modal-dialog {
    padding: 25px 20px 25px;
    border-radius: 25px;
    bottom: 20px;
    left: 20px;
    width: calc(100% - 40px);
  }

  .all-videos .modal-dialog {
    padding: 25px 20px 25px;
  }

  .all-videos {
    padding-left: 0px;
    padding-right: 0px;
  }

  .all-videos p {
    margin-bottom: 0;
  }


  .all-videos .modal-dialog {
    margin: 0 20px;
    width: calc(100% - 40px);
    height: 500px;
  }

  .thumbnail-all img {
    margin-bottom: 10px;
  }

  .project-info p {
    font-size: 20px;
  }

  .biscuit {
    max-width: 550px;
    width: 100%;
  }



  #time {
    text-align: center;
    width: 100%;
  }

  .time-scroll {
    text-align: center;
  }

  .video-thumbnail {
    display: none;
  }

  .logo, .modal-logo {
    top: 25px;
    max-width: 130px;
  }

  .time-control img {
    width: 20px;
  }

  .fullscreen-modal .close, .intro-play  {
    font-size: 18px;
  }



  .timeframe {
    display: initial;
  }


}


@media only screen and (max-width: 767px) {
.biscuit{
  max-width:300px;
  margin-left: auto;
margin-right: auto;
}
.hero{
height: 100svh !important;
}

.all-videos p span {
    margin-right: 20px;
  }

.all-videos p{
  font-size:16px;
}

.fullscreen-modal p {
  font-size: 80px;

}

.fullscreen-modal .close, .intro-play {
  margin-top: 10px;
}

.intro-play:after{
margin-left: 5px;
  border-top:6px solid transparent;
  border-bottom:6px solid transparent;
  border-left: 10px solid #000;
}

.fullscreen-modal p {
    max-width:100%;
  }

#welcomeModal .modal-content-inner {
    padding: 25px 15px 50px;
  }

.logo, .modal-logo {
        top: 20px;
        max-width: 110px;
      }

      h1 {
    font-size: 100px;
    margin-bottom: 0;
  }

  .time-control {
    position: absolute;
    margin-left: 0;
    top: 30px;
  }

  .actions {
    padding: 15px;
    font-size: 18px;

  }



.biscuit-btn:after {
    border-top-width: 6px;
    border-bottom-width: 6px;
    border-left-width: 10px;
    margin-left: 3px;
}

.biscuit-btn {
    font-size: 18px;
  }


}
