:root{
  font-size: 18px;
  --text-color: hsl(275, 25%, 42%, 1);
}

body, html {
  padding: 0;
  margin: 0;
  height: 100%;
  background-color: hsl(260, 21%, 91%, 1);
}

.body-content{
  width: clamp(90vw, 1200px, 80%);
  margin: 0 auto;
}

a {
  color: var(--text-color);
  font-size: 1.0em;
}

/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read */
  background-image: linear-gradient(rgba(107, 64, 110, 0.5), rgba(88, 48, 92, 0.5)), url("images/Light%2BObjects%2B1.png");

  /* Set a specific height */
  height: 50%;

  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

/* Place text in the middle of the image */
.hero-text {
  text-align: center;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.hero-text > p,
.hero-text > h1{
  color: white;
}

p, li {
  color: var(--text-color);
  font-size: 1.2em;
}

small, h1, h2, h3, h4 {
  color: var(--text-color);
}

header{
  border-bottom: 1px solid purple;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}
.logo{
  height: 100px;
  aspect-ratio: 1 1;
}
nav{
  align-self: center;
  align-items: center;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

nav ul li {
  float: left;
}

nav ul li a {
  display: block;
  color: white;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  background-color: purple;
  margin: 1em
}

nav ul li a:hover, a.active {
  background-color: var(--text-color);
}



.pamphletsDisplay{
  display: flex;
  flex-direction: row;
  justify-content: space-evenly;
  background-color: white;
  margin: 1em;
  filter: drop-shadow(8px 8px 10px gray);
}

.pamphlet {
  text-align: center;
  width: calc(100% / 7);
}

.pamphlet > a > img{
  height: 300px;
}

footer{
  border-top: 1px solid purple;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
}

.footer-left{
  margin: 0 1.2em;
  max-width: 500px;
}

.footer-center{
  margin: 0 1.2em;
  max-width: 500px;
}

.footer-right{
  margin: 0 1.2em;
}

@media (max-width: 800px) {
  .pamphletsDisplay{
    flex-direction: column;
    align-items: center;
  }
  .pamphlet{
    width: 100%;
  }

  footer{
    flex-direction: column;
    justify-content: center;
  }
}