/*css reset tor eset gap at top of pg*/
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, caption {
    margin: 0;
    padding: 0;
    border: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: transparent;
}

textarea, input, form {
  width: 100%;
}

textarea, input {
  border: 1px solid #2b3966;
  background-color: #efefef;
  font-family: 'MuseoModerno', cursive;
}

input {
  height: 30px;
}

textarea {
  height: 60px;
}

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
  overflow-x: none;
}

ul.ba {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1, span {
  font-family: 'MuseoModerno', serif;
  font-size: 42px;
  color: #2b3966;
  font-weight: 600;
}

button {
  border: 2px solid #40acde;
  font-family: 'MuseoModerno', cursive;
  color: #2b3966;
  font-size: 14px;
  padding-left: 15px;
  padding-right: 15px;
  line-height: 30px;
}

button:hover {
  color: white;
  background-color: #40acde;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 1050px) {
  h1, span {
    font-size: 35px;
  }
}

@media screen and (max-width: 900px) {
  h1, span {
    font-size: 30px;
  }
}

@media screen and (max-width: 750px) {
  h1, span {
    font-size: 25px;
  }
}

@media screen and (max-width: 628px) {
  span {
    font-size: 20px;
  }

  button {
    line-height: normal;
    font-size: 12px;
  }
}

@media screen and (max-width: 505px) {
  span {
    font-size: 18px;
  }
}

@media screen and (max-width: 456px) {
  span {
    font-size: 16px;
  }
}

@media screen and (max-width: 407px) {
  span {
    font-size: 14px;
  }
}

@media screen and (max-width: 330px) {
  span {
    font-size: 10px;
  }
}

h3 {
  font-family: 'MuseoModerno', cursive;
  color: #2b3966;
  font-size: 25px;
  font-weight: 700;
}

h4 {
  font-family: 'MuseoModerno', cursive;
  color: #2b3966;
  font-size: 18px;
  font-weight: 400;
}

h5 {
  font-size: 30px;
  font-family: 'MuseoModerno', cursive;
  color: white;
  font-weight: 700;
}

p {
  font-family: 'MuseoModerno', cursive;
  color: #2b3966;
  font-size: 16px;
  font-weight: 400;
}

@media screen and (max-width: 800px) {
  h4 {
    font-size: 16px;
  }
  h3 {
    font-size: 22px;
  }
  p, li {
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  h4 {
    font-size: 14px;
  }
  h3 {
    font-size: 20px;
  }
  p, li {
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
  h5 {
    font-size: 28px;
  }
  h4 {
    font-size: 13px;
  }
  h3 {
    font-size: 18px;
  }
  p, li {
    font-size: 12px;
  }
}

@media screen and (max-width: 400px) {
  h5 {
    font-size: 25px;
  }
  h4 {
    font-size: 12px;
  }
  h3 {
    font-size: 16px;
  }
}

@media screen and (max-width: 300px) {
  h5 {
    font-size: 23px;
  }
  h4 {
    font-size: 11px;
  }
  h3 {
    font-size: 15px;
  }
  p, li {
    font-size: 11px;
  }
}

.QPoint {
  position: absolute;
  z-index: 1000;
  top: 20%;
  left: 20%;
}

h6 {
  font-family: 'MuseoModerno', cursive;
  color: white;
  font-size: 16px;
  line-height: 49px;
  margin-right: 2.5%;
  margin-left: 2.5%;
  text-align: center;
}

@media screen and (max-width: 450px) {
  h6 {
    font-size: 11px;
    line-height: 35px;
    padding-right: 2%;
    padding-left: 2%;
  }
}

@media screen and (max-width: 300px) {
  h6 {
    font-size: 10px;
    line-height: 30px;
  }
}

/*Banner*/
.Banner {
  background-image: url(../img/MorningStarBackground.webp);
  background-position: center; /* Center the image */
  background-repeat: no-repeat; /* Do not repeat the image */
  background-size: cover;
  width: 100%;
  margin: 0;
  text-align: center;
  height: 50vh;
}

.BannerWrapper {
  padding-top: 2%;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: center;
  align-items: center;
}

.Title {
  font-family: 'Niconne', cursive;
  color: white;
  width: 30%;
  font-size: 80px;
}

.SocialMedia {
  position: absolute;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  top: 5%;
  left: 80%;
  width: 180px;
  z-index: 2;
}

.SocialLogos {
  width: 50px;
  height: 50px;
}

@media screen and (max-width: 800px) {
  .SocialLogos {
    width: 30px;
    height: 30px;
  }

  .SocialMedia {
    left: 75%;
    width: 100px;
    top: 3%;
  }
}

@media screen and (max-width: 500px) {
  .SocialMedia {
    left: 70%;
  }
}

@media screen and (max-width: 400px) {
  .SocialLogos {
    width: 20px;
    height: 20px;
  }

  .SocialMedia {
    left: 72%;
    width: 70px;
    top: 3%;
  }
}

.Bible {
  font-family: 'Niconne', cursive;
  color: white;
  font-size: 43px;
}

@media screen and (max-width: 1050px) {
  .Banner {
    height: 40vh;
  }
  .Title {
    font-size: 60px;
    margin-top: 5%;
  }
  .Bible {
    font-size: 35px;
  }
}

@media screen and (max-width: 800px) {
  .Banner {
    height: 35vh;
  }
  .Title {
    font-size: 50px;
  }
  .Bible {
    font-size: 30px;
  }
}

@media screen and (max-width: 600px) {
  .Banner {
    height: 35vh;
  }
  .Title {
    font-size: 40px;
  }
  .Bible {
    font-size: 25px;
  }
}

@media screen and (max-width: 500px) {
  .Title {
    font-size: 30px;
  }
  .Bible {
    font-size: 20px;
  }
}

@media screen and (max-width: 400px) {
  .Title {
    font-size: 25px;
  }
  .Bible {
    font-size: 18px;
  }
}

@media screen and (max-width: 300px) {
  .Title {
    font-size: 22px;
  }
  .Bible {
    font-size: 15px;
  }
}

.NavBarWrapper {
  width: 100%;
  background-color: #40acde;
  display: flex;
  flex-direction: row;
  justify-content: center;
}

.NavBar {
  display: flex;
  flex-grow: 1;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  max-width: 60%;
  flex-wrap: wrap;
  list-style-type: none;
}

@media screen and (max-width: 600px) {
  .NavBar {
    max-width: 90%;
  }
}

.NavBar h6:hover {
  color: #2b3966;
}

.NavCat {
  text-align: center;
  margin-left: 3%;
  margin-right: 3%;
  width: 18%;
  display: flex;
  justify-content: center;
}

ul li ul.dropdown {
  min-width: 10%; /* Set width of the dropdown */
  background: #597cf0;
  display: none;
  position: absolute;
  z-index: 999;
  left: 38%;
  padding-left: 15px;
  padding-right: 15px;
}

ul li:hover ul.dropdown{
    display: block;	/* Display the dropdown */
}

ul li ul.dropdown li{
    display: block;
}

.SubCat {
  font-weight: 300;
  font-size: 15px;
  text-align: left;
}

@media screen and (max-width: 800px) {
  ul li ul.dropdown {
    left: 37%;
  }
}

@media screen and (max-width: 600px) {
  ul li ul.dropdown {
    padding-left: 5px;
    padding-right: 5px;
    left: 33%;
  }
}

@media screen and (max-width: 500px) {
  ul li ul.dropdown {
    left: 31%;
  }

  .SubCat {
    font-size: 13px;
  }
}

@media screen and (max-width: 500px) {
  .SubCat {
    font-size: 11px;
  }
}

/*Home*/
.HomeContent {
  padding-top: 2%;
  padding-bottom: 5%;
  padding-left: 10%;
  padding-right: 10%;
  width: 80%;
  display: flex;
  justify-content: center;
  text-align: center;
  flex-direction: column;
  align-items: center;
}

@media screen and (max-width: 300px) {
  .HomeContent {
    padding-left: 8%;
    padding-right: 8%;
    width: 84%;
  }
}

.Logo {
  height: 175px;
  width: 175px;
}

@media screen and (max-width: 400px) {
  .Logo {
    height: 140px;
    width: 140px;
  }
}

@media screen and (max-width: 350px) {
  .Logo {
    height: 120px;
    width: 120px;
  }
}

.altFont {
  font-family: 'Niconne', cursive;
  padding-left: 1%;
  padding-right: 1%;
  font-size: 45px;
}

@media screen and (max-width: 1050px) {
  .altFont {
    font-size: 38px;
  }
}

@media screen and (max-width: 900px) {
  .altFont {
    font-size: 33px;
  }
}

@media screen and (max-width: 750px) {
  .altFont {
    font-size: 28px;
  }
}

@media screen and (max-width: 628px) {
  .altFont {
    font-size: 23px;
  }
}

@media screen and (max-width: 505px) {
  .altFont {
    font-size: 21px;
  }
}

@media screen and (max-width: 456px) {
  .altFont {
    font-size: 19px;
  }
}

@media screen and (max-width: 407px) {
  .altFont {
    font-size: 16px;
  }
}

@media screen and (max-width: 330px) {
  .altFont {
    font-size: 13px;
  }
}

.flex-row {
  display: flex;
  justify-content: center;
  flex-direction: row;
  width: 100%;
}

.blueBox {
  background-color: #2b689c;
  border-radius: 0px 25px 0px 25px;
  width: 50%;
  padding-left: 15px;
  padding-right: 15px;
  line-height: normal;
}

@media screen and (max-width: 600px) {
  .blueBox {
    width: 100%;
  }
}

@media screen and (max-width: 400px) {
  .blueBox p {
    line-height: normal;
  }
}

.blueBox p {
  color: white;

}

.FullContent {
  width: 100%;
}

.LandingGallery {
  display: flex;
  flex-direction: row;
}

.LandingGallery1 {
  width: 100%;
  height: auto;
}

/*Footer*/
.FooterPart1 {
  padding-top: 5%;
  padding-bottom: 5%;
  background-color: #597cf0;
  width: 80%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding-left: 10%;
  padding-right: 10%;
}

.FooterPart1 hr {
  margin-left: 20px;
  margin-right: 20px;
  border: 3px solid white;
  width: 15%;
  height: 0px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media screen and (max-width: 500px) {
  .FooterPart1 hr {
    display: none;
  }
}

.FooterPart2 {
  background-color: #4432a8;
  min-height: 25vh;
  width: 80%;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: row;
  flex-wrap: wrap;
  padding-left: 10%;
  padding-right: 10%;
  padding-top: 5%;
  padding-bottom: 5%;
}

.FooterText {
  text-align: left;
  font-family: 'MuseoModerno', cursive;
  color: white;
  font-weight: 300;
}

.FooterLogo {
  height: 50px;
  width: 50px;
  margin: 5%;
}

.LandingPhotos {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  text-align: left;
  width: 100%;
}

.LandingPhoto {
  width: 40%;
  height: auto;
  border: 5px solid white;
  box-shadow: 2px 2px 2px 1px rgba(0, 0, 0, 0.2);
  margin: 5%;
}

@media screen and (max-width: 1050px) {
  .LandingPhotos {
    flex-direction: column;
  }

  .LandingPhoto {
    width: 90%;
  }
}

.Certificate {
  height: 70px;
  width: auto;
  margin: 5%;
}

.flex-pair {
  display: flex;
  justify-content: center;
  flex-direction: row;
}

/*About*/
.TeamText {
  width: 45%;
}

.TeamPic {
  width: 45%;
  height: auto;
}

.padding {
  padding-right: 6%;
}

.mobile-show {
  display: none;
}

@media screen and (max-width: 1050px) {
  .padding {
    padding-right: 0;
  }

  .TeamText, .TeamPic {
    width: 100%;
  }

  .TeamPic {
    padding-bottom: 5%;
  }
  .mobile-show {
    display: block;
  }

  .mobile-hide {
    display: none;
  }
}

/*Services*/
.slideshow-container {
  width: 100%;
  margin-top: 5%;
  position: relative;
}

.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

.mySlides, .mySlides1, .mySlides2, .mySlides3 {
  display: none;
}

/* Next & previous buttons */
.prev, .next {
  cursor: pointer;
  position: absolute;
  top: 45%;
  width: auto;
  margin-top: -22px;
  padding: 20px;
  color: white;
  font-weight: bold;
  font-size: 25px;
  transition: 0.6s ease;
  border-radius: 0 1px 1px 0;
  user-select: none;
}

.prev2 {
  left: 0;
}

.next {
  right: 0;
  border-radius: 1px 0 0 1px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover, .next:hover {
  background-color: #40acde66;
}

/* Caption text */
.text {
  position: absolute;
  top: 20%;
  width: 100%;
  text-align: center;
}

.dots {
  position: absolute;
  bottom: 5%;
  text-align: center;
  left: 48%;
}

.dot {
  cursor: pointer;
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #bbb;
  border-radius: 50%;
  display: inline-block;
  transition: background-color 0.6s ease;
}

@media screen and (max-width: 1050px) {
  .text {
    top: 5%;
  }
}

@media screen and (max-width: 800px) {
  .text {
    top: 0%;
  }
}

@media screen and (max-width: 600px) {
  .text {
    top: -10%;
  }

  .dots {
    left: 44%;
  }
}

@media screen and (max-width: 500px) {
  .text {
    top: -15%;
  }

  .dots {
    left: 42%;
  }
}

@media screen and (max-width: 400px) {
  .text {
    top: -15%;
  }

  .dots {
    left: 42%;
  }

  .dot {
    height: 10px;
    width: 10px;
  }
}

.active, .dot:hover {
  background-color: #717171;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

@-webkit-keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

@keyframes fade {
  from {opacity: .4}
  to {opacity: 1}
}

/*Gallery*/
.GalleryTitle {
  width: 100%;
  background-color: #597cf0;
}

.GalleryTitle h1 {
  color: white;
}

.GallerySize {
  width: 50%;
}

@media screen and (max-width: 1050px) {
  .GallerySize {
    width: 100%;
  }
}

.GalleryText {
  position: absolute;
  top: 80%;
  width: 90%;
  text-align: left;
  background-color: #2b3966;
  padding: 5%;
  height: 10%;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.5s, visibility 0.5s;
}

.mySlides1:hover .GalleryText, .mySlides2:hover .GalleryText, .mySlides3:hover .GalleryText{
  visibility: visible;
  opacity: 1;
}
.GalleryText p {
  color: white;
}

/*Reviews*/
.reviews {
  width: 80%;
  text-align: left;
  height: 50vh;
  overflow-y: scroll;
}

.review {
  padding-left: 15px;
  padding-right: 15px;
  position: relative;
}

.review hr {
  width: 100%;
  border: 1px solid #efefef;
}

.where {
  align-items: center;
  justify-content: flex-end;
  margin-right: 15px;
  margin-top: 2%;
}

.Name {
  font-weight: 600;
}

@media screen and (max-width: 1050px) {
  .facebook {
    width: 10%;
    height: auto;
  }

  .where {
    width: 100%;
  }
  .reviews {
    width: 100%;
  }

  .review {
    max-height: 100%;
  }
}

@media screen and (max-width: 600px) {
  .facebook {
    width: 15%;
  }
}

@media screen and (max-width: 500px) {
  .facebook {
    width: 20%;
  }
}
