@import url('/static/styles/ringtones.css');

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --bg-color: #1b1b28;
  --menu-bg-color: black;
  --txt-color: rgb(245, 245, 245);
  --base-border-radius: 4px;
}

@font-face {
  font-family: 'Ndot';
  src: url('/static/ndot-45-inspired-by-nothing.ttf');
}

@font-face {
  font-family: 'Ndot2';
  src: url('/static/nothing-font.ttf');
}

@font-face {
  font-family: 'Ntype';
  src: url('/static/SpaceGrotesk-VariableFont_wght.ttf');
}

body {
  background-color: var(--bg-color);
  color: var(--txt-color);
  font-family: 'Ntype';
  position: relative;
  min-height: 100vh;
}

body::-webkit-scrollbar {
  display: none;
}

header {
  width: 100%;
  height: 4em;
  background-color: var(--menu-bg-color);
  padding: 0.4em 1.8em;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header nav {
  display: flex;
  gap: 1em;
  align-items: center;
}

header nav a {
  text-decoration: none;
  color: var(--txt-color);
  cursor: pointer;
  display: flex;
  align-items: center;
}

header #logo {
  position: relative;
  top: -2px;
  color: var(--txt-color);
  text-decoration: none;
  user-select: none;
  font-family: 'Ndot';
  display: flex;
  flex-direction: column;
}

header #logo span {
  font-size: 0.7em;
  font-family: 'Ndot2';
}

main {
  padding: 0 1.6em;
  /* for footer */
  padding-bottom: 9em;
}

main > * {
  text-align: center;
}

footer {
  position: absolute;
  bottom: 0;
  background-color: var(--menu-bg-color);
  padding: 1em 1em 2em 1em;
  font-size: 0.7em;
  min-height: 4em;
  max-height: 11.5em;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

footer > span {
  a {
    color: red;
  }
}

footer > #footer-links {
  display: flex;
  justify-content: center;
  gap: 2em;

  a {
    height: 3em;

    img {
      width: 3em;
    }
  }

  a#buy-me-a-coffee > img {
    height: 100%;
    width: auto;
  }
}

h1 {
  margin: 1em 0 0.5em 0;
}

@media screen and (min-width: 1200px) {
  main {
    padding: 0 15%;
    /* for footer */
    padding-bottom: 6em;
  }

  header {
    padding-left: 5em;
    padding-right: 5em;
  }

  footer {
    flex-direction: row;
    gap: 3em;
    padding: 1em;

    #footer-links {
      gap: 1em;
    }
  }
}
