:root {
  --body-bg-color: #fff;
  --main-bg-color: #fff;
  --h2-color: #174e8e;
  --oldtext-color: #444;
  --text-color: #717788;
  --button-bg-color: #28955d;
  --button-text-color: #000000;
  --button-border-color: #000000;
  --article-box-border: #a5abbd;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Source Sans Pro", sans-serif;
  font-size: 1.2em;
  display: grid;
  background-color: var(--body-bg-color);
}

.page {
  width: 1280px;
  max-width: 95vw;
  margin: 0 auto;
}

.header {
  background-color: #fff;
}

.header-grid {
  display: grid;
  grid-template-columns: 60px 200px auto;
  grid-template-rows: 60px;
  padding-bottom: 30px;
}

.header-logo {
  background-color: #fff;
  background-image: url(../img/neil2.png);
  background-size: cover;
  margin: 10px;
}

.header-name {
  background-color: #fff;
  font-family: "Urbanist", Arial, Helvetica, sans-serif;
  font-size: 30pt;
  padding-top: 7px;
  margin-left: -5px;
  color: #717788;
}

.header-nav {
  background-color: #fff;
}

.footer {
  background-color: #fff;
  color: #3f367b;
  font-size: 14px;
  text-align: center;
  padding-top: 14px;
}

.content-wrapper {
  background-color: var(--main-bg-color);
}

.main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: auto;
  grid-auto-rows: 1fr;
  /*grid-template-rows: 75px auto 60px;*/
  justify-content: space-around;
}

.article {
  display: grid;
  padding: 10px;
  margin: 10px;
  background-color: var(--article-bg-color);
  grid-template-columns: 1fr;
  grid-template-rows: 1fr;
  grid-auto-rows: 1fr;
  border: 1px solid var(--article-box-border);
}

.article-pic {
  padding-bottom: 5px;
}

.article-pic > img {
  object-fit: cover;
  width: calc(100% - 5px);
  margin: 2px;
}

.article-text {
  display: inline;
  vertical-align: top;
  color: var(--text-color);
  min-height: 175px;
  margin-left: 5px;
  margin-right: 5px;
}

.article-text h2 {
  font-family: "Lexend Deca", Arial, Helvetica, sans-serif;
  font-weight: 800;
  color: var(--h2-color);
  padding-top: 10px;
  padding-bottom: 10px;
}

.article-text p {
  padding-top: 10px;
}
.article-text a {
  color: var(--h2-color);
  text-decoration: underline;
  text-decoration-thickness: 1px;
}

.article-text a:hover {
  text-decoration: none;
}
/*
.featured {
  grid-column: 1/4;
  height: 200px;
}
*/

.btn {
  height: 50px;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
  font-size: 1em;
  text-decoration: none;
  background: var(--page-bg-color);
  color: var(--button-text-color);
  margin-top: 20px;
  margin-right: 35px;
  text-align: center;
  padding-top: 12px;
  border: 1px solid var(--button-border-color);
  border-radius: 8px;
}

/* On screens that are 992px or less, set the background color to blue */
@media screen and (max-width: 992px) {
  .main-grid {
    grid-template-columns: 1fr 1fr;
  }
}
/* On screens that are 600px or less, set the background color to olive */
@media screen and (max-width: 600px) {
  .main-grid {
    grid-template-columns: 1fr;
  }
}
