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

body {
  font-family: "Noto Sans JP", sans-serif;
  text-align: center;
  color: #1d1919;
  height: 100vh;
  background-image: linear-gradient(
      to bottom,
      rgba(0, 0, 0, 0.5) 0%,
      rgba(0, 0, 0, 0.9) 100%
    ),
    url("https://wallpaperaccess.com/full/1921102.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
}

a {
  text-decoration: none;
}

li {
  list-style: none;
}

svg {
  padding-top: 0.5rem;
  margin: 0.5rem;
  inline-size: 120px;
}

header h1 {
  text-align: center;
  margin: 2rem;
}
main {
  width: 100%;
  max-width: 300px;
  margin: 1rem auto;
}
.input-label {
  display: block;
  color: hsl(0, 100%, 84%);
  font-size: large;
  text-align: left;
}

.input {
  font-family: "Noto Sans JP", sans-serif;
  display: block;
  font-size: medium;
  margin: 0.4rem auto 1rem;
  border: 2px solid #581d1d;
  outline: none;
  border-radius: 0.5rem;
  padding: 0.4rem 0.8rem;
  width: 100%;
  transition: all 0.3s ease;
}
.input:focus {
  box-shadow: 0 0 5px 2px #b91818;
}

button {
  display: block;
  font-family: "Noto Sans JP", sans-serif;
  padding: 0.4rem 0.8rem;
  font-size: medium;
  color: #581d1d;
  border: 2px solid #581d1d;
  outline: none;
  border-radius: 0.5rem;
  margin: 1rem auto;
  cursor: pointer;
  transition: all 0.4s ease;
}
button:hover {
  background: #581d1d;
  color: rgb(189, 189, 189);
}

button:focus {
  box-shadow: 0 0 2px 2px #c00c0c;
}
.show-current-price,
.output {
  color: white;
  font-weight: bold;
}
.show-current-price {
  margin: 0.5rem 0;
  text-align: left;
}
.current-price {
  cursor: pointer;
}
.output {
  width: 80%;
  margin: auto;
}
#gif-container {
  margin: 0.5rem auto;
}
