.mobile {
  display: none;
}

.hero-slider {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.slides {
  display: flex;
  width: 600%;
  height: 100%;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.video-container video {
  width: 100%;
  height: 100%;
  object-position: top;
  object-fit: cover;
}

.slide-next {
  flex: 1;
  background-repeat: no-repeat;
  background-position: top;
  background-size: cover;
  position: relative;
  padding: 0px;
  margin: 0px;
  width: 100vw;
  height: 100vh;
}

.slide-content {
  width: 768px;
  max-width: 90%;
  position: absolute;
  bottom: 50px;
  left: 50px;
  color: #fff;
  margin: 0 auto;
}

.slide-content h1 {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  color: #24061E;
  font-size: 3.5em;
  font-weight: 800;
}

.slide-content h2 {
  padding: 1.5rem;
  background-color: rgba(255, 255, 255, 0.8);
  text-transform: uppercase;
  font-size: 3em;
  font-weight: 800;
}

.slide-content, .slide-hero-color-black h2 {
  color: #24061E;
}

.slide-content, .slide-hero-color-dark-magenta h2 {
  color: #6E1F5F;
}

.slide-content, .slide-hero-color-red h2 {
  color: #BF214B;
}

.slide-content, .slide-hero-color-blue h2 {
  color: #374785;
}

.slide-content, .slide-hero-color-dark-violet h2 {
  color: #8E24AA;
}

.slide-content button {
  width: 400px;
  max-width: 50%;
  height: auto;
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 1.25em;
  font-weight: 800;
  padding: 1em;
  border-radius: 5px;
  color: #FFFFFF;-webkit-box-shadow: 0px 3px 6px rgb(33,39,33, .16), 0px 3px 6px rgb(33,39,33, .23);
    box-shadow: 0px 3px 6px rgb(0 ,0, 0, 0.16), 0px 3px 6px rgb(33,39,33, .23);
    -webkit-animation: init 0.5s 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards, moveDown 1s 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards, moveUp 1s 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, materia_landscape 0.5s 2.7s cubic-bezier(0.86, 0, 0.07, 1) forwards;
    animation: init 0.5s 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards, moveDown 1s 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards, moveUp 1s 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, materia_landscape 0.5s 2.7s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.btn-slide-hero-color-black {
  background-color: #24061E;
}

.btn-slide-hero-color-dark-magenta {
  background-color: #6E1F5F;
}

.btn-slide-hero-color-red {
  background-color: #BF214B;
}

.btn-slide-hero-color-blue {
  background-color: #374785;
}

.btn-slide-hero-color-dark-violet {
  background-color: #8E24AA;
}

.slide-content button:hover,
.slide-content button:focus {
  text-decoration: none;
  background-color: #A70076;
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.slider-dots {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: #fff;
  margin: 0 5px;
}

.dot.active {
  background-color: #BF214B;
  border: solid 2px #FFFFFF;
  padding: 5px;
}

@keyframes slide {
  0%, 100% {
    transform: translateX(0);
  }
  20%, 80% {
    transform: translateX(-100%);
  }
  40%, 60% {
    transform: translateX(-200%);
  }
}

@keyframes rotate {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

#my-svg {
  animation: rotate 2s linear infinite;
}

#services {
  margin-top: 3em;
  margin-bottom: 6em;
}

.container {
  width: 90%;
  max-width: 960px;
  margin: 0 auto;
  padding: 1em;
  display: flex;
  flex-wrap: wrap;
  margin-top: 3em;
  margin-bottom: 3em;
}

.introduction {
  margin-top: 3em;
  margin-bottom: 3em;
}

.introduction h3 {
  font-size: 2.25em;
  font-weight: 800;
  padding: .75em;
  text-align: center;
  color: #6E1F5F;
}

.introduction p {
  padding: .75em;
  text-align: left;
}

.introduction h4 {
  padding: .75em;
  margin-top: 1.5em;
  font-weight: 600;
  text-align: left;
  color: #374785;
  font-size: 1.5em;
}

.image {
  flex: 1;
  max-width: 50%;
  width: 100%;
  height: auto;
}

.image img {
  width: 100%;
  height: auto;
  object-fit: fill;
  object-position: 50% 50%;
}

.content {
  flex: 1;
  max-width: 50%;
  width: 100%;
  text-align: center;
  padding-left: 20px;
}

.main-points {
  padding: 0.5em;
  margin-top: 1em;
  margin-bottom: 1em;
}

.main-points #icon {
  animation: rotate 8s linear infinite;
}

.main-points {
  display: flex;
  align-items: flex-start;
  margin-top: 1em;
  margin-bottom: 1em;
}

.main-points-icon {
  flex: 1;
  max-width: 10%;
  padding-right: 10%;
}

.main-points-text {
  flex: 7;
  padding-left: 20px;
}

.main-points-text p {
  text-align: justify;
}

.span-cta-dark-magenta span {
  color: #6E1F5F;
  font-weight: 600;
}

.span-cta-red span {
  color: #BF214B;
  font-weight: 600;
}


.span-cta-blue span {
  color: #374785;
  font-weight: 600;
}

.span-cta-dark-violet span {
  color: #8E24AA;
  font-weight: 600;
}

.span-cta-black span {
  color: #24061E;
  font-weight: 600;
}

#pointing-finger-icon {
  animation: scaleAnimation 2s infinite alternate ease-in-out;
  transform-origin: center;
}

@keyframes scaleAnimation {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(0.85);
  }
}

