/* custom styles */

@font-face {
  font-family: 'promptlight';
  src: url('../font/prompt-light.woff2') format('woff2'), url('../font/prompt-light.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'promptbold';
  src: url('../font/prompt-bold.woff2') format('woff2'), url('../font/prompt-bold.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

body {
  overflow-x: hidden;
  color: white;
  background: black;
  scroll-behavior: smooth;
}

html {
  scroll-behavior: smooth;
}

.rotate {display: none;}

.phone {
  height: 50px;
  width: 100px;
  border: 3px solid white;
  border-radius: 10px;
  animation: rotate 1.5s ease-in-out infinite alternate;
  margin: auto;
}

.message {
  color: white;
  font-size: 1em;
  margin-top: 40px;
      font-family: promptbold;
}

@keyframes rotate {
  0% {
    transform: rotate(0deg)
  }
  50% {
    transform: rotate(-90deg)
  }
  100% {
    transform: rotate(-90deg)
  }
}

@media only screen and (max-device-width: 767px) and (orientation: landscape) {

  .rotate {
    display: block;
    position: absolute;
    background: #000;
    z-index: 999999;
    width: 100%;
    height: 100%;
    overflow: hidden;
        text-align: center;
        padding-top: 20%;
  }

.home > .text {display: none;}

 body {overflow: hidden !important; background: #000 !important}

 .row.header, video, #deck, #whitepanel {display: none !important;}
}

#set-height {
  display: block;
}

.slide {
  position: relative;
  display: flex;
  display: -webkit-flex;
  -webkit-flex-direction: column;
  -webkit-align-items: center;
  -webkit-justify-content: center;
  -moz-flex-direction: column;
  -moz-align-items: center;
  -moz-justify-content: center;
  width: 100vw;
  height: 100vh;
}

.text-scroll {
  text-align: center;
  bottom: 22%;
  position: absolute;
}

figure {
  position: relative;
  padding: 50px 80px;
  width: 400px;
  opacity: 0;
  -webkit-clip-path: polygon(180.758px 85.892px, 180.128px 88.285px, 181.837px 90.958px, 185.885px 90.958px, 189.752px 90.536px, 191.281px 91.381px, 195.329px 90.677px, 195.329px 87.651px, 196.138px 85.462px, 192.001px 83.922px, 188.898px 85.462px, 186.874px 83.922px, 183.366px 85.462px);
  -moz-transition: -webkit-clip-path 1s, opacity 0.2s;
  -o-transition: -webkit-clip-path 1s, opacity 0.2s;
  -webkit-transition: -webkit-clip-path 1s, opacity 0.2s;
  transition: -webkit-clip-path 1s, opacity 0.2s;
}

figure canvas {
  position: absolute;
  top: 0;
  -moz-transform: scale(0);
  -ms-transform: scale(0);
  -webkit-transform: scale(0);
  transform: scale(0);
  -moz-transition: -webkit-transform 0.5s;
  -o-transition: -webkit-transform 0.5s;
  -webkit-transition: -webkit-transform 0.5s;
  transition: -webkit-transform 0.5s;
}

figure.in {
  opacity: 1;
  -webkit-clip-path: polygon(-105.931px 17.51px, -131.035px 112.902px, -62.898px 219.517px, 98.479px 219.517px, 252.684px 202.683px, 313.649px 236.351px, 475.026px 208.295px, 475.026px 87.651px, 507.301px 0.356px, 342.338px -61.049px, 218.616px 0.356px, 137.927px -61.049px, -1.933px 0.356px);
}

figure.in canvas {
  -moz-transform: scale(1);
  -ms-transform: scale(1);
  -webkit-transform: scale(1);
  transform: scale(1);
}

figure.in figcaption {
  opacity: 1;
  -webkit-clip-path: polygon(-105.931px 17.51px, -131.035px 112.902px, -62.898px 219.517px, 98.479px 219.517px, 252.684px 202.683px, 313.649px 236.351px, 475.026px 208.295px, 475.026px 87.651px, 507.301px 0.356px, 342.338px -61.049px, 218.616px 0.356px, 137.927px -61.049px, -1.933px 0.356px);
}

figure.right {
  float: right;
}

figure.right canvas {
  left: 0;
}

figure.right figcaption {
  border-left: 2px solid white;
  text-align: left;
}

figure.left {
  float: left;
}

figure.left canvas {
  right: 0;
}

figure.left figcaption {
  border-right: 2px solid white;
  text-align: right;
}

figcaption {
  position: relative;
  padding: 0 10px;
  z-index: 1;
  text-transform: uppercase;
  font-family: open-sans-condensed, sans-serif;
  font-size: 1.3rem;
  opacity: 0;
  -webkit-clip-path: polygon(180.758px 85.892px, 180.128px 88.285px, 181.837px 90.958px, 185.885px 90.958px, 189.752px 90.536px, 191.281px 91.381px, 195.329px 90.677px, 195.329px 87.651px, 196.138px 85.462px, 192.001px 83.922px, 188.898px 85.462px, 186.874px 83.922px, 183.366px 85.462px);
  -moz-transition: -webkit-clip-path 1s, opacity 1s;
  -o-transition: -webkit-clip-path 1s, opacity 1s;
  -webkit-transition: -webkit-clip-path 1s, opacity 1s;
  transition: -webkit-clip-path 1s, opacity 1s;
}

figcaption p {
  line-height: 1.5;
}

video {
  position: fixed;
  left: 50%;
  top: 0;
  min-width: 100%;
  min-height: 100%;
  width: 100%;
  height: auto;
  z-index: -100;
  background-size: cover;
  transform: translateX(-50%);
}

.section {
  width: 100vw;
  height: 100vh;
}

.parallax {
  position: relative;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  text-align: center;
  pointer-events: auto !important;
}

.parallax .info p {
  display: inline-block;
  width: 100%;
  max-width: 304px;
  margin-top: 15%;
  margin-left: 0;
}

.slide {
  -webkit-box-sizing: border-box;
  padding: 1rem;
}

#title {
  margin: auto;
}

#scroll-btn {
  position: fixed;
  bottom: 0;
  left: 50%;
  margin-left: -54px;
  opacity: 1;
  -moz-transition: opacity 0.2s;
  -o-transition: opacity 0.2s;
  -webkit-transition: opacity 0.2s;
  transition: opacity 0.2s;
  -moz-transform: translateZ(0);
  -ms-transform: translateZ(0);
  -webkit-transform: translateZ(0);
  transform: translateZ(0);
}

#scroll-btn.out {
  opacity: 0;
}

