
@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Josefin+Sans:wght@400;700&family=Orbitron:wght@400..900&family=Silkscreen&display=swap');

*{
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  letter-spacing: 2.5px;
}

body {
  font-family: "Orbitron", sans-serif;
  background-color: #8ECAE6;
  background: linear-gradient(180deg, #8ECAE6, #023047); 
  user-select: none;
}

/* header */

header {
  background-color: rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.425), rgba(47, 194, 252, 0.5)); 
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 4em;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.logo {
  text-align: center;
}

.logo img {
  max-width: 200px;
  max-height: 3em; 
  display: block; 
  margin: 0 auto;
}

/* Transformación en la X cuando el menú está abierto */
.menu-toggle.openMenu .line {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 30px; 
  height: 4px; 
  background-color: #8ecae6; 
  transform-origin: center center;
}

.menu-toggle.openMenu .line:nth-child(1) {
  transform: translate(-50%, -50%) rotate(45deg);
}

.menu-toggle.openMenu .line:nth-child(2) {
  transform: translate(-50%, -50%) rotate(-45deg);
}
.menu-toggle.openMenu .line:nth-child(3) {
  opacity: 0;
}

/* nav */
.menu-toggle {
  width: 30px;
  height: 30px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 1500;
}

.menu-toggle .line {
  width: 100%;
  height: 3px;
  background-color: #8ecae6;
  margin: 5px 0;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.menu {
  width: 18em;
  display: none;
  position: absolute;
  top: calc(50% + 20px); 
  right: 0px;
  top: 4em;
  background-color: rgba(0, 0, 0, 0.6);
  background-image: linear-gradient(to top, rgba(0, 0, 0, 0.425), rgba(47, 194, 252, 0.5)); 
  padding-right: 1em; 
  border-bottom-left-radius: 5px;
}

.openMenu {
  display: block;
  opacity: 1; 
}

.menu-toggle.openMenu + .menu {
  display: block;
}

.menu-toggle.openMenu .line  {
  margin: 0;
}

.dropdown-menu {
  display: none;
  padding-left: 0;
}

.ulDrop {
  text-align: end;
  font-weight: bold;
  padding-left: 20px;
  padding-bottom: 20px;
  list-style: none;
  text-decoration: none;
}

button {
  background: none;
  border: none;
  color: inherit;
  font: inherit;
  cursor: pointer;
  padding: 0;
  margin: 0;
}
.animate__5s{
  animation-duration: 0.2s;
}
a{
  color: #fff;
  text-decoration: none;
}
li{
  font-weight: lighter;
  padding-top: 10px;
  list-style: none;
}
#titulo{
  /* padding-top: 1em; */
  letter-spacing: 5px;
  cursor: pointer;
  color: #fb8500;
  font-size: 18px;
  font-weight: bolder;
}
.active1{
  padding-left: 8px;
  padding-right: 1px;
  padding-top: 4px;
  padding-bottom: 4px;
  border-radius: 5px;
  border: solid 1px ;
}


/* BANNER */
.animate__fadeIn {
  animation-duration: 3s; 
}
.animate__1s {
  animation-duration: 3s; 
}
.animate__2s {
  animation-duration: 4s; 
}
.parallax-container {
  position: relative;
  width: 100%;
  height: 800px;
  overflow: hidden;
  box-shadow: 0 4px 12px 2px rgba(0, 0, 20, 3);
}

.parallax {
  background-image: url('../images/index.webp');
  background-size: cover;
  background-position: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translate3d(0, 0, 0);
  z-index: 0;
}

.banner-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 1;
}

.banner-text h1 {
  font-size: 3em;
}

.banner-text p {
  font-size: 1.5em;
}


/* TITULO CATEGORIA */

.tituloBody {
  margin-top: 1em;
  margin-bottom: 1em;
  font-size: 3em; /* Esto centrará horizontalmente el elemento y establecerá un margen en la parte superior e inferior */
  color: #fff;
  display: flex;
  justify-content: center; 
  align-items: center; 
  position: relative; /* Cambiado de absolute a relative */
  z-index: -1;
}


.card-container {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  margin: 2em auto 0 auto; /* Esto establecerá el margen entre .tituloBody y .card-container */
  max-width: 90em;
  padding: 0 2em;
}

.card {
  color: #EFF6E0;
  width: calc(50% - 5em);
  margin-bottom: 5em; 
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 20, 0.6);
  max-width: calc((100% - 4em) / 2);
  background-color: #219EBC;
  
}

.card-header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  /* border-bottom: 1px solid #ccc; */
}

.card-header-text h3 {
  margin: 0;
}

.card-header-text p {
  margin: 0;
  color: #888;
}

.card-image {
  width: 100%;
  height: auto;
  box-shadow: 0 4px 8px rgba(0, 0, 20, 0.6);
}
.card-content {
  display: flex;
  flex-direction: column;
  padding: 20px;
}
.h3Card{
  font-size: 1.5rem;
  text-align: end;
  border-bottom: 1px solid #fff;
  margin-bottom: 10px;
}
.pCard{
  text-align: start;
  padding-bottom: 1rem;
}
.card-content h3 {
  height: 50px;
  margin-top: 0;
  margin-bottom: 20px;
}
.card-content p {
  margin-top: 0;
  margin-bottom: 50px;
}

