* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

:root {
  --color-primary: #CD0100;
  --color-two: #074785;
  --color-text: rgb(80, 80, 80);
}

body {
  overflow-x: hidden;
  font-family: "Comic Sans MS" !important;
}

img {
  width: 100%;
  height: auto !important;
}

.section-my {
  margin: 150px 0;
}

.btn {
  border-radius: 30px;
  font-size: calc(0.5rem + 0.9vw);
}

@font-face {
  font-family: "Comic Sans MS";
  src: url(../assets/font/Comic\ Sans\ MS.ttf);
  font-display: swap;
}

h1,
h2,
h3,
h4,
h5,
h6,
p,
a,
li {
  color: rgb(80, 80, 80);
}

h1 {
  font-size: 35px;
  font-weight: 800;
}

h2 {
  font-size: 32px;
  font-weight: 800;
}

h3 {
  font-size: 28px;
}

h4 {
  font-size: 26px;
}

h5 {
  font-size: 24px;
}

h6 {
  font-size: 22px;
}

a {
  text-decoration: none;
}

p {
  font-size: 18px;
  color: var(--color-text);
  text-align: justify;
}

picture {
  margin: 0;
  padding: 0;
}

@media screen and (max-width: 991px) {
  .section-my {
    margin: 50px 0;
  }

  h1 {
    font-size: 30px;
  }

  h2 {
    font-size: 27px;
  }

  h3 {
    font-size: 25px;
  }

  h4 {
    font-size: 23px;
  }

  h5 {
    font-size: 21px;
  }

  h6 {
    font-size: 19px;
  }

  p {
    font-size: 16px;
  }
}

.header-sub-1,
.header-sub-2 {
  width: 100%;
  color: white;
  position: relative;
}

.header-sub-1 {
  height: 5vh;
  background-color: var(--color-primary);
  padding: 20px;
}

.header-sub-1 span:nth-child(2) {
  margin-left: 15px;
}

.icon-socials-header {
  text-align: center;
}

.icon-socials-header a {
  text-decoration: none;
  color: white;
}

.icon-socials-header a i {
  margin: 0 10px;
  font-size: 18px;
}

.icon-socials-header a .icon-aule {
  width: 12%;
  height: auto;
  margin-left: 9.2px;
  margin-bottom: 4px;
}

.header-sub-2 {
  padding: 20px 20px;
  background-color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 95px;
}

.header-sub-2 img {
  max-width: 100%;
  width: 10%;
}

.header-sub-2 .title-header h1 {
  padding-left: 10px;
  text-align: center;
  color: var(--color-text);
}

.header-sub-2 .title-header h1:nth-child(1) {
  font-size: calc(0.5rem + 0.9vw);
}

.header-sub-2 .title-header h1:nth-child(2) {
  font-size: calc(0.2rem + 0.9vw);
}

.header-sub-2 .call-me i {
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  margin-right: 10px;
  padding: 10px;
  border-radius: 100px;
}

.header-sub-2 .text-header {
  color: var(--color-text);
}

.header-sub-2 .text-header span:nth-child(2) {
  color: var(--color-primary);
  font-weight: 600;
}

.header-sub-2 .btn.btn-call-me {
  background-color: var(--color-primary);
  padding: 6px;
  margin-left: 20px;
  border-radius: 50px;
  color: white;
  font-size: calc(0.3rem + 0.9vw);
}

@media screen and (max-width: 764px) {
  .header-sub-1 {
    flex-direction: column;
    padding: 22.5px 0;
  }

  .text-header-sub-1 {
    display: none;
  }

  .header-sub-2 {
    display: none !important;
  }
}

.navbar {
  position: relative;
  background-color: white;
  border-top: 2px solid rgb(225, 225, 225);
  padding-top: 5px;
  padding-bottom: 5px;
  height: 70px;
}

.navbar .offcanvas .offcanvas-body .nav-item {
  padding: 0 7px;
}



