/* Basic utility colors */
@font-face {
  font-family: "cursive";
  src: url("../fonts/brannboll.otf") format("opentype");
}
@font-face {
  font-family: "raleway-regular";
  src: url("../fonts/raleway-regular.ttf") format("truetype");
}
@font-face {
  font-family: "raleway-bold";
  src: url("../fonts/raleway-bold.ttf") format("truetype");
}
.title h1 {
  font-family: "raleway-bold";
  font-size: 3rem;
  line-height: 1em;
  color: #264b5a;
}
.title p {
  margin-top: 1.5rem;
  font-family: "raleway-bold";
}

.resources {
  text-align: center;
}
.resources .resource-header {
  font-family: "raleway-bold";
  font-size: 2rem;
  line-height: 1em;
  padding: 1rem;
  color: #264b5a;
  text-transform: uppercase;
  margin-top: 4rem;
  background-color: #cad8e0;
  line-height: 1em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.resources .resource-header span {
  font-style: italic;
  font-size: 1rem;
  margin-top: 1rem;
  color: #666767;
  line-height: 1em;
  text-transform: none;
}
.resources p {
  text-transform: uppercase;
  color: #264b5a;
  margin-top: 2rem;
  font-family: "raleway-bold";
}
.resources a {
  display: inline-block;
  margin-top: 0.5rem;
  color: #666767;
  font-style: italic;
  transition: color 0.2s ease-in-out;
}
.resources a:after {
  content: "";
  display: block;
  width: 0;
  height: 1px;
  background: #264b5a;
  transition: width 0.2s ease-in-out;
  margin: 0 auto;
}
.resources a:hover:after {
  width: 100%;
}
.resources a:hover {
  color: #264b5a;
}

.section img {
  max-width: 300px;
  margin: 0 auto;
}

@media screen and (max-width: 600px) {
  .resource-header {
    width: 100%;
  }
}