/* General */
@import url('https://fonts.googleapis.com/css?family=Roboto:100,300,400');
@import url('https://fonts.googleapis.com/css2?family=Pixelify+Sans:wght@400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Jersey+25&display=swap');

* {
  margin: 0;
  padding: 0;
  font-family: 'Jersey 25', sans-serif;
  box-sizing: border-box;

}

body, html {
  height: 100%;
  display: flex;
  flex-direction: column;
}

body {
  margin: 0;
}

.navbar {
  margin-bottom: 0;
}
* {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none;  /* Internet Explorer 10+ */
}

*::-webkit-scrollbar {
  display: none; /* Safari and Chrome */
}
.section {
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

/* Background animated */
.backwrap {
  background: #000000;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: fixed;
  left: 0;
  top: 0;
  z-index: -1;
}

.back-shapes {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.back-shapes img {
  opacity: 0.2;
  position: absolute;
  width: 1.5%;
}

.floating {
  position: absolute;
  animation-name: floating;
  animation-duration: 5s;
  animation-iteration-count: infinite;
}

.title-text{
  font-size: 10rem !important;
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}

@keyframes floating {
  0% {
    transform: translateY(0%) rotate(-55deg);
  }
  50% {
    transform: translateY(300%) rotate(55deg);
  }
  100% {
    transform: translateY(0%) rotate(-55deg);
  }
}

/* Title animated */
.dropping-texts {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.dropping-texts > div {
  font-size: 0px;
  opacity: 0;
  margin-left: -30px;
  position: absolute;
  font-weight: 300;
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}

.dropping-texts > div:nth-child(1) {
  animation: roll 13s linear infinite 0s; /* Duración total: 12s, inicio: 0s */
}

.dropping-texts > div:nth-child(2) {
  animation: roll 13s linear infinite 5s; /* Duración total: 12s, inicio: 4s */
}

.dropping-texts > div:nth-child(3) {
  animation: roll 13s linear infinite 9s; /* Duración total: 12s, inicio: 8s */
}

@keyframes roll {
  0% {
    font-size: 0px;
    opacity: 0;
    margin-left: -30px;
    margin-top: 0px;
    transform: rotate(-25deg);
  }
  3% {
    opacity: 1;
    transform: rotate(0deg);
  }
  5% {
    font-size: inherit;
    opacity: 1;
    margin-left: 0px;
    margin-top: 0px;
  }
  20% {
    font-size: inherit;
    opacity: 1;
    margin-left: 0px;
    margin-top: 0px;
    transform: rotate(0deg);
  }
  27% {
    font-size: 0px;
    opacity: 0.5;
    margin-left: 20px;
    margin-top: 100px;
  }
  100% {
    font-size: 0px;
    opacity: 0;
    margin-left: -30px;
    margin-top: 0px;
    transform: rotate(15deg);
  }
}

.title-text {
  font-size: 6rem;
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}

.title-text-2 {
  text-align: center;
  font-size: 3rem;
  text-shadow: none !important;
  box-shadow: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 765px) {
  .title-text {
    font-size: 3rem !important;
    margin-top: 2vh;
  }

  .title-text-2 {
    font-size: 2rem !important;
    margin-top: 5vh;
  }
}

@media (min-width: 768px) and (max-width: 1032px) {
  .title-text {
    font-size: 3rem !important;
  }

  .title-text-2 {
    font-size: 2rem !important;
    margin-top: 25px !important;
  }
}

/* Discord Card */
.card {
  background: #292b2f;
  width: 100%;
  max-width: 900px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0px 0px 20px 4px rgba(0, 0, 0, 0.25);
  
}

.card-header {
  width: 100%;
  height: 180px;
  background-position: center !important;
  background-size: 100% auto !important;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}

.card-body {
  padding: 25px;
  position: relative;
  
}

.card-body .profile-header {
  position: absolute;
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  justify-content: space-between;
  width: calc(100% - 50px);
  top: -80px;
}

.card-body .profile-header .profil-logo {
  position: relative;
  border: 8px solid #292b2f;
  border-radius: 50%;
  
}

.card-body .profile-header .profil-logo img {
  display: block;
  width: 120px;
  height: 120px;
  border-radius: 50%;
}

.card-body .profile-header .badges-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  max-width: 220px;
  background: #000000;
  border-radius: 7px;
  padding: 5px;
  
}

.card-body .profile-header .badge-item {
  position: relative;
  margin: 10px;
  width: 30px;
  height: 30px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.card-body .profile-header .badge-item img {
  height: 100%;
}

.card-body .profile-body {
  background: #18191c;
  border-radius: 8px;
  padding: 20px;
  margin-top: 60px;
}

.card-body .profile-body .username {
  color: #eeeeee;
  margin-bottom: 20px;
  font-weight: 600;
  font-size: 1.8rem;
}

.card-body .profile-body .username span {
  color: #b9bbbe;
}

.card-body .profile-body hr {
  border: none;
  border-top: 0.5px solid #33353b;
}

.card-body .profile-body .category-title {
  color: white;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 1rem;
  margin-bottom: 10px;
}

.card-body .profile-body .basic-infos,
.card-body .profile-body .roles {
  margin-bottom: 20px;
  margin-top: 16px;
}

.card-body .profile-body .basic-infos p {
  color: #bdbebf;
  font-size: 1.1rem;
}

.card-body .profile-body .roles .roles-list {
  display: flex;
  flex-wrap: wrap;
}

.card-body .profile-body .roles .role {
  background: #000000;
  color: #f5f5f5;
  border-radius: 4px;
  font-size: 1.1rem;
  font-weight: 300;
  padding: 6px 12px;
  margin-right: 8px;
  margin-top: 8px;
  display: flex;
  align-items: center;
  flex-direction: row;
}

.card-body .profile-body .roles .role-color {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  margin-right: 8px;
}

.card-body .profile-body .note {
  border: none;
  outline: none;
  background: #18191c;
  width: 100%;
  min-height: 50px;
  color: #e0e0e0;
  resize: none;
  font-size: 1.1rem;
  border-radius: 3px;
  padding: 10px;
  box-sizing: border-box;
}

.card-body .profile-body {
  background: #000000;
  outline: none;
  border: 1.5px solid #333333;
  padding: 20px;
  width: 100%;
  border-radius: 4px;
  color: #eeeeee;
  margin-top: 20px;
}

@keyframes popAnim {
  from {
    transform: scale(0);
  }
  to {
    transform: scale(1);
  }
}

#intro {
  margin-top: 20px;
}

@media (max-width: 768px) {
  #intro {
    flex-direction: column;
    margin-top: 9vh;
  }

  .col-md-4 {
    width: 100%;
  }
}

.card {
  max-width: 100%;
  margin-top: 20px;
}

.role {
  font-size: 0.8rem !important;
}

.message-content {
  border: 2px solid #333;
  border-radius: 5px;
}

.message-content > p {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
  font-size: 20px !important;
}

.badge-item {
  position: relative;
  margin: 5px;
  width: 30px !important;
  height: 30px !important;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

@media (max-width: 370px) {
  .badge-item {
    width: 15px !important;
    height: 15px !important;
  }
}

@media (max-width: 767px) {
  .fathercard {
    padding-right: 2vw !important;
    padding-left: 2vw !important;
    padding-top: vh !important;
  }
}

.fathercard {
  padding-right: 6vw;
  padding-left: 0vw;
  padding-top: 20vh;
}

/* Navbar */
.navbar {
  background-color: #000000 !important;
  padding: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}
.nav-link{
  font-size: 2rem !important;

}
.navbar-brand {
  font-size: 3rem;
  font-weight: bold;
  color: #333;
}

.navbar-nav .nav-link {
  font-size: 2rem;
  color: #333;
  padding: 2rem 1rem;
  transition: color 0.3s ease;
}

.navbar-nav .nav-link:hover {
  color: red;
}

@media (max-width: 765px) {
  .navbar {
    background-color: #007bff;
  }

  .navbar-toggler {
    border: none;
  }

  .navbar-toggler-icon {
    background-image: url('data:image/svg+xml;charset=UTF8,%3Csvg viewBox="0 0 30 30" xmlns="http://www.w3.org/2000/svg"%3E%3Cpath stroke="rgba%28255,255,255,0.5%29" stroke-width="2" d="M4 7h22M4 15h22M4 23h22"/%3E%3C/svg%3E');
  }

  .navbar-nav .nav-link {
    font-size: 1.2rem;
    color: white;
  }

  .navbar-nav .nav-link:hover {
    color: red;
  }
}

@media (min-width: 766px) {
  .navbar {
    padding: 0.8rem 2rem;
  }

  .navbar-nav .nav-link {
    font-size: 1.1rem;
  }

  .navbar-nav .nav-link:hover {
    color:red;
  }
}

/* Tecnologias */
.progress-circle {
  position: relative;
  width: 100%;
  max-width: 200px;
  height: auto;
  overflow: hidden;
}

.progress-circle img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 40%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  z-index: 2;
  transition: opacity 0.3s ease;
}

svg {
  width: 100%;
  height: auto;
  transform: rotate(-90deg);
}

circle {
  fill: none;
  stroke-width: 10;
}

.background {
  stroke: #e0e0e0;
}

.progress {
  stroke: red;
  stroke-dasharray: 282.6;
  stroke-dashoffset: 282.6;
  transition: stroke-dashoffset 1s ease;
}

.progress1 {
  stroke: red;
  stroke-dasharray: 282.6;
  stroke-dashoffset: 282.6;
  transition: stroke-dashoffset 1s ease;
}

.progress-circle[data-percent='75'] .progress1 {
  stroke-dashoffset: calc(282.6 - (282.6 * 75) / 100);
}

.percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.5em;
  color: #000000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-circle:hover img {
  opacity: 0;
}