.navbar .offcanvas .offcanvas-body .nav-item .nav-link {
  color: var(--color-text);
  font-weight: 500;
  font-size: 20px;
}

.navbar .offcanvas .offcanvas-body .nav-item .nav-link-aule {
  background-color: var(--color-primary);
  color: white;
  border-radius: 50px;
  font-weight: 500;
  font-size: 20px;
}

.navbar .offcanvas .offcanvas-body .nav-item .nav-link.active {
  border-bottom: 2px solid var(--color-two);
  width: max-content;
}

.offcanvas.hiding,
.offcanvas.show,
.offcanvas.showing {
  transition: all 0.5s;
}

@media screen and (max-width: 995px) {
  .navbar-toggler {
    font-size: 23px;
    border: none !important;
  }

  .navbar-toggler i {
    color: var(--color-primary);
    position: relative;
    bottom: 1cm;
  }

  .navbar-toggler:focus {
    box-shadow: none !important;
  }

  .logo-nav-phone {
    width: 60px;
  }

  .offcanvas {
    background-color: #d4e6d5 !important;
    border-left: none !important;
  }

  .offcanvas-header .btn-close {
    margin-right: 0px !important;
    margin-bottom: 0px !important;
  }

  .navbar .offcanvas .offcanvas-body .nav-item .nav-link {
    color: black;
  }

  .navbar .offcanvas .offcanvas-body .nav-item .nav-link.active {
    color: var(--color-primary);
    text-align: center;
  }
}

@media screen and (max-width: 764px) {
  .navbar {
    border-top: 0px;
    margin-top: 5px;
  }

  .navbar .offcanvas .offcanvas-body .nav-item .nav-link {
    font-size: 18px;
  }
}

@media screen and (max-width: 567px) {
  .offcanvas-end {
    width: calc(300px + 1vw) !important;
  }
}

/*
.coverpage::after {
  background-color: rgba(0, 0, 0, 0.474);
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  z-index: -1;
}
*/
/* Styles for the cover page */
.coverpage {
  position: relative;
  width: 100%;
  height: auto;
}

.image-container {
  position: relative;
  width: 100%;
}

.cover-image {
  width: 100%;
  height: auto;
  display: block;
}

.btn-container {
  position: absolute;
  top: 75%;
  /* Ajusta para posicionar verticalmente */
  left: 18%;
  /* Ajusta para posicionar horizontalmente */
  transform: translate(50%, -50%);
  text-align: center;
}

.btn-hero {
  background-color: var(--color-primary) !important;
  color: white !important;
  padding: 10px 20px;
  font-size: 20px !important;
  border: none;
  border-radius: 5px;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  transition: all 0.3s ease;
}

.btn-hero:hover {
  background-color: #0056b3;
  box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
  transform: translateY(-2px);
}

@media screen and (min-width:1500px) {
  .btn-container {
    position: absolute;
    top: 75%;
    /* Ajusta para posicionar verticalmente */
    left: 22%;
    /* Ajusta para posicionar horizontalmente */
    transform: translate(50%, -50%);
    text-align: center;
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .btn-hero {
    font-size: 8px !important;
    padding: 8px 16px;
  }

  .btn-container {
    top: 80%;
    /* Ajusta si el botón no se ve bien en pantallas pequeñas */
    left: 12%;
  }
}


.welcome.section-my {
  margin-top: 100px;
}

.welcome h2 {
  font-weight: 700;
}

.welcome img {
  max-width: 100%;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .8));
}

.welcome .btn.btn-us {
  background-color: var(--color-two);
  color: white;
  transition: transform 0.3s ease;
}

.welcome .btn.btn-us:hover {
  transform: scale(1.1);
  color: white;
}

.button-group a {
  display: inline-block;
  margin-right: 10px;
  /* Ajusta el espacio entre botones según lo necesites */
}

@media screen and (max-width: 764px) {
  .welcome.section-my {
    margin-top: 50px;
  }

  .welcome img {
    width: 50%;
  }
}

.choose h2 {
  text-align: center;
}

