/*           */
/* DOCUMENTS */
/*           */
.documents-container {
  margin: 4rem auto;
  margin-top: 6rem;
  padding: 4rem;
  width: 1000px;
  background: var(--bg-grey);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  flex-wrap: nowrap;
}

@media screen and (max-width: 1000px) {
  .documents-container {
    width: 100%;
  }
}

@media screen and (max-width: 800px) {
  .documents-container {
    position: initial;
    padding: 2rem;
    margin: 2rem auto;
    margin-top: 0;
  }
}

.documents-container h1 {
  color: var(--text-grey);
  background: var(--bg-green);
  margin: 0 auto;
  padding: 1rem;
  position: absolute;
  top: 0;
  right: 50%;
  transform: translate(50%, -50%);
}

@media screen and (max-width: 800px) {
  .documents-container h1 {
    width: 60%;
    position: initial;
    top: initial;
    right: initial;
    transform: initial;
  }
}

@media screen and (max-width: 500px) {
  .documents-container h1 {
    width: 100%;
  }
}

.documents-container h2 {
  margin: 2rem auto;
}

.documents-category-container {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 2rem;
  padding-bottom: 2rem;
  border-bottom: .2rem solid var(--text-green);
}

.documents-category-container:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.documents-category-container h3 {
  text-align: initial;
  margin-bottom: 1rem;
}

.documents-category-container a {
  margin-top: .5rem;
}

.documents-category-container a > i {
  font-size: 1.5rem;
  margin-right: .2rem;
  color: var(--red);
}
