/* -- RESET -- */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
  --color-text: #fff;
  --color-bg: #292020;
}

@font-face {
  font-family: "Rosario";
  src: url("/fonts/Rosario-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Rosario";
  src: url("/fonts/Rosario-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Rosario";
  src: url("/fonts/Rosario-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Bold.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
}

@font-face {
  font-family: "Montserrat";
  src: url("/fonts/Montserrat-Italic.woff2") format("woff2");
  font-weight: 400;
  font-style: italic;
}

html {
    font-size: 16px;
    color-scheme: light dark;
}

body {
    font-family: Rosario, "Open Sans", sans-serif;
    color: var(--color-text);
    background-color: var(--color-bg);
    line-height: 1.5;
    min-height: 100vh;

    width: min(100%, 768px);
    margin-inline: auto;
    padding-inline: 16px;
}

h1,
h2,
h3 {
    font-family: Montserrat, "DejaVu Sans", sans-serif;
    padding-bottom: 1rem;
}

h1 {
    font-weight: bold;
    font-size: 2rem;
}

h2 {
    font-weight: 600;
    font-size: 1.5rem;
}

a,
a:visited {
    color: #b38b8b;
    text-decoration: none;
}

a:hover {
    font-weight: bolder;
}

header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.header-right {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.header-top {
    display: flex;
    justify-content: space-between;
}

.navbar,
.external-sites,
footer > ul {
    display: flex;
    gap: 16px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.header-logo {
    padding: 1rem;
}

.header-title {
    font-family: Montserrat, "DejaVu Sans", sans-serif;
    font-size: 1.3rem;
    padding-top: 1rem;
}

main {
    padding: 1rem;
}

p {
    margin-bottom: 1rem;
}

footer {
  padding: 2rem;
  color: white;
  font-weight: 500;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.2rem;
}