.col-choose {
  padding: 12px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.263);
  border-radius: 30px;
  background-color: var(--color-two);
  height: 100%;
}

.choose img {
  display: block;
  margin: auto;
  text-align: center;
  width: 50%;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .8));
  animation: upDown 3s linear infinite alternate;
}

@keyframes upDown {
  0% {
    transform: translateY(-5%);
  }

  100% {
    transform: translatey(5%);
  }

}

.choose h3,
.choose p {
  text-align: center;
  color: white;
}

.courses {
  background-image: url(../assets/slider/cursos.webp);
  padding: 50px;
  position: relative;
  z-index: 2;
  background-size: cover;
  color: white;
  text-align: center;
}

.courses::after {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  content: "";
  background-color: #0000006d;
  z-index: -1;
}

.courses h3 {
  font-weight: 700;
}

.courses h3,
.courses p {
  color: white;
}

.courses .text-courses {
  width: 80%;
  margin: auto;
}

.courses .card.card-courses {
  border: none;
  border-radius: 20px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.194);
  transition: transform 0.3s ease;
}

.courses .card.card-courses:hover {
  transform: translateY(-5px);
  /* Efecto al pasar el ratón */

}

.courses .card.card-courses .card-body {
  padding: 30px;
}

.courses .card.card-courses img {
  border-radius: 20px 20px 0 0;
}

.courses .card.card-courses .card-body h3 {
  text-align: center;
  font-weight: 700;
  color: var(--color-two);
}

.courses .card.card-courses .card-body p {
  color: rgb(56, 56, 56);
  text-align: justify;
  margin-bottom: 0;
}

.courses .card.card-courses .card-body .btn.btn-card-courses {
  margin-top: 15px;
  background-color: var(--color-primary);
  color: white;
}

@media screen and (max-width: 995px) {
  .courses {
    padding: 30px;
    background-position: center;
  }

  .courses .text-courses {
    width: 95%;
    margin: auto;
  }

  .courses .card.card-courses img {
    max-width: 100%;
  }

  .courses .card.card-courses .card-body {
    padding: 20px;
  }
}



.horarios {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 20px;
  border-radius: 8px;
  background-color: #f9f9f9;
  /* Fondo claro para un aspecto limpio */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  color: var(--color-text);
}

.horarios h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.horarios p {
  font-size: 16px;
  margin-bottom: 20px;
}

.horario-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid var(--color-primary);
  /* Línea a la izquierda para un toque visual */
  background-color: #ffffff;
  /* Fondo blanco para contraste */
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.horario-item i {
  font-size: 24px;
  color: var(--color-two);
  /* Color de los iconos */
  margin-right: 15px;
}

.horario-info {
  display: flex;
  flex-direction: column;
}

.mensaje {
  margin-top: 20px;
  font-weight: bold;
  color: var(--color-two);
  text-align: center;
  font-size: 18px;
}



.jumbotron {
  width: 100%;
  height: 150px;
  background-color: var(--color-primary);
  position: relative;
}

.jumbotron .jumbotron-card {
  max-width: 1200px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -60px;
  padding: 30px;
  background-color: white;
  text-align: center;
  font-size: 2rem;
  color: black;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #dddddd;
}

.carousel {
  width: 100%;
  margin-top: 60px;
  position: relative;
}

.carousel .carousel__container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  overflow: auto;
  scrollbar-width: 0;
  scroll-behavior: smooth;
}

.carousel .carousel__container h3 {
  font-size: 18px;
}

.carousel .carousel__container::-webkit-scrollbar {
  display: none;
}

.carousel .carousel__left-button {
  position: absolute;
  left: 3%;
  top: 40%;
  background-color: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  user-select: none;
}

.carousel .carousel__right-button {
  position: absolute;
  right: 3%;
  top: 40%;
  background-color: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  user-select: none;
}

.carousel .carousel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin: 70px 20px;
}

