/* fuente para el párrafo principal */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@300&display=swap");
/* font-family: 'Barlow', sans-serif; */

/* fuente para los títulos de los cards */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500&display=swap");
/* font-family: 'Barlow', sans-serif; */

/* fuente para la barra de navegación */
@import url("https://fonts.googleapis.com/css2?family=Barlow:wght@500&family=Poppins:wght@300&display=swap");
/* font-family: 'Barlow', sans-serif; */
/* font-family: 'Poppins', sans-serif; */

/* fuente para el titulo del banner */
@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@700&display=swap");
/* font-family: 'Poppins', sans-serif; */

/* fuente para el subtitulo de los cards */
@import url("https://fonts.googleapis.com/css2?family=Open+Sans:wght@500&display=swap");
/* font-family: 'Open Sans', sans-serif; */

html,
body {
  overflow-x: hidden; /* Evita el desplazamiento horizontal */
  width: 100%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body,
.container-fluid {
  padding: 0 !important;
  width: 100% !important;
  height: 100% !important;
}

.container-fluid {
  margin: 0;
}

h2,
p {
  font-family: "Barlow", sans-serif;
}

/* párrafos */
p {
  font-family: "Barlow", sans-serif;
  font-size: 18px !important;
}
/* quitan el efecto hover de bootstrap */
a:hover {
  color: #ffffff !important;
}

/* barra del inicio de contactos */
.contacto {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  width: 100% !important;
  background: #702f8a;
  height: 50px;
  overflow: hidden;
  /* justify-content: space-between; */
  word-wrap: break-word;
}
.tocar {
  text-decoration: none;
  color: #ffffff;
}

/* redes sociales n1 */
.red-social {
  color: #ffffff;
}
/* icono de twitter */
.fa-twitter {
  /* margin-right: -1000px; */
  font-size: 18px;
  transition: 0.8s;
}
/* icono de facebook */
.fa-facebook {
  font-size: 18px;
  transition: 0.8s;
}
/* ícono de instagram */
.fa-instagram {
  font-size: 18px;
  transition: 0.8s;
}
/* ícono de whatsapp */
.whatsapp {
  font-size: 18px;
  transition: 0.8s;
}
/* ícono de noticias */
.fa-rss {
  font-size: 18px;
  transition: 0.8s;
}

/* ----------------------------- */
/* efecto  HOVER TWITTER */
.fa-twitter:hover {
  color: #00b7ff;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}
/* efecto  HOVER FACEBOOK */
.fa-facebook:hover {
  color: #3462c5;
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}
/* efecto  HOVER INSTAGRAM */
.fa-instagram:hover {
  color: #ffffff;
  background: #d6249f;
  background: radial-gradient(
    circle at 30% 107%,
    #fdf497 0%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%
  );
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
}
/* efecto  HOVER PARA EL ÍCONO DE WHATSAPP */
.whatsapp:hover {
  /* color: #3462c5; */
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}
/* efecto HOVER PARA EL ICONO DE NOTICIAS */
.fa-rss:hover {
  /* color: #3462c5; */
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}

/* ------------------------------ */

/* barra de navegación */
.nav-link {
  color: #ffffff !important; /* Blanco */
  font-family: "Poppins", sans-serif !important;
  font-weight: 500;
  letter-spacing: 1px;
}

/* trabajando con la portada */
#portada {
  background-image: url(../images/portada.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  /* background-position: center center; */
  width: 100%;
  height: 100vh;
  overflow: hidden;
  min-height: 100vh;
  /* margin-bottom: 100px !important; */
}

/* titulo de la portada */
#portada h3 {
  /* top: 500px; */
  position: absolute;
  top: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  height: auto;
  width: 45%;
  color: #ffffff;
  padding: 15px;
  text-align: center;
  /* border-radius: 5px; */
  color: rgba(255, 255, 255, 0.959);
  font-family: "Poppins", sans-serif;
  letter-spacing: -1px;
  font-size: 5rem;
  font-weight: 850;
  /* background: rgba(0, 0, 0, 0.1); */
  margin-left: 55px;
  text-shadow: 6px 5px 15px #3e3e3e;
  border-radius: 50px;
}

/* transición para el borde */
.border-bottom {
  font-weight: 510;
  transition: all ease 0.8s;
  color: #702f8a !important;
  /* background-color: aqua !important */
  border-bottom: 2px solid rgba(0, 0, 0, 0.5) !important;
  border-top: 2px solid white !important;
}

/* efecto hover en el barra de navegación */
.border-bottom:hover {
  font-weight: 550;
  /* color: #3e3e3e; */
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.6);
}

