body {
  font: 18px "Times New Roman", "Times", serif;
  margin: 0px;
}

h1,
h2,
h3,
h4 {
  font-weight: normal;
  border-bottom: 1px solid #000;
  padding-bottom: 20px;
  margin: 0;
}

p {margin: 20px 0px;}

a {
  color: red;
}

.container {
  max-width: 1000px;
  margin: auto;
  padding: 20px;
  border: 1px solid #000;
  border-top: 0;
  border-bottom: 0;
}

div.code {
  background-color: #eee;
  padding: 10px;
}
code {
  font-size: 13px;
  background-color: #eee;
}

h4 code {
  border-bottom: 1px solid #ccc;
  padding: 3px;
  font-weight: bold;
}

.gallery {
  display: grid;
  grid-template-columns: 2fr 2fr;
  /* grid-column-gap: 20px; */
}

.embed {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
  max-width: 100%;
}

.embed iframe,
.embed object,
.embed embed {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.caption {
  font-size: 0.8em;
  margin: 0;
  margin-top: 5px;
  text-align: center;
}

.item {
  margin: 0px 0px;
  padding-bottom: 10px;
}

.item:nth-child(odd) {
  border-right: 1px solid #000;
  padding-right: 20px;
}

.item:nth-child(even) {
  padding-left: 20px;
}

@media (max-width: 768px) {
  .gallery {
    grid-template-columns: 1fr;
  }
  .item {
    border: none !important;
    padding: 0 !important;
    margin-bottom: 20px;
  }
}

