@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&display=swap");

:root {
  --white: #fff;
  --black: #1c2b2d;
  --blue: #31326f;
  --light-blue: #005490;
  --color-primary: #9d0191;
  --color-sec: #db6400;
  --grey: #eee;
  --dark-grey: #222831;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Open Sans", sans-serif;
  background: linear-gradient(rgba(0, 0, 0, .5), rgba(0, 0, 0, .7)), url(images/image.jpg);
}

.fondocss {
  position: fixed;
  bottom: 0px;  
  right: 0px;
  width: 100vw;
  min-height: 100vh;
  /* width: auto;
  height: auto; */
  z-index: 0;
  overflow: hidden;
}

.container {
  height: 100vh;
  width: 100%;
}

.viewport {
  width: 42vw;
  height: 21vw;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  perspective: 1300px;
}

.viewport::after {
  content: "";
  position: absolute;
  width: 100%;
  height: 20%;
  background-color: #000;
  z-index: -1;
  top: 140%;
  /* left: -10%; */
  filter: blur(50px);
}

.cube {
  width: 100%;
  height: 33.3333333%;
  transform-style: preserve-3d;
  position: relative;
}

.cube-1 {
  transition: transform .4s;
}

.cube-2 {
  z-index: 10;
  transition: transform .4s .2s;
}

.cube-3 {
  transition: transform .4s .4s;
}

.fase {
  width: 100%;
  height: 100%;
  position: absolute;
  background-color: #fff;
  position: absolute;
}

.front {
  transform: translateZ(21vw);
}

.cube-1 .front {
  background: url(./images/leon.jpg) no-repeat 50% 0;
  background-size: cover;
  border: none;
}

.cube-2 .front {
  background: url(./images/leon.jpg) no-repeat 50% -7vw;
  background-size: cover;
  border: none;
}

.cube-3 .front {
  background: url(./images/leon.jpg) no-repeat 50% -14vw;
  background-size: cover;
  border: none;
}
.back {
  transform: translateZ(-21vw) rotateY(180deg);
}

.cube-1 .back {
  background: url(./images/bufalo.jpg) no-repeat 50% 0;
  background-size: cover;
  border: none;
}

.cube-2 .back {
  background: url(./images/bufalo.jpg) no-repeat 50% -7vw;
  background-size: cover;
  border: none;
}

.cube-3 .back {
  background: url(./images/bufalo.jpg) no-repeat 50% -14vw;
  background-size: cover;
  border: none;
}

.left {
  transform: translateX(-21vw) rotateY(-90deg);
}

.cube-1 .left {
  background: url(./images/lobo.jpg) no-repeat 50% 0;
  background-size: cover;
  border: none;
}

.cube-2 .left {
  background: url(./images/lobo.jpg) no-repeat 50% -7vw;
  background-size: cover;
  border: none;
}

.cube-3 .left {
  background: url(./images/lobo.jpg) no-repeat 50% -14vw;
  background-size: cover;
  border: none;
}

.right {
  transform: translateX(21vw) rotateY(90deg);
}

.cube-1 .right {
  background: url(./images/venado.jpg) no-repeat 50% 0;
  background-size: cover;
  border: none;
}

.cube-2 .right {
  background: url(./images/venado.jpg) no-repeat 50% -7vw;
  background-size: cover;
  border: none;
}

.cube-3 .right {
  background: url(./images/venado.jpg) no-repeat 50% -14vw;
  background-size: cover;
  border: none;
}

.top {
  height: 42vw;
  background-color: #111;
  transform: translateY(-14vw) rotateX(90deg);
}

.bottom {
  height: 42vw;
  background-color: #111;
  transform: translateY(-14vw) rotateX(-90deg);
}

.control {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 40px;
  height: 40px;
  /* border: 1px solid #fff; */
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  padding: 25px;
  z-index: 100;
  transition: background-color .3s;
}

.control:hover {
  background-color: rgba(42, 38, 36, .8);
}

.control i {
  pointer-events: none;
}

.fas {
  color: #fff;
  font-size: 30px;
  font-weight: 700;
  animation: glow ease-in-out 1s alternate infinite;
  cursor: pointer;
}

@keyframes glow {
  from {
    text-shadow: 0 0 10px white, 0 0 20px rgb(197, 105, 82), 0 0 30px rgb(245, 255, 108), 0 0 40px rgb(144, 253, 93), 0 0 50px rgb(82, 142, 251), 0 0 60px rebeccapurple, 0 0 70px rgb(217, 82, 251);
  }
  to {
    text-shadow: 0 0 20px white, 0 0 30px rgb(197, 105, 82), 0 0 40px rgb(245, 255, 108), 0 0 50px rgb(144, 253, 93), 0 0 60px rgb(82, 142, 251), 0 0 70px rebeccapurple, 0 0 80px rgb(217, 82, 251);
  }
}

.left-arrow {
  top: 50%;
  left: -35%;
}

.right-arrow {
  top: 50%;
  right: -35%;
  /* left: 135%; */
}

.play-pause {
  top: 140%;
  left: 50%;
}