* {
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}
/* Section header */

.header {
  min-height: 100vh;
  width: 100%;
  background-image: url('../images/bg.jpg');
  background-position: center;
  background-size: cover;
  position: relative;
}

nav {
  display: flex;
  padding: 2% 6%;
  justify-content: space-between;
  align-items: center;
}

nav img {
  width: 280px;
}

.nav-links {
  flex: 1;
  text-align: right;
}

.nav-links ul li {
  list-style: none;
  display: inline-block;
  padding: 8px 12px;
  position: relative;
}

.nav-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 13px;
}

.nav-links ul li::after {
  content: '';
  width: 0%;
  height: 2px;
  background: #f44336;
  display: block;
  margin: auto;
  transition: 0.5s;
}

.nav-links ul li:hover::after {
  width: 100%;
}

.text-box {
  width: 90%;
  color: #fff;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.text-box h1 {
  font-size: 62px;
}

.text-box p {
  margin: 20px 0 40px;
  font-size: 18px;
  color: #c29525;
  font-weight: 600;
}

.header-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  margin-top: 20px;
  transition: 0.5s;
}

.header-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  /* transition: 0.5s; */
  letter-spacing: 2px;
}

nav .fa {
  display: none;
}

@media (max-width: 700px) {
  .text-box h1 {
    font-size: 20px;
  }

  .nav-links ul li {
    display: block;
  }

  .nav-links {
    position: absolute;
    background: #c29525;
    height: 100vh;
    width: 150px; /*It was 200 */
    top: 0;
    right: -200px;
    text-align: left;
    z-index: 2;
    transform: 1s;
    visibility: hidden;
  }

  nav .fa {
    display: block;
    color: #fff;
    margin: 10px;
    font-size: 22px;
    cursor: pointer;
  }

  .nav-links ul {
    padding: 30px;
  }
}

/* ---- Get Connected Section  ---- */

.connected {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 100px;
}

.connected h1 {
  font-size: 36px;
  font-weight: 600;
}

.connected p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.video-wrapper {
  width: 80%;
  height: 60%;
  position: relative;
  top: 15px;
  left: 12%;
  box-shadow: 2rem 2rem 2rem rgba(0, 0, 0, 0.7);
  overflow: hidden;
}

.video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.3;
  transition: opacity 0.3s;
}

.controls {
  width: 100%;
  position: absolute;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  transform: translateY(calc(100% - 0.4rem));
  transition: transform 0.4s;
}

.video-wrapper:hover .controls {
  transform: translateY(0);
}

.video-bar-wrapper {
  width: 100%;
  height: 10px;
  background-color: #000;
  position: absolute;
  top: 0;
  left: 0;
}

.video-bar {
  height: 100%;
  width: 0;
  background-color: #d30819;
  transition: width 0.2s linear;
}

.buttons {
  padding: 2rem 1rem 1rem 1rem;
}

.buttons button {
  background: none;
  border: none;
  cursor: pointer;
}

.buttons i {
  font-size: 2rem;
  color: #fff;
}

@media screen and (max-width: 740px) {
  .video-wrapper {
    display: none;
  }

  .connected {
    padding: 20px;
  }
}

/* Section 3 - Gathering Times */

.gathering {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: 1fr;
  box-sizing: border-box;
  margin-top: 120px;
  margin-left: 28px;
}

.bgvideo {
  grid-column-start: 1;
  grid-column-end: 12;
  grid-row-start: 1;
  background-size: contain;
  z-index: -1;
  min-height: 100vh;
  width: fit-content;
}

.text-box-gathering {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
  text-align: center;
  z-index: 20;
}

.text-box-gathering h1 {
  font-size: 50px;
  color: #fff;
  font-weight: 600;
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  margin-top: 25px;
}

.text-box-gathering h2 {
  font-size: 52px;
  font-weight: 600;
  display: flex;
  justify-content: center;
  color: #cc3300;
  padding: 14px 70px;
  margin-top: 30px;
}

.text-box-gathering h3 {
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 24px;
  border: 2px solid #fff;
  padding: 14px 0;
  border-radius: 50px;
  margin-top: 30px;
}

#countholder {
  grid-column-start: 5;
  grid-column-end: 9;
  grid-row-start: 1;
}

#countholder p {
  font-size: 24px;
  font-weight: 600;
  text-align: center;
  color: #fff;
  padding: 14px 70px;
  margin-top: 20px;
  margin-bottom: 40px;
}

#countholder {
  font-family: sans-serif;
  color: #fff;
  display: block;
  position: relative;
  height: 10vh;
  top: 350px;

  font-weight: 600;
  text-align: center;
  font-size: 48px;

  padding: 20px;
  border-radius: 6px;
  line-height: 1.4;
}

