@font-face {
    font-family: "Oxanium";
    src: url('../fonts/Oxanium-Regular.ttf') format('truetype');
}


* { box-sizing: border-box; }

/* ---- List---- */

.grid {
  /* center */
  padding: 0px 10px;
  margin: 20px auto;
  max-width: 100%;
}

/* clearfix */
.grid:after {
  content: '';
  display: block;
  clear: both;
  font-weight: lighter;
}

.grid-sizer,
.grid-item {
  width: 30%;
}

.searchform label {
  display: none;
}

.grid-item {
  margin: 20px 0px;
  display: flex;
  flex-direction: column;
  border-color: orange;
  text-align: center;
  cursor: crosshair;
}

.grid-item > h1 {
    color: pink;
    text-align: center;
    font-weight: bold;
    font-size: 24px;
}

.list-image-box {
    border: 2px solid green;
    height: 10vw;
    margin-top: 10px;
}

/* ---- Article ---- */


.body-container {
    position: relative;
    justify-content: center;
    width: 70%;
    margin: 0 auto;
    padding: 0;
    height: 100%;
    overflow-y: scroll;
    color: white;
    line-height: 1.5;
    font-family: Times;
    font-size: 16pt;
    scrollbar-width: none; /* Firefox */
    -ms-overflow-style: none;  /* IE 10+ */
    z-index: 1;
}

.body-container::-webkit-scrollbar { /* WebKit */
    width: 0;
    height: 0;
}

.article-container-fullwidth {
    width: 100%;
    margin: 40px 0;
}

.article-container-border {
    background-color: #000000;
    padding: 40px;
    border: 2px solid green;
    display: table;
}

.article-container-border > p {
    padding: 10px 0;
}

.article-subtitle p {
    text-align: center;
    color: #FFFD7F;
    font-style: italic;
}

.article-author p {
    text-align: center;
    color: white;
}

.article-decoration-container {
  width: 50%;
  justify-content: center;
  margin: 40px auto;
}

.article-decoration {
  width: 100%;
}

/* Header */

.header-container {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-row-gap: 40px;
    grid-column-gap: 40px;
}

.header-container-noimage {
  display: block;
}


.header-container > div {
    display: flex;
    flex-direction: column;
    border-color: orange;
}

.header-container > p {
    text-align: center;
}

.logo-image {
   width: 35%;
   height: auto;
   display: block;
   margin-left: auto;
   margin-right: auto;
   position: relative;
   z-index: 1;
   transition: all .3s ease-out;
}


.article-image-box {
    background-size:     cover;
    background-repeat:   no-repeat;
    background-position: center center;
}

.article-title-box > h1 {
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    color: pink;
}

.article-inline-flex {
    display: flex;
    flex-flow: row nowrap;
}

.article-inline-flex .right {
    margin-left: auto;
}

.article-date-text {
  text-align: center;
    color: #FFFD7F;
}

/* Footer */
.article-footer-container > .article-footer-copyright {
    color: pink;
}

.article-footer-container {
    display: flex;
    justify-content: center;
    font-size: 12pt;
}

/* Article inner content */

strong {
  font-weight: bold;
}

em {
  font-style: italic;
}

a:link {
  color: #35e6f2;
}

/* unvisited link */
a:visited  {
  color: #35e6f2;
}

a:hover {
  text-shadow: 0px 0px 5px #35e6f2;
  cursor: crosshair;
}


h2, h3, h4{
  color: #fc28b2;
  line-height: 3;
}

h1 {
  font-family: "Oxanium";
}

/* Media */
/* Tablet */
@media (max-width: 1160px) {
  .grid-sizer,
  .grid-item {
    width: 40%;
  }

  .logo-image {
    width: 60%;
  }
}

/* Mobile */
@media (max-width: 900px) {
  .grid-sizer,
  .grid-item {
    width: 90%;
  }

  .body-container {
    width: 90%;
  }

  .header-container {
    grid-template-columns: repeat(1, 1fr);
    grid-template-rows: repeat(2, 1fr);
  }

  .article-container-border {
      padding: 20px;
  }

  .list-image-box {
    height: 20vw;
  }

  .logo-image {
    width: 70%;
  }
}
