* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  overflow-x: hidden;
}

:root {
  --color-primary: #a91632;
  --color-secundary: #132b43;
  --color-three: #717171;
  /* --color-four: #414141; */
}

@font-face {
  font-family: "Bebas Neve";
  src: url(../assets/fonts/BebasNeue-Regular.ttf);
  font-display: swap;
}

@font-face {
  font-family: "Gothic";
  src: url(../assets/fonts/Gothic.ttf);
  font-display: swap;
}



h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Bebas Neve", sans-serif;
}

h1 {
  font-size: 40px;
  font-weight: 800;
}

h2 {
  font-size: 35px;
  font-weight: 700;
}

h3 {
  font-size: 30px;
  font-weight: 600;
}

h4 {
  font-size: 28px;
}

h5 {
  font-size: 26px;
}

h6 {
  font-size: 24px;
}

p {
  font-size: calc(0.4rem + 1vw);
}

.btn {
  font-weight: 600;
  font-size: 16px;
  padding: 2px;
  transform: scale(1);
  transition: transform .4s;
}

.btn:hover {
  transform: scale(1.05);
  transition: transform .4s;
}

p,
.btn {
  font-family: "Gothic", sans-serif;
}

.section-my {
  margin: 80px 0;
}

figure,
picture {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 995px) {
  h1 {
    font-size: 35px;
  }

  h2 {
    font-size: 28px;
  }

  h3 {
    font-size: 26px;
  }

  h4 {
    font-size: 24px;
  }

  h5 {
    font-size: 22px;
  }

  h6 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  .btn {
    font-size: 15px;
  }

  p,
  .btn {
    font-size: calc(0.8rem + 1vw);
  }

}

.navbar {
  background-color: var(--color-secundary);
  padding: 15px;
}

.navbar .nav-item {
  padding: 0 5px;
}

.navbar .nav-item .nav-link {
  color: white;
  font-size: 18px;
  font-weight: 500;
  padding: 10px;
}

.navbar .nav-item .nav-link.active {
  color: white;
  font-weight: 800;
  text-decoration: none;
}

.navbar-nav .nav-link.show {
  color: white !important;
}

.navbar .nav-item .nav-link.nav-aule {
  background-color: var(--color-primary);
  border-radius: 30px;
  border: 2px solid black;
  font-weight: 700;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 9%;
}

.dropdown-menu {
  margin-top: 5px !important;
  background-color: var(--color-secundary) !important;
  border-radius: 0 !important;
  border: 0px !important;
}

.dropdown-menu .dropdown-item {
  color: white;
  font-weight: 600;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-primary);
  color: white;
}

.navbar .nav-item .nav-link.active {
  border-bottom: 2px solid var(--color-primary);
}

.navbar-icon {
  font-size: 25px;
}

.navbar-toggler {
  border: none !important;
  color: white !important;
}

.navbar-toggler:focus {
  box-shadow: none !important;
}

.offcanvas {
  background-color: var(--color-primary) !important;
  max-width: 100%;
}

.offcanvas-body .nav-item .nav-link {
  text-align: center;
}

@media screen and (max-width: 995px) {
  .navbar .nav-item .nav-link.nav-aule {
    background-color: var(--color-secundary);
    border-radius: 30px;
    border: 2px solid black;
    font-weight: 700;
  }


}


