/* __Template Core Styles_______________________ */

/* Template Core Styles */
  body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    background: var(--light) var(--page-image);
    color: var(--light);
    font-size: 1.1em;
    line-height: 1.5;
    text-align: center;
  }

  a {
    text-decoration: none;
  }

/* __Page Container________________________________ */
  .page-container {
    /* max-width: 1250px; */
    padding: auto;
    margin: auto;
    text-align: center;
  }

/* __Page Header________________________________ */
  header {
    /* background: var(--light);  */
    color: var(--background);
    background: var(--dark) var(--showcase-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 450px;
    object-fit: contain;
    z-index: -1;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 3fr;
  }

  header .title-img {
    align-self: end;
    opacity: 0.8;
  }

  .header-bar {
    background-image: linear-gradient(to bottom right, var(--demolay-blue), rgb(79, 97, 150));
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    width: 100%;
    padding: 10px;
    height: 80px;
    display: grid;
    grid-template-columns: 1fr 3fr;
  }

/* __Contact Information________________________ */
  .information {
    background: var(--demolay-blue);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    color: rgb(128, 159, 255);
    width: 100%;
    margin: 0px;
  }

  .information a {
    color: rgb(128, 159, 255);
  }

  .information ul {
    display: inline-block;
    text-decoration: none;
    list-style-type: none;
  }

  .information ul li {
    display: inline-block;
    font-size: 13px;
    font-style: italic;
    text-transform: uppercase;
    padding: 0 2em;
  }

  .information ul li img{
    height: 25px;
    width: 25px;
  }


/* __Card Navigation____________________________ */
  .cards {
    margin: 20px 20px;
    display: grid;
    grid-template-columns: repeat(3, minmax(385px, 1fr));
    grid-gap: 20px;
  }

  .cards > article {
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-color: var(--card-color);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
  }

  .cards article img {
    margin: 0 0 10px 10px;
  }

  .cards article .officers {
    margin: 0px 5px 0px 5px;
    object-fit: contain;
    width: 100%;
    height: auto;
    align-self: center;
  }

  .cards article .text {
    padding: 0 20px 20px;
    font-size: 13px;
    color: var(--dark);
  }

  .cards article .text h3 {
    width: 100%;
    font-size: 18px;
    padding: 5px;
    background-color: var(--demolay-blue);
    color: rgb(204, 204, 204);
    box-shadow: var(--shadow);
    opacity: 0.8;
  }

  .cards article .text p {
    text-align: justify;
  }

  .cards article .text a {
    background: var(--demolay-blue);
    border: 0;
    color: rgb(204, 204, 204);
    font-size: 10px;
    padding: .5em 2em;
    box-shadow: var(--shadow);
  }

  .cardflame {
    height: auto;
    float: right;
    shape-outside: url("../img/Demolay-Flame-logo_sm.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
  }

  .dadlane {
    height: auto;
    float: right;
    shape-outside: url("../img/frank-s-land.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
  }

  .histcrown {
    height: auto;
    float: right;
    shape-outside: url("../img/DeMolayCrown.png");
    shape-image-threshold: 0.2;
    shape-margin: 15px;
  }

/* __Articles Navigation________________________ */
  .links {
    width: auto;
    margin: 20px 20px;
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 20px;
  }

  .links > article {
    background-color: var(--demolay-blue);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
    display: flex;
    flex-direction: column;
  }

  .links > article img {
    flex: 1;
    max-width: 100%;
    max-height: 250px; 0 10px 10px
    object-fit: cover;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }

  .links .text {
    flex: auto;
    padding: 0 20px 5px;
    vertical-align: center;
    color: rgb(204, 204, 204);
  }


/* __Footer Information________________________ */
  .footer {
    background: var(--medium);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    width: 100%;
    margin: 20px 0;
  }

  .footer p {
    color: rgb(204, 204, 204);
    font-size: 10px;
  }




/* __Media Queries______________________________ */
@media only screen and (max-width: 700px) {
    .page-container {
      max-width: none;
      width: auto;
      padding: 0;
      margin: 0;
    }

    header {
      width: auto;
      height: auto;
    }

    img {
      width: 50%;
      height: auto;
    }

    .text {
      font-size: small;
    }

    .links {
      grid-template-columns: 1fr 1fr;
      grid-gap: 10px;
    }

    .cards {
      grid-template-columns: 1fr;
    }

}
