html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

.carrusel,
.carrusel .swiper {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  width: 100vw;
  height: 100vh;
  margin-top: 0;
  margin-bottom: 0;
  padding: 0;
  max-width: 100vw;
}


.swiper-slide {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100vw;
  height: 100vh;
  background: black;
}

.swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.swiper-slide video {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.swiper-button-prev,
.swiper-button-next {
  color: white;
  top: 50%;
  width: 50px;
  height: 50px;
  margin-top: -25px;
}

.swiper-pagination-bullet {
  background: white;
  opacity: 0.7;
}

.swiper-pagination-bullet-active {
  opacity: 1;
}

.slide-caption {
  position: absolute;
  bottom: 5%;
  /* Adjust as needed */
  left: 5%;
  /* Adjust as needed */
  text-align: left;
  /* Align text to the left */
  z-index: 20;
  color: white;
  padding: 20px;
  max-width: 90%;
  text-shadow: 0 0 15px rgba(0, 0, 0, 0.7);
}

.slide-caption h2 {
  font-size: 2rem;
  /* Increased size to match images */
  font-weight: 900;
  /* Made bolder */
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}

.slide-caption h3 {
  font-size: 1.5rem;
  /* Increased size */
  font-weight: bold;
  margin-bottom: 0.5rem;
}

.slide-caption p {
  font-size: 1rem;
  /* Slightly increased size */
  margin-bottom: 1rem;
}

.slide-caption .btn {
  display: inline-block;
  padding: 0.6rem 1.2rem;
  background-color: #ff4e4e;
  /* Keep existing button style for now */
  color: white;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}

/* General styling for the slide-caption elements */
.slide-caption h2,
.slide-caption h3,
.slide-caption p,
.slide-caption .btn {
  color: white;
  /* All text is white */
  text-transform: uppercase;
  /* All text is uppercase */
  font-weight: bold;
  /* All text is bold */
  padding: 10px 20px;
  /* Base padding */
  display: inline-block;
  /* Allows background and padding to wrap content */
  margin: 5px 0;
  /* Some margin between elements */
  box-sizing: border-box;
  /* Include padding in element's total width/height */
}

/* Specific styles for "PANAMÁ LIBRE DE TABACO" (h2 in slide 1) */
.slide-caption h2 {
  background-color: rgba(0, 0, 0, 0.7);
  /* Dark semi-transparent background */
  font-size: 2rem;
  /* Adjust font size as seen in image */
  /* Using clip-path for the slanted edge */
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  /* Slant on right bottom */
  padding-right: 40px;
  /* Add more padding on the slanted side */
}

/* Specific styles for "Vive tu vida saludablemente" (h3 in slide 1) */
.slide-caption h3 {
  background-color: rgba(92, 184, 92, 0.8);
;
  /* Green color from the image */
  font-size: 1.5rem;
  /* Adjust font size */
  clip-path: polygon(0 0, 100% 0, 98% 100%, 0% 100%);
  /* Slight slant on right bottom */
  padding-right: 30px;
  /* Add more padding */
}

/* Specific styles for the small text "Decido no fumar, ¿y tú?" (p in slide 1) */
.slide-caption p {
  background-color: rgba(0, 0, 0, 0.5);
  /* Darker semi-transparent background */
  font-size: 1rem;
  /* Smaller font size */
  padding: 8px 15px;
  /* Smaller padding */
  clip-path: polygon(0 0, 100% 0, 97% 100%, 0% 100%);
  /* Subtle slant */
  margin-top: 15px;
  /* More margin to separate it */
}

/* Specific styles for "LIBRE DE TABACO" (if it's a separate element in the HTML) */
/* Assuming this would be a custom span or another element if it's beside the green one */
.slide-caption .libertad-tabaco {
  /* This would need to be added to the HTML */
  background-color: rgba(153, 50, 204, 0.8);
  /* Purple color */
  font-size: 2rem;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  /* Slant on left top */
  padding-left: 30px;
  /* To make it slightly overlap with the green box */
}


/* Specific styles for "Vive responsablemente" (h2 in slide 3) */
.slide-caption h2.vive-responsablemente {
  /* Add this class to the h2 in slide 3 */
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 2rem;
  clip-path: polygon(0 0, 100% 0, 95% 100%, 0% 100%);
  padding-right: 40px;
}


/* Specific styles for the descriptive text in slide 3 */
.slide-caption p.descripcion {
  /* Add this class to the p in slide 3 */
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 1rem;
  padding: 10px 20px;
  clip-path: polygon(0 0, 100% 0, 99% 100%, 0% 100%);
  /* Subtle slant */
  width: fit-content;
  /* Ensure background only covers the text content */
  max-width: 80%;
  /* To prevent it from stretching too wide */
}


/* Specific styles for "Superación de la adicción al tabaco" (button/anchor in slide 3) */
.slide-caption .btn {
  background-color: rgba(153, 50, 204, 0.7);
  /* Purple color */
  font-size: 1rem;
  /* Adjust size */
  padding: 15px 30px;
  /* More padding for button look */
  /* Complex clip-path for the button shape */
  clip-path: polygon(0% 0%, 100% 0%, 95% 100%, 0% 100%);
  /* Similar to the green/purple bars */
  border-radius: 0;
  /* Remove default border-radius */
  margin-top: 20px;
  /* Space from paragraph */
  text-decoration: none;
  /* Remove underline for links */
}


/* Adjust positioning for all slide-captions to be bottom-left */
.slide-caption {
  position: absolute;
  bottom: 5%;
  /* Adjust as needed */
  left: 5%;
  /* Adjust as needed */
  text-align: left;
  /* Align text to the left */
  z-index: 20;
  color: white;
  padding: 0;
  /* Remove default padding as individual elements have padding */
  max-width: 90%;
  /* Remove text-shadow if backgrounds are solid, otherwise keep for text visibility */
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  /* Flexbox for vertical stacking */
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* Align items to the start (left) */
}