/*


@media (max-width:580px) {
  .coverpage {
    background-image: url(../assets/coverpage/bg-portada.webp);
    background-size: cover ;
    height: auto;
    display: flex;
    padding: 20px;
  }

  .container-text-coverpage {
    display: block;
  }

  .container-text-coverpage img {
    width: 25%;
    height: auto;
  }

  .container-text-coverpage .text-coverpage h1 {
    margin-top: 10px;
    color: var(--color-secundary);
    font-size: calc(2rem + 1.5vw);
    text-align: center;
  }

  .container-text-coverpage .text-coverpage .title-second {
    color: var(--color-secundary);
    font-size: calc(2rem + 1.5vw);
    text-align: center;
  }

  .container-text-coverpage .text-coverpage p {
    text-align: center;
  }

  .container-img-coverpage img {
    width: 60%;
    height: auto;
    position: relative;
  }

  .coverpage .figure-1 {
    display: none;
  }
}



@media (min-width:581px) and (max-width:995px) {
  .coverpage {
    background-image: url(../assets/coverpage/bg-portada.webp);
    background-size: cover ;
    height: 90vh;
    display: flex;
    padding: 20px;
  }

  .container-text-coverpage {
    display: block;
  }

  .container-text-coverpage img {
    width: 25%;
    height: auto;
  }

  .container-text-coverpage .text-coverpage h1 {
    margin-top: 10px;
    color: var(--color-secundary);
    font-size: calc(2rem + 1.5vw);
    text-align: center;
  }

  .container-text-coverpage .text-coverpage .title-second {
    color: var(--color-secundary);
    font-size: calc(2rem + 1.5vw);
    text-align: center;
  }

  .container-text-coverpage .text-coverpage p {
    text-align: center;
  }

  .container-img-coverpage img {
    width: 60%;
    height: auto;
    position: relative;
  }

  .coverpage .figure-1 {
    display: none;
  }
} */
/* .coverpage {
  background-image: url(../assets/coverpage/portada-nueva.webp);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  padding: 12rem 0;
  display: flex;
  align-items: center;
  position: relative;
}


.container-text-coverpage {
  margin-bottom: 5cm;
  display: flex;
  align-items: flex-start;
}


.container-text-coverpage picture img {
  width: 120px;
  height: auto;
  margin-right: 50px;
  margin-left: 50px;
}
.container-text-coverpage .text-coverpage h1 {
  color: var(--color-secundary);
  font-size: 40px;
  font-weight: 900;
}
.container-text-coverpage .text-coverpage p {
  text-align: justify;
  
}
.container-img-coverpage picture img {
  width: 90%;
  height: auto;
  position: relative;
  bottom: -30%;
}
.coverpage .figure-1 {
  width: 25%;
  height: auto;
  position: absolute;
  bottom: 5%;
  left: 5%;
}
.coverpage .btn-coverpage {
  background-color: var(--color-secundary);
  color: white;
  font-weight: 700;
} */


/* @media (min-width:1500px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada-nueva.webp);
    background-repeat: no-repeat;
    background-position: center;
    background-size:cover;
    height: 100vh;
    width: 100%;
    padding: 12rem 0;
    display: flex;
    align-items: center;
    position: relative;
  }

  
.container-text-coverpage {
  display: flex;
  align-items: flex-start;
  margin-left: 130px;
  margin-bottom: 8cm;
}
.container-text-coverpage picture img {
  width: 120px;
  height: auto;
  margin-right: 50px;
  margin-left: 50px;
}
.container-text-coverpage .text-coverpage h1 {
  color: var(--color-secundary);
  font-size: 60px;
  font-weight: 900;
  
}
.container-text-coverpage .text-coverpage p {
  text-align: justify;
  font-size: 25px;
}
.container-img-coverpage picture img {
  width: 90%;
  height: auto;
  position: relative;
  bottom: -30%;
}
.coverpage .figure-1 {
  width: 25%;
  height: auto;
  position: absolute;
  bottom: 5%;
  left: 5%;
}
.coverpage .btn-coverpage {
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
  margin-left: 5px;
  }
}






@media (max-width:580px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada-nueva.webp);
    background-size: cover ; 
    background-position: center; 
    display: flex;
    padding: 20px; 
    height: auto;
  } 

}
@media (min-width:581px) and (max-width:995px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada-nueva.webp);
    background-size: cover ; 
    background-position: center; 
    display: flex;
    padding: 20px; 
    height: auto;
  }
  
}






@media screen and (max-width: 996px) {
  .coverpage {
    padding: 8rem 1.5rem;
  }
  .container-img-coverpage picture img,
  .coverpage .figure-1 {
    display: none;
  }
}
@media screen and (max-width: 995px) {
  .coverpage {
    padding: 3rem 1.5rem;
  }
  .container-text-coverpage {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .container-text-coverpage picture img {
    display: none;
  }
  .container-text-coverpage .text-coverpage h1,
  .container-text-coverpage .text-coverpage p {
    display: none;
  }
  .container-text-coverpage .text-coverpage .btn-inscribirme {
    display: block;
    font-size: 1.2rem; 
  }
} */