#countholder > div {
  padding: 4px 10px;
  border-radius: 3px;
  background: #cc3300;
  display: inline-block;
}

#countholder div > span {
  border-radius: 3px;
  background: #cc3300;
  display: inline-block;
}

#countholder .smalltext {
  padding-top: 5px;
  font-size: 16px;
}

@media screen and (max-width: 740px) {
  .gathering {
    display: inline-flex;
    margin: 20px;
  }
  .bgvideo {
    display: none;
  }
  .text-box-gathering {
    display: none;
  }

  #countholder {
    width: 100%;
    top: 0.2rem;
    margin-bottom: 80px;
    align-items: center;
  }

  #countholder p {
    color: #000;
    padding: 2px;
  }
}

@media screen and (max-width: 480px) {
  .gathering {
    display: inline;
    margin: 5px;
  }
  .bgvideo {
    display: none;
  }
  .text-box-gathering {
    display: none;
  }

  #countholder {
    width: 80vw;
    top: 0.1rem;
    margin-bottom: 120px;
    left: 0;
  }

  #countholder p {
    font-size: 14px;
    color: #000;
    padding: 2px;
    text-align: left;
    width: 60vw;
    background-color: #red;
  }
}

/* ---- Church Areas Section 4 ---- */

.areas {
  display: grid;
  grid-template-columns: repeat(250px, 1fr);
}

.areas .topics {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 60px;
}
.topics h1 {
  font-size: 36px;
  font-weight: 600;
}

.topics p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 18px;
  padding: 10px;
  text-align: center;
}

.row {
  margin-top: 5%;
  margin-bottom: 3%;
  display: flex;
  justify-content: space-between;
}

.topics-col {
  flex-basis: 31%;
  background: #f7ede2;
  border-radius: 10px;
  margin-bottom: 3%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.topics-col a {
  color: unset;
  text-decoration: none;
}

.topics-col p {
  font-size: 12px;
  text-align: center;
}

.topics-col img {
  height: 6rem;
  width: 6rem;
  display: block;
  margin-left: auto;
  margin-right: auto;
  border-radius: 50%;
  object-fit: cover;
}

.topics-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.topics-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.2);
}


/* Events Section */

.events {
  width: 100%;
  margin: auto;
  text-align: center;
  /* margin-top: 40px; */
}

.events h1 {
  font-size: 36px;
  font-weight: 600;
}

.events p {
  color: #777;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.events .cards-wrapper {
  display: flex;
  justify-content: space-evenly;
  margin-top: 4rem;
  margin-bottom: 6rem;
  width: 100%;
}

.cards-wrapper #card1 {
  display: none;
}
.cards-wrapper #card2 {
  display: none;
}
.cards-wrapper #card3 {
  display: visible;
}

.card {
  width: 27rem;
  height: 35rem;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  position: relative;
}

.card-img-wrapper {
  width: 100%;
  height: 100%;
  background-color: #262626;
  border-radius: 0.5rem;
}

.card-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.8;
  border-radius: 0.5rem;
  transition: opacity 0.3s;
}

.card:hover .card-img-wrapper img {
  opacity: 0.5;
}

.card-info {
  position: absolute;
  bottom: 0;
  padding: 2rem;
  text-shadow: 0 0.2rem 0.5rem rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
}

.card:hover .card-info {
  bottom: 2rem;
  opacity: 1;
  visibility: visible;
}

.card-info h2 {
  font-family: 'Baloo Da 2', serif;
  font-size: 2.5rem;
  line-height: 2.5rem;
  font-weight: 300;
  color: #eee;
}

.card-info h3 {
  font-family: 'Muli', serif;
  font-size: 2rem;
  font-weight: 500;
  color: #f2d810;
  margin-bottom: 1rem;
}

.card-info p {
  font-family: 'Baloo da 2', serif;
  font-size: 1.4rem;
  line-height: 1.6rem;
  font-weight: 300;
  color: #eee;
  width: 100%;
  text-align: center;
  margin-bottom: 2rem;
}

.card-info button {
  width: 10rem;
  height: 3rem;
  background-color: #c29525;
  border: none;
  font-family: 'Baloo Da 2', serif;
  font-size: 1.4rem;
  line-height: 1.5rem;
  color: #eee;
  border-radius: 0.3rem;
  box-shadow: 0 0.1rem 0.8rem rgba(0, 0, 0, 0.4);
}

.event-btn {
  display: inline-block;
  text-decoration: none;
  color: #fff;
  border: 1px solid #fff;
  padding: 12px 34px;
  font-size: 13px;
  background: transparent;
  position: relative;
  cursor: pointer;
  margin-top: 20px;
}

