/*=============== GOOGLE FONTS ===============*/
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@500;600&display=swap");
/*=============== VARIABLES CSS ===============*/
:root {
  /*========== Colors ==========*/
  --title-color: #fff;
  --text-color: hsl(235, 20%, 57%);
  --shape-gradient: linear-gradient(90deg,
                  hsl(300, 76%, 60%),
                  hsl(57, 81%, 60%));
  --body-gradient: linear-gradient(180deg,
  hsla(208, 90%, 8%, 0.938),
  hsla(267, 22%, 10%, 0.911));
  --container-color: hsl(235, 32%, 10%);
  /*========== Font and typography ==========*/
  --body-font: "Poppins", sans-serif;
  --biggest-font-size: 2.25rem;
  --normal-font-size: 1.25rem;
}

/*=============== BASE ===============*/
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;

}

body {
  font-family: var(--body-font);
  color: var(--text-color);
}

img {
  max-width: 100%;
  height: auto;
}





/*=============== CARD ===============*/
.card {
  display: grid;
  place-items: center;
  background: var(--body-gradient);
  padding-block: 4.5rem;
  padding: -5px;


}
.card__container {
  margin-inline: 1.5rem;
  display: grid;
  grid-template-columns: 1fr;
  row-gap: 2rem;

}
.card__article {
  position: relative;
  background-color: var(--container-color);
  padding: 2.5rem;
  border-radius: 2rem;
  text-align: center;
  box-shadow: 0 20px 24px hsla(235, 32%, 15%, 0.2);
  overflow: hidden;
}

/* IMG */


.card__title .card__img-1 img {
  justify-content: center;
  width: 235px;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  margin: 0 auto;
  padding-bottom: 10px;
  
  align-items: center;
  animation: float-img 2.5s ease-in-out infinite;
}

/* 
.card__title {
  color: var(--title-color);
  font-size: var(--biggest-font-size);
  line-height: 100%;
  margin-bottom: 1rem;
} */
.card__title a {
  color: var(--title-color);
  font-size: 25px;
  line-height: 100%;
  margin-bottom: 1rem;
  text-decoration: none;
}


@media screen and (max-width: 767px) {
  
  .card {
    display: grid;
    place-items: center;
    background: var(--body-gradient);
    padding-block: 4.5rem;
 
  
  }

  .card__title .card__img-1  img{
    padding-bottom: 40px;
    justify-content: center;
    width: 205px;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    margin: 0 auto;

    align-items: center;

    animation: float-img 2.5s ease-in-out infinite;
  }

.card__img {
  width: 180px;
  margin-bottom: 1rem;
  animation: float-img 2.5s ease-in-out infinite;
}


.card__title {
  color: var(--title-color);
  font-size: var(--biggest-font-size);
  line-height: 100%;
  margin-bottom: 1rem;
}
.card__title a {
  color: var(--title-color);
  font-size: var(--biggest-font-size);
  line-height: 100%;
  margin-bottom: 1rem;
  text-decoration: none;
}





.card__img img {
margin-bottom: 680px;
}

.card__description {
  font-size: var(--normal-font-size);
  max-width: 100%;
  padding: 50px;
}


.card__description {
  font-size: var(--normal-font-size);
  max-width: 100%;
  padding: 45px;
}

@media (min-width: 768px) {
  .card__description {
    font-size: var(--normal-font-size);
    max-width: 100%;
    padding: 0px;
  }
}

.card__article P{
  padding: 0px;
}


.card__data {
  position: relative;
  z-index: 10;



}

.card__shapes {
  display: grid;
  justify-items: center;
  row-gap: 2.5rem;
  position: absolute;
  inset: 0;
  top: -3.5rem;
  z-index: 1;
}
.card__shape {
  display: block;
  width: 260px;
  height: 40px;
  background: var(--shape-gradient);
  border-radius: 4rem;
  transform: rotate(-24deg);
  opacity: 0;
}
.card__shape:nth-child(1) {
  animation-delay: 0.1s;
}
.card__shape:nth-child(2) {
  animation-delay: 0.2s;
}
.card__shape:nth-child(3) {
  animation-delay: 0.3s;
}
.card__shape:nth-child(4) {
  animation-delay: 0.4s;
}
.card__shape:nth-child(5) {
  animation-delay: 0.5s;
}
.card__shape:nth-child(6) {
  animation-delay: 0.6s;
}
.card__shape:nth-child(7) {
  animation-delay: 0.7s;
}
.card__shape:nth-child(8) {
  animation-delay: 0.8s;
}

/* Animation img */
@keyframes float-img {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-0.75rem);
  }
  100% {
    transform: translateY(0);
  }
}
/* Animation shape */
.card__article:hover .card__shape {
  animation-name: shape-animate;
  animation-duration: 0.8s;
  animation-iteration-count: 2; /* infinite */
}

