@font-face {
  font-family: GraphikBold;
  src: url(../fonts/Graphik-Bold.otf);
}

@font-face {
  font-family: Graphik;
  src: url(../fonts/Graphik.otf);
}

@media all and (max-width: 800px) {
  .mobile-hp-container {
    display: flex;
    flex-direction: row;
  }
}

html {

}

body {
  padding: 0;
  margin: 0;
  height: 500vh;
}

.wrapper {
  width: 20vw;
  height: 100vh;

}


.container {
  position: absolute;
  left: 13px;
  top: 65px;
  width: 200px;
  height: 150px;
  perspective: none;
  margin: 0px;

}

.nav-cube {
  position: relative;
  width: 200px;
  height: 50px;
  transform-style: preserve-3d;
  transform: perspective(none);
  transition: .2s;
  animation: cubeload .6s;
}

.cube {
  position: relative;
  width: 200px;
  height: 50px;
  transform-style: preserve-3d;
  transform: perspective(none);
  transition: .2s;
  animation: cubeload .6s;
}

@keyframes cubeload {

  0% {
    transform: rotate3d(0, 0, 1, 25deg) perspective(none);
    margin-left: 10px;
  }


  100% {
    margin-left: 0px;
  }

}

.nav-face-left {
  width: 50px;
  height: 150px;
  background: black;
  border: .1px solid rgba(0, 0, 0, .9);
  position: absolute;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: white;

  transition: .25s;
}

.nav-face-top {
  width: 200px;
  height: 50px;
  background: black;
  border: .1px solid rgba(0, 0, 0, .9);
  position: absolute;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  color: white;

  transition: .25s;
}

.nav-face-front {
  width: 200px;
  height: 150px;
  background: black;
  border: .1px solid rgba(0, 0, 0, .9);
  position: absolute;
  opacity: 1;
  transition: .25s;

}

.nav-face-front h1 {
  font-family: Graphik;
  font-size: 28px;
  color: white;
  position: absolute;
  bottom: 15px;
  right: 36px;
  padding: 0px;
  margin: 0px;
  animation: textwiden .6s ease-in-out;
  transform: scale(1.2);
}

@keyframes textwiden {

  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(10);
  }


  100% {
    transform: scale(1.2);
  }

}

.nav-face-front h2 {
  font-family: Graphik;
  font-size: 10px;
  letter-spacing: -1px;
  color: white;
  position: absolute;
  top: 0px;
  left: 0px;
  padding: 0px;
  margin: 0px;
}

.nav-face-front img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}

.nav-cube:hover .nav-face-left {
  background-color: red;
}

.nav-cube:hover .nav-face-top {
  background-color: red;
}

.nav-cube:hover .nav-face-front {
  background-color: red;
}

.nav-cube:hover .face {
  background-color: red;
}

.cube h1 {
  font-family: Graphik;
  font-size: 35px;
  color: black;
  text-align: center;
}

.cube h2 {
  display: none;
  position: absolute;
  right: 0px;
  top: -95px;
  font-family: Graphik;
  font-size: 30px;
  color: black;
  line-height: 14px;
  text-align: right;
  transform: scaleX(1.2);
  transform-origin: right;
  background-color: orangered;
  padding:  12px 16px;
  border-radius: 3px;
  box-sizing: border-box;
}

.cube h3 {
  display: none;
  position: absolute;
  right: 0px;
  top: -38px;
  width: 500px;
  font-family: Graphik;
  font-size: 15px;
  color: black;
  line-height: 14px;
  text-align: right;
  transform: scaleX(1.2);
  transform-origin: right;
}

.cube h4{
  display: none;
  position: absolute;
  left: 40px;
  top: 30px;
  font-family: Graphik;
  font-size: 30px;
  color: white;
  line-height: 40px;
  text-align: left;
  transform: scaleX(1.2);
  transform-origin: left;
  margin: 0;
  padding: 0;
}

.cube:hover h1 {
  display: block;
}

