/* Grace Gospel Church main.css style sheet

/* Variables */
:root {
  --darkblue: rgb(2, 2, 61);
  --black: #000;
  --lightblue: rgb(3, 3, 150);
  --overlaybg: rgba(252, 250, 250, 0.65);
  --contentbg: #999;
  --overlaypad: 30px 30px 50px 30px;
  --charcoal: #999;
}

/* Basic reset */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
  }
  
  body, html {
    height: 100%;
    background: var(--black);
  }

/* Basic Styles */
html {
  font-family: "Yrsa", serif;
  font-size: 16px;
}

p {
  line-height: 25px;
  margin: 10px 0;
  font-size: 1.4rem;
}

h1 {
  font-size: 2.5rem;
  font-weight: bold;
  text-align: center;
}

h2 {
  font-size: 1.2rem;
  font-weight: bold;
}

h3 {
  font-size: 1.2rem;
  font-weight: bold;
  margin-top: 15px;
}

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a,
a:hover,
a:active {
  text-decoration: none;
}

/* Head */
.header_container {
  background: var(--black);
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  width: 85%;
  margin: 0 auto;
  padding-bottom: 20px;
}

  .logo-box {
  }

/* Foot */
.foot {
  background-color: var(--black);
  color: #fff;
  text-align: center;
  padding: 1.5em 1em;
}

    .foot-top-text p {
      font-size: 1.5rem;
    }

    .foot-contact-info p {
      font-size: 1.1rem;
    }

    .foot-contact-info a {
      color: #fff;
    }

    .foot-social-map {
      display: flex;
      flex-wrap: wrap;
      gap: 30px;
      justify-content: center;
      margin: 20px 0;
    }

      .foot-social-map-box {
        width: 400px;
      }

        .foot-social-map-box iframe {
          width: 400px;
          height: 300px;
        }

    .foot-rights-info {
      font-size: 0.7rem;
    }

/* Top navigation */
.top-nav {
  background-color: var(--black);
  color: white;
  margin: 0 auto;
}

  nav {
    display: flex;
    flex-wrap: wrap;
    gap: 15px 20px;
    justify-content: center;
  }

  .top-nav nav a {
    color: white;
    font-size: 1.5rem;
    text-decoration: none;
    font-weight: bold;
  }

  .top-nav nav a:hover {
    color: var(--charcoal);
  }

  .active_nav {
    background-color: var(--charcoal);
    padding: 0 4px;
  }

/* Shared page styles */
.content-intro {
  margin: 20px 0;
  font-style: italic;
  font-size: 2.3rem;
  text-align: center;
}

/* Home */
.home-overlay {
  position: relative;
  z-index: 1;
  background-color: var(--overlaybg);
  padding: var(--overlaypad);
  min-width: 400px;
  max-width: 75%;
  border-radius: 15px;
  min-height: 85vh;
}

  .home-blocks-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    padding: 30px;
  }

    .home-block {
      border: 2px solid #000;
      padding: 20px;
      width: 400px;
    }

      .home-block-title {
        text-align: center;
      }

        .home-block-title a {
          padding: 7px;
          font-size: 1.2rem;
          color: #fff;
          font-weight: bold;
          background: var(--black);
          border-radius: 5px;
        }

          .home-block-title a:hover {
            background: var(--charcoal);
          }

      .home-block-text {
        margin-bottom: 10px;
        text-align: center;
        font-size: 1.5rem;
      }

/* General Pages */
.main-content {
  position: relative;
  background-size: cover;
  background-position: top center;
  background-repeat: no-repeat;
  background-attachment: scroll;
  min-height: 80vh;
  padding: 4em 1em;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  /* filter: grayscale(0%) brightness(0.8); */
}

.general-page-overlay {
  position: relative;
  z-index: 1;
  background-color: var(--overlaybg);
  padding: var(--overlaypad);
  min-width: 400px;
  max-width: 75%;
  border-radius: 15px;
  min-height: 85vh;
}

  .general-page-body {
  }