/* empezando a estilizar el botón animado */
/* contenedor del botón */
.center {
  text-align: center;
  align-self: center;
  margin: 60px auto;
  max-width: 800px;
}
.boton-animado {
  background: #f50057;
  color: #ffffff;
  display: inline-block;
  padding: 1rem 3rem;
  border-radius: 0.25rem;
  min-width: 200px;
  text-decoration: none;
  box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.5);
  animation: pulse 1.6s infinite;
  font-family: inherit;
  font-size: 21px;
  font-style: inherit;
  font-weight: 500;
  letter-spacing: 1px;
}
/* animaciones para el botón */
@keyframes pulse {
  0% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(1, 1, 1, 0.6);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 16px rgba(1, 1, 1, 0.1);
  }
  100% {
    transform: scale(0.99);
    box-shadow: 0 0 0 0 rgba(256, 256, 256, 0.5);
  }
}
/* ----------------------------------------------- */

/* aqui empieza la parte del contenido */
.titulo-contenido {
  font-size: 3.5rem !important;
  color: #333333;
  font-weight: 800;
  font-family: "Poppins", Sans-serif;
}
/* párrafos con contenido */
.contenido {
  color: #666666;
  font-size: 15px !important;
  font-weight: inherit !important;
  font-family: "Open Sans", sans-serif;
}
/* centrando el carrusel de imágenes */
.centrar {
  margin: 0 auto;
}

/*  */
.titulo-imagenes h3 {
  text-align: center;
  font-size: 2.9rem !important;
  color: #333333;
  font-weight: 550;
  font-family: "Poppins", Sans-serif;
  letter-spacing: 1.5px;
}

/* creando linea horizontal para los títulos */
.linea-hm {
  width: 10%;
  margin: 0 auto;
  border-top: 6px solid #702f8a;
  direction: ltr;
}

/* linea horizontal de color verde */
.linea-hv {
  width: 10%;
  margin: 0 auto;
  border-top: 6px solid #1ac838;
  direction: ltr;
}

/* linea horizontal de color azul */
.linea-ha {
  width: 10%;
  margin: 0 auto;
  border-top: 6px solid #2d7ff9;
  direction: ltr;
}

/* linea horizontal de color azul */
.linea-hb {
  width: 15%;
  margin: 0 0;
  margin-top: 15px;
  border-top: 6px solid #ffffffff;
  direction: ltr;
}

/* creando los cards */
.card {
  background: #f2f2f2;
  margin: 0 auto !important;
  margin: 5% !important;
  display: flex;
  width: 40%;
  text-align: center;
  border: none;
  border-radius: 25px;
}

/* imágenes de los cards */
.card img {
  padding-bottom: 25px;
  padding-top: 50px;
  margin: 0 auto;
  width: 50%;
  border-radius: 100% 100% 100% 100%;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  max-width: 100%;
  border: none;
  box-shadow: none;
}

/* titulo de los cards */
.card h3 {
  padding: 0 50px 0 50px;
  text-align: center !important;
  font-size: 2.4rem;
  font-weight: 800;
}
/* subtitulo de los cards */
.card h4 {
  color: #666666;
  font-size: 1.3rem !important;
  font-weight: 600;
  letter-spacing: 2px;
  font-family: "Open Sans", sans-serif;
  padding: 0 21px 0 21px;
}
/* párrafos de los cards */
.card p {
  color: #666666;
  padding: 0 15px 0 15px;
  font-family: inherit;
}
/* efecto hover para el icono de instagram de los cards */
.instagram:hover {
  /* color: #3462c5; */
  background: #ffffff;
  padding: 4px;
  border-radius: 10px;
  font-size: 20px;
  box-shadow: 0px 3px 10px rgba(0, 0, 0, 0.25);
}

/* imagen de fondo con texto */
.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
}
#fondo {
  /* background-color: kh; */
  width: 100% !important;
  height: 100vh;
  background-image: url(../images/img_fondo.jpg);
  background-position: center center;
  background-color: #7c43bd;
  background-size: cover;
  /* position: relative; */
  margin-bottom: 150px !important;
}

.subtitulo {
  font-weight: 750;
  letter-spacing: 1px;
}
.sub-texto {
  font-size: 15px !important;
  font-family: "Open Sans", sans-serif;
  font-weight: 200 !important;
  line-height: 1.8em;
}

