* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

:root {
  --color-primary: #402874;
  --color-secundary: #169ed8;
  --color-three: #e5322d;
  --color-four: #f7eb25;
}

@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,
.title-second {
  font-family: 'Bebas Neve', sans-serif;
}

p {
  font-family: "Gothic", sans-serif;
  font-size: 17px;
  text-align: justify;
}

.btn {
  font-family: 'Gothic', sans-serif;
  font-weight: 600;
  font-size: calc(0.4rem + 1vw);
  padding: 2px;
}

h1 {
  font-size: calc(1.5rem + 1.5vw);
  font-weight: 600;
}

h2 {
  font-size: calc(1.2rem + 1.5vw);
  font-weight: 600;
}

h3,
h4 {
  font-size: calc(1.1rem + 1.5vw);
  font-weight: 600;
}

h5 {
  font-size: calc(0.8rem + 1.5vw);
}

p {
  font-size: calc(0.4rem + 1vw);

}

section {
  margin: 80px 0;
}

figure {
  margin: 0;
  padding: 0;
}

picture {
  margin: 0;
  padding: 0;
}

a {
  text-decoration: none;
}

@media screen and (max-width:995px) {

  p,
  .btn {
    font-size: calc(0.8rem + 1vw);
  }

  section {
    margin: 40px;
  }

  h1 {
    font-size: calc(1.6rem + 1.5vw);
    font-weight: 600;
  }

  h2,
  h3,
  h4 {
    font-size: calc(1.4rem + 1.5vw);
    font-weight: 600;
  }

  h5 {
    font-size: calc(1rem + 1.5vw);
    font-weight: 600;
  }

}

.btn {
  transform: scale(1);
  transition: transform .3s;
}

.btn:hover {
  transform: scale(1.05);
  transition: transform .4s;
}


/* navbar */
.navbar {
  background-color: var(--color-primary);
  padding: 15px;
}

.navbar .nav-item {
  padding: 0 5px;
}

.navbar .nav-item .nav-link {
  color: white;
  font-size: 20px;
  font-weight: 400;
  padding: 10px;
}

.navbar .nav-item .nav-link.nav-aule {
  background-color: var(--color-secundary);
  border-radius: 50px;
}

.navbar .nav-item .active {
  color: #169ed8;
  border-bottom: 1px solid #169ed8;
}

.navbar .nav-item .nav-link.nav-aule:hover {
  background-color: transparent;
  border: 2px solid var(--color-secundary);
  padding: 8px;
}

.dropdown-menu[data-bs-popper] {
  margin-top: 9%;
}

.dropdown-menu {
  background-color: var(--color-primary);
  border-radius: 0;
}

.dropdown-menu .dropdown-item {
  color: white;
  font-weight: 400;
  font-size: 20px;
}

.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-primary);
}

/* navbar phone */
.navbar-icon {
  font-size: 25px;
}

.navbar-toggler {
  border: none;
  color: white;
}

.navbar-toggler:focus {
  box-shadow: none;
}

.offcanvas {
  background-color: var(--color-primary);
  max-width: 100%;
}

.offcanvas-body .nav-item .nav-link {
  text-align: center;
}

@media screen and (max-width:995px) {
  .navbar .nav-item {
    padding: 8px 0;
  }

  .dropdown-menu[data-bs-popper] {
    margin-top: 0%;
    border-radius: 50px;
    text-align: center;
  }

  .dropdown-menu .dropdown-item:hover {
    background-color: transparent;
  }

  .offcanvas {
    background-color: var(--color-primary);
    max-width: 70%;
  }

}

/* section coverpage */

