@import url("https://fonts.googleapis.com/css?family=Montserrat:200,700&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

body {
  background-color: #fff;
  min-height: 100vh;
  overflow-x: hidden;
  background: linear-gradient(0deg, #1c0522 0%, #827fd1 100%);
}

header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  padding: 50px 80px 50px 50px;
  display: flex;
  object-fit: cover;
  justify-content: space-between;
  align-items: center;
  z-index: 2000;
}


header .logo {
  width: 6vmax;
  cursor: pointer;
}



nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
}

nav ul li {
  list-style: none;
  margin-left: 20px;
}

nav ul li a{
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 20px;
  color: #110011;
}

nav ul li a:hover,
nav ul li a.active {
  background: #ddccdd;
  color: #110011;
}

nav ul li a {
  text-decoration: none;
  padding: 6px 15px;
  border-radius: 20px;
  color: #110011;
}

.container {
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -30%);
  width: 1000px;
  height: 550px;
  background: #a80e9b;;
  box-shadow: 0 0 0 #a80e9b;
  margin-top: 320px;
}

.container .slide .item video {
  width: 100%;
  height: 100%; 
  object-fit: cover;
  border-radius: 10px;
}

.container .slide .item {
  width: 180px;
  height: 280px;
  position: absolute;
  top: 50%;
  transform: translate(0, -50%);
  border-radius: 20px;
  box-shadow: -15px 8px 50px #a80e9b;;
  background-position: 50% 50%;
  background-size: cover;
  display: inline-block;
  transition: 0.5s;
  background: linear-gradient(0deg, #827fd1 0%, #827fd1 100%);
}

.slide .item:nth-child(1),
.slide .item:nth-child(2) {
  top: 0;
  left: 0;
  transform: translate(0, 0);
  border-radius: 0px;
  width: 100%;
  height: 100%;
}

.slide .item:nth-child(3) {
  left: 50%;
}
.slide .item:nth-child(4) {
  left: calc(50% + 220px);
}
.slide .item:nth-child(5) {
  left: calc(50% + 440px);
}

/* here n = 0, 1, 2, 3,... */
.slide .item:nth-child(n + 6) {
  left: calc(50% + 660px);
  opacity: 0;
}

.item .content {
  position: absolute;
  top: 50%;
  left: 100px;
  width: 300px;
  text-align: left;
  color: #eee;
  transform: translate(0, -50%);
  font-family: system-ui;
  display: none;
}

.slide .item:nth-child(2) .content {
  display: block;
}

.content .name {
  font-size: 40px;
  text-transform: uppercase;
  font-weight: bold;
  opacity: 0;
  animation: animate 1s ease-in-out 1 forwards;
}

.content .des {
  margin-top: 10px;
  margin-bottom: 20px;
  opacity: 0;
  animation: animate 1s ease-in-out 0.3s 1 forwards;
}

.content button {
  padding: 10px 20px;
  border: none;
  cursor: pointer;
  opacity: 0;
  border-radius: 20px;
  animation: animate 1s ease-in-out 0.6s 1 forwards;
}

@keyframes animate {
  from {
    opacity: 0;
    transform: translate(0, 100px);
    filter: blur(33px);
  }

  to {
    opacity: 1;
    transform: translate(0);
    filter: blur(0);
  }
}

.button {
  width: 100%;
  text-align: center;
  position: absolute;
  bottom: 20px;
}

.button button {
  border: 1px solid rgba(0, 0, 0, 0.5); /* Borde semi-transparente */
  background-color: rgba(0, 0, 0, 0.1); /* Color de fondo semi-transparente */
  width: 40px;
  height: 35px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  margin: 0 5px;
  border: none;
  transition: 0.3s;
}

.button button:hover {
  background: rgba(171, 171, 171, 0.5); /* Cambiar el color de fondo al pasar el ratón */
  color: #fff;
}