/* trabajando con el footer */
.footer {
  background: #f2f2f2;
  width: 100%;
  height: 200px;
  color: #3e3e3e;
}
.redes-sociales {
  padding: 20px 0 0 0;
  display: flex;
  justify-content: center;
  align-items: center;
}
.copyright {
  text-align: center;
  width: 100%;
  display: block;
  padding: 2rem;
  color: #666666;
  font-family: "Open Sans", sans-serif;
  font-weight: 400;
  letter-spacing: 0.5px;
  font-size: 10px;
}

/* RESPONSIVE PARA CELULARES 576px */
@media (max-width: 576px) {
}

/* responsive portada */
@media (max-width: 767px) {
  #portada {
    background-image: url(../images/portada.jpg);
    /* background-position: 0px 0; */
    width: 100vw !important;
    background-size: cover;
    /* max-width: 767px; */
    align-items: center;
    background-position: center center !important;
  }

  .nav-link {
    text-align: center;
    font-size: 20px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    /* letter-spacing: 1px; */
  }

  /* quitando los bordes del menú desplegable */
  /* transición para el borde */
  .border-bottom {
    font-weight: 510;
    transition: all ease 0.8s;
    color: #702f8a !important;
    /* background-color: aqua !important */
    border-bottom: 2px solid rgba(0, 0, 0, 0) !important;
    border-top: 2px solid rgba(0, 0, 0, 0) !important;
  }
  /* efecto hover en el barra de navegación */
  .border-bottom:hover {
    font-weight: 550;
    /* color: #3e3e3e; */
    border-radius: 30px;
    background: rgba(0, 0, 0, 0);
  }
  /* efecto HOVER del logo */
  .logo-hover {
    transition: all 0.5s ease-in-out;
    display: none;
  }
  .logo-hover:hover {
    /* width: 200px; */
    border-radius: 20px;
    /* margin: 5px !important; */
    /* background: rgba(0, 0, 0, 0.8); */
    /* color: red; */
    display: none;
  }
  /* titulo de la portada */
  #portada h3 {
    /* top: 500px; */
    position: absolute;
    top: 65% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 42%;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    /* border-radius: 5px; */
    color: rgba(255, 255, 255, 0.959);
    font-family: "Poppins", sans-serif;
    /* letter-spacing: -1px; */
    font-size: 3.3rem !important;
    text-align: center;
    font-weight: 800;
    /* background: rgba(0, 0, 0, 0.1); */
    /* margin-left: 200px; */
    text-shadow: 6px 5px 10px #3e3e3e;
    /* border-radius: 50px; */
  }

  .contacto {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    width: 100% !important;
    background: #702f8a;
    height: 50px;
    overflow: hidden;
    /* justify-content: space-between; */
    word-wrap: break-word;
    font-size: 15px !important;
  }
  .contacto p {
    font-size: 14px !important;
  }

  /* ocultando carrusel */
  #carrusel-oculto {
    display: none;
  }

  #fondo {
    width: 100% !important;
    height: 1000px !important;
    background-image: url(../images/img_fondo.jpg);
    background-position: right !important;
    background-color: #7c43bd;
    background-size: cover;
    /* position: relative; */
    margin-bottom: 100px !important;
    padding: 50px 0 50px 0;
  }
  #fondo p {
    text-align: center;
    font-family: inherit;
    font: inherit;
    vertical-align: baseline;
    font-size: 10.5px !important;
    font-weight: 400;
    /* letter-spacing: 2px; */
  }
  #fondo h2 {
    text-align: center;
    font-size: 0.5rem !important;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    letter-spacing: 1px;
    margin: 0 !important;
  }
  /* linea horizontal de color azul */
  .linea-hb {
    width: 50%;
    margin: 0 auto;
    margin-top: 15px;
    border-top: 6px solid #ffffffff;
    direction: ltr;
  }
  .fa-caret-right {
    opacity: 0;
  }
  .subtitulo {
    text-align: center;
    font-weight: 500 !important;
    letter-spacing: 0.5px;
    padding-left: 0% !important;
    padding-right: auto !important;
  }
  .sub-texto {
    text-align: center;
    font-size: 10px !important;
    font-family: "Open Sans", sans-serif;
    font-weight: 200 !important;
    line-height: 1em;
    padding-left: 0% !important;
    padding-right: auto !important;
  }
  /* creando los cards */
  .card {
    background: #f2f2f2;
    margin: 30px auto !important;
    /* margin: 5% !important; */
    display: flex;
    width: 80%;
    text-align: center;
    border: none;
    border-radius: 25px;
  }

  /* imágenes de los cards */
  .card img {
    padding-bottom: 25px;
    padding-top: 50px;
    margin: 0 auto;
    width: 50%;
    border-radius: 100% 100% 100% 100%;
    display: inline-block;
    vertical-align: middle;
    height: auto;
    max-width: 100%;
    border: none;
    box-shadow: none;
  }

  /* titulo de los cards */
  .card h3 {
    padding: 0 50px 0 50px;
    text-align: center !important;
    font-size: 2.4rem;
    font-weight: 800;
  }
  /* subtitulo de los cards */
  .card h4 {
    color: #666666;
    font-size: 1.3rem !important;
    font-weight: 600;
    letter-spacing: 2px;
    font-family: "Open Sans", sans-serif;
    padding: 0 21px 0 21px;
  }
  /* párrafos de los cards */
  .card p {
    color: #666666;
    padding: 0 15px 0 15px;
    font-family: inherit;
  }
}