@keyframes shape-animate {
  0% {
    opacity: 0;
  }
  20% {
    opacity: 0.1;
  }
  40% {
    opacity: 0.3;
  }
  60% {
    opacity: 0.7;
  }
  80% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}
/*=============== BREAKPOINTS ===============*/
/* For small devices */

@media only screen and (min-width: 767px) {



  .card__container {
    margin-inline: 1rem;
  }
  .card__article {
    padding: 1.5rem;
  }
  .card__img {
    width: 160px;
  }
  .card__title {
    font-size: 2rem;
  }
  
  .card__title img {
    width: 85px;
    height: 85px;

  }

}
}











@media screen and (max-width: 340px) {
  .card__container {
    margin-inline: 1rem;
  }
  .card__article {
    padding: 1.5rem;
  }
  .card__img {
    width: 160px;
  }
  .card__title {
    font-size: 2rem;
  }
}


/* For medium devices */
@media screen and (min-width: 440px) {
  .card__container {
    grid-template-columns: 328px;
  }
}




@media only screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: 328px;
  }
}





@media screen and (min-width: 768px) {
  .card__container {
    grid-template-columns: repeat(2, 328px);
    column-gap: 2rem;
  }
}
/* For large devices */
@media screen and (min-width: 1024px) {
  .card {
    height: 100vh;
  }
  .card__container {
    grid-template-columns: repeat(3, 328px);
    column-gap: 2rem;
  }
}





/* Footer */

.footer{
  /* background-color: #1D293F; */
}

.footer__title{
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 30px;
}

.footer__title, .footer__newsletter{
  color: #fff;
}


.footer__container{
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* border-bottom: 0.5px solid #fff; */
  padding-bottom: 100px;
}

.nav--footer{
  padding-bottom: 20px;
  display: grid;
  gap: 1em;
  grid-auto-flow: row;
  height: 100%;
}

.nav__link--footer{
  display: flex;
  margin: 0;
  margin-right: 20px;
  flex-wrap: wrap;
}

.footer__inputs{
  margin-top: 10px;
  display: flex;
  overflow: hidden;
}



.footer__copy{
  --padding-container: 10px 10px;
  text-align: center;
  color: #fff;
  margin-bottom: -50px;
  background-color: #020707b6;
  margin: 0 auto;
  
}

.footer__copyright{
  font-size: 15px;
}

.footer__icons{
  margin-bottom: 10px;
}

.footer__img{
  width: 30px;
}

.footer__social {
  justify-content: space-around;
  border-bottom: 1.5px dotted #142324;
  padding-bottom: 20px;
}




  
/* ------------------BOTONinfo--------------------    */



.BOTONG-info {
  display: flex;
  align-items: center;
  margin-top: 500px;
  cursor: pointer;
  background-color: transparent;
  /* border: 2px solid #ffffff00; */
  width: fit-content;
  display: block;
  margin: 15px auto;

  /* padding: 10px 22px; */
  font-size: 16px;
  color: #fff;
  position: relative;
  align-items: center;
  /* justify-content: center;   */
  text-align: center;

  z-index: 10;

}

.BOTONG-info{
    animation: animate 2.5s infinite;
}

.BOTONG-info {
  display: flex;
  /* width:100px ; */
  text-decoration: none;
  text-align: center;
  /* padding: 2px 5px; */
  /* margin-top: 18px; */
  border-radius: 15px;
  text-decoration: none;
  

}




.BOTONinfo{
      all: unset;
      border: 1px solid #afaeae55;
      /* padding: 10px 14px 15px; */
      border-radius: 20px;
      color: #fff;
      background-image: linear-gradient(
          to bottom, rgba(49, 163, 64, 0.445), transparent, rgba(236, 135, 135, 0.13)
      );
      cursor: pointer;
      transition: 0.5s;
      align-items: center;
      box-shadow: 10px 14px 15px #00000028;

  }
  .BOTONinfo:hover{
      background-color: #c591e685;
      color: #040018;
      color: #fff;
      box-shadow: 0 0 50px #c691e6;

      
  }

    






/* Footer */

.footer{
  /* background-color: #88a5db; */
  padding: 5px 100px;
}

.footer__title{
  font-weight: 300;
  font-size: 2rem;
  margin-bottom: 500px;
}

.footer__title, .footer__newsletter{
  color: #fff;
}


.footer__container{
  background-color: #c691e6;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #fff;
  padding-bottom: 60px;
}

.nav--footer{
  padding-bottom: 20px;
  display: grid;
  gap: 1em;
  grid-auto-flow: row;
  height: 100%;
}

