@import "./colours.css";
@import "./cards.css";
@import "./font.css";
@import "./logo.css";
@import "./nav.css";
@import "./lists.css";

:root {
  --footer-height: 6vh;
  --svg-size: 3vh;
}

* {
  margin: 0;
  padding: 0;
}

body {
  display: grid;
  align-items: center;
  justify-content: center;
  background-color: black;
  grid-template-rows: 12vh auto var(--footer-height);
  height: 99vh;
  max-width: 80%;
  margin-inline: auto;
  text-transform: lowercase;

  color: var(--colour-text);
  font-size: 1.2rem;
}

h1,
h2,
h3 {
  text-align: center;
  padding-bottom: 0.5rem;
}

h1 {
  padding-bottom: 2rem;
}

ul {
  list-style-type: none;
}

a {
  text-decoration: none;
  color: var(--colour-link);

  &:hover {
    filter: brightness(30%);
  }

  &.current:hover {
    filter: none;
  }
}

main {
  padding-bottom: 3rem;
}

footer {
  height: var(--footer-height);

  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
  }
}

svg {
  height: var(--svg-size);
  /* margin-inline: auto; */
  path {
    fill: var(--colour-link);
  }

  :hover path {
    filter: brightness(50%);
  }
}

#emf-link {
  position: fixed;
  bottom: 1rem;
  left: 1rem;
  height: 10vh;
}

#emf-logo {
  height: 100%;
}
