@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Kaisei+HarunoUmi:wght@400;500;700&display=swap");
* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

:root {
  --primary-color: #7c3aed;
}

body {
  font-family: "Noto Sans JP", sans-serif;
  color: white;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.61) 0%,
      rgba(0, 0, 0, 0.863) 100%
    ),
    url("https://www.readersdigest.ca/wp-content/uploads/2018/10/01-Words-You-Never-Realized-Are-the-Same-Backwards-and-Forwards-1024x683.jpg?fit=640,427");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  height: 100vh;
  overflow-y: hidden;
}

a,
img,
li {
  text-decoration: none;
  list-style: none;
  display: inline;
}

.section-main {
  width: 100%;
  text-align: center;
  margin: 1rem auto;
  padding: 10px;
}

main {
  width: 100%;
  margin: auto;
  max-width: 300px;
}
label,
input {
  display: block;
  margin: 1rem auto;
}
input {
  width: 200px;
  border: 1px solid gray;
  border-radius: 0.5rem;
  padding: 0.5rem 1rem;
}

button {
  padding: 0.4rem 1rem;
  font-size: medium;
  border: 1px solid gray;
  border-radius: 0.5rem;
}

button:hover {
  color: white;
  background: gray;
  cursor: pointer;
}
.loader {
  margin: 0.5rem;
  background: transparent;
  display: none;
}
#output {
  margin: 1rem auto;
  padding: 1rem;
  font-family: "Kaisei HarunoUmi", serif;
  font-weight: 700;
}

footer {
  text-align: center;
  margin: 0 auto;
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
}
footer a {
  outline: none;
}
footer img {
  margin: 0 20px;
  width: 40px;
}
footer p {
  font-size: large;
  text-align: center;
}

.footer-list {
  margin: 1rem;
}
