:root {
  --primary-color: #4B3B44;
  --secondary-color: #33282F;
  --secondary-color-hover: #392D34;
  --tertiary-color: #757575;
  --tertiary-color-hover: #FAFAFA;
}

/*
destiny colors
  --primary-color: #3B444B;
  --secondary-color: #282F33;
  --secondary-color-hover: #2D3439;

ffxiv colors
  --primary-color: #4B3B44; #C4B4BD;
  --secondary-color: #33282F; #D7CCD3;
  --secondary-color-hover: #392D34; #D2C6CD;

minecraft colors
  --primary-color: #444B3B;
  --secondary-color: #2F3328;
  --secondary-color-hover: #34392D;
*/

*,
*:before,
*:after {
  box-sizing: border-box;
}

a {
  transition: all 0.125s ease-in-out;
}

.txt {
  display: inline-block;
  font-weight: normal;
  margin: 0;
  padding: 0;
  text-align: left;
  text-decoration: none;
}

.txt-s {
  font-size: 14px;
}

.txt-m {
  font-size: 18px;
}

.txt-l {
  font-size: 28px;
}

.txt-xl {
  font-size: 48px;
}

.txt-xxl {
  font-size: 88px;
}

.playfair {
  font-family: 'Playfair Display', sans-serif;
}

.roboto {
  font-family: 'Roboto Mono', sans-serif;
}

body {
  background-color: var(--primary-color);
  margin: 32px;
}

.wrapper {
  display: grid;
  grid-gap: 16px;
  max-width: 1022px;
  margin: 16px;
}

@media screen and (min-width: 542px) {

  .card {
    align-self: start;
    background-color: var(--primary-color);
    border: 8px solid var(--primary-color);
    border-radius: 8px;
    color: var(--secondary-color);
    display: grid;
    grid-gap: 12px;
  }

  .card a {
    background-color: var(--secondary-color);
    border: 2px solid var(--primary-color);
    border-radius: 8px;
    box-shadow: 0 0 0 2px var(--tertiary-color);
    color: var(--tertiary-color);
    height: 40px;
    line-height: 32px;
    text-align: center;
    width: 100%;
  }

  .card .txt {
    text-align: center;
  }

  .card>a {
    grid-column: 1 / -1;
  }

  .card a:focus,
  .card a:hover {
    background-color: var(--secondary-color-hover);
    box-shadow: 0 0 0 2px var(--tertiary-color-hover);
    color: var(--tertiary-color-hover);
  }

  .card a:focus {
    outline: 0;
  }

  .wrapper {
    grid-template-columns: 1fr 1fr 1fr;
    margin: 0 auto;
  }

  header,
  footer {
    grid-column: 1 / -1;
    grid-template-columns: 1fr;
    clear: both;
  }

  #header-title-table {
    display: inline-table;
    height: 192px;
    margin-left: 16px;
  }

  #header-title-table-cell {
    display: table-cell;
    vertical-align: middle;
    max-height: fit-content;
  }

  #header-title-table-cell>* {
    display: block;
  }

  #header-title,
  #header-links,
  #footer-links {
    text-align: center;
  }

  #header-links a {
    margin: 32px 16px 32px 16px;
  }

  #footer-links-ffxiv img,
  #footer-links-destiny img {
    margin: 32px 16px 64px 16px;
    transition: all 0.125s ease-in-out;
  }

}

.wrapper>* {
  background-color: var(--primary-color);
  color: var(--secondary-color);
  border-radius: 8px;
}

header a,
footer a {
  color: var(--tertiary-color);
}

header a:hover,
footer a:hover {
  color: var(--tertiary-color-hover);
  text-decoration: line-through;
}

footer p.txt {
  margin: 8px 0 8px 0;
  width: 100%;
}

footer p.txt i {
  color: darkred;
}