@media screen and (max-width:580px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada.webp);
    height: calc(60vh + .9vw);
    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: #e3b518;
    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 screen and (min-width:581px) and (max-width:995px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada.webp);
    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-four);
    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 screen and (min-width:996px) and (max-width:1365px) {
  .coverpage {
    background-image: url(../assets/coverpage/portada.webp);
    background-repeat: no-repeat;
    background-position: unset;
    background-size: cover;
    height: 90vh;
    display: flex;
    align-items: center;
    position: relative;
  }

  .container-text-coverpage {
    display: flex;
    align-items: flex-start;
    margin-top: 5%;
  }

  .container-text-coverpage img {
    width: 70%;
    height: auto;
    margin-left: 100px;
  }

  .container-text-coverpage .text-coverpage h1 {
    color: #e3b518;
    font-size: calc(1.8rem + 1.5vw);
    margin-left: 80px;
  }

  .container-text-coverpage .text-coverpage .title-second {
    color: var(--color-secundary);
    font-size: calc(1.5rem + 1.5vw);
  }

  .container-text-coverpage .text-coverpage p {
    text-align: justify;
    margin-left: 80px;
  }

  .container-img-coverpage img {
    width: 100%;
    height: auto;
    position: relative;
    bottom: -41%;
    right: 5%;
  }

  .coverpage .figure-1 {
    width: 25%;
    height: auto;
    position: absolute;
    bottom: -2%;
    left: 5%;
  }
}

@media screen and (min-width:1366px) {

  .coverpage {
    background-image: url(../assets/coverpage/portada.webp);
    background-repeat: no-repeat;
    background-position: unset;
    background-size: cover;
    height: 100vh;
    display: flex;
    align-items: center;
    position: relative;

  }



  .container-text-coverpage {
    display: flex;
    margin-top: 6%;


  }

  .container-text-coverpage img {
    width: 80%;
    height: auto;
    margin-left: 100px;


  }

  .container-text-coverpage .text-coverpage h1 {
    color: #e3b518;
    font-size: calc(2.5rem + 1.5vw);
    margin-left: 110px;
    margin-top: 3%;


  }

  .container-text-coverpage .text-coverpage .title-second {
    color: #e3b518;
    font-size: calc(2.5rem + 1.5vw);
    text-align: start;
  }

  .container-text-coverpage .text-coverpage p {
    text-align: justify;
    margin-left: 110px;
  }

  .container-img-coverpage img {
    width: 100%;
    height: auto;
    position: relative;
    bottom: -46%;
    right: 8%;
  }

  .coverpage .figure-1 {
    width: 25%;
    height: auto;
    position: absolute;
    bottom: -2%;
    left: 2%;
  }



}

.coverpage .btn.btn-coverpage {
  background-color: var(--color-primary);
  color: white;
  margin-left: 110px;
  cursor: pointer;
}

/* section welcome */
.welcome {
  position: relative;
}

.welcome h2 {
  text-align: center;
}

.container-btn-welcome {
  display: block;
  margin: auto;
  width: min-content;
}

.welcome .btn.btn-welcome {
  background-color: var(--color-primary);
  color: white;
  width: 100%;
  height: auto;
  border-radius: 50px;
}

.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: -40px;
  }

  .welcome figure.figures-1 {
    position: absolute;
    bottom: -50px;
    left: 20px;
  }

  .welcome figure.figures-2 {
    position: absolute;
    top: 120px;
    right: -40px;
  }

  .welcome figure.figures-3 {
    position: absolute;
    top: 300px;
    left: -10px;
  }

  .welcome figure.figures-4 {
    position: absolute;
    bottom: -10px;
    right: -40px;
  }
}

/* section us */
.us h3 {
  color: black;
}

.container-img-us img {
  width: 60%;
  height: 100%;
  transform: scale(1);
  transition: transform 0.4s;
  filter: drop-shadow(0 0 5px rgba(0, 0, 0, .8));
}

.container-img-us img:hover {
  transform: scale(1.05);
  transition: transform 0.4s;
}