.read-more {
  padding-top: 20px;
  text-decoration: none;
  color: #FFB703;
  font-weight: bold;
    /* Otros estilos que desees para el enlace */
  }

.read-more:hover {
  text-decoration: underline;
}

.card-footer {
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.btn-like {
  margin-top: 40px;
  background-color: #FB8500;
  color: white;
  border: none;
  border-radius: 4px;
  padding: 8px 16px;
  cursor: pointer;
}
.card-footer {
  position: absolute;
  bottom: 10px; /* Distancia desde el borde inferior de la tarjeta */
  left: 0;
  right: 0;
  text-align: center; /* Centra el botón "Me gusta" */
}

.btn-like:hover {
  background-color: #023047;
  color: #FFB703;
}

/* .likes {
  color: #888;
} */

.aCards{
  display: flex;
  display: block;
}

/* footer */

footer {
  box-shadow: 0 4px 12px 2px rgba(0, 0, 20, 3);
  position: relative;
  background-image: url("/images/footer.webp");
  width: 100%;
  background-size: cover;
  background-position: center;
  position: absolute;
  color: #fff;
  text-align: center;
  padding: 5em 0 5em;
}

footer::before {
  content: ""; /* Agregamos contenido vacío */
  position: absolute; 
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5); 
}

.pFooter{
  margin: 5px 10px;
}

footer .pFooter, .h3Footer {
  position: relative; 
  z-index: 1; 
}

.contact-info, .social-media, .creator-info {
  margin-bottom: 20px;
}

.contact-info h3, .social-media h3 {
  margin-top: 0;
}

.social-media ul {
  list-style-type: none;
  padding: 0;
}

.social-media ul li {
  display: inline-block;
  margin-right: 10px;
}

.social-media ul li  {
  color: #fff;
  font-size: 20px;
}

.creator-info p {
  margin: 0;
}



/* whatsapp */

.whatsapp {
  position: fixed;
  bottom: 60px;
  right: 10px;
  width: 50px; /* Ajusta el tamaño del botón según sea necesario */
  height: 50px; /* Ajusta el tamaño del botón según sea necesario */
  border-radius: 50%;
  background-color: transparent; /* Sin fondo */
  z-index: 9999;
}

.whatsapp a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.whatsapp img {
  width: 100%;
  height: 100%;
}

/* dumbot */

.dumb-bot {
    position: fixed;
    bottom: 35px;
    right: 20px;
    width: 300px; 
    background-color: #023047;
    border-radius: 5px;
    z-index: 9999;
    transform-origin: right bottom;
    transform: scaleX(0) scaleY(0);
    transition: transform 0.3s ease-in-out;
    width: 0;
}

.bot-open {
  border: 1px solid #FFB703;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.open{
  position: fixed;
    bottom: 20px;
    right: 20px;
    width: 300px; 
    background-color: #8ECAE6;
    border-radius: 5px;
    z-index: 9999;
}

#open-button {
  font-size: 1.5em;
  position: absolute;
  bottom: 0;
  right: 0;
  background-color: #007bff;
  border: 2px solid #ccc;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.7);
  color: #fff;
  border: none;
  padding: 10px;
  cursor: pointer;
  border-radius: 25px;
  z-index: 100000; 
  transition: transform 0.3s ease-in-out;
}

#back-button{
    background-color: #307cff;
    color: #fff;
    border: none;
    padding: 7px 12px;
    cursor: pointer;
    border-radius: 0 5px 0 5px;
    float: left;
}

#close-button {
    float: right;
    bottom: 0;
    right: 0;
    background-color: #dc3545;
    color: #fff;
    border: none;
    padding: 7px 12px; 
    cursor: pointer;
    display: none; 
}
#open-button {
    position: absolute;
    bottom: -18px;
    right: -10px;
    background-color: #FB8500;
    color: #fff;
    border: none;
/*     padding: 10px; */
    cursor: pointer;
/*     border-top-left-radius: 5px; */
}

#close-button {
  border-radius: 5px 0 5px 0;
  background-color: #dc3545;
}

.chat-container {
    max-height: 400px;
    padding: 10px 10px 5px 10px;
    overflow-y: auto;

}

.message.bot.pregunta {
  background-color: #319dcf;
  padding: 5px;
  margin: 5px 0;
  cursor: pointer;
  overflow-y: auto;
}

.message.bot.respuesta {
  background-color: #319dcf;
  padding: 10px;
  margin: 5px 0;
  overflow-y: auto;
}

/* goTop */

#goTopBtn {
  display: block; 
  position: fixed;
  bottom: 5px;
  right: 70px;
  background-color: transparent;
  color: #ffb703; 
  border: none;
  border-radius: 50% 50% 0 0;
  font-size: 2em;
  cursor: pointer;
  opacity: 0.5;
  z-index: 10000;
  transform-origin: bottom;
  transition: transform 1s ease-in-out;
  transform: translateY(100%);
}

