/*Body*/

body{
    background-color: black;
    font-style: none;
    background-size: cover;      /* se adapta y cubre todo */
    background-repeat: no-repeat;/* no se repite */
    display: flex;
    justify-content: center;
    margin: 0px;
}

a{
    text-decoration: none; /* Quita la línea */
    color: white; /* Cambia el color (ej. negro) */
}

/*Background*/

.background{
    width: 94vw;   /* 100% del ancho de la ventana */
    height: 100vh;  /* 100% de la altura de la ventana */
    background-image: url(images/gif.gif);
    background-size: cover;      /* se adapta y cubre todo */
    background-repeat: no-repeat;/* no se repite */
    display: flex;
}

/*Container*/

.container-1{
  border-radius: 20px;
  border: solid 10px rgb(77, 77, 77);
  margin: 128px 0 0 100px;
  background: linear-gradient(to top , #5e5e5ef4, #00000071);    
  text-align: center;
  width: 400px;
  height: 650px;
  align-items: center;
  padding: 6px;
  animation: fadeInUp 1s ease-out;
}

.container-2{
  left: 110px;
  position: relative;
  width: 100px;
}

.container-3{
  margin: 0px;
  position: relative;
  top: 70px;
  margin-left: 60px;
  width: 1070px;
  display: flex;
  border-bottom: solid;
}

/*Buttons*/

.button{
  margin: 40px 0 0 0;
  border-radius: 5px;
  padding: 2.2px;
  align-items: center;
  text-align: center;
  background: linear-gradient(to top, #636363, #ffffff5b);    
  border: solid 3px rgb(59, 59, 60);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.button:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(0,0,0,0.5);
}


/*Palabras*/

.container-1 h2{
    font-size: 40px;
    color: rgb(255, 255, 255);
    font-weight: 400px;
    font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;
    animation: pulse 2s infinite;
}
.button p{
    font-size: 18px;
    color: rgb(255, 255, 255);
    font-weight: 300px;
}


.container-2 h2{
  color: rgb(255, 255, 255);    
  font-weight: 400px;
  font-family: 'Gill Sans', 'Gill Sans MT', 'Trebuchet MS', sans-serif;  
  font-size: 70px;
  text-shadow: 
    -2px -2px 2px black,
    -2px -2px 2px black,
    -2px  2px 2px black,
    -2px  2px 2px black;;
}

/*Slider*/


.productos {
  margin: 250px 0 0 0;
  position: relative;
  left: 300px;
  flex-wrap: wrap;
}

.productos h2 {
  margin-bottom: 20px;
  font-size: 28px;
}

/* Slider */
.slider {
  position: relative;
  width: 980px;       /* ancho visible del slider */
  left: -200px;
  top: 20px;
  overflow: visible;   /* esconde lo que está fuera */
}

/* Track que se desplaza */
.slider-track {
  display: flex;
  gap: 40px;
  height: 500px;
  overflow-x: scroll;
  scroll-behavior: smooth;
  padding: 5px 0;
}

.slider-track::-webkit-scrollbar {
  display: none;
}

/* Tarjetas */
.card {
  flex: 0 0 300px;  /* ancho fijo de tarjeta */
  height: 350px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.card img {
  width: 300px;
  height: 100%;
  border-radius: 100px;
  object-fit: contain;
}

.badge {
  position: relative;
  bottom: 60px;
  left: 25px;
  color: white;
  border: solid black;
  background: linear-gradient(to top, #636363, #6666665b);    
  padding: 10px 20px;
  border-radius: 20px;
  font-size: 20px;
  cursor: pointer;
  flex-wrap: wrap;
  margin-left: 60px;
  transition: transform 0.3s ease, background 0.3s ease;
}

.badge:hover {
  transform: scale(1.1);
  background: linear-gradient(to top, #777777, #888888);
}

/* Flechas */
.arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #b9b9b9;
  border: none;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 18px;
  z-index: 10;
  transition: background 0.3s ease, transform 0.3s ease;
}

.arrow:hover {
  background: #a0a0a0;
  transform: translateY(-50%) scale(1.1);
}

.arrow.left {
  left: -35px;   /* ajusta según tu diseño */
  top: 190px;
}

.arrow.right {
  right: -55px;  /* ajusta según tu diseño */
  top: 190px;
}

/* Barra de progreso (opcional) */
.progress-bar {
  width: 200px;
  height: 6px;
  background: #ccc;
  border-radius: 10px;
  margin: 20px auto 0;
}

/* Animations */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}