@media only screen and (max-width: 959px) {
  #portada {
    background-image: url(../images/portada.jpg) !important;
    background-size: cover;
    background-position: 80% center; /* Ajusta la posición hacia la derecha */
    max-width: 100%;
  }

  /* titulo de la portada */
  #portada h3 {
    /* top: 500px; */
    position: absolute;
    top: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 45%;
    color: #ffffff;
    padding: 15px;
    text-align: center;
    /* border-radius: 5px; */
    color: rgba(255, 255, 255, 0.959);
    font-family: "Poppins", sans-serif;
    letter-spacing: -1px;
    font-size: 4rem;
    text-align: center;
    font-weight: 850;
    /* background: rgba(0, 0, 0, 0.1); */
    /* margin-left: 200px; */
    text-shadow: 6px 5px 15px #3e3e3e;
    border-radius: 50px;
  }
  /* efecto HOVER del logo */
  .logo-hover {
    transition: all 0.5s ease-in-out;
    display: none;
  }
  .logo-hover:hover {
    /* width: 200px; */
    border-radius: 20px;
    /* margin: 5px !important; */
    background: rgba(0, 0, 0, 0.8);
    /* color: red; */
    display: none;
  }
}

/* responsive las redes sociales superiores desaparecen */
@media (max-width: 810px) {
  #twitter {
    display: none;
  }
  #facebook {
    display: none;
  }
  #instagram {
    display: none;
  }
  .nav-link {
    text-align: center;
    font-size: 14px !important;
    font-family: "Poppins", sans-serif !important;
    font-weight: 100;
    /* letter-spacing: 1px; */
  }
}

/* Establecer el color de fondo del navbar por defecto */
.navbar {
  background-color: #702f8a !important; /* Color original */
}

/* barra de navegacion */
.navbar-nav .nav-link {
  font-size: 1rem;
  font-weight: 500;
  color: #ffffff !important;
  transition: color 0.3s ease-in-out;
}

.navbar-nav .nav-link:hover {
  color: #f5c1ff !important;
  font-weight: 500;
}

@media (max-width: 992px) {
  .navbar-nav {
    background: #f8f9fa;
    padding: 10px;
    border-radius: 5px;
  }
}

/* barra de navegación responsive */
@media (max-width: 822px) {
  /* barra de navegación */
  .nav-link {
    text-align: center;
    font-size: 1rem;
    font-family: "Poppins", sans-serif !important;
    font-weight: 500 !important;
    /* letter-spacing: 1px; */
  }
}

