.resources {
  position: relative;
}

.resource a {
  display: inline-block;
  zoom: 1;
}

.resource a {
  display: block;
}

.resource a {
  text-align: center;
}

.resource {
  display: flex;
  flex-wrap: wrap;
}

.resource {
  justify-content: space-between;
}

.resource {
  align-items: flex-start;
}

.resource a {
  font-family: "AvenirNext", sans-serif;
}

.resource h2 {
  font-family: "bodoni_72", sans-serif;
}

.resource a {
  font-weight: bold;
  transition: background-color 250ms, color 250ms;
  padding: 1em 2em;
  cursor: pointer;
  min-width: 150px;
  border-radius: 5px;
}

.resource a {
  color: #FFFFFF;
  background-color: #99cc33;
  border-bottom: 5px solid #084628;
}
.resource a:hover {
  background-color: #add65c;
}
.resource a:active {
  background-color: #7aa329;
}

.resources {
  padding-left: 15%;
  padding-right: 15%;
}
@media screen and (min-width: 600px) and (max-width: 1440px) {
  .resources {
    padding-left: 10%;
    padding-right: 10%;
  }
}
@media screen and (max-width: 599px) {
  .resources {
    padding-left: 7.5%;
    padding-right: 7.5%;
  }
}

.resources {
  padding-top: 6vw;
  padding-bottom: 6vw;
}
@media screen and (min-width: 451px) and (max-width: 1200px) {
  .resources {
    padding-top: 6em;
    padding-bottom: 6em;
  }
}
@media screen and (max-width: 450px) {
  .resources {
    padding-top: 3em;
    padding-bottom: 3em;
  }
}

.intro p, .resource h2 {
  font-size: 2.5em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .intro p, .resource h2 {
    font-size: 2.5em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .intro p, .resource h2 {
    font-size: 2em;
  }
}
@media screen and (max-width: 450px) {
  .intro p, .resource h2 {
    font-size: 1.5em;
  }
}

.resource p, .resource a {
  font-size: 1em;
}
@media screen and (min-width: 1200px) and (max-width: 1919px) {
  .resource p, .resource a {
    font-size: 1em;
  }
}
@media screen and (min-width: 451px) and (max-width: 1199px) {
  .resource p, .resource a {
    font-size: 0.95em;
  }
}
@media screen and (max-width: 450px) {
  .resource p, .resource a {
    font-size: 0.9em;
  }
}

.resource h2 {
  font-weight: bold;
  line-height: 1em;
  margin-bottom: 0.8em;
}

.webp .hero {
  background-image: url("/app/images/resources/hero.webp");
}

.no-webp .hero {
  background-image: url("/app/images/resources/hero.jpg");
}

.resources {
  background-color: #f7f3eb;
}

.resource {
  width: 100%;
  margin-bottom: 3em;
}
.resource h2 {
  width: 100%;
  border-bottom: 5px solid #b9e95a;
}
.resource div {
  width: 60%;
}
.resource p {
  width: 100%;
  margin-bottom: 3em;
}
@media screen and (max-width: 960px) {
  .resource div {
    width: 100%;
  }
}