.event-btn:hover {
  border: 1px solid #f44336;
  background: #f44336;
  transition: 1s;
}

@media (max-width: 700px) {
  .events .cards-wrapper {
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: fit-content;
  }
}

@media only screen and (max-width: 600px) {
  .events .cards-wrapper {
    padding: 30px;
    flex-direction: column;
    justify-content: center;
    gap: 20px;
    height: fit-content;
  }
}

@media screen and (max-width: 480px) {
  .events .cards-wrapper {
    padding: 10px;
    flex-direction: column;
    justify-content: center;
    max-width: 100%;
    gap: 10px;
    height: fit-content;
  }
  
  .card {
  width: 100%;
  height: fit-content;
  box-shadow: 0 1rem 4rem rgba(0, 0, 0, 0.4);
  border-radius: 0.5rem;
  position: relative;
}
.card-info h2, h3, p {
   visibility: hidden;;
}

.event-btn {
    float: right;
}

}

/* Our Location Section */

.location {
  width: 80%;
  margin: auto;
  padding: 60px 0;
}

.location iframe {
  width: 100%;
}

.location h1 {
  font-size: 36px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 30px;
}

.address_row {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  gap: 10%;
}

.address_col {
  flex-basis: 48%;
}

.address_col div {
  display: flex-inline;
  align-items: center;
  margin-bottom: 40px;
}

.address_col div .fa {
  font-size: 28px;
  color: #c29525;
  margin: 10px;
  margin-right: 30px;
}

.address_col div p {
  padding: 0;
}

.address_col div h5 {
  font-size: 16px;
  margin-bottom: 5px;
  color: #555;
  font-weight: 400;
}

