body {
  font-family: Yellix, Helvetica, sans-serif;
  font-size: 14pt;
  line-height: 1.5;
  font-weight: 400;
  color: #004;
}

.titleimg {
  width: 20%;
  margin-bottom: 50px;
}

article {
  width: 700px;
  max-width: 100%;
  margin: 100px auto;
}

.legal-page {
  width: 1000px;
  max-width: 100%;
  margin: 100px auto;
}

hr {
  width: 75px;
  height: 5px;
  background-color: #ccc;
  border: 1px solid #ccc;
  border-radius: 4px;
  display: block;
}

a {
  color: #004;
  text-decoration: none;
}

a:focus,
a:hover {
  color: #d7d7d7;
}

button {
  display: flex;
  align-items: center;
  justify-content: center;
  outline: none;
  border: none;
  cursor: pointer;
  padding: 0.625rem 1rem;

  transition: color 0.2s ease;
  transition: background-color 0.2s ease;

  font-weight: 500;
  border-radius: 8px;

  color: #ffffff;
  background-color: #7144f2;
}

button a {
  font-family: Yellix, Helvetica, sans-serif;
  font-size: 16px;
  color: #ffffff;
}

button :hover {
  background-color: rgba(#7144f2, 0.15);
}

@font-face {
  font-family: "Yellix";
  font-style: normal;
  font-weight: 400;
  src: url("fonts/yellix/Yellix-Regular.woff2") format("woff2"),
    url("fonts/yellix/Yellix-Regular.woff") format("woff");
}

@font-face {
  font-family: "Yellix";
  font-style: normal;
  font-weight: 700;
  src: url("fonts/yellix/Yellix-Bold.woff2") format("woff2"),
    url("fonts/yellix/Yellix-Bold.woff") format("woff");
}

.security-chapters__toc-wrapper {
  display: none;
}

.security-chapters__chapter {
  margin-bottom: 3rem;
}

.security-chapters__chapter-headline {
  font-size: var(--med-font-size);
  margin-bottom: 1.6em;
}

.security-chapters__chapter-content {
  opacity: 0.8;
  transition: opacity 0.3s ease;
}

@media screen and (min-width: 768px) {
  .security-chapters {
    display: grid;
    grid-template-columns: min(33%, 32ch) 1fr;
  }

  .security-chapters__toc-wrapper {
    display: block;
    position: relative;
  }

  .security-chapters__toc {
    overflow: visible;
    position: sticky;
  }

  .security-chapters__toc-item {
    display: block;
    padding: 0.8rem 0;
  }

  .security-chapters__chapter-headline {
    font-size: var(--h4-font-size);
  }

  .security-chapters__chapter--intersecting
    .security-chapters__chapter-content {
    opacity: 1;
  }
}