.progress-circle:hover .percentage {
  opacity: 1;
}

.bg-tecnologias {
  border-radius: 20px;
  background-color: rgba(52, 58, 64, 0.9);
}

#tecnologias {
  margin-top: 15vh !important;
}

/* Proyectos */
.game-section {
  padding: 60px 50px;
}

.game-section .item {
  margin: 0 15px 60px;
  width: 320px;
  height: 400px;
  display: flex;
  align-items: flex-end;
  background: #343434 no-repeat center center / cover;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  transition: all 0.4s ease-in-out;
  cursor: pointer;
}

.game-section .item.active {
  width: 500px;
  box-shadow: 12px 40px 40px rgba(0, 0, 0, 0.25);
}

.game-section .item:after {
  content: "";
  display: block;
  position: absolute;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  background-image: linear-gradient(rgba(0, 0, 0, 0), rgba(0, 0, 0, 1));
}

.game-section .item-desc {
  padding: 0 24px 12px;
  color: #fff;
  position: relative;
  z-index: 1;
  overflow: hidden;
  transform: translateY(calc(100% - 54px));
  transition: all 0.4s ease-in-out;
}

.game-section .item.active .item-desc {
  transform: none;
}

.game-section .item-desc p {
  opacity: 0;
  transform: translateY(32px);
  transition: all 0.4s ease-in-out 0.2s;
}