.carousel .carousel__container img {
  width: 230px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.button-car {
  text-decoration: none;
  color: white;
  font-weight: 700;
  background-color: var(--color-primary);
  padding: 10px 15px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.button-car:hover {
  transform: translatey(-5px);
}


/* Galeria */
.gallery {
  margin-top: 10rem;
}

.gallery h2 {
  font-size: 60px;
  color: #000000;
  font-weight: 1000;
  font-family: 'Milky Nice', cursive;
}

.gallery p {
  font-size: 30px;
  text-align: center;
}

.gallery-image {
  margin: 40px 0 0 0;
  border-radius: 40px;
  transform: scale(1);
  transition: transform 0.4s;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, .8));
}

.gallery-image:hover {
  transform: scale(1.04);
  transition: transform 0.4s;
}

.hidden {
  display: none;
}

#toggle-button {
  margin-top: 30px;
  background-color: var(--color-primary);
  /* Color primario */
  color: #fff;
  font-weight: 900;
  border: none;
  border-radius: 25px;
  padding: 5px 30px;
  font-size: 1.2rem;
  cursor: pointer;
  transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
  outline: none;
}

#toggle-button:hover {
  background-color: var(--color-two);
  /* Color secundario */
  transform: translateY(-3px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

#toggle-button:active {
  background-color: #44b4e0;
  /* Color terciario */
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.hidden {
  display: none;
}

.btn-ver-mas {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-top: 1.5rem;
}

/* Galeria */
.calendar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.calendar h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-secundary);
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: justify;
}

.calendar p {
  font-size: 25px;
  color: #555;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
  text-align: justify;
}

.calendar-text {
  padding-right: 20px;
}

#calendar {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-height: 450px;
}


@media (max-width: 768px) {
  .calendar h1 {
    font-size: 28px;
  }

  .calendar p {
    font-size: 16px;
  }

  .calendar-text {
    text-align: center;
    padding-right: 0;
    margin-bottom: 30px;
  }

  #calendar {
    min-height: 300px;
  }
}


.container-contact {
  background-color: var(--color-two);
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
}

.container-contact h2,
.container-contact h3 {
  color: rgb(255, 255, 255);
}

.container-contact .line-contact h2 {
  font-size: calc(2rem + 1.5vw);
}

.container-contact p {
  color: white;
}

.container-contact i {
  background-color: var(--color-primary);
  padding: 10px;
  border-radius: 50px;
  width: 35px;
  text-align: center;
}

.line-contact {
  border-right: 1px solid white;
  padding-left: 120px;
}

.container-contact figure img {
  position: absolute;
  width: 50px;
  height: 50px;
}

.line-contact figure img {
  top: 5%;
  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: 84%;
  height: auto;
  top: 0;
  left: 20%;
  right: 0;
  bottom: calc(-30.5% + .8vw);
  margin: auto;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .8));
}

@media screen and (min-width: 1440px) {
  .container-img-contact picture img.img-contact {
    bottom: -10.9%;
  }

}

@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;
  }

}

.seccion-personal {
  text-align: center;
  margin: 20px;
  padding: 20px;
  background-color: transparent;
  border-radius: 8px;
  color: var(--color-text);
}

.seccion-personal p {
  text-align: center;
  color: var(--color-two);
}

.seccion-personal h2 {
  font-weight: 700;
  font-size: 40px;
  color: var(--color-primary);

}


.miembro {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 10px;
  transition: transform 0.3s;
}

.miembro:hover {
  transform: scale(1.05);
}

.foto {
  width: 150px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.info strong {
  display: block;
  font-size: 16px;
  margin-bottom: 5px;
  color: var(--color-two);
}

.info span {
  font-size: 14px;
  color: var(--color-primary);
}


.footer .footer-bg {
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  height: 500px;
  width: 100%;
}

.footer .container-footer {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 60px;
  background-color: var(--color-secundary);
}

.footer .container-footer .copyright {
  color: white;
  font-size: 16px;
}

.footer {
  background-color: var(--color-primary);
  color: #ffffff;
}


.footer .contact-info,
.footer .address {
  margin-top: 10px;
}


.rectangle-footer {
  display: block;
  width: 100%;
  background-color: var(--color-two);
  border-radius: 50px;
  height: 35px;
  margin-bottom: 30px;
}


.footer .logo-text {
  margin: 5px 0;
  color: white;
  font-weight: 800;
  text-align: center;
}


/* Estilo general */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
}

