@import url(https://db.onlinewebfonts.com/c/543092172c7d9a62dc51fa0fc510b6cf?family=Everett+Regular);

:root {
  --verde: #219150;
  --rojo-claro: #a12a1ace;
  --negro: #10221b;
  --gris: #656262;
  --blanco: #fff;
  --blanco-suave: #eee;
  --border: 2px solid var(--negro);
  --box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.1);
  --rosa: rgba(255, 0, 0, 0.8);

}
h4 {
  color: var(--gris);
  font-size: 2.5rem;
  text-align: center;
}

h5 {
  color: var(--gris);
  font-size: 1.7rem;
}

h6 {
  color: var(--gris);
  font-size: 1.2rem;
}


h2 {
  color: var(--rosa);
  font-weight: bold;
  font-size: 3rem;
}


a {
  text-decoration: none;
}

*,
*::before,
*::after {
  box-sizing: inherit;
}

/*fuentes*/
* {
  font-family: 'Everett Regular', sans-serif;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  outline: none;
  border: none;
  text-decoration: none;

}

/*Globales*/

html {
  height: 100%;
  font-size: 62.5%;
  box-sizing: border-box;
  scroll-snap-type: y mandatory;

}

body {
  padding: 0 !important;

}

section {
  padding: 5rem 9%;


}

section {
  margin: 0;
  /* min-height: 100vh;*/
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.1)), url(/img/base_CATDF.jpg);


}

section:before {
  content: "";
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top: 8rem;
  left: 0;
  opacity: 0.1;
  z-index: -1;

}


li {
  list-style: none;
}



.header {
  background: var(--blanco);
  box-shadow: var(--box-shadow);
  border-top: var(--box-shadow);
  position: fixed;
  top: 5;
  left: 0;
  right: 0;
  z-index: 999;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 3rem 9%;
  padding: 2rem;

}



.header .logo {
  font-size: 4rem;
  color: var(--negro);
  font-weight: bolder;
  height: 100%;
}

.header .logo img {
  height: 70px;
  width: auto;
  transition: all 0.2s;
  margin-right: auto;

}

.header .navbar .titulo {
  height: 60px;
  width: auto;
  transition: all 0.2s;

}

.header .logo img:hover {
  transform: scale(1.1);

}

/*efectos del subrayado den nav*/

.header .navbar a {
  font-size: 2rem;
  margin: 0 2rem;
  color: var(--gris);
  padding: .8rem;
  transform: scale(1.2);
  font-weight: normal;
}


.header .navbar a:hover {
  color: var(--rosa);
  display: inline-block;
  width: fit-content;
  position: relative;

}

.header .navbar a::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  bottom: 0;
  left: 0;
  background-color: var(--rosa);
  transform: scaleX(0);
  /*nosevelalinea,lasacamos*/
  transform-origin: bottom right;
  /*vaainiciardeabajoaladerechja*/
  transition: transform 0.6s ease-out;

}

.header .navbar a:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;

}

/*Fin del efecto del subrayado de nav*/





#menu-btn {
  font-size: 2.5rem;
  color: var(--blanco);
  cursor: pointer;
  display: none;
}

.header .active {
  box-shadow: var(--box-shadow);
  padding: 1rem 50% 35rem;
}

/*Responsive Escritorio*/
@media (min-width:991px) {
  .header .navbar a {
    font-size: 1.4rem;
    margin: 0 2rem;
    color: var(--gris);
    padding: .5rem;
    transform: scale(1.2);

  }

}

/*Responsive Tablet*/
@media(min-width:767px) and (max-width:990px) {
  .header .navbar a {
    font-size: 1.2rem;
    margin: 0 1rem;
    color: var(--gris);
    padding: .5rem;
    transform: scale(1.2);

  }

  .col .card {
    display: flex;
    justify-content: space-between;
    flex: 0 0 calc(50%-1rem);

  }

}

@media(max-width:767px) {
  .header .navbar a {
    font-size: 1.2rem;
    margin: 0 1rem;
    color: var(--gris);
    padding: 0.5rem;

  }


}

/*Navegación*/


.bg-light {
  background: var(--blanco) !important;
}


.dropdown-item {
  background: none !important;

}

/*Fin-Navegación*/


/*Parte Media Query*/

@media (max-width: 991px) {
  html {
    font-size: 55.5%;
  }
}

@media (max-width: 450px) {
  html {
    font-size: 50%;
  }

  .heading {
    font-size: 3rem;
  }

}

/*Inicio Home*/