.game-section .item.active .item-desc p {
  opacity: 1;
  transform: translateY(0);
}

#proyectos {
  margin-top: 15vh !important;
}

/* Contact form */
.app-form-group {
  margin-bottom: 15px;
}

.app-form-group.message {
  margin-top: 40px;
}

.app-form-group.buttons {
  margin-bottom: 0;
  text-align: right;
}

.app-form-control {
  width: 100%;
  padding: 10px 0;
  background: none;
  border: none;
  border-bottom: 1px solid #666;
  color: #ddd;
  font-size: 30px;
  text-transform: uppercase;
  outline: none;
  transition: border-color .2s;
}

.app-form-control::placeholder {
  color: #666;
}

.app-form-control:focus {
  border-bottom-color: #ddd;
}

.app-form-button {
  background: none;
  border: none;
  color: #ffffff;
  font-size: 20px;
  cursor: pointer;
  outline: none;
  margin-left: 40px;
}

.app-form-button:hover {
  color: red;
}

#contacto {
  margin-top: 15vh !important;
}

.bg-contact {
  border-radius: 20px !important;
  background-color: rgba(52, 58, 64, 0.9);
}

/* Footer */
.footer {
  position: relative;
  width: 100%;
  background: #3586ff;
  min-height: 100px;
  padding: 20px 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.social-icon,
.menu {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 10px 0;
  flex-wrap: wrap;
}

.social-icon__item,
.menu__item {
  list-style: none;
}

.social-icon__link {
  font-size: 2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
}

.social-icon__link:hover {
  transform: translateY(-10px);
}

.menu__link {
  font-size: 1.2rem;
  color: #fff;
  margin: 0 10px;
  display: inline-block;
  transition: 0.5s;
  text-decoration: none;
  opacity: 0.75;
  font-weight: 300;
}

.menu__link:hover {
  opacity: 1;
}

.footer p {
  color: #fff;
  margin: 15px 0 10px 0;
  font-size: 1rem;
  font-weight: 300;
}

.wave {
  position: absolute;
  top: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background: url("https://i.ibb.co/wQZVxxk/wave.png");
  background-size: 1000px 100px;
}

.wave#wave1 {
  z-index: 1000;
  opacity: 1;
  bottom: 0;
  animation: animateWaves 4s linear infinite;
}