.nav__link--footer{
  display: flex;
  margin: 0;
  margin-right: 20px;
  flex-wrap: wrap;
}

.footer__inputs{
  margin-top: 10px;
  display: flex;
  overflow: hidden;
}



.footer__copy{
  padding: 2px 0 10px;
  text-align: center;
  color: #fff;
}

.footer__copyright{
  font-weight: 3px;
}

.footer__icons{
  /* margin-bottom: 50px; */
  margin-top: 50px;
}

.footer__img{
  width: 25px;
  height: 25px;
}


  .questions__copy{
      width: 100%;

  }


    
  .footer{
      /* background-color: #88a5db; */
      padding: 0px 0px;
    
  }
  
  .footer__title{
      /* font-weight: 100; */
      font-size: 0.5rem;
      margin-bottom: 0px;
   
  }
  
  .footer__title, .footer__newsletter{
      color: #fff;
  }
  
  
  .footer__container{
      display: flex;
      /* margin-top: 250px; */
      justify-content: space-between;
      /* align-items: center; */
      border-bottom: 1px solid #078488;
      /* z-index: 200; */
   
  }
  
  
  
  
  
  

  .footer__copyright p{
      font-weight: 2x;
  }
      
  .footer .footer__copy {
      font-weight: 20px;
  }
  
  .footer__copy .footer__copyright {
      font-weight: 20px;
  }
  
  
  
  .footer__social{
  padding: 25px;
  }
  
  .footer__img{
      width: 25px;
      height: 25px;
  }
  
  
      .questions__copy{
          width: 100%;
      }
  
  





@media screen and (max-width: 767px) {

  .footer__container{
    flex-wrap: wrap;
}




.footer__form{
    width: 100%;
    justify-content: space-evenly;
}

.footer__input{
    flex: 1;
}
.footer__copy{
    --padding-container: 30px 20px;
    text-align: center;
    color: #ffffffc4;
    margin-bottom: -10px;
    background-color: #1c1a1dd3;


}


.footer__copyright{
font-size: 15px;
font: 8px;
}



.footer__social {
justify-content: space-around;
border-bottom: 1.5px dotted #061718;
padding-bottom: 10px;
}

.footer__social h3{
font-size: 10px;
font: 5px;

}










.footer__copy{
  /* padding: 2px 0 10px; */

  text-align: center;
  color: #fff;
  padding: 23px 20p  50px 10px;

}

/* .footer__copyright{
  font-weight: 20px;
} */

.footer__copyright p{
  font-weight: 2x;

}
  
.footer .footer__copy {
  font-weight: 20px;
}

.footer__copy .footer__copyright {
  font-weight: 20px;
}



.footer__social{
padding: 25px;
}

.footer__img{
  width: 25px;
  height: 25px;
}


  .questions__copy{
      width: 100%;
  }

}  

.estrellas {
  display: flex;
  justify-content: space-between;
  width: 200px;
  margin: 20px auto;
}

.estrella {
  width: 27px;
  height: 27px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.5s ease-in-out;
}

.estrella.cargando {
  animation: cargando 2s infinite;
}

@keyframes cargando {
  0% {
    background-color: #ccc;
  }
  50% {
    background-color: #ff9800;
  }
  100% {
    background-color: #ccc;
  }
}

.estrella.completada {
  background-color: #4CAF50;
}
      

.boton-enlace{
  text-decoration: none;
  background-image: linear-gradient(90deg, rgba(101, 175, 41, 0.808), rgb(145, 212, 131), rgb(145, 212, 131), rgba(163, 255, 15, 0.767));

  /* background-color: rgb(27, 207, 96); */
  padding: 10px 20px;
  border: none;

  border-style: none;
  border-radius: 50px;
  cursor: pointer;
  /* margin: 30px; */

  text-align: center;
  margin-top: 14px;



}


.boton-enlace a{
  text-decoration: none;
  font-weight: normal;
  font-weight: bold;
  font-size: 15px;
  color: rgba(5, 27, 29, 0.89);
  animation: cambioColor 10s infinite;


}


@keyframes cambioColor {
  0% {
    background: linear-gradient(145deg, #243a3ace, #f8f8f8);
    -webkit-background-clip: text;
  
  }
  50% {
    background: linear-gradient(145deg, #c3d6e7, #8aaebd);
    -webkit-background-clip: text;
    
  }
  100% {
    background: linear-gradient(145deg, #fafafae3, #e7e9deea);
    -webkit-background-clip: text;

}



@keyframes animate{
  0%, 100%{
  transform: translateY(0);
  }
  50%{
  transform: translateY(-6px);
  }
}