.home {
  padding-top: 15em;
  text-align: center;
  overflow-x: hidden;
}

.home h1 {
  font-size: 2rem;
  text-transform: uppercase;
  color: var(--negro);

}



.row {
  display: flex;
  height: 88%;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: left bottom;
}


.col {
  flex-basis: 50%;

}


.card {
  width: 300px;
  height: 190px;
  display: inline-table;
  border-radius: 10px;
  padding: 15px 25px;
  box-sizing: border-box;
  cursor: pointer;
  margin: 10px 15px;
  box-shadow: 3px 2px 2px 1px rgba(0, 0, 0, 0.5);

}





/*tablet*/




.card h5 {
  position: absolute;
  top: auto;
  left: 0;
  right: 0;
  bottom: 1rem;
  margin: auto;

}



.col .card p {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: 2px;
  padding: 2px;
  font-size: 1.3rem;


}

.col .card:hover {
  transform: scale(1.1);
  border-color: var(--rosa);

}

.col .card span {
  display: block;
  position: absolute;
  color: var(--blanco);
  left: 1;
  right: 0;
  font-size: 1rem;
  opacity: 2;
  transform: translate(40px, 40px);
  transition: 0.6s cubic-bezier(0, 0.31, 0.22, 1.25) transform;

}



.col img {
  width: 75%;
  max-width: 1000px;
  min-width: 300px;
  margin: auto;
}

.col h3 {
  font-size: 4rem;
  color: var(--negro);
}

.col p {
  font-size: 1.5rem;
}

i {
  color: var(--rosa);
}

.icono {
  font-size: 40px;
  position: absolute;
  top: 10px;
  right: 8px;
}

/*Home End*/




/*Desplegar menu*/

@media (max-width: 905px) {
  .header.active {
    display: flex;
    text-align: center;
    box-shadow: var(--box-shadow);
    padding: 1rem 50% 30rem;
  }
}


@media (max-width: 467px) {
  #menu-btn {
    display: flex;
    flex-direction: column;
    font-size: 2.5rem;
    color: var(--light-color);
    cursor: pointer;
    display: block;
  }


  /*#menu-btn.fa-times {
    transform: rotate(190deg);
  
  }*/



  .header #login-btn .btn {
    display: none;
  }

  .header .navbar {
    position: absolute;
    top: 99%;
    left: 1;
    right: 0;
    background: var(--rojo-claro);
    border-top: var(--border);
    clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);

  }

  .header .navbar.active {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);

  }

  .header .navbar a {
    display: block;
    margin: 2rem;
    font-size: 2rem;

  }
}

/*Noticias*/
.novedades {
  background: var(--box-shadow);

}
/*EFECTO LETRAS EN NOTICIAS*/

.efecto h2 {
  margin-top: 2rem;
  padding: 2rem 1rem;
  font-size: 4rem;
  color: var(--gris);
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  border-bottom: 3px solid var(--rosa);
  animation: animate 4s linear forwards;
  padding: 2rem;
}


@keyframes animate{
  0%{
    width: 0px;
  }
  100%{
    width: 100%;
  }
}


.card-noticias {
  font-size: 1.3rem;
  width: 40rem;
  border: var(--gris) .2rem solid;
  color: var(--negro);
  border-radius: .5rem;
  padding: 2rem 1rem;
  transition: transform 0.3s;
  background-color: var(--blanco);
  cursor: pointer;
  text-align: justify;
  gap: 2rem;
  box-shadow: 3px 2px 2px 1px rgba(0, 0, 0, 0.5);
}

.card-noticias:hover {
  transform: scale(1.1);
  border: var(--rosa) .2rem solid;

}



.contenedor-noticias .grid {

  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 1rem;
  justify-content: center;

}

@media only screen and (max-width: 600px) {
  .contenedor-noticias .grid {
    grid-template-columns: auto;
    column-gap: 5rem;
    margin-top: 2rem;
  }
}


.card-body .btn {
  background-color: var(--rosa);
  border: none;
  font-size: 1.8rem;
}


.card-body .card-title {
  color: var(--negro);
  font-size: 18px;
  text-align: center;
  padding: 2rem;
}


.card-body .card-text {
  font-family: 'Everett Regular';
  font-size: 2rem;
  color: var(--negro);
  text-align: center;

}


small {
  font-size: 1rem;
}

/*modal*/
.modal-body img {
  width: 100%;
  height: 100%;
  padding: 10px;
  /* Ajusta el padding del cuerpo del card */


}