.welcome {
  position: relative;
}

.welcome h2 {
  text-align: center;
  font-size: 40px;
}

.container-btn-welcome {
  display: block;
  margin: auto;
  width: min-content;
}

.welcome .btn.btn-welcome {
  background-color: var(--color-secundary);
  color: white;
}

.container-welcome img {
  width: 100%;
  max-width: 100%;
  height: 100%;
}

.welcome figure.figures-0-1 {
  position: absolute;
  top: 50px;
  left: 80px;
}

.welcome figure.figures-0-1>img {
  width: 120px;
  height: 50%;
}

.welcome figure.figures-1 {
  position: absolute;
  bottom: -80px;
  left: 170px;
}

.welcome figure.figures-2 {
  position: absolute;
  top: 120px;
  right: 280px;
}

.welcome figure.figures-3 {
  position: absolute;
  top: 300px;
  left: -50px;
}

.welcome figure.figures-4 {
  position: absolute;
  bottom: -90px;
  right: 100px;
}

.welcome figure.figures-1>img,
.welcome figure.figures-2>img,
.welcome figure.figures-3>img,
.welcome figure.figures-4>img {
  width: 50px;
  height: 50px;
}

.welcome .row .col-lg-3:nth-child(2)>picture>img,
.welcome .row .col-lg-3:nth-child(3)>picture>img {
  position: relative;
  bottom: -100px;
}

@media screen and (max-width: 991px) {

  .welcome .row .col-lg-3:nth-child(2)>picture>img,
  .welcome .row .col-lg-3:nth-child(3)>picture>img {
    position: relative;
    bottom: 0;
  }

  .welcome figure.figures-0-1 {
    position: absolute;
    top: 100px;
    left: -20px;
  }

  .welcome figure.figures-1 {
    position: absolute;
    bottom: -50px;
    left: 20px;
  }

  .welcome figure.figures-2 {
    position: absolute;
    top: 120px;
    right: 0px;
  }

  .welcome figure.figures-3 {
    position: absolute;
    top: 300px;
    left: -10px;
  }

  .welcome figure.figures-4 {
    position: absolute;
    bottom: -10px;
    right: 0px;
  }
}

.section-school {
  padding: 20px;
  background: var(--color-secundary);
  color: #fff;
  text-align: center;
}

.section-school h2 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.section-school p {
  font-size: 1.2rem;
  margin-bottom: 20px;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  padding: 20px;
}

.school-card {
  background-color: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  width: 300px;
  overflow: hidden;
  text-align: center;
  transition: transform 0.3s;
}

.school-card:hover {
  transform: translateY(-10px);
}

.school-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.school-card h2 {
  font-size: 1.5rem;
  margin: 10px 0;
  color: #333;
}

.school-card a {
  display: inline-block;
  margin: 10px 0;
  padding: 10px 20px;
  background-color: var(--color-secundary);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  font-size: 1rem;
  transition: background-color 0.3s;
}

.school-card a:hover {
  background-color: #1a5dbb;
}

.school-supplies {
  position: relative;
  background: url('../assets/coverpage/horarios-de-clases.webp') no-repeat center center;
  background-size: cover;
  padding: 50px;
  border-radius: 15px;
  text-align: center;
  height: 450px;
  color: white;
  font-family: 'Comic Sans MS', cursive, sans-serif;
  overflow: hidden;
  box-shadow: 0px 5px 15px 8px rgba(0, 0, 0, 0.2);
}

