/* Dark Mode */
@media (prefers-color-scheme: dark) {
    body {
        background-color: #1f2023;
        color: #E7DBDA;
    }
    a {
        text-decoration: none;
        color: #DB9181;
    }
    code {
        background-color: #3B3C43;
        color: #E7DBDA;
    }
}

/* Light Mode */
@media (prefers-color-scheme: light) {
    body {
        background-color: #E7DBDA;
    }
    a {
        text-decoration: none;
        color: #FF535D;
    }
    code {
        background-color: #A9A2A2;
        color: #1f2023;
    }
}

/* Universal */
body {
    justify-content: center;
}

img {
    max-width: 100%;
    max-height: 100%;
}

header h1 {
    text-align: center;
}

code {
    border-radius: 5px;
    padding: 1pt;
}

footer {
    text-align: center;
    clear: both;
}

#content {
  margin: 25px 50px 75px;
}

/* For header.html */
#nav {
    background-color: #F14B25;
}

#nav-button {
    color: #E7DBDA;
    padding: 0px 25px;
    text-decoration: none;
}

#nav-button:hover {
    background-color: #DB691A;
}

/* For author.html */
#avatar {
    border-radius: 8px;
    max-width: 200px;
    height: auto;
}
#pronouns {
    color: #FF535D;
}

/* For meta.html */
.meta {
    text-align: center;
    clear: both;
}
#meta-avatar {
    border-radius: 8px;
    max-width: 60px;
    height: auto;
}

/* Fonts */
/* Remingtoned Type - latin */
@font-face {
    font-family: 'Remingtoned Type';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
         url('fonts/remingtonedtype.ttf');
  }
  /* Liberation Sans - latin */
  @font-face {
    font-family: 'Liberation Sans';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
         url('fonts/LiberationSans-Regular.ttf');
  }
  /* Liberation Mono - latin */
  @font-face {
    font-family: 'Liberation Mono';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
         url('fonts/LiberationMono-Regular.ttf');
  }
  /* OpenDyslexic - latin */
  @font-face {
    font-family: 'OpenDyslexic';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: local(''),
         url('fonts/OpenDyslexic-Regular.otf') format('opentype');
  }
  
  h1, h2, h3 {
    font-family: 'Remingtoned Type';
  }
  
  p, h4, h5 {
    font-family: 'Liberation Sans';
  }
  
  p {
    font-size: 16pt;
  }

  body {
    font-size: 14pt;
  }

  nav {
    font-size: 20pt;
  }
  
  pre, code {
    font-family: 'Liberation Mono', monospace;
  }
  