:root {
  --red: #aa3333;
  --darkRed: #7a1a1a;
  --white: rgba(255, 255, 255, 1);
  --blue: rgba(30, 30, 67, 1);
}
h1 {
  font-size: 50px;
  position: relative;
  top: 2rem;
  text-align: center;
  color: var(--white);
}
html {
  background-color: #aa3333;
  background-image: url(Assets/confetti-doodles.svg);
  background-attachment: fixed;
}
* {
  font-family: "Poppins", sans-serif;
  margin: 0;
  padding: 0;
}

img {
  width: 6rem;
  margin-top: 3rem;
}
.card {
  -webkit-box-shadow: 2px 17px 18px 0px rgba(0, 0, 0, 0.57);
  -moz-box-shadow: 2px 17px 18px 0px rgba(0, 0, 0, 0.57);
  box-shadow: 2px 17px 18px 0px rgba(0, 0, 0, 0.57);
  border-radius: 5em;
  position: fixed;
  top: 55%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  flex-direction: column;
  gap: 5rem;
  align-items: center;
  height: 661px;
  background-color: var(--white);
  width: 500px;
}
.input-wrapper {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  align-items: center;
}
.currency-wrapper {
  padding: 0.3rem 0.4rem;
  padding-right: 0.7rem;
  border-radius: 2em;
  background-color: var(--darkRed);
  height: 64px;
  width: 405px;
  display: flex;
  justify-content: start;
  align-items: center;
}
#currency-one,
#currency-two {
  font-size: 18px;
  font-weight: 700;
  background-color: var(--white);
  border-radius: 2em;
  width: 135px;
  height: 54px;
  text-align: center;
  border: none;
  border-right: 10px solid var(--white);
  outline: none;
  cursor: pointer;
}
#currency-one-number,
#currency-two-number {
  font-size: 25px;
  font-weight: 700;
  text-align: start;
  margin-left: 1rem;
  width: 100%;
  height: 100%;
  border-radius: 2em;
  border: none;
  outline: none;
  background-color: var(--darkRed);
  color: var(--white);
}

#currency-one-number::placeholder,
#currency-two-number::placeholder {
  color: rgba(255, 255, 255, 0.664);
}

#convert-button {
  font-size: 18px;
  font-weight: 700;
  height: 54px;
  width: 182px;
  border-radius: 2em;
  border: none;
  color: var(--white);
  background-color: var(--red);
  cursor: pointer;
  box-shadow: 0px 8px rgb(0, 0, 0);
  transition: ease-in-out 230ms;
}

#convert-button:hover {
  background-color: #cf1f1f;
  color: var(--white);
}
#convert-button:active {
  box-shadow: none;
  transform: translateY(7px);
  transition: 35ms cubic-bezier(0.5, 0.7, 0.4, 1);
}

input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

footer {
  text-shadow: 3px 2px rgba(0, 0, 0, 0.171);
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  width: 100%;
  position: absolute;
  bottom: 30px;
  text-align: center;
}

#formula {
  display: none;
  position: relative;
  bottom: 2rem;
  max-width: fit-content;
  padding: 0.3rem 1rem;
  background-color: #b91d1dc2;
  border-radius: 2em;
  color: var(--white);
}
