@font-face {
  font-family: 'Open Sans';
  src: local('Open Sans'),
    url("/fonts/OpenSans.ttf") format("truetype");
}

@font-face {
  font-family: 'Open Sans Condensed';
  src: local('Open Sans Condensed'),
    url("/fonts/OpenSans_Condensed-Regular.ttf") format("truetype");
}

@font-face {
    font-family: 'Goda';
    src: local('Goda'),
      url("/fonts/GodaRegular.otf") format("opentype");
}

:root {
  --runloop-white: #eff4ef;
  --runloop-green: #99ae94;
  --runloop-yellow: #f0d350;
  --runloop-red: #a55047;
  --runloop-blue: #405c61;

  --primary-label: var(--runloop-blue);

  --primary-background: var(--runloop-white);
}

html {
  height: 100%;
}

body {
  background: var(--primary-background);
  color: var(--primary-label);
  display: flex;
  flex-direction: column;
  margin: 0px;
  min-height: 100%;
}

h1 {
  font-size: 2.5em;
}

h2 {
  font-size: 1.875em;
}

p {
  font-size: 1.2em;
}

#content {
  flex: 1;
  padding: 20px;
}

#footer {
  align-items: center;
  font-family: 'Open Sans Condensed';
  justify-content: space-between;
  padding: 20px;
}

.flex-container {
  display: flex;
}

.flex-container.center-vertical {
  flex-direction: column;
}

.flex-container.center-horizontal {
  justify-content: center;
  align-items: center;
}

.flex-container.logo-stack {
  align-items: center;
}

.logo {
  font-family: 'Goda';
  font-size: 3em;
}

.socials {
  gap: 1.1em;
}

.socials a:link {
  color: var(--primary-label);
  text-decoration: none;
}

.socials a:visited {
  text-decoration: none;
}

.socials a:hover {
  text-decoration: none;
}

.socials a.mastodon:hover {
  color: #6364FF;
}

.socials a:active {
  text-decoration: none;
}

 /* Dark mode support */

@media (prefers-color-scheme: dark) {
  body {
    background: var(--runloop-blue);
    color: var(--runloop-white);
  }

  .socials a:link {
    color: #eee;
  }
}


/* Small screens */

@media screen and (max-width: 700px) {
    .flex-container.logo-stack {
      flex-direction: column;
    }
}
