body {
  background-color: #090909;
}

.main-theme {
  background: url(../img/back.jpg) top center;
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 600px;
  text-align: center;
  font-family: 'Boogaloo';
  font-size: 48px;
  color: #f5f3f3;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
}

.blog-title {
  text-align: center;
  font-family: 'Open Sans';
  font-size: 26px;
  color: #f5f3f3;
  text-transform: uppercase;
  padding: 20px;
}

h2:before,
h2:after {
    background-color: #f5f3f3;
    content: "";
    display: inline-block;
    height: 1px;
    position: relative;
    vertical-align: middle;
    width: 50%;
}
h2:before {
    right: 0.5em;
    margin-left: -50%;
}
h2:after {
    left: 0.5em;
    margin-right: -50%;
}

.masonry-box {
  column-count: 4;
  column-gap: 20px;
}
.panel {
  display: inline-block;
  break-inside: avoid;
  background-color: #f5f3f3;
  overflow: hidden;
  margin: 10px;
}
.panel-text {
  padding: 25px;
}
.panel-image {
  max-width: 100%;

}
img {
    width: 100%;
}
h1 {
  font-family: 'Boogaloo';
  font-weight: bold;
  font-size: 24px;
  color: red;
  padding-bottom: 20px;
}
p {
  font-family: 'Open Sans';
  font-size: 16px;
  line-height: 1.4;
}
.date {
  font-style: italic;
}
a {
  display: inline-block;
  padding: 20px 0px;
  color: #442f2f;
  font-weight: bold;
  font-size: 18px;
  font-family: 'Open Sans';

}
footer {
  background-color: black;
  color: white;
  display: flex;
  justify-content: center;
  padding: 25px;
}
footer a {
  color: white;
  font-weight: normal;
  text-decoration: underline;
}
@media only screen and (max-width: 1120px) {
  .masonry-box {
    column-count: 3;
  }
}
@media only screen and (max-width: 840px) {
  .masonry-box {
    column-count: 2;
  }
}
@media only screen and (max-width: 460px) {
  .masonry-box {
    column-count: 1;
  }
}