/* portada mas responsive */
@media (max-width: 664px) {
  .contacto {
    display: flex;
    flex-wrap: wrap;
    text-align: center;
    width: 100% !important;
    background: #702f8a;
    height: 0px;
    overflow: hidden;
    /* justify-content: space-between; */
    word-wrap: break-word;
    font-size: 15px !important;
    display: none;
  }
  .contacto p {
    font-size: 14px !important;
    display: none;
  }
  .contacto a {
    font-size: 14px !important;
    display: none;
  }
  #portada {
    background-image: url(../images/portada.jpg);
    background-position: center center;
    /* background-position: 0px 0; */
    width: 100vw !important;
    background-size: cover;
    /* max-width: 767px; */
    align-items: center;
  }
  /* titulo de la portada */
  #portada h3 {
    /* top: 500px; */
    position: absolute;
    top: 65% !important;
    display: flex;
    justify-content: center;
    align-items: center;
    height: auto;
    width: 42%;
    color: #ffffff;
    padding: 10px;
    text-align: center;
    /* border-radius: 5px; */
    color: rgba(255, 255, 255, 0.959);
    font-family: "Poppins", sans-serif;
    /* letter-spacing: -1px; */
    font-size: 3.3rem !important;
    text-align: center;
    font-weight: 800;
    /* background: rgba(0, 0, 0, 0.1); */
    /* margin-left: 200px; */
    text-shadow: 6px 5px 10px #3e3e3e;
    /* border-radius: 50px; */
    display: none;
  }
}

@media (max-width: 430px) {
  #portada {
    background-image: url(../images/portada.jpg);
    /* background-position: center center; */
    /* background-position: 0px 0; */
    width: 100% !important;
    height: auto;
    background-size: cover;
    /* max-width: 767px; */
    align-items: center;
    overflow: hidden;
  }
}

/* carrusel responsive */
@media (max-width: 930px) {
  #ocupa-todo {
    width: 100% !important;
  }
  #carrusel-oculto {
    margin-top: 12% !important;
  }
}

/* responsive el contenido con tres columnas */
@media (max-width: 1090px) {
  #fondo p {
    font-family: inherit;
    font: inherit;
    vertical-align: baseline;
    font-size: 14px !important;
    font-weight: 500;
    letter-spacing: 2px;
  }
  #fondo h2 {
    font-size: 2rem !important;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .fa-caret-right {
    opacity: 0;
  }
  .subtitulo {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding-left: 20%;
    padding-right: 5%;
  }
  .sub-texto {
    font-size: 50px !important;
    font-family: "Open Sans", sans-serif;
    font-weight: 200 !important;
    line-height: 1.5em;
    padding-left: 20%;
    padding-right: 5%;
  }
}
/* responsive el contenido con tres columnas */
@media (max-width: 832px) {
  #fondo {
    width: 100vw !important;
    height: 100vh;
    background-image: url(../images/img_fondo.jpg);
    background-position: center center;
    background-color: #7c43bd;
    background-size: cover;
    /* position: relative; */
    margin-bottom: 150px !important;
  }
  #fondo p {
    font-family: inherit;
    font: inherit;
    vertical-align: baseline;
    font-size: 10.5px !important;
    font-weight: 400;
    /* letter-spacing: 2px; */
  }
  #fondo h2 {
    font-size: 2rem !important;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    letter-spacing: 1px;
  }
  .fa-caret-right {
    opacity: 0;
  }
  .subtitulo {
    font-weight: 700 !important;
    letter-spacing: 0.5px;
    padding-left: 20%;
    padding-right: 5%;
  }
  .sub-texto {
    font-size: 50px !important;
    font-family: "Open Sans", sans-serif;
    font-weight: 200 !important;
    line-height: 1.5em;
    padding-left: 20%;
    padding-right: 5%;
  }
}

/*  COLOR DEL NAVBAR CUANDO ESTA EN DISPOSITIVOS MOVILES */
@media (max-width: 992px) {
  /* Aplica solo en dispositivos móviles */
  .navbar {
    background-color: #702f8a !important; /* Cambia el color a morado o el que prefieras */
  }

  .navbar-toggler {
    border-color: rgba(
      255,
      255,
      255,
      0.5
    ); /* Cambia el color del icono de las 3 barras */
  }

  .navbar-toggler-icon {
    filter: invert(1); /* Hace que el icono de las 3 barras sea blanco */
  }

  .navbar-collapse {
    background-color: #702f8a !important; /* Color de fondo del menú desplegable */
  }
}
/* carrusel de fotos que ocupe todo el ancho */
@media (max-width: 768px) {
  /* Para pantallas pequeñas */
  #carrusel-oculto {
    width: 100% !important;
    max-width: 100%;
    padding: 0; /* Elimina padding si es necesario */
  }

  .carousel.slide {
    width: 100% !important;
  }

  .carousel-inner {
    width: 100%;
  }

  .carousel-item img {
    width: 100%;
    object-fit: cover; /* Ajusta la imagen */
  }
}

/* animacion al abrir la web */
body {
  opacity: 0;
  animation: fadeIn 1.5s ease-in-out forwards;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
