:root {
  --color-text: #222;
  --color-background: #fff;
  --color-border: #ffaa00;
  --gap-space: 2.5rem;
  --body-height: 85vh;
  --spacing-bottom: 2rem;
  --footer-position: absolute;
}

@media (prefers-color-scheme: dark) {
  :root {
    --color-text: #eee;
    --color-background: #121212;
  }
}

@media only screen and (max-height: 600px) and (orientation: landscape) {
  :root {
    --gap-space: 1.5rem;
    --body-height: 80vh;
    --spacing-bottom: 1rem;
    --footer-position: relative;
  }

  .footer {
    margin-top: 2rem;
  }
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  min-height: 100vh;
  background-color: var(--color-background);
  color: var(--color-text);
  border-left: 6px solid var(--color-border);
  border-right: 6px solid transparent;
}

a {
  color: unset;
  text-decoration: none;
}

.main {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
   gap: var(--gap-space);
  min-height: var(--body-height);
  padding-bottom: calc(20px + var(--spacing-bottom));
}

.header {
  display: flex;
  flex-flow: column nowrap;
  justify-content: center;
  align-items: center;
}

.contact {
  display: grid;
  grid-template-columns: auto auto;
  gap: 0.5rem;
}

.socials {
  display: flex;
  flex-flow: row nowrap;
  gap: 2rem;
}

.footer {
  position: var(--footer-position);
  bottom: var(--spacing-bottom);
}

.back {
  position: fixed;
  top: 3rem;
  left: 3rem;
  display: flex;
  flex-flow: row nowrap;
  align-items: flex-end;
  gap: 0.25rem;
}