/* Fonts Import */
@font-face {
  font-family: "game";
  src: url("../fonts/NwsGkSns.ttf") format("truetype");
  font-weight: normal;
  font-style: normal;
}

/* Variables */
:root {
}

/* Global Styling */
html,
body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  scroll-behavior: smooth;
}

h1,
h2,
h3,
h4,
h5,
p {
  margin: 0;
  padding: 0;
}

.dead-center {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

a {
  text-decoration: none;
}

/* Specific Styling */

.project-wrapper {
  position: relative;
}

.video-container video,
.video-container > img {
  height: 100vh;
}

.video-container {
  position: relative;
  width: fit-content;
  margin: auto;
}

.video-overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
}

.video-container .video-overlay button {
  position: absolute;
  padding: 0;
  margin: 0;
  background-color: transparent;
  border: 0;
  cursor: pointer;
}

.video-container .video-overlay button img {
  width: 100%;
}

.video-container .video-overlay .subpage-red {
  width: 9%;
  right: 6%;
  top: 5.5%;
}

.video-container .video-overlay .subpage-orange {
  width: 14%;
  bottom: 9.5%;
  left: 13%;
}

.video-container .video-overlay .effect-blue {
  width: 5%;
  bottom: 10.5%;
  left: 4.5%;
}

.video-container .video-overlay .effect-orange {
  width: 4%;
  bottom: 3%;
  left: 15%;
}

.video-container .video-overlay .arrow-left {
  width: 15%;
  bottom: 0;
  left: 2%;
}

.video-container .video-overlay .arrow-right {
  width: 15%;
  bottom: 20%;
  right: 2%;
}

.video-container .video-overlay .pixel-man {
  width: 8%;
  top: 39.8%;
  left: 42%;
}

.video-container .video-overlay .pixel-man-2 {
  width: 30%;
  bottom: 10%;
  left: 3%;
}

/* .sub-page-game {
   display: block !important;
   z-index: 999;
} */
/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  left: 0;
  top: 0;
  z-index: 99;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0, 0, 0); /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4); /* Black w/ opacity */
}

/* Modal Content/Box */
.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 30%;
  position: relative;
  border-radius: 10px;
  box-shadow: 0 0 20px 20px #06060647;
}

/* The Close Button */
.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  position: absolute;
  top: 0;
  display: flex;
  right: 10px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}
#progress-bar {
  position: absolute;
  z-index: 999999;
  inset: 0;
  visibility: visible;
  opacity: 1;
  transition: 1.5s ease-out;
  background-color: #000;
}

.main-page button {
  display: none;
  opacity: 0;
  transition: 0.2s;
}

.sub-page-red,
.sub-page-orangeA,
.sub-page-orangeB,
.bg-effect-blue,
.bg-effect-orange,
.sub-page-game {
  position: absolute;
  inset: 0;
}

body {
  background-color: #000;
}