.container-text-us {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.container-text-us figure img {
  position: absolute;
  top: -30px;
  right: 0;
  width: 30%;
  height: 20%;
}

.btn.btn-us {
  background-color: var(--color-primary);
  font-size: calc(0.5rem + 0.7vw);
  padding: 15px;
  border-radius: 30px;
  color: white;
  align-items: center;
  justify-content: center;
  margin-left: auto;

}

.container-us-mv {
  text-align: center;
  padding: 40px;
}

.line-us-mv {
  border-right: 2px solid rgb(165, 165, 165);
}

.container-us-mv p {
  text-align: justify;
}

@media screen and (max-width:991px) {
  .us {
    margin-top: 50px;
  }

  .container-text-us figure img {
    position: absolute;
    top: 15px;
  }

  .container-us-mv {
    padding: 10px;
  }
}

@media screen and (max-width:784px) {
  .container-img-us img {
    display: block;
    margin: auto;
  }

  .line-us-mv {
    border-right: none;
  }
}

/* section calendar */
.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 {
  text-align: center;
  color: black;
}

.container-card-date.card-date-bg-1,
.container-card-date.card-date-bg-2 {
  background-color: var(--color-secundary);
  color: white;
}

.container-card-date {
  padding: 20px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: space-around;
  box-shadow: 1px 1px 3px #41414131;
  border: 1px solid #41414130;
}

.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;
  }
}


/* section gallery */
.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;
  width: 20%;
  border-radius: 50px;

}

.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: 100%;
}

.gallery .row>div {
  display: flex;
}



@media screen and (max-width:995px) {
  .gallery {
    padding-top: 90px;
    padding-bottom: 90px;
  }

  .gallery .figure-bg-2 {
    position: absolute;
    bottom: -30px;
    right: 0;
  }

  .gallery .btn.btn-gallery {
    background-color: var(--color-primary);
    color: white;
    width: 20%;
    font-size: 10px;
    border-radius: 50px;

  }
}

/* section video */
/* .video {
  margin: 0;
}

.video {
  background-image: url(../assets/video/ola.png);
  background-repeat: no-repeat;
  background-position: unset;
  background-size: cover;
  display: flex;
  align-items: center;
  padding: 100px;
}

.video h2 {
  color: white;
  text-align: center;
}

.video img {
  max-width: 100%;
  width: 100%;
  height: 100%;
}

@media screen and (max-width:995px) {
  .video {
    padding: 45px 20px;
  }

  .video h4 {
    margin-top: 25px;
  }
} */


/* section contact */
.container-contact {
  background-color: var(--color-primary);
  padding: 40px 30px;
  border-radius: 20px;
  position: relative;
}

.container-contact h2,
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-four);
  padding: 10px;
  border-radius: 50px;
  width: 48px;
  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: 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: 80%;
  height: auto;
  top: -43px;
  left: 0;
  right: 0;
  bottom: calc(-30.5% + .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 */
footer {
  background-image: url(../assets/footer/recurso-1.png);
  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 h4,
h5,
h6 {
  color: white;
}

/* 
.icon-footer i {
  background-color: white;
  padding: 10px;
  font-size: 20px;
  border-radius: 50px;
  width: 40px;
  margin-bottom: 20px;
} */

.rectangle-footer {
  width: 100%;
  background-color: var(--color-four);
  border-radius: 50px;
  height: 40px;
}

/* socials */
.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;
  top: 40%;
  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 .8s;
}

.transitioSocials {
  transition: all .8s;
}

/* swal */
.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);
}

/*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: var(--color-three);
  color: #fff;
  font-size: 18px !important;
  border-radius: 30px;
  padding: 10px 20px;
  font-size: 20px;
  font-weight: 600;
  transition: background 0.3s ease, color 0.3s ease;
}

.book-section .btn.btn-books:hover {
  background-color: var(--color-secundary);
  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;
  }
}

.filosofia h2 {
  font-weight: 800;
  color: white;
}

.filosofia p {
  text-align: justify;
  color: white;
}

.filosofia .container-filosofia {
  background-color: var(--color-secundary);
  padding: 3rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 5rem;
}



.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: rgb(251, 251, 158);
  font-size: 12px;
  position: absolute;
  top: -10px;
  left: -16px;
  padding: 2px 5px;
  border-radius: 5px;
  color: rgb(70, 70, 70);
}

.list-inline-item:not(:last-child) {
  margin: 0 0.5rem;
}

.row.no-gutters img {
  border: 4px solid var(--color-secundary);
  border-radius: 10px;
}

.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;
}