.modal-body p {
  font-size: 1.5rem;
  font-family: 'Everett Regular';
  color: var(--negro);
  text-align: center;

}

.modal-content .modal-body p {
  font-size: 1.5rem;
  font-family: 'Everett Regular';
  color: var(--negro);
  text-align: center;
  text-align: justify;


}


.modal-body h3 {
  text-align: center;
  font-weight: bold;
}

.modal-header h1 {
  font-size: 2rem;
}

.card-img-top {
  max-width: 100%;
  /* Ajusta el ancho máximo de la imagen */
  height: auto;
  /* Permite que la imagen mantenga su proporción */
}





.contenedor-noticias {
  margin: 0;
  min-height: 100vh;
  background: var(--box-shadow);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  margin-top: 7rem;

}



.contenedor-noticias:before {
  content: "";
  width: 100%;
  min-height: 100vh;
  position: absolute;
  top: 8rem;
  left: 0;
  opacity: 0.1;
  z-index: -1;

}




/*elemento sonre noticias*/
.elementor-post__badge {
  position: absolute;
  top: 0;
  background: #69727d;
  color: #fff;
  font-size: 12px;
  padding: .6em 1.2em;
  line-height: 1;
  font-weight: 400;
  margin: 20px;
  border-radius: 999px;
  -webkit-border-radius: 999px;
  -moz-border-radius: 999px;
  -ms-border-radius: 999px;
  -o-border-radius: 999px;
}


.g-col-6 .card-noticias {
  font-family: 'Everett Regular, sans-serif';
  font-size: 1rem;
}

.modal-footer .btn {
  background-color: var(--rosa);
  border: none;
  font-size: 1.8rem;
  color: var(--blanco);


}


/**Boton de descargar**/
.download-btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--gris);
  color: var(--blanco-suave);
  text-align: center;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: .5rem;
  border: none;
  cursor: pointer;
}

.download-btn:hover {
  transform: scale(1.1);
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
}

.box {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--rosa);
  color: var(--blanco-suave);
  text-align: center;
  text-decoration: none;
  font-size: 1.5rem;
  border-radius: .5rem;
  border: none;
  cursor: pointer;
}

.box:hover {
  transform: scale(1.1);

}

.btn-volver {
  display: flex;
  justify-content: center;
  gap: 1rem;


}





/*fin noticias*/


/*footer*/
.footer {
  position: absolute;
  width: 100%;

  min-height: 100px;


  background-color: black;
  /*    opacity: 0.5;*/
  padding: 70px 30px 20px;
  margin-top: 2rem;

}

.socialicons {
  display: flex;
  justify-content: center;
}

.socialicons a {
  text-decoration: none;
  padding: 10px;
  background-color: var(--blanco);
  margin: 10px;
  border-radius: 50%;
}

.socialicons a i {
  font-size: 1.5rem;
  color: var(--negro);
  opacity: 0.9;
}

/*hover efecto de footer*/
.socialicons a:hover .fa-facebook {
  color: rgb(24, 119, 242);
  transition: 0.5s;
}

.socialicons a:hover .fa-instagram {
  color: rgb(212, 48, 137);
  transition: 0.5s;
}


.socialicons a:hover .fa-whatsapp {
  color: #25D366;
  transition: 0.5s;
}



.socialicons a:hover .fa-twitter {
  color: rgb(29, 161, 242);
  transition: 0.5s;
}

.socialicons a:hover .fa-youtube {
  color: rgb(240, 0, 0);
  transition: 0.5s;
}



.socialicons a:hover i {
  color: var(--blanco);
  transition: 0.5s;

}



/*fin efecto de footer*/



.footer-Nav {

  margin: 30px 0;

}

.footer-Nav ul {
  display: flex;
  justify-content: center;
  list-style: nonedisc;

}

.footer-Nav ul li a {
  color: var(--blanco-suave);
  margin: 20px;
  text-decoration: none;
  font-size: 1.5rem;
  opacity: 0.7;
  transition: 0.5s;

}

.footer-Nav ul li a:hover {
  opacity: 3;
}

.footer-Botton {
  background-color: #000;
  padding: 20px;
  text-align: center;

}

.footer-Botton p {
  color: var(--blanco-suave);
  opacity: 0.7;
  text-align: center;

}

/*footer responsive*/
@media(max-width:700px) {
  .footer-Nav ul {
    flex-direction: column;
  }

  .footer-Nav ul li {
    width: 100%;
    text-align: center;
    margin: 10px;
  }
}




/*fin Footer*/