.section-title {
  font-size: 2.5rem;
  color: #2E4053;
  text-align: center;
  margin-bottom: 40px;
  font-weight: bold;
}

/* Estructura del bloque */
.content-block {
  display: flex;
  align-items: center;
  margin-bottom: 40px;
  gap: 20px;
}

/* Alterna la posición del texto e imagen */
.content-block.reverse {
  flex-direction: row-reverse;
}

.text-content {
  flex: 1;
}

.text-content h3 {
  font-size: 1.8rem;
  color: #1A5276;
  margin-bottom: 10px;
  font-weight: 600;
}

.text-content p {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #555;
}

.image-content {
  flex: 1;
}

.image-content img {
  width: 80%;
  padding: 2rem;
  height: auto;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 0 10px rgba(0, 0, 0, .8));

}

.image-content img:hover {
  transform: scale(1.1);
}

@media (max-width: 768px) {
  .content-block {
    flex-direction: column;
  }

  .content-block.reverse {
    flex-direction: column;
  }

  .image-content {
    margin-top: 20px;
  }
}

.philosophy-section {
  background-color: #f5f5f5;
  padding: 80px 20px;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

/* Estructura de la sección de filosofía */
.philosophy-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.philosophy-content i {
  color: var(--color-two);
  animation-name: InfiniteMov;
  animation-duration: 2s;
  animation-iteration-count: infinite;
  animation-direction: alternate;
  animation-timing-function: ease-in-out
}

.text-block {
  flex: 1;
}

.text-block h2 {
  font-size: 2.2rem;
  color: #1A5276;
  margin-bottom: 20px;
  font-weight: bold;
}

.text-block p {
  font-size: 1.2rem;
  line-height: 1.8;
  color: #333;
}

@keyframes InfiniteMov {
  0% {
    transform: scale(1)
  }

  100% {
    transform: scale(1.1)
  }
}



.jumbotron {
  width: 100%;
  height: 150px;
  background-color: var(--color-primary);
  position: relative;
}

.jumbotron .jumbotron-card {
  max-width: 1200px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  bottom: -60px;
  padding: 30px;
  background-color: white;
  text-align: center;
  font-size: 2rem;
  color: black;
  font-weight: 700;
  border-radius: 20px;
  border: 1px solid #dddddd;
}

.carousel {
  width: 100%;
  margin-top: 60px;
  position: relative;
}

.carousel .carousel__container {
  max-width: 1200px;
  display: flex;
  align-items: center;
  margin: 0 auto;
  overflow: auto;
  scrollbar-width: 0;
  scroll-behavior: smooth;
}

.carousel .carousel__container h3 {
  font-size: 18px;
}

.carousel .carousel__container::-webkit-scrollbar {
  display: none;
}

.carousel .carousel__left-button {
  position: absolute;
  left: 3%;
  top: 40%;
  background-color: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  user-select: none;
}

.carousel .carousel__right-button {
  position: absolute;
  right: 3%;
  top: 40%;
  background-color: var(--color-primary);
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 2rem;
  user-select: none;
}

.carousel .carousel-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  margin: 70px 20px;
}

.carousel .carousel__container img {
  width: 230px;
  height: auto;
  object-fit: cover;
  border-radius: 10px;
}

.button-car {
  text-decoration: none;
  color: white;
  font-weight: 700;
  background-color: var(--color-primary);
  padding: 10px 15px;
  border-radius: 10px;
  border: 0;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.button-car:hover {
  transform: translatey(-5px);
}


.calendar .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.calendar h1 {
  font-size: 40px;
  font-weight: 900;
  color: var(--color-secundary);
  margin-bottom: 20px;
  text-transform: uppercase;
  text-align: justify;
}

.calendar p {
  font-size: 25px;
  color: #555;
  line-height: 1.6;
  max-width: 400px;
  margin-bottom: 30px;
  text-align: justify;
}

.calendar-text {
  padding-right: 20px;
}

#calendar {
  background-color: white;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  min-height: 450px;
}