/* Capa oscura (overlay) */
.school-supplies::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  /* Efecto de oscurecimiento */
  z-index: 1;
}

/* Asegurar que el contenido esté encima del overlay */
.school-supplies>* {
  position: relative;
  z-index: 2;
}

.school-supplies h2 {
  font-size: 2em;
  margin-bottom: 30px;
}

.grade-button {
  margin: 0.5rem;
  background-color: #b31b1b;
  color: white;
  text-decoration: none;
  padding: 10px 20px;
  border-radius: 50px;
  font-size: 1em;
  transition: transform 0.3s ease-out;
  display: inline-block;
  max-width: 150px;
}

.grade-button:hover {
  background-color: var(--color-secundary);
  transform: translateY(-5px);
  color: #fff;
  ;
}

.us {
  margin-top: 200px;
}

.us h2 {
  font-size: 40px;
}

.container-img-us picture img {
  display: block;
  margin: auto;
  width: 50%;
  height: auto;
}

.container-text-us {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.us .btn.btn-us {
  background-color: var(--color-primary);
  color: white;
  height: 50px;
  border-radius: 15px;
  display: inline-block;
  margin: 0;


}

.container-us-mv {
  text-align: center;
  padding: 40px;
}

.line-us-mv {
  border-right: 2px solid rgb(165, 165, 165);
}

.container-us-mv h3 {
  font-size: 35px;
}

.container-us-mv p {
  text-align: justify;
}

@media screen and (max-width: 991px) {
  .us {
    margin-top: 50px;
  }

  .container-img-us picture img {
    width: 40%;
    margin-bottom: 20px;
  }

  .container-text-us figure img {
    position: absolute;
    top: 15px;
  }

  .container-us-mv {
    padding: 10px;
  }
}

@media screen and (max-width: 784px) {
  .line-us-mv {
    border-right: none;
  }
}

/* Efecto de sombra y elevación en las tarjetas */
.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

/* Efecto de zoom en las imágenes al pasar el mouse */
.card-img-top {
  transition: transform 0.3s ease;
  width: 700px;
  height: 300px;
  object-fit: cover;
}

.card-img-top:hover {
  transform: scale(1.05);
}

/* Estilo del pie de la tarjeta */
.card-footer {
  background-color: #f8f9fa;
  font-size: 0.875rem;
}

/* Transición suave para todos los elementos */
.transition-all {
  transition: all 0.3s ease;
}

/* Sombra más fuerte al hacer hover sobre la tarjeta */
.card:hover {
  box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.15);
}

/* Bordes redondeados para un acabado suave */
.rounded-3 {
  border-radius: 1rem;
  text-align: justify;
}

