* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

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

p {
  font-size: 1.2em;
  padding-right: 15px;
}
.main-content.events {
  height: 100vh;
  background: #f4f7f5;
}

.container.events {
  background: #f4f7f5;
  width: 90%;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2em 1fr 3em;
  grid-template-rows: 2em 1fr 2em;
  grid-row-gap: 1em;
  grid-template-areas:
    "header header ."
    ". col1 ."
    ". . .";
}
.section-group {
  display: grid;
  grid-template-columns: 150px 1fr;
  grid-template-rows: auto auto;
  grid-template-areas:
    "dottedline dottedline"
    "eventsdate eventstext";
  grid-column-gap: 5em;
}

.dotted-underline {
  grid-area: dottedline;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border-bottom: 0.0625rem dotted silver;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
}
.text-block-date {
  grid-area: eventsdate;
  font-size: 1.4em;
  margin-top: 1em;
}
.text-block-wrapper {
  grid-area: eventstext;
}

.container.events p {
  font-size: 1.4em;
}
.events-container blockquote {
  padding: 10px 20px;
  margin: 0 0 20px;
  font-size: 17.5px;
  border-left: 5px solid #eee;
}
.events-container cite {
  font-size: 0.9em;
}

.events-container blockquote .small:before,
.events-container blockquote footer:before,
.events-container blockquote small:before {
  content: "\2014 \00A0";
}
.events-container a {
  color: rgba(27, 26, 27, 0.8);
  font-size: 1.8em;
  text-decoration: none;
}

.events-container .text-block-wrapper a {
  font-size: 1em;
}

.events-container a:visited,
.events-container a:focus,
.events-container a:hover {
  color: rgba(78, 64, 80, 1);
}

article > header {
  align-content: center;
  margin-top: 3rem;
  border-bottom: 0.0625rem dotted #dfdfdf;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.004);
  font-size: 2rem;
  -webkit-font-smoothing: antialiased;
  color: #666;
}
.events-container {
  background: linear-gradient(to top, #4e4050, rgba(27, 26, 27, 0.8)),
    url(../images/magnetite.jpg) center no-repeat;
  background-size: cover;
  align-items: center;
  justify-content: center;
}
.events-container img {
  width: 360px;
  padding: 1em;
}

#col-1 {
  grid-area: col1;
}
#col-2 {
  grid-area: col2;
}
@media screen and (min-width: 2400px) {
  .container.events {
    width: 55%;
  }
}
@media (max-width: 1920px) {
  .container.events p {
    font-size: 1.2em;
  }
  .text-block-date {
    font-size: 1.2em;
  }
}
@media (max-width: 1366px) {
  .container.events {
    display: grid;
    width: 100%;
    grid-template-columns: 5% 1fr 5%;
  }
}

@media (max-width: 1024px) {
  .container.events {
    display: grid;
    width: 100%;
    grid-template-columns: 5% 1fr 5%;
  }
}

@media (max-width: 1024px) and (orientation: portrait) {
  .container.events {
    display: flex;
    flex-direction: column;
    padding: 1em;
  }
}

@media (max-width: 767px) {
  .container.events {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  .section-group {
    display: flex;
    flex-direction: column;
    padding: 1em;
  }
}