@media (max-width: 768px) {
  .calendar h1 {
    font-size: 28px;
  }

  .calendar p {
    font-size: 16px;
  }

  .calendar-text {
    text-align: center;
    padding-right: 0;
    margin-bottom: 30px;
  }

  #calendar {
    min-height: 300px;
  }
}

.horarios {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 20px;
  padding: 20px;
  border-radius: 8px;
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.0);
  color: var(--color-text);
}

.horarios h2 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--color-primary);
}

.horarios p {
  font-size: 16px;
  margin-bottom: 20px;
}

.horario-item {
  display: flex;
  align-items: center;
  margin: 10px 0;
  padding: 10px;
  border-left: 5px solid var(--color-primary);
  /* Línea a la izquierda para un toque visual */
  background-color: #ffffff;
  /* Fondo blanco para contraste */
  border-radius: 4px;
  width: 100%;
  max-width: 400px;
  box-shadow: 0 1px 5px rgba(0, 0, 0, 0.1);
}

.horario-item i {
  font-size: 24px;
  color: var(--color-two);
  /* Color de los iconos */
  margin-right: 15px;
}

.horario-info {
  display: flex;
  flex-direction: column;
}

.mensaje {
  margin-top: 20px;
  font-weight: bold;
  color: var(--color-two);
  text-align: center;
  font-size: 18px;
}


.shortcut {
  right: 40px;
  top: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}


.shortcut:hover {
  transform: scale(1.1);
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;

}



@media (max-width: 767px) {
  .shortcut {
    right: 15px;
  }
}

.shortcut.position-fixed {
  bottom: 20px;
}

.shortcut i {
  font-size: 25px;
}

/* Boton al costado */
.shortcut .btn.btn-primary {
  width: 50px;
  height: 50px;
  line-height: 36px;
  background: var(--color-two);
  border-radius: 50px;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
  transition: transform 0.3s ease;
}

@media (max-width: 767px) {
  .shortcut .btn.btn-primary {
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 14px
  }

  .shortcut i {
    font-size: 12px;
  }
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  transform: scale(1.1);
}



/*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: var(--color-three);
  background-color: rgba(13, 110, 253, 0.1);
  border-bottom: 3px solid var(--color-four);
}

.book-title {
  color: #fff;
  border-left: 4px solid var(--color-three);
  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: #505050;
  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-two);
  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;
  }
}


/* modal */
.modal-content {
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  max-width: 800px;
  margin-left: 8%;
}

.modal-body video {
  border-radius: 10px;
}

.modal-close {
  position: absolute;
  z-index: 999;
}

.modal-close i {
  color: rgb(255, 255, 255);
  background-color: var(--color-primary);
  padding: 2px;
  width: 28px;
  border-radius: 50px;
  font-size: calc(0.35rem + 1vw);
}

@media (min-width: 576px) {
  .modal-dialog {
    max-width: 700px !important;
    margin: auto;
  }

  .modal-close {
    position: absolute;
    z-index: 999;
  }

  .modal-close i {
    margin-top: -2px;
  }
}


@media (max-width: 580px) {
  .modal-content {
    background-color: transparent !important;
    border: none !important;
    box-shadow: none !important;
    max-width: 800px;
    position: relative;
    left: -5%;
  }

  .modal-dialog {
    max-width: 600px !important;
    margin: auto;
  }

  .modal-close {
    position: absolute;
    left: 5%;
    z-index: 999;
    border-radius: 50px;

  }

  .modal-close i {
    color: rgb(255, 255, 255);
    background-color: var(--color-primary);
    padding: 2.5px;
    width: 18px;
    height: 15px;
    font-size: calc(0.35rem + 1vw);
  }
}