#ground {
  top: 0;
  left: 0;
  position: fixed;
  width: 100%;
  height: 100%;
}

#deck {
  z-index: 2;
}

#cover h2 {
  font-family: promptbold;
  font-size: 34px
}

#cover h3 {
  font-family: promptbold;
  font-size: 28px
}

section {
  height: 150vh;
}

section#end {
  height: 100vh;
}

section .text {
  display: flex;
  height: 450px;
}

section.left .info {
  padding: 100px 130px 50px 50px;
  color: #fff;
}

section .info h1 {
  font-family: promptbold;
  font-size: 3rem;
  margin-bottom: 30px;
}

section .info p {
  font-family: arial;
  margin-bottom: 30px
}

section .info a {
  font-family: arial;
  color: #000;
  text-decoration: underline;
  color: #fff;
  font-size: 28px;
}

section.left .info h1,
section.left .info p,
section.left .info a {
  color: #000
}

section .text img {
  height: auto;
  width: 350px;
  margin: auto;
  display: block;
}

section .block {
  width: 80%;
  margin: auto;
}


/*#deck {
  background: linear-gradient(180deg, transparent 10%, rgba(158, 11, 15, 0.7) 25%, rgba(255, 242, 0, 0.7) 40%, rgba(25, 123, 48, 0.7) 55%, rgba(0, 191, 243, 0.7) 70%, rgba(146, 39, 143, 0.7) 75%);
}*/

section#knowledge .block {
  width: 80%;
  height: 500px;
  margin: auto;
  -webkit-transform: skew(30deg);
  -moz-transform: skew(30deg);
  -o-transform: skew(30deg);
  transform: skew(30deg);
  background: rgba(158, 11, 15, 0.7);
}

section#memory .block {
  width: 80%;
  height: 500px;
  margin: auto;
  background: rgba(255, 242, 0, 0.7);
}

section#utopia .block {
  width: 80%;
  height: 500px;
  margin: auto;
  background: rgba(25, 123, 48, 0.7);
}

section#technology .block {
  width: 80%;
  height: 500px;
  margin: auto;
  background: rgba(0, 191, 243, 0.7);
}

