@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;700&display=swap");


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  font-family: "Poppins", sans-serif;
  height: 100%;
}

body {
  background: #fcfcfc;
}

body.no-scroll {
  overflow: hidden;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(
    0,
    0,
    0,
    0.5
  ); /* Adjust the alpha value for transparency */
  z-index: 1000; /* Ensure it's on top of other elements */
  display: none; /* Initially hidden */
}

.home-cabecera {
  display: block;
  margin: 0 auto;
  border-radius: 5px;
  margin-bottom: 3rem;
  width: 100%;
}

.text-center {
  text-align: center;
}

.layout {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.title {
  text-align: center;
  margin-bottom: 3rem;
  text-transform: uppercase;
}

.header{
  height: 290px;
  width:100%;
}

.menu {
  background-color: #1482db;
  color: #fff;
  height: 70px;
  z-index: 2000; /* Ensure the content is on top of the backdrop */
  position: relative;
}

.menu__container {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}

.menu__links {
  height: 100%;
  transition: transform 0.5s;
  display: flex;
  flex-wrap: wrap;
  z-index: 1;
}

.menu__item {
  list-style: none;
  position: relative;
  --clip: polygon(0 0, 100% 0, 100% 0, 0 0);
  --transform: rotate(-90deg);
}

.menu__item:hover {
  --clip: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  --transform: rotate(0);
  z-index: 1;
}

.menu__link {
  color: #fff;
  text-decoration: none;
  padding: 0 20px;
  display: flex;
  height: 100%;
  align-items: center;
}

.menu__link:hover {
  background-color: #0870d1;
}

.menu__arrow {
  transform: var(--transform);
  transition: transform 0.3s;
  display: block;
  margin-left: 3px;
}

.menu__nesting {
  list-style: none;
  transition: clip-path 0.3s;
  clip-path: var(--clip);
  position: absolute;
  bottom: 0;
  width: max-content;
  transform: translateY(100%);
  background-color: #1482db;
  min-width: 100%;
}

.menu__link--inside {
  padding: 10px;
}

.menu__link--inside:hover {
  background-color: #798499;
}

.menu__hamburguer {
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 15px;
  cursor: pointer;
  display: none;
}

.menu__img {
  display: block;
  width: 36px;
}

@media (max-width: 800px) {
  .menu__hamburguer {
    display: flex;
  }

  .menu__item {
    --clip: 0;
    overflow: hidden;
  }

  .menu__item--active {
    --transform: rotate(0);
    --background: #5e7094;
  }

  .menu__item--show {
    background-color: var(--background);
  }

  .menu__links {
    position: absolute;
    max-width: 400px;
    width: 100%;
    height: 70vh;
    top: 70px;
    bottom: 0;
    left: 0;
    background-color: #1482db;
    overflow-y: auto;
    display: grid;
    grid-auto-rows: max-content;
    transform: translateX(-100%);
  }

  .menu__links--show {
    transform: unset;
    width: 100%;
  }

  .menu__link {
    padding: 25px 0;
    padding-left: 30px;
    height: auto;
  }

  .menu__arrow {
    margin-left: auto;
    margin-right: 20px;
  }

  .menu__nesting {
    display: grid;
    position: unset;
    width: 100%;
    transform: translateY(0);
    height: 0;
    transition: height 0.3s;
  }

  .menu__link--inside {
    width: 90%;
    margin-left: auto;
    border-left: 1px solid #798499;
  }
}

.link {
  color: #1482db;
  font-weight: bold;
  text-decoration: none;
}
/*Contenedor de parrafos*/
.contenedor {
  display: flex;
  text-align: justify;
  align-items: center;
  gap: 5rem;
}

.image {
  display: block;
  margin: 0 auto;
  width: 400px;
  border-radius: 10px;
}

.image-documents {
  height: auto;
  width: auto;
  display: block;
  margin: 0 auto;
  min-width: 0 !important;
  padding: 1rem;
}

.list-books {
  list-style: auto;
}

.list-books li {
  padding-bottom: 4rem;
  display: flex;
  justify-content: center;
  gap: 2rem;
}

.image-container {
  width: 300px;
}

.image-books {
  width: 233px;
  border-radius: 5px;
  max-height: 300px;
  margin-left: auto;
  margin-right: auto;
  display: block;
}

/*Contenedor emblemas*/
.image-full {
  display: block;
  margin: 0 auto;
  width: 100%;
  max-height: 1000px;
  border-radius: 10px;
}

.container .info {
  margin: 2rem 0;
}

.caption span {
  text-align: center;
  display: block;
}

.split-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-bottom: 4rem;
}

.split-container:last-of-type {
  margin-bottom: 0;
}

.split-container > * {
  flex: 1;
}

.split-container img {
  min-width: 400px;
}

.logo-amazon {
  width: 200px !important;
}

/*Collapsible */

.collapsible {
  background-color: #758fa7;
  color: white;
  cursor: pointer;
  padding: 18px;
  width: 100%;
  border: none;
  text-align: left;
  outline: none;
  font-size: 15px;
  border-radius: 5px;
  margin-top: 5px;
}

.collapsible-active,
.collapsible:hover {
  background-color: #0870d1;
}

.collapsible-active {
  margin-bottom: 0;
  border-radius: 5px 5px 0 0;
}

.collapsible-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.2s ease-out;
  background-color: #f1f1f1;
  border-radius: 0 0 5px 5px;
}

.collapsible-content p {
  padding: 1rem;
}

/*Otros Productos*/

