@import url("https://fonts.googleapis.com/css2?family=Archivo+Black&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@300;400;700&display=swap");

#intro img {
  max-width: 600px;
  min-width: 500px;
}

@media (max-width: 576px) {
  #intro img {
    width: 100%;
    min-width: 300px;
    max-width: 500px;
  }
}

#intro p {
  line-height: 2rem;
  letter-spacing: 3px;
  color: #3b5c7c;
  font-size: 1.2rem;
}

#intro h2 {
  font-family: "Roboto Slab", serif;
  line-height: 2.6rem;
  letter-spacing: 5px;
  font-weight: bold;
  color: #0e395c;
}

.programs p {
  line-height: 5px;
  font-size: 0.8rem;
  color: #2a6ea5ab;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 10px;
}

.programs h2 {
  color: #0e395c;
  font-size: 2.2rem;
}

.card {
  background-color: rgba(0, 0, 0, 0);
  border: none;
}

.card img {
  object-fit: cover;
  height: 300px;
}

@media (max-width: 576px) {
  .card img {
    height: 175px;
  }
}
.card h5 {
  font-weight: 600;
  line-height: 2rem;
  margin-bottom: 20px;
}

.card-body p {
  line-height: 1.8rem;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
}

#view-all-courses {
  font-weight: 300;
  letter-spacing: 1px;
  font-size: 1.4rem;
  color: #2a4158;
}

.colouredbox {
  color: #404040;
  background-color: #e9e9e9;
}

.colouredbox p {
  letter-spacing: 1.5px;
  line-height: 1.8rem;
}

.colouredbox hr {
  margin: 20px 16px 10px 0px;
  border: 0;
  height: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.embed-responsive {
  height: inherit;
  width: inherit;
}

.benifits h3 {
  text-align: center;
  padding: 0px 50px;
}

.benifits .bg-light {
  border: none;
  margin: auto;
  font-weight: 300;
}

.benifits .bg-light:hover {
  background-color: #f8f9fa !important;
  cursor: pointer;
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

.events h2 {
  color: #0e395c;
  font-size: 2.2rem;
}

.events p:nth-child(1) {
  line-height: 5px;
  font-size: 0.8rem;
  color: #2a6ea5ab;
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 10px;
}

.event-card img {
  height: 175px;
  width: 100%;
  display: inline-block;
  object-fit: cover;
}

.event-card h5 {
  font-weight: 600;
  font-size: 1.4rem;
  color: #0e395c;
}

.event-card p {
  font-family: "Archivo Black", sans-serif;
  letter-spacing: 2px;
  color: #3b5c7c;
}

/* Testimonials */
#demo {
  margin: auto;
}

.carousel-caption {
  position: initial;
  z-index: 10;
  padding: 5rem 8rem;
  color: rgba(78, 77, 77, 0.856);
  text-align: center;
  font-size: 1.2rem;
  font-style: italic;
  font-weight: bold;
  line-height: 2rem;
}

@media (max-width: 767px) {
  .carousel-caption {
    position: initial;
    z-index: 10;
    padding: 3rem 4.5rem;
    color: rgba(78, 77, 77, 0.856);
    text-align: center;
    font-style: italic;
    font-weight: bold;
    line-height: 1.5rem;
  }
}

.carousel-caption img {
  width: 6rem;
  border-radius: 5rem;
  margin-top: 2rem;
}

@media (max-width: 767px) {
  .carousel-caption img {
    width: 4rem;
    border-radius: 4rem;
    margin-top: 1rem;
  }
}

#image-caption {
  font-style: normal;
  font-size: 1rem;
  margin-top: 0.5rem;
}

@media (max-width: 767px) {
  #image-caption {
    font-style: normal;
    margin-top: 0.5rem;
  }
}

.carousel i {
  background-color: #81745e;
  padding: 1.4rem;
}

@media (max-width: 767px) {
  i {
    padding: 0.8rem;
  }
}

.carousel-control-prev {
  justify-content: flex-start;
}

.carousel-control-next {
  justify-content: flex-end;
}

.carousel-control-prev,
.carousel-control-next {
  transition: none;
  opacity: unset;
}

.parallax {
  /* The image used */
  background-image: url("https://images.unsplash.com/photo-1528715471579-d1bcf0ba5e83?ixlib=rb-1.2.1&ixid=MXwxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHw%3D&auto=format&fit=crop&w=1370&q=80");
  display: inline-block;
  /* Set a specific height */

  /* Create the parallax scrolling effect */
  background-attachment: fixed;
  background-position: top;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax-content {
  width: 100%;
  height: auto;
}

.parallax-content p {
  text-shadow: 2px 2px 4px #614c33;
  text-transform: uppercase;
  color: #ffbe6e;
  font-size: 1.8rem;
  text-align: center;
  letter-spacing: 2px;
}

.parallax-content .btn {
  font-size: 1.2rem;
  color: #ffbe6e;
  border-color: #ffbe6e;
  background-color: rgba(255, 255, 255, 0);
}

.parallax-content .btn:hover {
  color: rgb(255, 255, 255);
  border-color: #ffbe6e;
  background-color: #ffbe6e;
}