section#thailand .block {
  width: 80%;
  height: 500px;
  margin: auto;
  background: rgba(146, 39, 143, 0.7);
}

section#end {
  background: #0b1521;
}

#end .col-md-12 {
  text-align: center;
  padding-top: 250px
}

#end h2 {
  color: #fff;
  font-family: promptbold;
  line-height: 36px;
  font-size: 3rem
}

#end div>a {
  color: #fff;
  font-size: 4rem;
  text-decoration: none;
}

a:hover {
  opacity: 0.7
}

#end img {
    display: inline-block;
    width: 92px;
    height: auto;
margin: 20px 20px 40px 20px;
    vertical-align: -webkit-baseline-middle;
}

.card {
  background-color: transparent !important
}

.icon-scroll,
.icon-scroll:before {
  position: absolute;
  left: 50%;
}

.icon-scroll {
  width: 40px;
  height: 70px;
  margin-left: -20px;
  top: -100%;
  box-shadow: inset 0 0 0 2px #000;
  border-radius: 25px;
}

.icon-scroll:before {
  content: '';
  width: 8px;
  height: 8px;
  background: #000;
  margin-left: -4px;
  top: 8px;
  border-radius: 4px;
  -webkit-animation-duration: 1.5s;
  animation-duration: 1.5s;
  -webkit-animation-iteration-count: infinite;
  animation-iteration-count: infinite;
  -webkit-animation-name: scroll;
  animation-name: scroll;
}

@-webkit-keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
    transform: translateY(46px);
  }
}

@keyframes scroll {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
    -webkit-transform: translateY(46px);
    transform: translateY(46px);
  }
}

.parallax .text-center {
  text-align: center;
  width: 100%!important
}

.left-section .parallax h1 {
  position: absolute;
  color: #000;
  font-family: promptbold;
  font-size: 3rem;
  margin-top: 110px;
  margin-left: -700px;
  text-align: right !important;
}

.left-section .parallax p {
  font-family: promptbold;
  font-weight: 300 !important;
  position: absolute;
  margin-top: 210px;
  mix-blend-mode: hard-light;
  max-width: 500px;
  text-align: right;
  display: inline-block;
  margin-left: -480px;
  color: #000;
}

.left-section .parallax a {
  position: absolute;
  margin-top: 360px;
  margin-left: -120px;
  mix-blend-mode: hard-light;
  z-index: 9999999;
  font-family: arial;
  color: #000;
  text-decoration: underline;
  font-size: 28px;
}

.left-section .parallax a:hover {
  opacity: 0.7 !important;
  color: #000;
}

.left-section .parallax #img-text {
  display: inline-block;
  width: 350px;
  max-width: 350px;
  margin-top: 90px;
  margin-left: 550px;
}

.right-section .parallax h1 {
  position: absolute;
  color: #000;
  font-family: promptbold;
  font-size: 2.5rem;
  margin-top: 110px;
  margin-left: 130px;
}

#memory .parallax h1 {
  margin-left: 85px;
}

.right-section .parallax p {
  font-family: promptbold;
  font-weight: 300 !important;
  position: absolute;
  margin-top: 210px;
  mix-blend-mode: hard-light;
  max-width: 500px;
  text-align: left;
  display: inline-block;
  color: #000;
}

.right-section .parallax a {
  position: absolute;
  margin-top: 360px;
  mix-blend-mode: hard-light;
  z-index: 9999999;
  font-family: arial;
  color: #000;
  text-decoration: underline;
  font-size: 28px;
}

.right-section .parallax a:hover {
  opacity: 0.7 !important;
  color: #000;
}

.right-section .parallax #img-text {
  display: inline-block;
  width: 350px;
  max-width: 350px;
  margin-top: 90px;
  margin-left: -590px;
}

#img-box-k {
  width: 300px;
  margin-left: -1000px;
  margin-top: 330px;
}

#img-box-m {
  width: 330px;
  margin-left: 700px;
  margin-top: 300px;
}

#img-box-u {
  width: 350px;
  margin-left: -1000px;
  margin-top: 330px;
}

#img-box-t {
  width: 350px;
  margin-left: 1000px;
  margin-top: 330px;
}

#img-box-tt {
  width: 250px;
  margin-left: -800px;
  margin-top: 300px;
}

