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

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

h1 {
  font-size: 2rem;
}

h2 {
  font-size: 1.75rem;
}

p {
  font-size: 1.25rem;
}

html {
  font-size: 16px;
  background-image: url("../images/background.png");
  background-repeat: repeat-x;
  background-position: 0 0;
  background-size: auto 100%;
  animation: scroll-bg 18s linear infinite;
}

html,
body {
  min-height: 100vh;
  max-width: 100vw;
  width: 100%;
}

body {
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  backdrop-filter: blur(0.75px);
}

header {
  margin-top: 5rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
}

#title {
  font-size: 3rem;
}

main {
  margin: 4rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}

#forms {
  width: 30vw;
  padding: 4rem;
  border-radius: 10px;
  border: 1px solid gray;
  background-color: #fff;
  text-align: center;
}

#forms h2 {
  margin-bottom: 3rem;
}

.inputs {
  text-align: left;
  margin-top: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

input {
  padding: 0.5rem;
  border-radius: 10px;
  border: solid 1px gray;
}

.radio_group {
  margin-top: 2rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.radio_group p {
  font-size: 1rem;
  padding-bottom: 0.25rem;
}

.radio_options {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.25rem;
}

.radio_options label {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 0.75rem;
  width: 100%;
  border-radius: 10px;
  padding: 0.5rem;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.radio_options label:hover {
  background-color: rgba(128, 128, 128, 0.1);
}

.message {
  margin: 0.5rem 0;
}

.success {
  color: green;
  font-size: 1rem;
}

.error {
  color: red;
  font-size: 1rem;
}

#update,
#generate {
  margin-top: 1rem;
  width: 100%;
  border-radius: 10px;
  border: solid 1px #000;
  padding: 0.5rem;
  font-weight: 600;
}

#update {
  color: black;
  background-color: #fff;
}

#update:hover {
  background-color: rgba(128, 128, 128, 0.1);
}

#generate {
  display: block;
  width: 100%;
  color: #fff;
  text-decoration: none;
  text-align: center;
  background-color: #000000d7;
}

#generate:hover {
  background-color: #000;
}

/* Footer */
footer {
  margin-top: auto;
  width: 100%;
  height: 3rem;
  background-color: #f8f8f8;
  display: flex;
  justify-content: center;
  align-items: center;
  border-top: 1px solid black;
}

/* Keys */
@keyframes scroll-bg {
  from {
    background-position: 0 0;
  }
  to {
    background-position: -100% 0;
  }
}