/* css/fonts.css */
@font-face {
  font-family: syne src: url("./assets/Syne-VariableFont_wght.ttf");
}
* {
  font-family: "syne", sans-serif;
  line-height: 1.5em;
}
html {
  font-size: 1.2em;
}
:where(h1) {
  margin-block: 0.67em;
  font-size: 2em;
}
figcaption {
  font-size: 0.8em;
}
.emote {
  height: 1em;
  transform: scale(1.6, 1.6);
  margin: 0 0.4em;
}

/* css/page-layout.css */
body {
  padding: 2em max(10vw, 30px) 2em max(10vw, 30px);
}
header {
  margin-bottom: 2em;
  div {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    img {
      height: 2.5em;
      position: relative;
      top: 0.75em;
      margin-right: 0.5em;
    }
  }
}
footer {
  margin-top: 4em;
  font-size: 0.8em;
}
.float-right {
  float: right;
  max-width: 20em;
  margin-right: 0;
}
figure {
  position: relative;
}
figure img {
  width: 100%;
}

/* css/menu.css */
nav {
  text-align: center;
  margin-bottom: 2em;
  a {
    display: inline-block;
    width: 8em;
    background-color: var(--background-color-secondary);
    color: var(--font-color-secondary);
    border: outset var(--font-color-secondary);
    text-decoration: none;
  }
  a:hover,
  a.current {
    color: white;
    border: inset var(--font-color-secondary);
    background-color: var(--highlight-color-light);
  }
}

/* css/colors.css */
:root {
  --background-color-primary: #F1D0F5;
  --background-color-secondary: #D0F5D6;
  --background-color-ternary: #E2F5D0;
  --font-color-primary: black;
  --font-color-secondary: black;
  --highlight-color-light: #9963A0;
  --highlight-color-dark: #4B3575;
}
body {
  background-color: var(--background-color-primary);
  color: var(--font-color-primary);
}
a,
a:visited {
  color: var(--font-color-primary);
}
a:hover {
  color: var(--highlight-color-dark);
}

/* css/elements.css */
.banners {
  display: grid;
  gap: 0.5em;
  grid-template-columns: repeat(5, calc(100% / 5 - (5 - 1) * 0.5em / 5));
  * {
    line-height: 0;
  }
  img {
    width: 100%;
    image-rendering: auto;
    image-rendering: crisp-edges;
    image-rendering: pixelated;
    image-rendering: -webkit-optimize-contrast;
  }
}
img.my.button {
  display: block;
  width: 20vw;
  margin: 0 auto;
  image-rendering: auto;
  image-rendering: crisp-edges;
  image-rendering: pixelated;
  image-rendering: -webkit-optimize-contrast;
}
.reviews {
  .author {
    font-size: 0.8em;
  }
  article {
    padding-left: 1em;
    border-left: 1px var(--highlight-color-light) solid;
    margin-bottom: 1em;
  }
  p {
    margin: 0;
  }
}
.postlist {
  a {
    text-decoration: none;
  }
  article {
    position: relative;
    padding: 0.5em;
    margin-bottom: 0.5em;
    border: 1px solid black;
    background-color: var(--background-color-secondary);
    &:hover {
      background-color: var(--highlight-color-light);
    }
    .title {
      font-size: 1.2em;
    }
    .date {
      font-size: 0.8em;
      margin-left: 1em;
    }
    .synopsis {
      font-size: 0.8em;
      margin: 0;
    }
  }
}
.game {
  position: relative;
  width: 500px;
  height: 500px;
  border: 1px solid black;
  background-color: var(--background-color-ternary);
  overflow: hidden;
  user-select: none;
}

/* css/animations.css */
@keyframes header-animation {
  0% {
    transform: rotateY(0deg);
  }
  100% {
    transform: rotateY(360deg);
  }
}
header img {
  animation-name: header-animation;
  animation-duration: 6s;
  animation-iteration-count: infinite;
  animation-delay: 10s;
}

/* css/misc.css */
.antiai {
  margin-top: 0.5em;
  color: #666;
}

/* css/main.css */