@media (max-width: 700px) {
  .address_row {
    width: 100%;
    margin-bottom: 5px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
}

/* Get in Touch Section */

.contact-container {
  background: linear-gradient(#cc9934, #1e1d1b);
  height: 90vh;
  display: flex;
  align-items: center;
  justify-content: space-evenly;
}

.contact-left {
  display: flex;
  flex-direction: column;
  align-items: start;
  gap: 20px;
}

.contact-left-title h2 {
  font-weight: 600;
  color: #fff;
  font-size: 40px;
  margin-bottom: 5px;
}

.contact-left-title h3 {
  font-weight: 400;
  color: #000;
  font-size: 15px;
  margin-bottom: 5px;
}

.contact-left-title hr {
  border: none;
  width: 120px;
  height: 5px;
  background-color: #5d1a02;
  border-radius: 10px;
  margin-bottom: 20px;
}

.contact-inputs {
  width: 400px;
  height: 50px;
  border: none;
  outline: none;
  padding-left: 25px;
  font-weight: 500;
  color: #666;
  border-radius: 50px;
}

.contact-left textarea {
  height: 140px;
  padding-top: 15px;
  border-radius: 20px;
}

.contact-inputs:focus {
  border: 2px solid #ff994f;
}

.contact-inputs::placeholder {
  color: #a9a9a9;
}

.contact-left button {
  display: flex;
  align-items: center;
  padding: 8px 15px; /*15px 10px;*/
  font-size: 16px;
  color: #fff;
  gap: 10px;
  border: none;
  border-radius: 50px;
  background: linear-gradient(270deg, #cc9934, #1e1d1b);
  cursor: pointer;
}

@media (max-width: 700px) {
  .contact-inputs {
    width: 80vw;
  }

  .contact-right img {
    display: none;
  }
}

/* Footer */
.footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  margin-top: 20px;
}

.footer h4 {
  margin-bottom: 15px;
  margin-top: 20px;
  font-weight: 300;
}

.footer a {
  text-decoration: none;
  color: #c29525;
}

.icons .fa {
  color: #cc9934;
  font-size: 42px;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

/* -------- Privacy Policy Page ----------*/
.sub-header {
  height: 50vh;
  width: 100%;
  background-image: url(/images/Sermons+Header.jpg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header h1 {
  margin-top: 70px;
  font-size: 60px;
}

.privacy-policy {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.privacy-policy p {
  margin: 80px 50px;
  text-align: center;
  font-size: 20px;
}

.privacy-policy span {
  font-weight: 600;
  color: #c29525;
}

/* -------- About Us Page ----------*/

.sub-header-about {
  height: 50vh;
  width: 100%;
  background: url(../images/harmonySDAchurch-banner-around-piano.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-about h1 {
  margin-top: 60px;
  font-size: 60px;
}

.about-us {
  width: 80%;
  margin: auto;
  padding-top: 40px;
  padding-bottom: 0px;
}

.about-col {
  flex-basis: 48%;
  padding: 30px 2px;
}

.about-col h1 {
  padding-top: 0;
  padding-bottom: 20px;
}

.about-col p {
  padding: 15px 25px;
}

.about-col embed {
  margin-top: 65px;
  width: 500px;
  height: 500px;
  margin-left: 60px;
  margin-right: 10px;
}

.about-more {
  padding-top: 40px;
  padding-bottom: 40px;
}

.about-more h1 {
  padding-top: 0;
  padding-bottom: 20px;
}

.about-more p {
  padding: 15px 25px;
}

.about-more a {
  text-decoration: none;
  color: #c29525;
  font-weight: 600;
}

.about-us-pastor {
  width: 80%;
  margin: auto;
  padding-top: 20px;
  padding-bottom: 50px;

  .about-col {
    flex-basis: 48%;
    padding: 10px 2px;
  }

  .about-col img {
    margin-top: 65px;
    width: 100%;
  }

  .about-col figcaption {
    font-size: 14px;
    text-align: right;
  }

  .about-col h1 {
    padding-top: 0;
    padding-bottom: 20px;
  }

  .about-col p {
    padding: 15px 25px;
  }
}

/*  Online Page */

.sub-header-online {
  height: 50vh;
  width: 100%;
  background: url(../images/harmony_church.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-online h1 {
  margin-top: 60px;
  font-size: 60px;
}

.online-page p {
  padding: 30px 30px;
}

.online-page .topics {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 60px;
}
.online-page .topics h1 {
  font-size: 36px;
  font-weight: 600;
}

.online-page .topics p {
  color: #0f0e0e;
  font-size: 14px;
  font-weight: 300;
  line-height: 22px;
  padding: 10px;
}

.row {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}

.online-page .topics-col {
  flex-basis: 31%;
  background: #f1e7b0; /*#fff3f3*/
  opacity: 0.7;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 0.5s;
}

.online-page .topics-col p {
  text-align: center;
  font-size: 16px;
  color: #0f0e0e;
  font-weight: 500;
}

.online-page .topics-col a {
  text-decoration: none;
  font-size: 18px;
  font-weight: 800;
  color: #d30819;
}

.online-page .topics-col h3 {
  text-align: center;
  font-weight: 600;
  margin: 10px 0;
}

.online-page .topics-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.3);
}

.online-page .details p {
  padding: 30px 50px;
  text-align: center;
}

.online-page .details span {
  color: #cc9934;
  font-weight: 800;
}

@media (max-width: 700px) {
  .row {
    flex-direction: column;
  }
}

/* -------- Biblical Discovers Page ----------*/

.sub-header-biblical-discovers {
  height: 50vh;
  width: 100%;
  background: url(../images/biblical-discovers2.jpg);
  opacity: 0.8;
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-biblical-discovers h1 {
  margin-top: 60px;
  font-size: 60px;
}

/* -------- Spirituality  Page ----------*/
.sub-header-spirituality {
  height: 50vh;
  width: 100%;
  background-image: url(/images/image-spiruality.jpeg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-spirituality h1 {
  margin-top: 70px;
  font-size: 60px;
}

.spiritual-page {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.spiritual-page p {
  margin: 80px 50px;
  text-align: center;
  font-size: 20px;
}

.spiritual-page span {
  color: #cc9934;
  font-weight: 800;
}

.spiritual-page span a {
  color: unset;
  text-decoration: none;
}

/* -------- Vitality  Page ----------*/
.sub-header-vitality {
  height: 50vh;
  width: 100%;
  background-image: url(/images/vitality-header.jpeg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-vitality h1 {
  margin-top: 70px;
  font-size: 60px;
}

.vitality-page {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.vitality-page h2 {
  margin-top: 50px;
  font-size: 40px;
  text-align: center;
}

.vitality-page p {
  margin: 50px 50px;
  text-align: center;
  font-size: 20px;
}

.vitality-page span {
  color: #cc9934;
  font-weight: 800;
}

.vitality-page span a {
  color: unset;
  text-decoration: none;
}

/* -------- Service  Page ----------*/
.sub-header-service {
  height: 50vh;
  width: 100%;
  background-image: url(/images/service-header.jpeg);
  background-position: center;
  background-size: cover;
  text-align: center;
  color: #fff;
}

.sub-header-service h1 {
  margin-top: 70px;
  font-size: 60px;
}

.service-page {
  width: 100%;
  margin: auto;
  display: flex;
  flex-direction: column;
  justify-content: start;
}

.service-page p {
  margin: 50px 50px;
  text-align: center;
  font-size: 20px;
}

.service-page span {
  color: #cc9934;
  font-weight: 800;
}

.service-page span a {
  color: unset;
  text-decoration: none;
}

/*-- Biblical Discovers Page -- */