/* Contact (for Contact and Donate pages) */
.contact-overlay {
  position: relative;
  z-index: 1;
  background-color: var(--overlaybg);
  padding: var(--overlaypad);
  min-width: 400px;
  max-width: 75%;
  border-radius: 15px;
  min-height: 85vh;
}

  .contact-form-container {
    margin: 20px auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
  }

    .contact-form-header {
      text-align: center;
    }

    .contact-form-container form {
      width: 100%;
      text-align: center;
    }

      .contact-form-row {
        margin: 20px 0;
      }

        .contact-form-row label {
          font-size: 1.3rem;
          font-weight: bold;
        }

        .contact-form-text {
          max-width: 100%;
          border: none;
          padding: 0 5px;
          height: 25px;
        }

        .contact-form-textarea {
          max-width: 100%;
          padding: 5px;
          border: none;
        }

        .contact-form-amount {
          border: none;
          padding: 0 5px;
          height: 25px;
          width: 100px;
        }

      .contact_submit {
        border: none;
        border-radius: 10px;
        padding: 10px;
        background-color: var(--black);
        color: #fff;
        font-weight: bold;
        cursor: pointer;
      }

        .contact_submit:hover {
          background-color: var(--charcoal);
        }

      .contact-error-box {
        color: red;
        margin: 25px auto;
        width: 250px;
        border: 1px solid red;
        padding: 10px;
      }

        .contact-error-box ul li {
          list-style: none;
          line-height: 20px;
        }

/* Contact Success (for Contact and Donate pages) */
.contact-success-content {
  background: #999;
  padding: 10px 0;
}

  .contact-success-page-body {
    color: #fff;
    border: 1px solid #fff;
    padding: 20px;
    text-align: center;
    margin: 30px auto;
    display: table;
  }

    .contact-success-page-body p {
      font-size: 2.5rem;
      line-height: 40px;
      font-style: italic;
      color: var(--lightblue);
    }

/* Sermons */
.sermons-content {
  position: relative;
  min-height: 80vh;
  padding: 4em 1em;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--contentbg);
  /* filter: grayscale(0%) brightness(0.8); */
}

  .sermons-overlay {
    position: relative;
    z-index: 1;
    background-color: var(--overlaybg);
    padding: var(--overlaypad);
    min-width: 400px;
    max-width: 75%;  
    border-radius: 15px;
    min-height: 85vh;
  }

    .sermons-blocks-container {
      display: flex;
      flex-wrap: wrap;
      gap: 20px;
      justify-content: center;
    }

      .sermons-video-block {
        width: 400px;
        background: #f6f6f6;
      }

        .sermons-video-box {
          width: 100%;
        }

          .sermons-video-box iframe {
            width: 100%;
          }

        .sermon-title-box {
          width: 100%;
          font-size: 1.2rem;
          font-style: italic;
          text-align: center;
          padding: 5px 0;
        }

/* Team */
.team-content {
  position: relative;
  min-height: 80vh;
  padding: 4em 1em;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  background-color: var(--contentbg);
  /* filter: grayscale(0%) brightness(0.8); */
}

  .team-overlay {
    position: relative;
    z-index: 1;
    background-color: var(--overlaybg);
    padding: var(--overlaypad);
    min-width: 400px;
    max-width: 75%;  
    border-radius: 15px;
    min-height: 85vh;
  }

    .team-blocks-container {
      display: flex;
      flex-wrap: wrap;
      align-items: center;
      justify-content: center;
      gap: 30px;
    }

      .team-block {
        width: 350px;
        background: #f6f6f6;
      }

        .team-image-box {
        }

          .team-image-box img {
            max-width: 100%;
          }

          .team-name-box {
            margin-top: 5px;
            text-align: center;
            font-size: 1.4rem;
            font-weight: bold;
          }

          .team-bio-box {
            padding: 5px;
            font-size: 1.1rem;
          }