@import url("https://fonts.googleapis.com/css2?family=Robotot&display=swap");

:root {
  --background: #000000;
  --text: #ffffff;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto", sans-serif;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  overflow-x: hidden;
  margin: 0 1rem;
  background-color: var(--background);
  color: var(--text);
}

header {
  margin: 1rem;
}

h2 {
  text-align: center;
  margin: 1rem 0;
}

.github {
  text-align: center;
}

main {
  max-width: 600px;
  margin: 0rem auto 2rem;
  text-align: center;
}

form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

input,
button {
  font-size: 1rem;
  padding: 0.5rem;
  margin: 1rem;
  width: 11rem;
  border: 2px solid var(--text);
  border-radius: 0.2rem;
  outline: none;
}

button {
  background-color: var(--background);
  color: white;
  cursor: pointer;
  margin-bottom: 2rem;
}

#result {
  display: none;
  width: 300px;
  margin: auto;
  padding: 0.5rem;
  border: 2px solid var(--text);
  border-radius: 0.2rem;
}

footer {
  margin-top: auto;
  height: 3rem;
  line-height: 3rem;
  width: 100%;
  text-align: center;
}

footer a,
.github a {
  color: inherit;
}

.nav {
  padding: 2rem;
  background-color: var(--text);
  color: var(--background);
  text-align: center;
  font-size: xx-large;
  font-weight: bolder;
}

.footer {
  padding: 4rem;
  background-color: var(--text);
  color: var(--background);
  font-size: x-large;
  font-weight: bolder;
  text-decoration: none;
}