@media (max-width: 480px) {
  .parallax {
    height: auto;
  }
  .left-section .parallax h1,
  .right-section .parallax h1 {
    position: unset;
    margin-top: 50px;
        margin-left: auto !important;
    margin-right: auto!important;
    text-align: unset !important;
  }
  .left-section .parallax p,
  .right-section .parallax p {
    margin: 20px auto;
    position: unset;
    text-align: left;
    display: inline-block;
    color: #000;
  }
  .left-section .parallax #img-text,
  .right-section .parallax #img-text {
    display: inline-block;
    width: 60%;
    margin-top: 50px;
    margin-top: 0;
    margin-left: 0;
  }
  .left-section .parallax a,
  .right-section .parallax a {
    position: unset;
    margin: 50px auto;
    display: block;
  }
  div#sceneknowledge {
    background: rgba(158, 11, 15, 0.7);
    width: 100%;
    margin: auto;
    padding: 30px;
  }
  div#scenememory {
    background: rgba(255, 242, 0, 0.7);
    width: 100%;
    margin: auto;
    padding: 30px;
  }
  div#sceneutopia {
    background: rgba(25, 123, 48, 0.7);
    width: 100%;
    margin: auto;
    padding: 30px;
  }
  div#scenetechnology {
    background: rgba(0, 191, 243, 0.7);
    width: 100%;
    margin: auto;
    padding: 30px;
  }
  div#scenethailand {
    background: rgba(146, 39, 143, 0.7);
    width: 100%;
    margin: auto;
    padding: 30px;
  }
  section#knowledge .block,
  #img-box-k,
  section#memory .block,
  #img-box-m,
  section#utopia .block,
  #img-box-u,
  section#technology .block,
  #img-box-t,
  section#thailand .block,
  #img-box-tt {
    display: none !important;
  }
  .parallax>div {
    position: relative !important;
  }
  video {
    width: auto;
    height: 100vh !important;
  }
  #end div>a {
    display: inline-block;
    margin-top: 30px;
    font-size: 2rem;
  }
  .lang {
    font-size: 1rem !important;
    float: left;
    padding-right: 20px !important;
    padding-left: 20px !important;
  }
}

@media (max-width: 1024px) and (min-width: 481px) {
  video {
    width: auto;
    height: 100vh !important;
  }
  .right-section .parallax h1 {
    margin-left: 120px;
  }
  .right-section .parallax p {
    font-size: 14px;
    max-width: 270px;
    margin-top: 170px;
  }
  .right-section .parallax #img-text {
    width: 200px;
    max-width: 250px;
    margin-top: 120px;
    margin-left: -350px;
  }
  .left-section .parallax h1 {
    margin-left: -483px
  }
  .left-section .parallax p {
    font-size: 14px;
    max-width: 270px;
    margin-left: -240px;
    margin-top: 178px;
    line-height: 18px;
  }
  .left-section .parallax #img-text {
    width: 200px;
    max-width: 250px;
    margin-top: 120px;
    margin-left: 350px;
  }
  .left-section .parallax a,
  .right-section .parallax a {
    margin-top: 380px;
  }
  #end div>a {
    font-size: 3rem;
  }
}

@media (max-width: 768px) and (min-width: 481px) {
  .left-section .parallax h1 {
    margin-left: -350px;
  }
}

@media (min-width: 768px) {
  .lang {
    padding-right: 50px !important;
    padding-left: 50px !important;
  }
}

.gn-title-top {
  display: block;
  margin-top: 20px;
  font-family: promptbold;
  font-size: 42px;
  color: #fff;
  text-shadow: 2px 2px 8px #565656;
}

.lang {
  font-size: 1.5rem;
  padding-top: 30px;
  padding-bottom: 30px;
  padding-right: 50px;
  padding-left: 50px;
  font-weight: bold;
}

.lang a {
  color: #000;
  padding: 10px
}

.lang a:hover {
  color: #fff;
  text-decoration: none;
  opacity: 1
}

.full-width {
  width: 100%;
  padding: 0;
  margin-left: 0 !important;
  ;
  margin-right: 0 !important;
}

.lang .active {
  text-decoration: underline;
}

.z-99 {
  z-index: 99
}

@media (max-width: 600px) {
section .block {
    width: 100% !important}

}
  @media (max-width: 600px) and  (min-width: 481px){
  .left-section .parallax h1 {
    margin-left: -268px;
}}

.w-180 {width: 180px!important}