@font-face {
  font-family: "Seurat";
  src: url("/style/fonts/FOT-Seurat-Pro-B.otf") format("opentype");
}

@font-face {
  font-family: "Qlarendon";
  src: url("/style/fonts/qlarendon.otf") format("opentype");
}

html {
  --pearl: #ece3c5ff;
  --citron: #ddc374ff;
  --gold-metallic: #d7b02cff;
  --turquoise: #35d3c6ff;
  --cherry-blossom-pink: #f7a6afff;
  --cardinal: #c5283dff;
  --dark-goldenrod: #977d3dff;
  --caf-noir: #563e18ff;
  --black: #020203ff;
}

body {
  font-family: "Readex Pro";
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-left: 100px;
  padding-right: 100px;
  background-image: url("/shrines/images/animalcrossing/grassbackground-seamless.png");
  background-repeat: repeat;
  color: var(--caf-noir);
}

h1:not(header h1),
h2,
h3,
h4 {
  font-family: "Seurat";
  color: var(--caf-noir);
  background: white;
  padding: 6px;
  text-align: center;
  border-radius: 4px;
  border: 5px dashed var(--caf-noir);
  rotate: 2deg;
  position: relative;
  z-index: 2;
}

h2 {
  background: var(--cardinal);
  color: white;
  border: 5px dashed var(--black);
}

div[id$="nh"] {
  margin-left: 30px;
}

section[id$="screenshots"] {
  text-align: center;
}

section[id$="screenshots"] img {
  width: 200px;
  margin: 5px;
}

header {
  display: flex;
  background-repeat: repeat;
  z-index: 1;
  padding: 10px 40px 10px 50px;
  background-color: var(--citron);
}

header a {
  color: var(--caf-noir);
}

a {
  color: var(--black);
}

nav,
nav ul {
  display: flex;
  list-style-type: none;
  align-items: center;
  justify-content: center;
}

nav ul li:not(nth-last-of-type) {
  margin-left: 10px;
  margin-right: 10px;
}

article,
section[id$="screenshots"] {
  padding: 15px;
  margin: 20px;
  margin-top: -25px;
  border-radius: 6px;
}

#skiplink {
  display: none;
}

#skiplink:focus {
  display: block;
}

#wrapper {
  background: white;
  padding: 20px;
  border-radius: 10px;
  margin: 100px;
  margin-top: 10px;
  width: 75vw;
  border: 4px dashed var(--gold-metallic);
}

#logo-div {
  text-align: center;
}

#logo {
  width: 300px;
}

#summary > article {
  rotate: -2deg;
}

#journey-article,
#summary-article,
#newhorizons-article,
article.villager-list.space,
#videos article,
#thursday-screenshots article,
#baby-house-screenshots,
article.villager-list.gravity,
#tuesday-stats {
  background: var(--cherry-blossom-pink);
  rotate: -1deg;
}

#newleaf-article,
#pros-article,
article.villager-list.tuesday,
#georgie-house-screenshots,
#space-screenshots article,
#tuesday-screenshots article,
#d-house-screenshots,
#amiibo-article {
  background: var(--turquoise);
  rotate: -1deg;
}

#space-stats,
#cons-article,
#music article,
#pocketcamp-article,
#gravity-stats,
#acpc-screenshots article,
#gravity-screenshots article,
#mimi-house-screenshots {
  background: var(--gold-metallic);
  rotate: 1deg;
}

#villagers-article {
  display: flex;
  background: var(--turquoise);
  rotate: 1deg;
}

#villagers > article > article {
  margin-left: 40px;
}

#villagers img {
  align-self: center;
}

#villagers img,
#newleaf img,
#amiibo img {
  filter: drop-shadow(8px 8px 10px navy);
}

#journey img,
#newhorizons img {
  filter: drop-shadow(-8px 8px 10px purple);
}

#pocketcamp img {
  filter: drop-shadow(8px 8px 10px var(--caf-noir));
}

.villager-list {
  max-width: 100vw;
  text-wrap: wrap;
  text-align: center;
}

.villager {
  display: inline-block;
}

.villager-inside {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.villager-inside img {
  height: 100px;
}

.rotate-reverse {
  rotate: -2deg;
}

@media only screen and (max-width: 700px) {
  #wrapper {
    max-width: 98vw;
    margin: auto;
  }

  #villager-img {
    display: none;
  }

  #journey img,
  #newleaf img,
  #pocketcamp img,
  #newhorizons img {
    width: 75%;
  }

  body {
    padding: 10px;
  }

  header {
    max-width: 99vw;
    justify-content: center;
    align-items: center;
    margin: auto;
  }

  header ul {
    display: block;
  }

  h1:not(header h1),
  h2,
  h3,
  h4 {
    rotate: 0deg;
    font-size: 1em;
  }

  #logo {
    width: 80%;
  }
}
