* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  overflow-x: hidden !important;
}
body {
  overflow-x: hidden !important;
}
:root {
  --color-primary: #2ea9df;
  --color-secundary: #f7af21;
  --color-three: #115f93;
}
@import url("https://fonts.googleapis.com/css2?family=Montserrat&display=swap");

h1,
h2,
h3,
h4,
h5,
h6,
span,
label {
  font-family: "Montserrat", sans-serif;
}
p {
  font-family: "Gothic", sans-serif;
}
.btn {
  font-weight: 500;
  font-size: calc(0.4rem + 1vw);
  padding: 5px;
}
h1 {
  font-size: calc(1.3rem + 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.6rem + 1vw);
}
img {
  width: 100%;
  height: 100%;
}
.section-my {
  margin: 100px 0;
}
.mt-section {
  margin-top: 100px;
}
a {
  text-decoration: none;
}
@media screen and (max-width: 995px) {
  p,
  .btn {
    font-size: calc(0.8rem + 1vw);
  }

  .section-my {
    margin: 40px 0px;
  }

  .mt-section {
    margin-top: 30px;
  }

  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;
  }
}

.navbar-notscroll {
  position: absolute;
  background-color: transparent;
  padding: 10px;
  left: 0;
  right: 0;
  top: 0;
  z-index: 99;
}
.navbar-scroll {
  width: 100%;
  position: fixed;
  background-color: var(--color-primary);
  transition: all 0.5s;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.17);
  z-index: 1;
}
.navbar-scroll-link {
  color: rgb(255, 255, 255);
}
.navbar img {
  width: 80px;
  height: auto;
}
.navbar .btn.btn-access-aule {
  font-size: 17px;
  color: rgb(31, 31, 31);
  background-color: var(--color-secundary);
}
.navbar .nav-item {
  padding: 0 5px;
}
.navbar .nav-item.nav-item-aule {
  display: none;
}
.navbar .nav-item .nav-link {
  color: rgb(255, 255, 255);
  font-size: 17px;
  font-weight: 600;
  font-family: "Montserrat", sans-serif;
  padding: 10px;
}
.dropdown-menu[data-bs-popper] {
  margin-top: 9%;
}
.dropdown-menu {
  background-color: var(--color-secundary);
  border-radius: 0;
}
.dropdown-menu .dropdown-item {
  color: white;
  font-weight: 600;
}
.dropdown-menu .dropdown-item:hover {
  background-color: var(--color-primary);
}
.navbar-icon {
  font-size: 25px;
}
.navbar-toggler {
  border: none;
  color: white;
}
.navbar-toggler:focus {
  box-shadow: none;
}
.offcanvas-body .nav-item .nav-link {
  text-align: center;
}
@media screen and (max-width: 994px) {
  .navbar .nav-item {
    padding: 8px 0;
  }

  .navbar .a-access-aule {
    display: contents;
  }

  .navbar .btn.btn-access-aule {
    display: none;
  }

  .navbar .nav-item.nav-item-aule {
    display: block;
  }

  .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-secundary);
    max-width: 70%;
  }

  .offcanvas.offcanvas-end {
    border-left: none !important;
    transition: all 0.5s;
  }
}

.slider {
  position: relative;
  max-width: 100%;
  display: flex;
  align-items: center;
  height: 90vh;
  width: 100%;
  background-position: 0px -180px;
  background-image: url(../assets/slider/slider-1.webp);
  background-size: cover;
  background-repeat: no-repeat;
}
.slider::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  content: "";
  background-color: rgba(0, 0, 0, 0.466);
}
.slider h1,
.slider p {
  color: rgb(255, 255, 255);
}
.slider .container-btn-hero .btn.btn-hero {
  background-color: var(--color-primary);
  color: rgb(31, 31, 31);
}
.slider .container-btn-hero a:nth-child(1) .btn.btn-hero {
  background-color: transparent;
  border: 2px solid rgb(255, 255, 255);
  color: rgb(255, 255, 255);
  margin-right: 15px;
}
@media screen and (min-width: 568px) and (max-width: 994px) {
  .slider {
    height: 100vh;
  }
  .slider::before {
    height: 80vh;
  }
  .container-hero {
    padding: 20px;
  }
}
@media screen and (max-width: 567px) {
  .slider {
    height: 70vh;
    background-position: center;
  }
  .slider::before {
    height: 70vh;
  }
}

.about-us h2 {
  color: rgb(31, 31, 31);
}
.about-us p {
  text-align: justify;
}
.about-us .img-about {
  width: 80%;
  display: block;
  margin: auto;
}
.about-us .img-mv {
  width: 30%;
  height: auto;
  display: block;
  margin: auto;
}
.about-us h3 {
  text-align: center;
  margin-top: 20px;
}
.about-us .btn.btn-about {
  background-color: var(--color-three);
  color: rgb(255, 255, 255);
}
@media screen and (max-width: 994px) {
  .about-us .container:nth-child(2) .row div:nth-child(1) {
    order: 1;
  }
  .about-us .img-about {
    width: 50%;
    height: auto;
  }
  .about-us .img-mv {
    width: 30%;
    height: auto;
  }
}