.cube:hover h2 {
  display: block;
}

.cube:hover h3 {
  display: block;
}

.cube:hover h4 {
  display: block;
}

.face {
  width: 50px;
  height: 50px;
  background: skyblue;
  border: .1px solid black;
  position: absolute;
  opacity: 0.4;
  display: flex;
  align-items: center;
  justify-content: center;
}

.face img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  mix-blend-mode: screen;
}

.facelong {
  width: 200px;
  height: 160px;
  background: skyblue;
  opacity: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, sans-serif;
  font-size: 1rem;
  transition: .1s;
}

.cube:hover .facelong{
  background-color: orangered;
}


.cube {
  position: relative;
  width: 200px;
  height: 50px;
  transform-style: preserve-3d;
  transform: rotate3d(-.2, 1, -.095, 45deg) perspective(none);
}

.nav-cube {
  position: relative;
  width: 200px;
  height: 50px;
  transform-style: preserve-3d;
  transform: rotate3d(-.2, 1, -.095, 45deg) perspective(none);
}



.front {
  transform: translateZ(25px);
}

.left {
  transform: translateX(-25px) rotateY(-90deg);
}

.right {
  transform: translateX(25px) rotateY(90deg);
}

.bottom {
  transform: translateY(25px) rotateX(-90deg);
}

.top {
  transform: translateY(-25.5px) rotateX(90deg);
}

.marqueewrapper {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.marquee {
  overflow: hidden;
  white-space: nowrap;
  position: absolute;
}

.bg-graphic {
  position: absolute;
  top: 0px;
  left: 200px;
  width: 720px;
  height: 357px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  align-items: center;
  justify-content: center;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: left;
  animation: bganimation .6s ease-out;
}

@keyframes bganimation {

  0% {
    transform: rotate3d(-0.002, 0, 0, 1deg) scaleX(0);
  }

  100% {
    transform: rotate3d(-0.002, 0, 0, 1deg) scaleX(1);
  }

}

.button-1:hover .bg-graphic {
  display: flex;
}


.bg-graphic img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.button-lr{
  position: absolute;
  right: 0;
  bottom: 0;
}

.button-l{
  position: absolute;
  bottom: 0;
}

.button-ul{
  position: absolute;
  top: 0;
  left: 0;
}

.button-ll{
  position: absolute;
  left: 0;
  bottom:0;
}

.bg-graphic-2{
  position: fixed;
  bottom: 0px;
  left: 719.1px;
  width: 300px;
  height: 300px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: left;
  animation: bganimation .3s ease-out;
}

.button-2:hover .bg-graphic-2{
  display: block;
}

.bg-graphic-3{
  position: fixed;
  top: 300px;
  left: 0px;
  width: 300px;
  height: 500px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: top;
  animation: bganimation .3s ease-out;
  background-color: dodgerblue;
}

.button-3:hover .bg-graphic-3{
  display: block;
}

.bg-graphic-4{
  position: fixed;
  bottom: 0px;
  right: 300px;
  width: 600px;
  height: 400px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: right;
  animation: bganimation .3s ease-out;
  background-color: dodgerblue;
}

.button-4:hover .bg-graphic-4{
  display: block;
}

.bridge{
  position: fixed;
  top: 0px;
  right: 600px;
  width: 200px;
  height: 160px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: right;
  animation: bganimation .3s ease-out;
  background-color: dodgerblue;
}

.bg-graphic-5{
  position: fixed;
  top: 0px;
  right: 725px;
  width: 200px;
  height: 800px;
  margin: 0;
  padding: 0;
  z-index: -2;
  display: none;
  transition: .5s;
  transform: rotate3d(-0.002, 0, 0, 1deg);
  transform-origin: right;
  animation: bganimation .3s ease-out;
  background-color: dodgerblue;
}

.button-5:hover .bg-graphic-5{
  display: block;
}

.button-5:hover .bridge{
  display: block;
}
