h1 {
  text-align: center;
  font-size: 72px;
  margin-top: 40px;
  margin-bottom: 20px;
}
body {
    margin: 0;
    display: flex;
    flex-direction: column;
}
.marquee-wrap {
  display: flex;
  justify-content: center;
  margin: 20px 0;
}

.marquee {
  width: min(60vw, 400px);
  border: 2px solid #333;
  overflow: hidden;
}

.marquee > span {
  display: inline-block;
  white-space: nowrap;
  padding-left: 100%;
  animation: scroll-left 20s linear infinite;
  word-spacing: 60px;
}

@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}
.essay-strip {
    display: flex;
    justify-content: center;
    gap: 40px;

    max-width: 1100px;
    width: 90%;

    margin: 80px auto 0 auto;

    overflow-x: auto;
    padding: 20px;
}

.essay-card { 
    flex: 0 0 100px;
    text-decoration: none;
    color: black;
}
.essay-card img {
    width: 250px; }

.essay-card:hover p {
    text-decoration: underline;
}
@media (max-width: 768px) {

    .essay-strip {
        flex-direction: column;
        overflow-x: visible;
        overflow-y: visible;
        align-items: center;
        gap: 50px;
}
    .essay-card {
        flex: 0 0 85%;
        text-align: center;
    }

    .essay-card img {
        display: block;
        margin: 0 auto;
    }
}
html, body {
    min-height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
}

footer {
    margin-top: auto;
    text-align: center;
    padding: 30px;
}

.footer-nav {
    margin-bottom: 18px;
}

.footer-nav a {
    color: black;
    text-decoration: none;
    font-size: 16px;
    margin: 0 18px;
}

.footer-nav a:hover {
    text-decoration: underline;
}

footer p {
    color: #777;
    font-size: 14px;
    margin: 0;
}
.content {
    max-width: 700px;
    width: 85%;
    margin: 40px auto;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.6;
}

.content h2 {
    font-size: 42px;
    text-align: left;
    margin-top: 0px;
    margin-bottom: 20px;
}

.content a {
    color: black;
}
.back-button {
  max-width: 700px;
  width: 85%;
  margin: 20px auto 60px auto;
  margin-top: 0px;
  margin-bottom: 20px;
}

.back-button a {
  display: inline-block;
  border: 2px solid #333;
  padding: 5px 10px;
  color: black;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
}

.back-button a:hover {
  text-decoration: underline;
}