.cssload-squeeze {
  position: relative;
  display: flex;
  width: 165px;
  margin: auto;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.cssload-squeeze,
.cssload-squeeze * {
  box-sizing: border-box;
  -o-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
}

.cssload-squeeze span {
  display: inline-block;
  height: 23px;
  width: 23px;
  background: rgb(0, 0, 0);
  border-radius: 0px;
}

.cssload-squeeze span:nth-child(1) {
  animation: cssload-rotateX 2.3s 0.12s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -o-animation: cssload-rotateX 2.3s 0.12s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -ms-animation: cssload-rotateX 2.3s 0.12s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -webkit-animation: cssload-rotateX 2.3s 0.12s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -moz-animation: cssload-rotateX 2.3s 0.12s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
}

.cssload-squeeze span:nth-child(2) {
  animation: cssload-rotateX 2.3s 0.23s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -o-animation: cssload-rotateX 2.3s 0.23s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -ms-animation: cssload-rotateX 2.3s 0.23s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -webkit-animation: cssload-rotateX 2.3s 0.23s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -moz-animation: cssload-rotateX 2.3s 0.23s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
}

.cssload-squeeze span:nth-child(3) {
  animation: cssload-rotateX 2.3s 0.35s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -o-animation: cssload-rotateX 2.3s 0.35s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -ms-animation: cssload-rotateX 2.3s 0.35s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -webkit-animation: cssload-rotateX 2.3s 0.35s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -moz-animation: cssload-rotateX 2.3s 0.35s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
}

.cssload-squeeze span:nth-child(4) {
  animation: cssload-rotateX 2.3s 0.46s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -o-animation: cssload-rotateX 2.3s 0.46s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -ms-animation: cssload-rotateX 2.3s 0.46s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -webkit-animation: cssload-rotateX 2.3s 0.46s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -moz-animation: cssload-rotateX 2.3s 0.46s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
}

.cssload-squeeze span:nth-child(5) {
  animation: cssload-rotateX 2.3s 0.58s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -o-animation: cssload-rotateX 2.3s 0.58s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -ms-animation: cssload-rotateX 2.3s 0.58s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -webkit-animation: cssload-rotateX 2.3s 0.58s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
  -moz-animation: cssload-rotateX 2.3s 0.58s infinite
    cubic-bezier(0.65, 0.03, 0.735, 0.045);
}

@keyframes cssload-rotateX {
  0% {
    transform: rotateX(0deg);
  }

  50% {
    transform: rotateX(90deg) scale(0.5, 0.5);
    background: rgb(184, 184, 184);
  }

  100% {
    transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}

@-o-keyframes cssload-rotateX {
  0% {
    -o-transform: rotateX(0deg);
  }

  50% {
    -o-transform: rotateX(90deg) scale(0.5, 0.5);
    background: rgb(184, 184, 184);
  }

  100% {
    -o-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}

@-ms-keyframes cssload-rotateX {
  0% {
    -ms-transform: rotateX(0deg);
  }

  50% {
    -ms-transform: rotateX(90deg) scale(0.5, 0.5);
    background: rgb(184, 184, 184);
  }

  100% {
    -ms-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}

@-webkit-keyframes cssload-rotateX {
  0% {
    -webkit-transform: rotateX(0deg);
  }

  50% {
    -webkit-transform: rotateX(90deg) scale(0.5, 0.5);
    background: rgb(184, 184, 184);
  }

  100% {
    -webkit-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}

@-moz-keyframes cssload-rotateX {
  0% {
    -moz-transform: rotateX(0deg);
  }

  50% {
    -moz-transform: rotateX(90deg) scale(0.5, 0.5);
    background: rgb(184, 184, 184);
  }

  100% {
    -moz-transform: rotateX(0deg);
    transform: rotateX(0deg);
  }
}

#redscream {
  top: 0;
  position: absolute;
  display: none;
}
img {
  pointer-events: none;
}

::selection {
  background: #f7f7f700;
  color: #fff;
}
/*Chat bot CSS*/
body {
  font-family: "game";
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  height: 100%;
  margin: 0;
}

.container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  position: absolute;
  bottom: 10%;
}

.container > img {
  width: 30%;
  height: auto;
  align-self: end;
}

.chat {
  height: 360px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

::-webkit-input-placeholder {
  color: 0.711;
}

input {
  border: 0;
  padding: 15px;
  margin-left: auto;
  border-radius: 10px;
}

.messages {
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  height: 90%;
  background-color: white;
  padding: 15px;
  margin-bottom: 15px;
  border-radius: 10px;
  font-size: 14px;
}

#bot {
  margin-right: 15%;
}

#user {
  margin-left: auto;
}

.bot {
  font-family: "game";
}

.avatar {
  height: 25px;
}

.response {
  display: flex;
  align-items: center;
  margin: 1%;
}

.dark-ambiance {
  position: absolute;
  inset: -10px;
  background-color: #000000ba;
  opacity: 0;
  transition: 1s ease-in;
}

@media screen and (max-width: 920px) {
  .project-wrapper {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .main-page,
  .sub-page-red,
  .sub-page-orangeA,
  .sub-page-orangeB,
  .bg-effect-blue,
  .bg-effect-orange,
  .sub-page-game {
    position: absolute;
    inset: 0;
    justify-content: center;
    display: flex;
    align-items: center;
  }

  .video-container video,
  .video-container > img {
    width: 100vw;
    height: auto;
  }
}
