@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

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

body {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  min-height: 100vh;
  background: greenyellow;
}

h1 {
  margin-bottom: 15px;
  font-size: 40px;
  text-transform: capitalize;
  color: black;
  word-spacing: 3px;
}

.container {
  width: 350px;
  padding: 20px;
  border-radius: 10px;
  background: white;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.3);
}

form p {
  font-size: 20px;
  font-weight: 500;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5px;
}

form input {
  font-size: 18px;
  outline: none;
  text-align: center;
  width: 100%;
  height: 50px;
  padding: 0 20px;
  border-radius: 5px;
  border: 2px solid black;
}

form input:focus {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

form .FromToContainer {
  display: flex;
  margin: 25px;
  align-items: center;
  justify-content: space-between;
  flex-direction: column;
  gap: 10px;
}

.FromToContainer .selectBox {
  display: flex;
  width: 330;
  height: 40px;
  align-items: center;
  border-radius: 5px;
  justify-content: center;
  border: 2px solid black;
}

.FromToContainer p {
  text-align: start;
  font-weight: 400;
}

.selectBox select {
  width: 310px;
  font-size: 18px;
  border: none;
  background: none;
  text-align: center;
}

form .convertedAmount {
  font-size: 18px;
  margin: 15px;
  text-align: center;
}

form button {
  width: 100%;
  font-size: 18px;
  height: 50px;
  color: black;
  border: none;
  background: greenyellow;
  border-radius: 5px;
  cursor: pointer;
}

form button:active {
  transform: scale(0.95);
}

form button:hover {
  filter: brightness(1.1);
}