.count-school {
  position: relative;
  background-image: url(../assets/count-school/slider-2.webp);
  background-size: cover;
  background-repeat: no-repeat;
  background-position: 100% 40%;
  padding: 100px;
  z-index: -1;
}
.count-school::after {
  position: absolute;
  background-color: rgba(0, 0, 0, 0.431);
  content: "";
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.count-school h3,
.count-school p {
  color: rgb(255, 255, 255);
  font-weight: 600;
  text-shadow: 1px 1px 1px black;
  z-index: 3;
}
.count-school p {
  font-size: calc(0.9rem + 1.5vw);
}
@media screen and (max-width: 994px) {
  .count-school {
    padding: 30px;
  }
}

.container-courses {
  background-color: var(--color-primary);
  padding: 70px;
  border-radius: 10px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.15);
}
.container-courses h2 {
  color: rgb(255, 255, 255);
}
.container-courses .card.card-courses {
  border: none;
  height: 100%;
}
.container-courses .card.card-courses .card-body p {
  font-size: calc(0.5rem + 1vw);
}
.container-courses .card.card-courses .card-body h3 {
  font-size: calc(0.9rem + 1.5vw);
  color: rgb(31, 31, 31);
}
.container-courses .card.card-courses .card-body .btn.btn-courses {
  background-color: var(--color-three);
  color: rgb(255, 255, 255);
  display: block;
  font-size: calc(0.5rem + 1vw);
}
@media screen and (max-width: 994px) {
  .container-courses {
    padding: 30px;
  }
}

.gallery img {
  width: 100%;
  height: auto;
  border-radius: 5px;
  box-shadow: 1px 1px 5px rgba(0, 0, 0, 0.2);
}

.contact .btn.btn-primary {
  background-color: var(--color-primary);
  border: none;
}

footer {
  background-color: rgb(240, 240, 240);
}
footer .icon-socials a i {
  color: rgb(255, 255, 255);
  font-size: 18px;
  background-color: var(--color-primary);
  text-align: center;
  padding: 6px;
  width: 30px;
  border-radius: 50px;
}
footer .text-footer {
  color: rgb(0, 0, 0) !important;
  font-family: "Montserrat", sans-serif;
  font-weight: 600;
}
footer .copyright {
  font-size: 16px;
}

.container-schedule {
  background-color: var(--color-secundary);
  padding: 30px;
  border-radius: 20px;
  color: white;
  border: 2px solid #cb9019;
}
.container-schedule h2,
.container-schedule h3,
.container-schedule p {
  color: rgb(33, 33, 33);
  text-align: center;
}
.container-schedule h3 {
  font-size: 30px;
}

/*promotion books*/

.promotion-books h2 {
  font-weight: 800;
  color: white;
  font-size: 30px;
}

.promotion-books p {
  text-align: justify;
  color: white;
  font-size: 18px;
  margin-left: 5px;
}

.promotion-books img{

  width: auto;
  height: auto;
  border-radius: 50px;
  transition: transform 0.3s ease;

  }

  .promotion-books img:hover {
      transform: scale(1.05);
      box-shadow: 0px 12px 24px #003;
  }
  

.promotion-books .container-promotionBooks {
  background-color: var(--color-primary);
  padding: 3rem;
  border-radius: 2rem;
  position: relative;
  overflow: hidden;
  margin-top: 10rem;
} 

.promotion-books .btn.btn-books {
  padding: 12px 24px;
  font-size: 1.1rem;
  color: #fff;
  background-color: var(--color-three);
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color var(--transition-speed), transform var(--transition-speed);
  display: block;
  margin-left: auto;
  animation: pulse 2s infinite;
}

.promotion-books .btn.btn-books:hover{
  background-color:var(--color-secundary) ;


}

@keyframes pulse {
  0% {
      transform: scale(1);
  }
  50% {
      transform: scale(1.05);
  }
  100% {
      transform: scale(1);
  }
}


@media (min-width:1500px ) {

  .promotion-books h2 {
      font-weight: 800;
      color: white;
      font-size: 35px;
    }
    
    .promotion-books p {
      text-align: justify;
      color: white;
      font-size: 20px;
      margin-left: 5px;
    }
  
}
/*end promotion books*/



.shortcut {
  right: 40px;
  top: auto;
  z-index: 10;
  display: flex;
  flex-direction: column;
}

.shortcut .btn:focus {
  outline: 0;
  box-shadow: none;

}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  background-color: rgba(0, 0, 0, 0.1);
}


@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-primary);
  border-radius: 10px;
  color: #ffffff;
  font-weight: 700;
  font-size: 2rem;
  padding: 0;
  border: none;
}

.shortcut .btn.btn-primary:hover {
  color: #fff;
  background-color: var(--color-secundary);
}

@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;
}