.wave#wave2 {
  z-index: 999;
  opacity: 0.5;
  bottom: 10px;
  animation: animate 4s linear infinite !important;
}

.wave#wave3 {
  z-index: 1000;
  opacity: 0.2;
  bottom: 15px;
  animation: animateWaves 3s linear infinite;
}

.wave#wave4 {
  z-index: 999;
  opacity: 0.7;
  bottom: 20px;
  animation: animate 3s linear infinite;
}

@keyframes animateWaves {
  0% {
    background-position-x: 1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

@keyframes animate {
  0% {
    background-position-x: -1000px;
  }
  100% {
    background-positon-x: 0px;
  }
}

footer {
  margin-top: 30vh;
}

.back-to-top {
  display: block;
  width: 50px;
  height: 50px;
  background: url('../img/badges/arrow.png') no-repeat center center;
  background-size: cover;
  border: none;
  cursor: pointer;
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 1000;
}

/* Discord Card */
.card-header {
  width: 100%;
  height: 180px;
  background: url('../resources/assets/img/badges/banner.webp') no-repeat center center / cover;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

.card-header .banner-img {
  width: 100%;
  height: 200px;
  background: url('../resources/assets/img/badges/banner.webp') no-repeat center center / cover;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}

/* Tecnologias */
.progress-circle {
  position: relative;
  width: 150px; /* Tamaño del círculo */
  height: 150px;
  margin: 0 auto;
}

.progress-circle img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40%;
  height: 40%;
  transform: translate(-50%, -50%);
  background: white;
  border-radius: 50%;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.progress-circle svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg);
}

.progress-circle circle {
  fill: none;
  stroke-width: 10;
  stroke-linecap: round;
}

.progress-circle .background {
  stroke: #e0e0e0; /* Color de fondo del círculo */
}

.progress-circle .progress {
  stroke: red; /* Color de la barra de progreso */
  stroke-dasharray: 282.6; /* Circunferencia del círculo */
  stroke-dashoffset: 282.6; /* Inicia sin progreso */
  transition: stroke-dashoffset 1s ease;
}

.progress-circle .percentage {
  position: absolute;
  top: 50%;
  left: 50%;
  font-size: 1.5em;
  color: #000000;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-circle:hover img {
  opacity: 0;
}

.progress-circle:hover .percentage {
  opacity: 1;
}

/* Ajustes para cada porcentaje */
.progress-circle[data-percent='75'] .progress {
  stroke-dashoffset: calc(282.6 - (282.6 * 50) / 100);
}

.progress-circle[data-percent='25'] .progress {
  stroke-dashoffset: calc(282.6 - (282.6 * 85) / 100);
}

.progress-circle[data-percent='90'] .progress {
  stroke-dashoffset: calc(282.6 - (282.6 * 50) / 100);
}

.progress-circle[data-percent='60'] .progress {
  stroke-dashoffset: calc(282.6 - (282.6 * 60) / 100);
}

.progress-circle[data-percent='10'] .progress {
  stroke-dashoffset: calc(282.6 - (282.6 * 80) / 100);
}

/* Fondo animado con gradiente y olas */
body {
  overflow: auto;
  background: linear-gradient(315deg, rgba(10, 10, 10, 1) 3%, rgb(255, 2, 2) 38%, rgba(60, 60, 60, 1) 68%, rgb(255, 0, 0) 98%);
  animation: gradient 15s ease infinite;
  background-size: 400% 400%;
  background-attachment: fixed;
}
@keyframes gradient {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 100%;
  }
  100% {
    background-position: 0% 0%;
  }
}

