/* put fonts first */
@font-face {
  font-family: "LibreFranklin-SemiBold";
  src:
    url(../fonts/LibreFranklin-SemiBold.woff2) format("woff2"),
    url(../fonts/LibreFranklin-SemiBold.ttf) format("truetype");
}

html {
  font-size: 16px; /* standardize base font for  em  and  rem  */
}

.nav-link {
  font-family: "LibreFranklin-SemiBold", sans-serif;
  font-size: 1.25rem;
  color: #222;
}


/* nav link highlight - NOTE colon before hover (pseudo-class) */
.nav-link:hover {
  color: #00f;
  text-decoration: underline;
}

.copy {
  font-family: "LibreFranklin-SemiBold", sans-serif;
  font-size: 1.1rem;
  color: #333;
}


/* ARCHIVED MODAL CODE */
/* see ashlandcommunitychurch.org  index.html  for usage */
/* ===================================================== */
/* --- Modal start --- */
/* Code credit */
/*
Source - https://stackoverflow.com/a/66301243
Posted by Manjunath Prabhakar
Retrieved 2026-10-12, License - CC BY-SA 4.0
*/

/* The Modal (window background) */
.modal {
  display: none;
  /* Hidden by default */
  position: fixed;
  /* Stay in place */
  z-index: 1;
  /* Sit on top */
  padding-top: 80px;
  /* Location of top of box from top of window */
  left: 0;
  top: 0;
  width: 100%;
  /* Full width */
  height: 100%;
  /* Full height */
  overflow: auto;
  /* Enable scroll if needed */
  background-color: rgb(0, 0, 0);
  /* Fallback color */
  background-color: rgba(0, 0, 0, 0.4);
  /* Black w/ opacity */
  overflow: auto;
}

/* Modal Content */
.modal-content {
  max-height: 40%; /* largest height of modal popup */
  overflow: auto;  /* Enable scroll if needed */
  position: relative;
  background-color: #fefefe;
  margin: auto;
  padding: 0;
  border: 2px solid #888;
  border-radius: 20px;
  width: 40%; /* width of modal popup */
  box-shadow:
    0 4px 8px 0 rgba(0, 0, 0, 0.2),
    0 6px 20px 0 rgba(0, 0, 0, 0.19);
  -webkit-animation-name: animatetop;
  -webkit-animation-duration: 0.4s;
  animation-name: animatetop;
  animation-duration: 0.4s;
}

/* Add Animation */
@-webkit-keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

@keyframes animatetop {
  from {
    top: -300px;
    opacity: 0;
  }

  to {
    top: 0;
    opacity: 1;
  }
}

/* The Close Button */
.close {
  color: grey;
  float: right;
  font-size: 28px;
  font-weight: bold;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}

.modal-header {
  padding: 4px 4px;
  background-color: #B7C9E2;
  color: #111;
  text-align: center;
}

.modal-body {
  padding: 0.5em;
  line-height: 175%;
  text-align: center;
}

.modal-footer {
  padding: 0;
  /* background-color: #eee;
            color: black; */
}

/* --- Modal finish --- */

/* --- Meetings 3x2 container */

.meetings-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background-color: transparent;
}


/* media queries last to make page resposive */
@media (max-width: 78em) {
  .main-bldg {
    padding-bottom: auto 0;
  }
}

@media (max-width: 56em) {
  .main-bldg {
    width: 100%;
    padding-bottom: 1em;
  }
  .main > .main-text {
    width: 100%;
  }
  .modal-content {
    width: 60%;
  }
}

@media (max-width: 48em) {
  .modal-content {
    width: 70%;
  }
}

@media (max-width: 33em) {
  .modal-content {
    width: 92%;
  }
}
