/* __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 {
    color: var(--background);
    background: var(--dark) var(--showcase-image);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    border: 5px solid var(--background);
    border-style: ridge;
    width: auto;
    height: 450px;
    object-fit: contain;
    z-index: -1;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 1fr 3fr;
  }

  .header .title-img {
    object-fit: scale-down;
    align-self: end;
    opacity: 0.8;
  }

  .header .social-media {
    align-self: end;
    text-align: right;
    margin-right: 25px;
  }

  .header .social-media img {
    width: 30px;
    height: 100%;
    box-shadow: var(--shadow);
  }

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

  .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(200px, 1fr));
    grid-gap: 20px;
  }

  .cards > article {
    background-color: var(--light);
    border: 1px solid var(--primary);
    box-shadow: var(--shadow);
    border-radius: 25px;
  }

  .cards > article img {
    width: 100%;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }

  .cards .text {
    padding: 0 20px 20px;
    font-size: 12px;
    color: var(--demolay-blue);
  }

  .cards .text h3 {
    font-size: 18px;
  }

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

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


/* __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;
    object-fit: cover;
    border-top-left-radius: 25px;
    border-top-right-radius: 25px;
  }

  .links .text {
    flex: auto;
    padding: 0 20px 2px;
    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-top: 20px;
  }

  .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;
    }

    #smlogo {
      width: 300px;
      height: auto;
    }

    .text {
      font-size: small;
    }

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

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

  }