.wave {
  background: rgb(255 255 255 / 50%); /* Olas más transparentes y claras */
  border-radius: 1000% 1000% 0 0;
  position: fixed;
  width: 200%;
  height: 12em;
  animation: wave 10s -3s linear infinite;
  transform: translate3d(0, 0, 0);
  opacity: 0.8;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.wave:nth-of-type(2) {
  bottom: -1.25em;
  animation: wave 18s linear reverse infinite;
  opacity: 0.6; /* Menos opacidad para la segunda ola */
}

.wave:nth-of-type(3) {
  bottom: -2.5em;
  animation: wave 20s -1s reverse infinite;
  opacity: 0.4; /* Menos opacidad para la tercera ola */
}

@keyframes wave {
  2% {
    transform: translateX(1);
  }
  25% {
    transform: translateX(-25%);
  }
  50% {
    transform: translateX(-50%);
  }
  75% {
    transform: translateX(-25%);
  }
  100% {
    transform: translateX(1);
  }
}



/* Estilos para el footer */
.footer {
  z-index: 1;
  --footer-background: #000000; /* Color de fondo del footer */
  display: grid;
  position: relative;
  grid-area: footer;
  min-height: 12rem;
  width: 100%; /* Asegura que el footer ocupe todo el ancho */
  background: var(--footer-background); /* Fondo del footer */
}

.footer .bubbles {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1rem;
  background: var(--footer-background);
  filter: url("#blob");
}

.footer .bubbles .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 100%;
  animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
             bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

.footer .content {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 4rem;
  padding: 2rem;
  background: var(--footer-background);
  width: 100%; /* Asegura que el contenido ocupe todo el ancho */
}

.footer .content a,
.footer .content p {
  color: #F5F7FA;
  text-decoration: none;
}

.footer .content b {
  color: white;
}

.footer .content p {
  margin: 0;
  font-size: 0.75rem;
}

.footer .content > div {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.footer .content > div > div {
  margin: 0.25rem 0;
}

.footer .content > div > div > * {
  margin-right: 0.5rem;
}

.footer .content .image {
  align-self: center;
  width: 4rem;
  height: 4rem;
  margin: 0.25rem 0;
  background-size: cover;
  background-position: center;
}

/* Animaciones */
@keyframes bubble-size {
  0%, 75% {
    width: var(--size, 4rem);
    height: var(--size, 4rem);
  }
  100% {
    width: 0rem;
    height: 0rem;
  }
}

@keyframes bubble-move {
  0% {
    bottom: -4rem;
  }
  100% {
    bottom: var(--distance, 10rem);
  }
}
.footer-content{
  color: black !important;
  
}
/* Estilos para el contenedor del footer */
.footer-content {
  position: relative;
  text-align: center;
}

/* Estilos para la lista de iconos sociales */
.footer-content ul.social-icons {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0;
  padding: 0;
  display: flex;
}

.footer-content ul.social-icons li {
  list-style: none;
}

.footer-content ul.social-icons li a {
  display: block;
  position: relative;
  width: 100px;
  height: 100px;
  line-height: 100px;
  font-size: 40px;
  text-align: center;
  text-decoration: none;
  color: #404040;
  margin: 0 30px;
  transition: 0.5s;
}

.footer-content ul.social-icons li a span {
  position: absolute;
  transition: transform 0.5s;
}

.footer-content ul.social-icons li a span:nth-child(1),
.footer-content ul.social-icons li a span:nth-child(3) {
  width: 100%;
  height: 3px;
  background: #404040;
}

.footer-content ul.social-icons li a span:nth-child(1) {
  top: 0;
  left: 0;
  transform-origin: right;
}

.footer-content ul.social-icons li a:hover span:nth-child(1) {
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s;
}

.footer-content ul.social-icons li a span:nth-child(3) {
  bottom: 0;
  left: 0;
  transform-origin: left;
}

.footer-content ul.social-icons li a:hover span:nth-child(3) {
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s;
}

.footer-content ul.social-icons li a span:nth-child(2),
.footer-content ul.social-icons li a span:nth-child(4) {
  width: 3px;
  height: 100%;
  background: #404040;
}

.footer-content ul.social-icons li a span:nth-child(2) {
  top: 0;
  left: 0;
  transform: scale(0);
  transform-origin: bottom;
}

.footer-content ul.social-icons li a:hover span:nth-child(2) {
  transform: scale(1);
  transform-origin: top;
  transition: transform 0.5s;
}

.footer-content ul.social-icons li a span:nth-child(4) {
  top: 0;
  right: 0;
  transform: scale(0);
  transform-origin: top;
}

.footer-content ul.social-icons li a:hover span:nth-child(4) {
  transform: scale(1);
  transform-origin: bottom;
  transition: transform 0.5s;
}

/* Colores al pasar el ratón */
.footer-content ul.social-icons li a.facebook:hover {
  color: #3b5998;
}

.footer-content ul.social-icons li a.facebook:hover span {
  background: #3b5998;
}

.footer-content ul.social-icons li a.twitter:hover {
  color: #1da1f2;
}

.footer-content ul.social-icons li a.twitter:hover span {
  background: #1da1f2;
}

.footer-content ul.social-icons li a.instagram:hover {
  color: #c32aa3;
}

.footer-content ul.social-icons li a.instagram:hover span {
  background: #c32aa3;
}

.footer-content ul.social-icons li a.google:hover {
  color: #dd4b39;
}

.footer-content ul.social-icons li a.google:hover span {
  background: #dd4b39;
}
h1{
  text-shadow: 
  -2px -2px 0 rgb(255, 0, 0),  
   2px -2px 0 rgb(255, 0, 0),
  -2px  2px 0 rgb(255, 0, 0),
   2px  2px 0 rgb(255, 0, 0);
}
.percentage{
  color: red !important;
}
.footer{
  margin-top: 15vh !important;
}
html, body {
  overflow-x: hidden; /* Oculta el scroll horizontal */
  width: 100%; /* Asegura que el ancho no exceda la ventana */
  max-width: 100% !important; /* Limita el ancho máximo */
}
/* General */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html {
  height: 100%;
  width: 100%;
  overflow-x: hidden; /* Oculta el scroll horizontal */
}

/* Navbar */
.navbar {
  margin-bottom: 0;
}

/* Background animated */
.backwrap {
  background: #113243;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: -1;
  overflow: hidden; /* Evita desbordamiento */
}


.footer .bubbles .bubble {
  position: absolute;
  left: var(--position, 50%);
  background: var(--footer-background);
  border-radius: 100%;
  animation: bubble-size var(--time, 4s) ease-in infinite var(--delay, 0s),
             bubble-move var(--time, 4s) ease-in infinite var(--delay, 0s);
  transform: translate(-50%, 100%);
}

/* Asegura que el contenido del footer no cause desbordamiento */
.footer .content {
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr auto;
  grid-gap: 4rem;
  padding: 2rem;
  background: var(--footer-background);
  width: 100%;
  max-width: 100%;
}

/* Animaciones */
@keyframes bubble-size {
  0%, 75% {
    width: var(--size, 4rem);
    height: var(--size, 4rem);
  }
  100% {
    width: 0rem;
    height: 0rem;
  }
}

@keyframes bubble-move {
  0% {
    bottom: -4rem;
  }
  100% {
    bottom: var(--distance, 10rem);
  }
}

/* Ajustes adicionales */
.section {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}

/* Evita desbordamiento en el carrusel */
.owl-carousel {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}