@keyframes fadeInUp {
  0% {
      opacity: 0;
      transform: translateY(20px);
  }

  100% {
      opacity: 1;
      transform: translateY(0);
  }
}

@keyframes fadeOut {
  0% {
      opacity: 1;
  }

  100% {
      opacity: 0;
  }
}

.fade-in-up {
  animation: fadeInUp 1s ease forwards;
}

.fade-out {
  animation: fadeOut 1s ease forwards;
}

.delayed {
  animation-delay: 1s;
}

.relative {
  display: flex;
  justify-content: center;
  align-items: center;
}

.fire-container {
  position: absolute;
  top: -50px;
  /* Adjust as needed to position the flames above the text */
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  display: flex;
  justify-content: center;
  z-index: 1;
}

.fire {
  position: absolute;
  top: -55px;
  width: 40px;
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.text-glow {
  animation: textGlow 2s infinite alternate;
}


@keyframes textGlow {

  0%,
  100% {
      text-shadow: 0 0 10px #eeeeee, 0 0 20px #eeeeee, 0 0 30px #eeeeee, 0 0 40px #eeeeee, 0 0 50px #eeeeee, 0 0 60px #eeeeee, 0 0 70px #eeeeee;
  }

  50% {
      text-shadow: 0 0 20px #eeeeee, 0 0 30px #eeeeee, 0 0 40px #eeeeee, 0 0 50px #eeeeee, 0 0 60px #eeeeee, 0 0 70px #eeeeee, 0 0 80px #eeeeee;
  }
}



@keyframes scaleUpDown {

  0%,
  100% {
      transform: scaleY(1) scaleX(1);
  }

  50%,
  90% {
      transform: scaleY(1.1);
  }

  75% {
      transform: scaleY(0.95);
  }

  80% {
      transform: scaleX(0.95);
  }
}

@keyframes shake {

  0%,
  100% {
      transform: skewX(0) scale(1);
  }

  50% {
      transform: skewX(5deg) scale(0.9);
  }
}

@keyframes particleUp {
  0% {
      opacity: 0;
  }

  20% {
      opacity: 1;
  }

  80% {
      opacity: 1;
  }

  100% {
      opacity: 0;
      top: -100%;
      transform: scale(0.5);
  }
}

@keyframes glow {

  0%,
  100% {
      background-color: #ffffff;
  }

  50% {
      background-color: #ffffff;
  }
}

.fire-center,
.fire-left,
.fire-right,
.fire-bottom {
  position: absolute;
  width: 100%;
  height: 100%;
}

.fire-center {
  animation: scaleUpDown 3s ease-out infinite both;
}

.fire-center .main-fire,
.fire-right .main-fire,
.fire-left .main-fire,
.fire-bottom .main-fire {
  position: absolute;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(farthest-corner at 10px 0, #ffffff 0%, #ffffff 95%);
  transform: scaleX(0.8) rotate(45deg);
  border-radius: 0 40% 60% 40%;
  filter: drop-shadow(0 0 10px #ffffff);
}

.fire-center .particle-fire,
.fire-right .particle-fire,
.fire-left .particle-fire {
  position: absolute;
  background-color: #ffffff;
  border-radius: 50%;
  filter: drop-shadow(0 0 10px #ffffff);
  animation: particleUp 2s ease-out infinite both;
}

.fire-right {
  animation: shake 2s ease-out infinite both;
}

.fire-right .main-fire {
  top: 15%;
  right: -25%;
}

.fire-right .particle-fire {
  top: 45%;
  left: 50%;
  width: 15px;
  height: 15px;
}

.fire-left {
  animation: shake 3s ease-out infinite both;
}

.fire-left .main-fire {
  top: 15%;
  left: -20%;
}

.fire-left .particle-fire {
  top: 10%;
  left: 20%;
  width: 10%;
  height: 10%;
}

.fire-bottom .main-fire {
  top: 30%;
  left: 20%;
  width: 75%;
  height: 75%;
  filter: blur(10px);
  animation: glow 2s ease-out infinite both;
}




.button-container {
  display: flex;
  justify-content: center;
}

.button-container a {
  text-decoration: none;
}

.carousel {
  position: relative;
  width: 100%;
  height: 70rem;
  overflow: hidden;
}

.carousel-inner {
  display: flex;
  width: 200%;
  transition: transform 0.5s ease;
}

.carousel-item {
  width: 50%;
  flex-shrink: 0;
}

.custom-font {
  font-family: 'Roboto', sans-serif;
}

.text-outline {
  text-shadow:
      -1px -1px 0 #ffffff,
      1px -1px 0 #ffffff,
      -1px 1px 0 #ffffff,
      1px 1px 0 #ffffff;
}

#loadingScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #EF4444;
  z-index: 9999;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ui-abstergo {
  --primary: #fff;
  --secondary: rgba(255, 255, 255, 0.3);
  --shadow-blur: 3px;
  --text-shadow-blur: 3px;
  --animation-duration: 2s;
  --size: 1;
}

.abstergo-loader * {
  -webkit-box-sizing: content-box;
  box-sizing: content-box;
}

.ui-abstergo {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  row-gap: 30px;
  scale: var(--size);
}

.ui-abstergo .ui-text {
  color: var(--primary);
  text-shadow: 0 0 var(--text-shadow-blur) var(--secondary);
  font-family: Menlo, sans-serif;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: baseline;
  -ms-flex-align: baseline;
  align-items: baseline;
  -webkit-column-gap: 3px;
  -moz-column-gap: 3px;
  column-gap: 3px;
}

.ui-abstergo .ui-dot {
  content: "";
  display: block;
  width: 3px;
  height: 3px;
  -webkit-animation: dots var(--animation-duration) infinite linear;
  animation: dots var(--animation-duration) infinite linear;
  -webkit-animation-delay: .4s;
  animation-delay: .4s;
  background-color: var(--primary);
}

.ui-abstergo .ui-dot:nth-child(2) {
  -webkit-animation-delay: .8s;
  animation-delay: .8s;
}

.ui-abstergo .ui-dot:nth-child(3) {
  -webkit-animation-delay: 1.2s;
  animation-delay: 1.2s;
}

.ui-abstergo .ui-dot+.ui-dot {
  margin-left: 3px;
}

.abstergo-loader {
  width: 103px;
  height: 90px;
  position: relative;
}

.abstergo-loader div {
  width: 50px;
  border-right: 12px solid transparent;
  border-left: 12px solid transparent;
  border-top: 21px solid var(--primary);
  position: absolute;
  -webkit-filter: drop-shadow(0 0 var(--shadow-blur) var(--secondary));
  filter: drop-shadow(0 0 var(--shadow-blur) var(--secondary));
}

.abstergo-loader div:nth-child(1) {
  top: 27px;
  left: 7px;
  rotate: -60deg;
  -webkit-animation: line1 var(--animation-duration) linear infinite alternate;
  animation: line1 var(--animation-duration) linear infinite alternate;
}

.abstergo-loader div:nth-child(2) {
  bottom: 2px;
  left: 0;
  rotate: 180deg;
  -webkit-animation: line2 var(--animation-duration) linear infinite alternate;
  animation: line2 var(--animation-duration) linear infinite alternate;
}

.abstergo-loader div:nth-child(3) {
  bottom: 16px;
  right: -9px;
  rotate: 60deg;
  -webkit-animation: line3 var(--animation-duration) linear infinite alternate;
  animation: line3 var(--animation-duration) linear infinite alternate;
}

.abstergo-loader:hover div:nth-child(1) {
  top: 21px;
  left: 14px;
  rotate: 60deg;
}

.abstergo-loader:hover div:nth-child(2) {
  bottom: 5px;
  left: -8px;
  rotate: 300deg;
}

.abstergo-loader:hover div:nth-child(3) {
  bottom: 7px;
  right: -11px;
  rotate: 180deg;
}

@-webkit-keyframes line1 {

  0%,
  40% {
      top: 27px;
      left: 7px;
      rotate: -60deg;
  }

  60%,
  100% {
      top: 22px;
      left: 14px;
      rotate: 60deg;
  }
}

@keyframes line1 {

  0%,
  40% {
      top: 27px;
      left: 7px;
      rotate: -60deg;
  }

  60%,
  100% {
      top: 22px;
      left: 14px;
      rotate: 60deg;
  }
}

@-webkit-keyframes line2 {

  0%,
  40% {
      bottom: 2px;
      left: 0;
      rotate: 180deg;
  }

  60%,
  100% {
      bottom: 5px;
      left: -8px;
      rotate: 300deg;
  }
}

@keyframes line2 {

  0%,
  40% {
      bottom: 2px;
      left: 0;
      rotate: 180deg;
  }

  60%,
  100% {
      bottom: 5px;
      left: -8px;
      rotate: 300deg;
  }
}

@-webkit-keyframes line3 {

  0%,
  40% {
      bottom: 16px;
      right: -9px;
      rotate: 60deg;
  }

  60%,
  100% {
      bottom: 7px;
      right: -11px;
      rotate: 180deg;
  }
}

@keyframes line3 {

  0%,
  40% {
      bottom: 16px;
      right: -9px;
      rotate: 60deg;
  }

  60%,
  100% {
      bottom: 7px;
      right: -11px;
      rotate: 180deg;
  }
}

@-webkit-keyframes dots {
  0% {
      background-color: var(--secondary);
  }

  30% {
      background-color: var(--primary);
  }

  70%,
  100% {
      background-color: var(--secondary);
  }
}

@keyframes dots {
  0% {
      background-color: var(--secondary);
  }

  30% {
      background-color: var(--primary);
  }

  70%,
  100% {
      background-color: var(--secondary);
  }
}

.card {
  position: relative;
  width: 400px;
  height: 400px;
  background-color: white;
  display: flex;
  flex-direction: column;
  justify-content: end;
  padding: 12px;
  gap: 12px;
  border-radius: 8px;
  cursor: pointer;
  color: black;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.icon-container {
    margin-bottom: 10px; /* Espacio entre el ícono y el texto */
}

.icon-container i {
    font-size: 36px; /* Tamaño del ícono */
    color: #FF0000; /* Color rojo */
}

.card::before {
  content: '';
  position: absolute;
  inset: 0;
  left: -5px;
  margin: auto;
  width: 400px;
  height: 400px;
  border-radius: 10px;
  background: linear-gradient(-45deg, #ff0000 0%, #ffffff 100%);
  z-index: -10;
  pointer-events: none;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.card::after {
  content: "";
  z-index: -1;
  position: absolute;
  inset: 0;
  background: linear-gradient(-45deg, #ff0000 0%, #ffffff 100%);

  transform: translate3d(0, 0, 0) scale(0.95);
  filter: blur(20px);
}

.heading {
  font-size: 20px;
  text-transform: capitalize;
  font-weight: 700;
}

.card p:not(.heading) {
  color: #777;
  font-size: 16px;
  font-family: 'Roboto', sans-serif;;
}

.card p:last-child {
  color: #ff1c1c;
  font-weight: 600;
}

.card:hover::after {
  filter: blur(30px);
}

.card:hover::before {
  transform: rotate(-90deg) scaleX(1.34) scaleY(0.77);
}

.plan-link div {
  transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
}

.plan-link:hover div {
  transform: scale(1.05); /* Ajusta el valor para el efecto de zoom deseado */
  box-shadow: 0 0 15px 5px rgba(255, 0, 0, 0.7); /* Sombra luminiscente roja */
}

.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.7);
  padding-top: 60px;
}

.modal-content {
  background-color: white;
  margin: 5% auto;
  padding: 0;
  border: none;
  width: 80%;
  max-width: 1200px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
}

.modal-image {
  width: 1200px;
  height: auto;
}

.close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  position: absolute;
  top: 10px;
  right: 25px;
}

.close:hover,
.close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* Estilos para custom-card */
.custom-card {
  position: relative;
  width: calc(100% - 2rem); /* Ensure it respects margins */
  max-width: 700px;
  height: 400px;
  background-color: #f2f2f2;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  perspective: 1000px;
  box-shadow: 0 0 0 5px #ffffff80;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  margin: 0 auto; /* Center cards horizontally */
}

.custom-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.custom-card:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 16px rgba(255, 255, 255, 0.2);
}

.custom-card__content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  padding: 20px;
  box-sizing: border-box;
  background-color: #f2f2f2;
  transform: rotateX(-90deg);
  transform-origin: bottom;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.custom-card:hover .custom-card__content {
  transform: rotateX(0deg);
}

.custom-card__title {
  margin: 0;
  font-size: 1.5rem;
  color: #333;
  font-weight: 700;
}

.custom-card__description {
  margin: 10px 0 0;
  font-size: 1rem;
  color: #777;
  line-height: 1.4;
  text-align: justify;
  font-family: 'Roboto', sans-serif;
}

.custom-card:hover .custom-card__image {
  transform: rotateX(90deg);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .custom-card {
      height: auto;
  }
}

@media (max-width: 768px) {
  .custom-card {
      height: auto;
  }

  .custom-card__title {
      font-size: 1.25rem;
  }

  .custom-card__description {
      font-size: 0.875rem;
  }
}


/* From Uiverse.io by roajuan93 */
.redes {
  width: fit-content;
  height: fit-content;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 25px 25px;
  gap: 20px;
}

/* for all social containers*/
.socialContainer {
  width: 52px;
  height: 52px;
  border-radius: 5px;
  background-color: rgb(255, 0, 0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition-duration: 0.3s;
}

/* instagram*/
.containerOne:hover {
  background-color: #d62976;
  transition-duration: 0.3s;
}

/* Tiktok*/
.containerTwo:hover {
  background-color: #25f4ee;
  transition-duration: 0.3s;
}

/* Facebook*/
.containerThree:hover {
  background-color: #1877f2;
  transition-duration: 0.3s;
}

.socialContainer:active {
  transform: scale(0.9);
  transition-duration: 0.3s;
}

.socialSvg {
  width: 19px;
}

.largeIcon {
  width: 27px;
  /* Ancho específico solo para el icono de TikTok */
}

.socialSvg path {
  fill: rgb(255, 255, 255);
}

.socialContainer:hover .socialSvg {
  animation: slide-in-top 0.3s both;
}

@keyframes slide-in-top {
  0% {
    transform: translateY(-50px);
    opacity: 0;
  }

  100% {
    transform: translateY(0);
    opacity: 1;
  }
}