
.slider {
  width: 100%;
  height: 90vh;
  position: relative;
  overflow: hidden;
  background-color: #000000;
}

.slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transform: translateX(-50%);
  transition: all 0.80s ease;
}

@media screen and (min-width: 600px) {
  .slide img {
    width: 100%;
    height: 100%;
  }
}

.slide img {
  height: 100%;
}

.content {
  position: absolute;
  text-align: center;
  top: 0rem;
  left: 50%;
  opacity: 0;
  width: 50%;
  /* // width: 500px;
  // height: 200px; */
  padding: 3rem;
  display: flex;
  justify-self: center;
  align-items: center;
  flex-direction: column;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.2);

  animation: slide-up 1s ease 0.5s;
  animation-fill-mode: forwards;
  box-sizing: border-box;
  overflow: hidden;
  box-shadow: 0 20px 50px rgb(23, 32, 90);

}
.content h2 {
  font-size: 2.5rem;
}

.content span,
.content .span1 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: block;
  box-sizing: border-box;
}

.content .span1:before {
  content: "";
  position: absolute;
  top: 0px;
  left: 0%;
  width: 30%;
  height: 2px;
  background: linear-gradient(270deg, #030b39 0%, #58076e 61%, #eab676 100%);

  animation: span1 3s linear infinite;
}
.content .span2:before {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0%;
  width: 30%;
  height: 2px;
  background: linear-gradient(90deg, #030b39 0%, #58076e 61%, #eab676 100%);
  animation: span2 3s linear infinite;
}
.content .span3:before {
  content: "";
  position: absolute;
  top: 0%;
  left: 0;
  width: 2px;
  height: 30%;
  background: linear-gradient(0deg, #030b39 0%, #58076e 61%, #eab676 100%);
  animation: span3 3s linear infinite;
}
.content .span4:before {
  content: "";
  position: absolute;
  bottom: 0%;
  right: 0;
  width: 2px;
  height: 30%;
  background: linear-gradient(180deg, #030b39 0%, #58076e 61%, #eab676 100%);
  animation: span4 3s linear infinite;
}

@keyframes span1 {
  0% {
    left: 0%;
  }
  100% {
    left: 100%;
  }
}
@keyframes span2 {
  0% {
    right: 0%;
  }
  100% {
    right: 100%;
  }
}
@keyframes span3 {
  0% {
    top: 0%;
  }
  100% {
    top: 100%;
  }
}
@keyframes span4 {
  0% {
    bottom: 0%;
  }
  100% {
    bottom: 100%;
  }
}

@keyframes slide-up {
  0% {
    visibility: visible;
    top: 14rem;
  }
  100% {
    visibility: visible;
    top: 12rem;
  }
}

@media screen and (max-width: 600px) {
  .content {
    width: 80%;
  }
}

.content > * {
  color: #fff;
  margin-bottom: 1rem;
}

.current {
  opacity: 1;
  transform: translateX(0);
}

.current .content {
  opacity: 1;
}
/* .arrow {
  border: 2px solid orangered;
  border-radius: 50%;
  background: transparent;
  color: #fff;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
}

.arrow:hover {
  background: #fff;
}

.next {
  right: 1.5rem;
  color: orangered;
}
.prev {
  left: 1.5rem;
  color: orangered;
} */

hr {
  height: 2px;
  background: #fff;
  width: 50%;
}

@keyframes steam {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}