#pointing-finger-icon {
  width: 25px;
  height: auto;
  margin-left: 5px;
  padding: 5px;
}

.call-to-action-main {
  display: block;
  width: 100%;
  text-align: center;
}

.call-to-action-main button {
  border-radius: 15px;
  color: #FFFFFF;
  border: none;
  padding: 1em;
  font-weight: 600;
  margin-bottom: 1em;
  width: 200px;
  max-width: 90%;
  margin: 0 auto;
  margin-top: 2.5em;
  text-decoration: none;-webkit-box-shadow: 0px 3px 6px rgb(33,39,33, .16), 0px 3px 6px rgb(33,39,33, .23);
    box-shadow: 0px 3px 6px rgb(0 ,0, 0, 0.16), 0px 3px 6px rgb(33,39,33, .23);
    -webkit-animation: init 0.5s 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards, moveDown 1s 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards, moveUp 1s 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, materia_landscape 0.5s 2.7s cubic-bezier(0.86, 0, 0.07, 1) forwards;
    animation: init 0.5s 0.2s cubic-bezier(0.55, 0.055, 0.675, 0.19) forwards, moveDown 1s 0.8s cubic-bezier(0.6, -0.28, 0.735, 0.045) forwards, moveUp 1s 1.8s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards, materia_landscape 0.5s 2.7s cubic-bezier(0.86, 0, 0.07, 1) forwards;
}

.call-to-action-main button:hover,
.call-to-action-main button:focus {
  text-decoration: none;
  background-color: #A70076;
  transform: scale(1.2);
  cursor: pointer;
  transition: all 0.5s ease-in-out;
}

.btn-cta-dark-magenta {
  background-color: #6E1F5F;
}

.btn-cta-red {
  background-color: #BF214B;
}


.btn-cta-blue {
  background-color: #374785;
}

.btn-cta-dark-violet {
  background-color: #8E24AA;
}

.btn-cta-black {
  background-color: #24061E;
}

/* Ajustes para la versión móvil */
@media (max-width: 560px) {
  .desktop {
    display: none;
  }

  .mobile {
    display: block;
  }

  .hero-slider {
  position: relative;
  height: 90vh;
}

  .slide-next {
    flex: 1 0 16.66%;
    height: 90vh;
  }

.slide-content h1 {
  font-size: 1.5em;
}

  .slide-content h2 {
    font-size: 1.25em;
  }

.introduction h3 {
  font-size: 1.75em;
}

.introduction h4 {
  text-align: center;
  font-size: 1.25em;
}

.main-points-text {
}

.main-points-text p {
  text-align: right;
}

  .container,
  .image,
  .content {
    display: block;
    max-width: 100%;
  }
}