@font-face {
  font-family: Adineue;
  src: url('../fonts/adineuePROCond-Bold.otf');
 }
@font-face {
  font-family: Adihaus;
  src: url('../fonts/AdihausDIN-Medium.ttf');
}

html {
  margin: 0;
  font-size: 16px;
}

body {
  background: #000000 url('../img/dark04.jpg');
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  font-family: 'Adineue';
  margin: 0rem 1rem 0;
  /* text-transform: uppercase; */
  color: #ffffff;
}

main {
  max-width: 768px;
  margin: auto;
  padding: 30px 0;
}

h1 {
  margin: 0rem 0 2rem 0.5rem;
  padding: 0;
  color: #ffffff;
  font-size: 3.5rem;
  font-weight: normal;
  line-height: 3rem;
  text-transform: uppercase;
  word-break: break-word;
}

h2 {
  margin: 0;
  padding: 0;
  color: #ffffff;
  font-size: 1.5rem;
  line-height: 1.5rem;
  text-transform: uppercase;
}

h3 {
  margin: 0;
  margin-bottom: 1.25rem;

  font-size: 1.25rem;
  color: #5189F6;
}

h3.package {
  margin-bottom: 1.5rem;
}

article {
  margin-top: 0;
  margin-left: 0.5rem;

  font-size: 1.25rem;
}

article a {
  margin-bottom: 2rem;
  margin-right: 0.5rem;

  color: #ffffff;
  font-size: 1.5rem;
  text-decoration: none;
  display: block;
  position: relative;
  padding-right: 3rem;
  line-height: 2rem;
}

article a[href=""] {
  color: #c0c0c0;
}

article nav a:last-child {
  margin-bottom: 3rem;
}

article[name] {
 font-size: 0.9rem;
 font-family: Adihaus;
}

article[name] h1 {
 font-size: 1.75rem;
}

article[name="regulatory"] img {
  width: 50%;
  height: auto;
}

article:not([name="privacy"]):not([name="terms"]) > :not(table) a:not([name])::after {
  content: "";
  position: absolute;
  width: 2rem;
  height: 2rem;
  top: 0px;
  right: 0px;
  background: url('../img/iconArrowLongForward.png') no-repeat center;
  background-size: contain;
  filter: invert(100%);
}

article p {
  margin-top: 0;
  margin-bottom: 0;
  text-transform: none;
}

article > :not(table) p {
  margin-bottom: 2rem;
}

article[name="regulatory"] h2 {
    margin-top: 0;
    margin-bottom: 2rem;
    text-transform: none;
}

nav.top {
  display: flex;
}

nav.top a {
  width: 2rem;
  height: 2rem;
  flex-grow: 0;
  align-items: center;
  background: url('../img/back_icon.svg') no-repeat center;
  background-size: contain;
  margin-right: 1.5rem;
  transition: all 0.3s;
}

main nav a:hover {
  color: #A0C1FF;
}

hr {
  margin: 2rem 0;
  margin-right: 3rem;
  border: solid 0;
  border-bottom: 2px solid #98989a;
}

.item-row {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.item-image {
  width: 3rem;
  height: 3.5rem;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  margin-right: 1.5rem;
}

table {
  border-collapse: collapse;
  table-layout: auto;
  width: 100%;
}

table th, td {
  border: 1px solid #98989a;
}

table[name="opensourcelicense"] th {
  font-size: 0.9rem;
}

table[name="opensourcelicense"] td {
  word-break: break-word;
  padding-left: 0.2rem;
  padding-right: 0.2rem;
}

table td a {
  margin-bottom: 0;
  margin-right: 0;
  text-decoration: underline;

  font-size: 0.9rem;
  padding-right: 0;
}

table[name="opensourcelicense"] td[rowspan] {
  padding-top: 0.5rem;
  vertical-align: top;
  text-align: center;
}

.communication {
  color: #5189F6;
}
.back-button {
  all: unset;
  width: 40px;
  height: 40px;
  padding: 10px;
  margin-bottom: 20px;
  cursor: pointer;
  display: block;
}
.back-button svg {
  fill: #5189F6;
  width: 100%;
  height: auto;
}
.back-button:hover svg {
  fill: #A0C1FF;
}