/* RESOURCES STICKY FORMATTING */
h2 {
  margin: 10px 0px 0px 0px;
  text-align: center;
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;

  /* webkit sticky is required by safari (this lets h2 stick to top of page when scrolling) */
  position: -webkit-sticky;
  position: sticky;
  top: 71px;

  background-color: rgba(255, 255, 255, 0.9);
  color: rgb(0, 0, 0);
}

/* what we do title */
.subtitle {
  font-size: 32px;
  text-align: center;
  margin-top: 50px;
}

/* Reach out title */
.access-title {
  font-size: 32px;
  text-align: center;
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;

}

/* services cards (consulting, data compliance, and info sec */

.resources-grid {
  margin-top: 10px;
  margin-left: auto;
  margin-right: auto;
  display: grid;
  justify-content: center;
  row-gap: 10px;
  column-gap: 10px;
  max-width: 1020px;
  grid-template-columns: 1fr 1fr 1fr 1fr;
}

.resources-containers {
  margin: 5px 5px 5px 5px;
  max-width: 280px;
  min-width: 280px;
  border-width: 1px;
  border-color: rgba(127, 127, 127, 0.3);
  border-style: solid;
  border-radius: 15px;
  box-shadow: 2px 1px rgba(130, 130, 130, 0.1);
}

.resources-images {
  width: 80px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 50px 0px 50px 0px;
}

.resources-images-checklist {
  width: 70px;
  display: block;
  margin-left: auto;
  margin-right: auto;
  padding: 40px 0px 40px 0px;
}

.resources-titles {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding-bottom: 6px;
}

.resources-titles-sra {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
}

.resources-titles-checklist {
  font-size: 20px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 0px;
}

.resources-descriptions {
  font-size: 18px;
  line-height: 28px;
  margin: 10px;
  font-weight: 300;
  height: 280px;
  text-align: center;
}

.button {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 75px;
  margin: 15px 0px 30px 0px;
}

button {
  background-color: white;
  border: rgb(15, 27, 53);
  border-width: 2px;
  border-style: solid;
  color: rgb(0, 0, 0);
  padding: 16px 32px;
  border-radius: 25px;
  text-align: center;
  display: inline-block;
  font-size: 16px;
  cursor: pointer;
}

button:hover {
  background-color: rgb(15, 27, 53);
  color: white;
  transition-duration: .15s;
}

/* helps with sizing when on mobile */
@media (min-width: 1001px) and (max-width: 1350px) {
  .resources-grid {
    grid-template-columns: 1fr 1fr 1fr;
    max-width: fit-content;
  }
}

@media (min-width: 726px) and (max-width: 1000px) {
  .resources-grid {
    grid-template-columns: 1fr 1fr;
    max-width: fit-content;
  }
}

@media (max-width: 725px) {
  .resources-grid {
    grid-template-columns: 1fr;
    max-width: fit-content;
  }
}