#goTopBtn:hover {
  opacity: 1; 
}


/* MEDIA QUERY ENTRE 2000 Y 3000 */
@media only screen and (min-width: 1630px)  {
  
/*   header{
    height: 200px;
  }
  .logo img {
    height: 100px;
    width: 400px; 
  } */
  .menu{
    width: 20em;
  }

  .parallax-container {
    height: 1200px;
  }

  .card-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin: 2em 5% 0 5%;
    max-width: 120em;
  }
  .card {
    display: flex;
    flex-direction: row;
    color: #EFF6E0;
    width: calc(50% - 1em);
    margin-bottom: 5em; 
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0, 0, 20, 0.6);
    max-width: calc((100% - 4em) / 2);
    background-color: #219EBC;
    height: 24em;
    
  }
  .card-image {
    width: 242px;
/*     width: 53%;
    height: 63%; */
    margin: auto;
    margin-right: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 20, 0.6);
    border-radius: 2%;
  }
  .btn-like {
    margin-left: 20px;
  }
  .card-footer {
    display: flex;
    justify-content: flex-end;  
}
  
}


@media only screen and (min-width: 1400px) and (max-width: 1630px)  {
  
  .menu{
    width: 20em;
  }

  .parallax-container {
    height: 1200px;
  }

  .pCard {
    margin-bottom: 0;
    padding-bottom: 0;
  }

}



@media only screen and (min-width: 1045px) and (max-width: 1630px)  {
    .card-container {
      display:grid;
      justify-content: space-between;
      flex-wrap: wrap;
      margin: 2em 5% 0 ;
      max-width: 120em;
    }
    .card {
      margin: auto;
      display: flex;
      flex-direction: row;
      color: #EFF6E0;
      width: 100%;
      margin: 3em; 
      border-radius: 8px;
      overflow: hidden;
      box-shadow: 0 4px 8px rgba(0, 0, 20, 0.6);
      max-width:fit-content;
      background-color: #219EBC;
      height: 24em;
      
    }

    .btn-like {
      margin-left: 20px;
    }
    .card-footer {
      display: flex;
      justify-content: flex-end;  
  }
    
}

/* MEDIA QUERY ENTRE 992 Y 1300  BANNER Y EL DROPDOWN*/
@media only screen and (min-width: 1045px) and (max-width: 1399px)  {
  .menu{
    width: 20em;
  }

  .parallax-container {
    height: 1000px;
  }

  .card-container {
    margin: 2em auto 0 ;
  }

  .card-image {
    width: 384px;
  }
}

/* MEDIA QUERY ENTRE 768 Y 992 */
@media only screen and (min-width: 768px) and (max-width: 991px)  {
  
  .menu{
    width: 20em;
  }
  .parallax-container {
    height: 900px;
  }

  .tituloBody {
    font-size: 2.3em; 
  }
  .card {
    width: calc(100% - 1em); 
  }

  .h3Card{
    font-size: 1.2rem;
  }
}

/* MEDIA QUERY DEBAJO DE 768 */
@media (max-width: 768px) {
  .parallax-container {
    height: 900px;
  }

  header{
    justify-content: flex-start;
    background-color: rgba(0, 0, 0, 0.6);
    background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.425), rgba(47, 194, 252, 0.5)); 
  }
  
  .logo img {
    margin-left: 10px;
    max-width: 150px; 
  }

  .menu-toggle {

    height: 30px; 
    right: 10px; 
  }
  
  .menu {
    margin: auto;
    padding: auto; 
    background-color: rgba(0, 0, 0, 0.6);
    background-image: linear-gradient(to top, rgba(0, 0, 0, 0.425), rgba(47, 194, 252, 0.5)); 
    /* background-image: linear-gradient(to top, rgba(0, 0, 0, 0.425), rgba(47, 112, 252, 0.5));  */ 
    width: 100%;
  }
  
  .ulDrop {

    margin: auto;
    padding: auto;
/*     display: flex;
    flex-direction: row; */
    justify-content: center;
    text-align: center;
/*     padding-left: 20px;
    padding-bottom: 20px; */
  }

  li{
    font-weight: lighter;
    /* padding-left: 20px; */
    list-style: none;
  }
  
  .banner-text h1 {
    font-size: 2em;
  }
  
  .banner-text p {
    font-size: 1em;
  }
  
  .tituloBody {
    font-size: 1.5em; 
  }
  
  .card {
    width: 100em;
    max-width: calc(100%)
  }

  .h3Card{
    font-size: 1.1rem;
  }
  
}

@media only screen and (min-width: 540px) and (max-width: 768px){

.card{
  margin: 3em 10%;
}
}

/* titulo body */
@media (max-width: 527px){
  .tituloBody {
    font-size: 1.2em; 
    margin-top: 2em;
    margin-bottom: 1em;
  }
}
@media (max-width: 420px){
  .tituloBody {
    font-size: 1em; 
    margin-top: 2em;
    margin-bottom: 1em;
  }

}
@media (max-width: 366px){
  .tituloBody {
    font-size: 1em; 
text-align: center;
  }

}