.container-calendar {
  padding: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.fc-prev-button,
.fc-next-button {
  background-color: var(--color-primary);
  border: none;
}

.fc-prev-button:hover,
.fc-next-button:hover {
  background-color: var(--color-secundary);
}

.date-featured {
  margin-top: 40px;
}

.date-featured h3 {
  font-size: 35px;
  text-align: center;
  color: black;
}

.container-card-date.card-date-bg-1,
.container-card-date.card-date-bg-2 {
  background-color: var(--color-primary);
  color: white;
}

.container-card-date {
  padding: 20px;
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 0px 0px 3px #41414131;
  border: 1px solid #7c1024;
}

.container-card-date h4 {
  margin-bottom: 0;
}

.circle-date {
  width: 60px;
  height: 60px;
  background-color: white;
  border-radius: 50px;
  border: 1px solid #414141d3;
}

@media screen and (max-width: 995px) {
  .container-calendar {
    padding: 20px;
  }
}

.gallery {
  padding-top: 120px;
  padding-bottom: 120px;
  position: relative;
}

.gallery .figure-bg-1 {
  position: absolute;
  top: 0;
}

.gallery .btn.btn-gallery {
  background-color: var(--color-primary);
  color: white;
  font-weight: 700;
}

.gallery figure.figure-bg-1 img {
  width: 50%;
  height: 50%;
}

.gallery .gallery-logo {
  width: 50%;
  display: block;
  margin: auto;
}

.gallery .figure-bg-2 {
  position: absolute;
  bottom: -50px;
  right: 0;
}

.gallery figure.figure-bg-2 img {
  width: 50%;
  height: 50%;
}

.gallery .card.card-gallery {
  border: none;
  height: auto;
  box-shadow: 1px 1px 1px rgba(179, 177, 177, 0.293);
}

.gallery .card.card-gallery img {

  max-width: 100%;
  border-radius: 5px;
  width: 100%;
  height: 180px;
}

.card-gallery img {

  max-width: 100%;
  border-radius: 5px;
  width: 350px;
  height: 260px;


}

.gallery .row>div {
  display: flex;
}

.izada img {
  border: 5px solid var(--color-secundary);
  border-radius: 0 40px 40px 40px;
  margin: auto;
  height: auto;
  width: auto;
  position: relative;
  left: 20%;
}

.container-izada p {
  text-align: justify;
  font-size: 20px;

}

.container-izada {
  background-color: #fff;
  padding: 3rem;
  border-radius: 10px;
  margin-top: 2rem;
  box-shadow: 0px 4px 8px rgb(0, 0, 0, 0.1);
}

.container-izada h1 {
  font-size: 50px;
  font-weight: 700;
  color: var(--color-secundary);
}

.container-izada p {
  font-size: 25px;
}

.container-izada:hover {
  transform: scale(1.05);
  transition: 0.5s;
}


.container-izada .btn-izada {
  padding: 12px 24px;
  font-size: 1.1rem;
  color: #fff;
  background-color: var(--color-secundary);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  display: block;
  position: relative;
  animation: pulse 2s infinite;
}

.container-izada a {
  text-decoration: none;
  color: #fff;


}

.container-izada .btn-izada:hover {
  background-color: var(--color-secundary);
  color: #fff;

}

@keyframes pulse {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}


.values h2 {
  margin-top: 5rem;
  margin-bottom: 1.2em;
  font-size: 40px;
  font-weight: 600;
  text-align: center;
}

.values .card.card-values {
  /* background-color: var(--color-four); */
  height: 100%;
  border-radius: 20px;
  box-shadow: 1px 1px 10px rgba(0, 0, 0, 0.061);
}

.values .card.card-values.card-v1 {
  background-color: #f0f664;
}

.values .card.card-values.card-v2 {
  background-color: var(--color-secundary);
}

.values .card.card-values.card-v3 {
  background-color: var(--color-primary);
}

.values .card.card-values.card-v4 {
  background-color: #0965a6;
}

.values .card.card-values .body {
  padding: 30px;
}

.values .card.card-values .body h3 {
  color: white;
  font-size: 24px;
  font-weight: 600;
  text-align: center;
}

.values .card.card-values .body img {
  width: 80px;
  display: block;
  margin: 25px auto;
}



@media screen and (max-width: 995px) {
  .gallery {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .gallery .figure-bg-2 {
    position: absolute;
    bottom: -30px;
    right: 0;
  }

  .izada img {
    width: 100%;
    height: auto;
    margin-top: 2px;
    display: none;
  }

  .familia img {
    width: 100%;
    height: auto;
    margin-top: 2px;
    display: none;
  }

}

.container-contact {
  background-color: var(--color-three);
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
  height: 350px;
}

.container-contact .line-contact h2 {
  font-size: 40px;
  text-align: center;
}

.container-contact .line-contact h2,
.container-contact p {
  color: white;
}

.container-contact i {
  background-color: var(--color-primary);
  padding: 10px;
  border-radius: 50px;
  width: 38px;
  text-align: center;
  margin-right: 10px;
}

.line-contact {
  border-right: 2px solid white;
  padding-left: 120px;
}

.container-contact figure img {
  position: absolute;
  width: 50px;
  height: 50px;
}

.line-contact figure img {
  top: 10%;
  left: 5%;
}

.container-img-contact figure img {
  top: 1%;
  right: 8%;
}

.container-img-contact {
  position: relative;
}

.container-img-contact picture img.img-contact {
  position: absolute;
  width: 53%;
  height: auto;
  top: 0;
  left: 0;
  right: 0;
  bottom: calc(-30.5% + 0.9vw);
  margin: auto;
}

@media screen and (min-width: 1440px) {
  .container-img-contact picture img.img-contact {
    bottom: -15.5%;
  }
}

@media screen and (max-width: 995px) {
  .container-contact {
    padding: 20px;
  }

  .line-contact {
    border-right: none;
    padding-left: 30px;
  }

  .line-contact figure img {
    display: none;
  }

  .container-img-contact img {
    display: none;
  }
}

footer {
  background-image: url(../assets/footer/footer.webp);
  background-repeat: no-repeat;
  background-size: cover;
  padding: 40px;
}

footer .container-footer {
  margin-top: 150px;
}

footer .container-footer picture img {
  max-width: 100%;
  width: 50%;
  height: 100%;
}

footer .container-footer h3 {
  font-size: 35px;
}

footer .container-footer h3,
footer .container-footer p {
  color: white;
}

.rectangle-footer {
  width: 100%;
  background-color: var(--color-secundary);
  border-radius: 50px;
  height: 30px;
}


.fixed-socials {
  background-color: white;
  border-radius: 50px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  height: 225px;
  width: 60px;
  max-width: 100%;
  top: 30%;
  right: 3%;
  bottom: 0;
  z-index: 1000;
}

.fixed-socials picture img {
  width: 50%;
  height: auto;
  display: block;
  margin: 8px auto;
}

.bgColorSocials {
  background-color: var(--color-primary);
  transition: all 0.8s;
}

.transitioSocials {
  transition: all 0.8s;
}

.swal-button {
  background-color: var(--color-primary);
}

.swal-button:active {
  background-color: var(--color-secundary);
}

.swal-button:focus {
  box-shadow: none;
}

.swal-button:not([disabled]):hover {
  background-color: var(--color-secundary);
}

@media screen and (max-width:995px) {

  .gallery .card.card-gallery img {

    max-width: 100%;
    border-radius: 5px;
    width: 100%;
    height: auto
  }


}


/*promotion books*/
.book-section {
  background-color: var(--color-primary);
  border-radius: 20px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.7);
  margin-bottom: 30px;
}

.book-cover {
  width: 100%;
  height: auto;
  border-radius: 30px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.9);
}

