@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Edu+VIC+WA+NT+Beginner&family=Poppins&family=Roboto+Mono:wght@300&display=swap?family=Raleway&family=Roboto+Mono:wght@300&display=swap');


* {
  box-sizing: border-box;
}

body {
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  overflow: hidden;
  margin: 0;
  background-position: center center;
  background-size: cover;
  transition: 0.4s;
}

body::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* canvas {
cursor: pointer;
position: absolute;
z-index:-1;
} */
.slider-container {
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.16), 0 3px 6px rgba(0, 0, 0, 0.23);
  height: 70vh;
  width: 70vw;
  position: relative;
  overflow: hidden;
}

.slide {
  opacity: 0;
  height: 100vh;
  width: 100vw;
  background-position: center center;
  background-size: cover;
  position: absolute;
  object-fit: cover;
  top: -15vh;
  left: -15vw;
  transition: 0.4s ease;
  z-index: 1;
}

.slide.active {
  opacity: 1;
}

.arrow {
  position: fixed;
  background-color: transparent;
  color: #fff;
  padding: 20px;
  font-size: 30px;
  border: 2px solid rgb(255, 255, 255);
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
}

.arrow:hover {
  border: 3px solid rgb(165, 3, 3);
}

.arrow:focus {
  outline: 0;
}

.left-arrow {
  left: calc(15vw - 65px);
  color: rgb(165, 3, 3);
  /* transform: scaleX(-1); */
}

.right-arrow {
  right: calc(15vw - 65px);
  color: rgb(165, 3, 3);
}

.left-arrow:hover {
  color: rgb(238, 182, 0);
}

.right-arrow:hover {
  color: rgb(238, 182, 0);
}

.american-frontier {
  z-index: 200;
  width: 35%;
  position: absolute;
  top: 100px;
  left: -66px;
  perspective: 100rem;
  animation: frontier-float 150s infinite;
}

.howru {
  animation: howru 140s infinite;

}

#Geronimo {
  color: white;
  position: absolute;
  bottom: -1%;
  left:2%;
}

#img-geronimo {
  height: 140px;
  z-index: 100;
}
#img-geronimo:hover{
  height: 140px;
  -webkit-animation:elastic 2s ease 0s 1 normal;
  -moz-animation:elastic 2s ease 0s 1 normal;
  -ms-animation:elastic 2s ease 0s 1 normal;
  animation:elastic 2s ease 0s 1 normal;
}

#texas {
  color: white;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 3px;
  bottom: -10%;
  height: 100px;
  text-align: left;
}

#texas:hover {

  color: red;
}

@keyframes frontier-float {
  0% {
    transform: translateZ(40rem);
    opacity: 1;
  }

  40% {
    transform: translateZ(-500rem) translateX(150rem);
    opacity: 0.8;
  }

  70% {
    transform: translateZ(-1500rem) translateX(800rem);
    opacity: 0.6;
  }

  80% {
    transform: translateZ(-50rem) translateX(100rem);
    opacity: 0.8;
  }

  100% {
    transform: translateZ(40rem);
    opacity: 1;
  }
}

@keyframes howru {
  0% {
    transform: translateZ(40rem);
    opacity: 1;
  }

  40% {
    transform: translateZ(-500rem) translateX(150rem);
    opacity: 0.8;
  }

  70% {
    transform: translateZ(-1500rem) translateX(800rem);
    opacity: 0.6;
  }

  80% {
    transform: translateZ(-50rem) translateX(100rem);
    opacity: 0.8;
  }

  100% {
    transform: translateZ(40rem);
    opacity: 1;
  }
}

/* End of American Frontier */