@import url("https://fonts.googleapis.com/css?family=Trirong");

@font-face {
    font-family: "Neuropolitical W00 Light";
    src: url("/static/KNLogo.ttf") format("truetype");
}

body, html {
  height: 100%;
  line-height: 1.8;
  scroll-behavior: smooth;
}

/* Full height image header */


.w3-bar .w3-button {
  padding: 16px;
}

#videoBG {
  position: fixed;
  right: 0;
  bottom: 0;
  min-width: 100%;
  min-height: 100%;
}

.content {
  position: fixed;
  width: 100%;
  top: 10%;
  padding: 20px;
  align-items: center;
  justify-content: center;
}

.footer-content {
  position: fixed;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  color: #f1f1f1;
  width: 100%;
  padding: 20px;
}

:root, body {
 color: #fff;
 height: 100%;
 overflow: hidden;
 background: #333641;
}
 body {
	 display: flex;
}

.tracking-out-contract {
    align-items: center;
	justify-content: center;
	text-align: center;
	font-size: 100px;
	font-family: "Neuropolitical W00 Light";
	-webkit-animation: tracking-out-contract 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) reverse both;
	        animation: tracking-out-contract 2s cubic-bezier(0.550, 0.085, 0.680, 0.530) reverse both;
}

@-webkit-keyframes tracking-out-contract {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
}
@keyframes tracking-out-contract {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 1;
  }
  100% {
    letter-spacing: -0.5em;
    opacity: 0;
  }
}

.slide-in-elliptic-top-fwd {
    h1 {
        font-family: "Trirong", serif;
    }
    align-items: center;
	justify-content: center;
	text-align: center;
	color: #FFF2D7;
	-webkit-animation: slide-in-elliptic-top-fwd 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.3s both;
	        animation: slide-in-elliptic-top-fwd 1s cubic-bezier(0.250, 0.460, 0.450, 0.940) 1.3s both;
}

@-webkit-keyframes slide-in-elliptic-top-fwd {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
            transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
            transform-origin: 50% 1400px;
    opacity: 1;
  }
}
@keyframes slide-in-elliptic-top-fwd {
  0% {
    -webkit-transform: translateY(-600px) rotateX(-30deg) scale(0);
            transform: translateY(-600px) rotateX(-30deg) scale(0);
    -webkit-transform-origin: 50% 100%;
            transform-origin: 50% 100%;
    opacity: 0;
  }
  100% {
    -webkit-transform: translateY(0) rotateX(0) scale(1);
            transform: translateY(0) rotateX(0) scale(1);
    -webkit-transform-origin: 50% 1400px;
            transform-origin: 50% 1400px;
    opacity: 1;
  }
}

.puff-in-center {
    button {
            font-family: "Trirong", serif;
        }
    align-items: center;
	justify-content: center;
	text-align: center;
	margin-top: 50px;
	-webkit-animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) 3s both;
	        animation: puff-in-center 0.7s cubic-bezier(0.470, 0.000, 0.745, 0.715) 3s both;
}


@-webkit-keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
            transform: scale(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}
@keyframes puff-in-center {
  0% {
    -webkit-transform: scale(2);
            transform: scale(2);
    -webkit-filter: blur(4px);
            filter: blur(4px);
    opacity: 0;
  }
  100% {
    -webkit-transform: scale(1);
            transform: scale(1);
    -webkit-filter: blur(0px);
            filter: blur(0px);
    opacity: 1;
  }
}


.container {
  position: relative;
  text-align: center;
}

.top-left {
  position: absolute;
  top: -5px;
  left: -200px;
}

.roll-in-blurred-left {
	-webkit-animation: roll-in-blurred-left 1.4s cubic-bezier(0.230, 1.000, 0.320, 1.000) 1.6s both;
	        animation: roll-in-blurred-left 1.4s cubic-bezier(0.230, 1.000, 0.320, 1.000) 1.6s both;
}

@-webkit-keyframes roll-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) rotate(-720deg);
            transform: translateX(-1000px) rotate(-720deg);
    -webkit-filter: blur(50px);
            filter: blur(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}
@keyframes roll-in-blurred-left {
  0% {
    -webkit-transform: translateX(-1000px) rotate(-720deg);
            transform: translateX(-1000px) rotate(-720deg);
    -webkit-filter: blur(50px);
            filter: blur(50px);
    opacity: 0;
  }
  100% {
    -webkit-transform: translateX(0) rotate(0deg);
            transform: translateX(0) rotate(0deg);
    -webkit-filter: blur(0);
            filter: blur(0);
    opacity: 1;
  }
}

/* Media query for mobile devices */
@media all and (max-width: 767px) {
   .tracking-out-contract {
        font-size: 40px;
  }
   #videoBG {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .top-left {
    img {
        width: 15%;
        height: 15%;
    }
      position: absolute;
      top: -10px;
      left: -180px;
   }
}

/* Media query for laptops */
@media only screen and (min-width: 768px) and (max-width: 1366px) {
   .tracking-out-contract {
        font-size: 5vw;
  }
   #videoBG {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .top-left {
    img {
        width: 15%;
        height: 15%;
    }
      position: absolute;
      top: -10px;
      left: -280px;
   }
}

/* Media query for medium screens */
@media only screen and (min-width: 1024px) and (max-width: 1199px) {
   .tracking-out-contract {
        font-size: 7vw;
  }
   #videoBG {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .top-left {
    img {
        width: 15%;
        height: 15%;
    }
      position: absolute;
      top: -2px;
      left: -450px;
   }
}

/* Media query for large laptop screens */
@media only screen and (min-width: 1367px) and (max-width: 1450px) {
   .tracking-out-contract {
        font-size: 6vw;
  }
   #videoBG {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .top-left {
    img {
        width: 15%;
        height: 15%;
    }
      position: absolute;
      top: 6px;
      left: -355px;
   }
}