.category-tabs .nav-link {
  font-weight: 600;
  color: #000;
  border: none;
  padding: 10px 20px;
  margin: 0 5px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.category-tabs .nav-link.active {
  color: #000;
  background-color: rgba(13, 110, 253, 0.1);
  border-bottom: 3px solid var(--color-secundary);
}

.book-title {
  color: #fff;
  border-left: 4px solid var(--color-secundary);
  padding-left: 15px;
  margin: 20px 0 15px;
  font-size: 2rem;
}

.book-subtitle {
  color: #fff;
  font-size: 1.3rem;
  margin-top: 20px;
}

.book-text,
.content-highlight p {
  color: #fff;
  font-size: 1rem;
  line-height: 1.6;
  text-align: justify;
}


.book-section .btn.btn-books {
  background-color: var(--color-secundary);
  color: #fff;
  border-radius: 30px;
  padding: 10px 20px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.book-section .btn.btn-books:hover {
  background-color: var(--color-three);
  color: #fff;
}

@media (max-width: 995px) {
  .book-cover {
    margin-bottom: 20px;
    max-width: 90%;
  }

  .book-title {
    font-size: 1.3rem;
  }

  .book-subtitle {
    font-size: 1.1rem;
  }

  .book-text,
  .content-highlight p {
    font-size: 0.95rem;

  }

  .book-section .btn.btn-books {
    width: 100%;
    font-size: 1rem;
    padding: 12px;
  }
}


/*end promotion books*/

/*section gallery*/
.section-gallery {
  padding: 1em 0;
}

.section-gallery h2 {
  text-align: center;
  font-weight: 600;
  font-size: 30px;
  margin-bottom: 20px;
}

.container-info-gallery {
  background-color: var(--color-secundary);
  padding: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.container-info-gallery p {
  margin: 0;
  color: white;
  font-size: 20px;
}

.list-inline {
  margin: 30px 0;
  text-align: center;
  width: 100%;
}

.list-inline-item {
  padding: 10px;
  cursor: pointer;
  position: relative;
  width: 80%;
  border-radius: 10px;
  background-color: var(--color-primary);
  color: white;

}

.list-inline-item .cont-new {
  background-color: var(--color-secundary);
  font-size: 12px;
  position: absolute;
  top: -10px;
  left: -16px;
  padding: 2px 5px;
  border-radius: 5px;
  color: white;
}

.list-inline-item:not(:last-child) {
  margin: 0 0.5rem;
}

.row.no-gutters img {
  border: 4px solid var(--color-secundary);
  border-radius: 10px;
  width: 400px;
  height: 400px;
  object-fit: cover;
}

.container-read-more {
  background-color: var(--color-primary);
  width: 100%;
  height: 300px;
  border: 4px solid var(--color-secundary);
  border-radius: 10px;
}

.container-read-more a {
  text-decoration: none;
  color: none;
}

.container-read-more i,
.container-read-more h3 {
  color: white;
  font-size: calc(1rem + 1vw);
}


@media (min-width: 995px) {
  .section-gallery {
    padding: 5em 0;
  }

  .section-gallery h2 {
    text-align: center;
    font-weight: 600;
    font-size: 45px;
    margin-bottom: 20px;
  }

  .container-info-gallery {
    background-color: var(--color-secundary);
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .container-info-gallery p {
    margin: 0;
    color: white;
    font-size: 25px;
  }

  .list-inline {
    margin: 30px 0;
    text-align: center;
  }

  .list-inline-item {
    background-color: var(--color-primary);
    padding: 10px;
    cursor: pointer;
    width: auto;
    border-radius: 10px;
    color: white;
  }

  .container-read-more {
    background-color: var(--color-primary);
    width: 100%;
    height: 100%;
    border: 4px solid var(--color-secundary);
    border-radius: 10px;
  }

  .container-read-more a {
    text-decoration: none;
    color: none;
  }

  .container-read-more i,
  .container-read-more h3 {
    color: white;
    font-size: calc(1rem + 1vw);
  }
}



.shortcut {
  right: 40px;
  top: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;

}



@media (max-width: 767px) {
  .shortcut {
    right: 15px;
  }
}

.shortcut.position-fixed {
  bottom: 20px;
}

/* Boton al costado */
.shortcut .btn.btn-primary {
  width: 50px;
  height: 50px;
  line-height: 36px;
  background: var(--color-secundary);
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
}

@media (max-width: 767px) {
  .shortcut .btn.btn-primary {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px;
  }
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  background-color: #a91632;
}




.coverpage .btn {
  background-color: var(--color-primary);
  color: white;
  padding: 25px 40px;
  position: absolute;
  font-size: 26px;
  font-weight: bold;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  bottom: 40%;
  left: 26%;
  transform: translatey(3%);
  text-decoration: none;
  z-index: 2;
}

.coverpage .btn:hover {
  background-color: var(--color-secundary);
  color: white;
  transform: scale(1.05);
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.4);
}

.coverpage .btn:active {
  transform: scale(0.98);
  box-shadow: 0px 3px 5px rgba(0, 0, 0, 0.2);
}

@media (max-width: 768px) {
  .coverpage .btn {
    padding: 15px 30px;
    font-size: 20px;
    left: 35%;
    bottom: 17%;
  }
}

@media (max-width: 480px) {
  .coverpage .btn {
    padding: 9px 18px;
    font-size: 14px;
    bottom: 35%;
    left: 19%;
  }

}