.otrosproductos {
  max-width: 1200px;
  padding: 10px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  /* oculto lo que queda fuera del .contenedor */
  contain: paint;
}
/* SECCION CONTENEDOR DE ITEMS */
.otrosproductos .productos-items {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  grid-gap: 30px;
  grid-row-gap: 30px;
  /* width: 60%; */
  width: 100%;
  transition: 0.3s;
}
.otrosproductos .productos-items .item {
  max-width: 200px;
  margin: auto;
  border: 1px solid #666;
  border-radius: 10px;
  padding: 20px;
  transition: 0.3s;
}
.otrosproductos .productos-items .item .img-item {
  width: 100%;
}
.otrosproductos .productos-items .item:hover {
  box-shadow: 0 0 10px #666;
  scale: 1.05;
}
.productos .productos-items .item .titulo-item {
  display: block;
  font-weight: bold;
  text-align: center;
  text-transform: uppercase;
}
.otrosproductos .productos-items .item .precio-item {
  display: block;
  text-align: center;
  font-weight: bold;
  font-size: 22px;
}

.otrosproductos .productos-items .item .boton-item {
  display: block;
  margin: 10px auto;
  border: none;
  background-color: black;
  color: #fff;
  padding: 5px 15px;
  border-radius: 5px;
  cursor: pointer;
}

/* SECCION RESPONSIVE */
@media screen and (max-width: 850px) {
  .otrosproductos {
    display: block;
  }
  .productos-items {
    width: 100% !important;
  }
}

/*Pie de Pagina*/
.pie-pagina {
  width: 100%;
  background-color: #0a141d;
  text-align: justify;
}
.pie-pagina .grupo-1 {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-gap: 50px;
  padding: 45px 1rem;
}
.pie-pagina .grupo-1 .box figure {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.pie-pagina .grupo-1 .box figure img {
  width: 250px;
}
.pie-pagina .grupo-1 .box h2 {
  color: #fff;
  margin-bottom: 25px;
  font-size: 20px;
}
.pie-pagina .grupo-1 .box p {
  color: #efefef;
  margin-bottom: 10px;
}

.pie-pagina .grupo-1 .red-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pie-pagina .grupo-1 .red-social a {
  display: inline-block;
  text-decoration: none;
  width: 45px;
  height: 45px;
  line-height: 45px;
  color: #fff;
  background-color: #0d2033;
  text-align: center;
  transition: all 300ms ease;
}
.pie-pagina .grupo-1 .red-social a:hover {
  color: rgb(36, 144, 233);
}
.pie-pagina .grupo-2 {
  background-color: #0a1a2a;
  padding: 15px 10px;
  text-align: center;
  color: #fff;
}
.pie-pagina .grupo-2 small {
  font-size: 15px;
}
@media screen and (max-width: 800px) {
  .pie-pagina .grupo-1 {
    width: 90%;
    grid-template-columns: repeat(1, 1fr);
    grid-gap: 30px;
    padding: 35px 0px;
  }
}

/*Whatsaap*/
.whatsapp {
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 40px;
  background-color: #25d366;
  color: #fff;
  border-radius: 50px;
  text-align: center;
  font-size: 30px;
  z-index: 100;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-icon {
  margin-top: 13px;
}

.whatsapp:hover {
  animation: bounce 0.8s ease infinite;
  background-color: #128C7E;
  box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.3);
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-20px);
  }
  60% {
    transform: translateY(-10px);
  }
}



/*Boton de ir arriba*/
html {
  scroll-behavior: smooth;
}

.container {
  width: 100%;
  max-width: 1200px;
  padding: 100px 20px;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: justify;
  flex: 1;
}

.btn-scrolltop {
  position: fixed;
  bottom: 20px;
  right: 20px;
  padding: 15px 20px;
  background: red;
  color: white;
  border: 1px solid white;
  border-radius: 100%;
  cursor: pointer;
  transform: translateY(100px);
  transition: 0.3s;
}

.btn-scrolltop-on {
  transform: translateY(0);
}

/* Slider pagos y donativos */

.layout-slider {
  width: 100%;
  overflow: hidden;
}

.slider-contenedor {
  width: 100%;
  display: flex;
}

.contenido-slider {
  width: 100%;
  margin-top: 1rem;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-shrink: 0;
}

.contenido-slider:nth-child(2) {
  background: #ffffff;
  color: #ffffff;
}

.contenido-slider:nth-child(3) {
  background: #ffffff;
}

.contenido-slider > img {
  width: 400px;
}

.contenido-slider > div {
  width: 40%;
}

.contenido-slider h2 {
  font-weight: 300;
  text-align: justify;
  line-height: 30px;
}

.contenido-slider a {
  color: #ffffff;
  background: #ffffff;
  width: 100px;
  display: block;
  padding: 15px 0;
  text-align: center;
  border-radius: 3px;
  margin-top: 20px;
  text-decoration: none;
}

.contenido-slider:nth-child(2) a {
  background: #ffffff;
  color: #ffffff;
}

@media screen and (max-width: 900px) {
  .contenido-slider > img {
    width: 250px;
  }

  .contenido-slider > div {
    width: 40%;
  }

  .contenido-slider h2 {
    font-size: 23px;
  }
}

@media screen and (max-width: 600px) {
  .contenido-slider {
    flex-direction: column-reverse;
  }

  .contenido-slider > div {
    width: 80%;
  }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
  .image {
    width: 100%;
  }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {

  .header{
    height: auto;
  }

  .menu {
    /*position: fixed;*/
    width: 100%;
    height: 70px !important;
    border-bottom: 1px solid #fff;
  }

  .list-books li {
    flex-direction: column;
    align-items: center;
  }

  section.menu__container {
    justify-content: end;
  }
}

/* Large devices (desktops, 992px and up) */
@media (max-width: 992px) {
  .contenedor,
  .split-container {
    flex-direction: column;
  }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (max-width: 1200px) {
  .menu {
    height: 100px;
  }
}
