@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100..900;1,100..900&display=swap');
/* HTML: <div class="loader"></div> */
.loader {
  width: 60px;
  aspect-ratio: 4;
  --c:#000 90%,#0000;
  background: 
    radial-gradient(circle closest-side at left  6px top 50%,var(--c)),
    radial-gradient(circle closest-side                     ,var(--c)),
    radial-gradient(circle closest-side at right 6px top 50%,var(--c));
  background-size: 100% 100%;
  background-repeat: no-repeat;
  animation: l4 1s infinite alternate;
  display: none;
}
@keyframes l4 {
    to{width:25px;aspect-ratio: 1}
}
 
*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: Roboto ;
}
body{
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: antiquewhite;
    min-height: 100vh;
}
.converter-wrapper{
    display: flex;
    flex-direction: column;
    padding: 1rem;
    background-color: darkmagenta;
    color: wheat;
    border-radius: .5rem;
}
#amount{
    margin-top: 1rem;
}
form{
    display: flex;
    flex-direction: column;
    gap: 2rem;
}
.submit-button{
    display: flex;
    gap: 1rem;
    justify-content: space-evenly;
    height: 1.5rem;
}
input{
     height: 1.5rem;
     border-radius: .2rem;
     border: none;
}
select{
     height: 1.5rem;
     border-radius: .2rem;
     border: none;
}
#convert{
    background-color: white;
    color: black;
    border-radius: 0.2rem;
}