* {
  margin: 0;
  padding: 0;
}

h2 {
  text-align: center;
  font-style: italic;
  color: rgb(35, 80, 143);
}

body {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 100vh;
  background-color: rgb(148, 150, 137);
  background-image: url("wallpaperflare.com_wallpaper (1).jpg");
  background-size: cover;
  background-blend-mode: overlay;
}

.container {
  background-color: rgb(187, 175, 175);
  padding: 1.5rem;
  border: 2px solid rgb(35, 80, 143);
  border-radius: 1rem;
  height: 50vh;
  width: 40vh;
}

form {
  margin-top: 1.5rem;
}

form input,
select,
button {
  width: 100%;
  height: 1.7rem;
  border: none;
  border-radius: 0.8em;
  outline: none;
}

form input {
  height: 2.2rem;
  font-size: 1.2rem;
  color: blue;
  border: 1px solid lightblue;
  padding-left: 10px;
  margin-top: 2px;
}

.dropdown {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  text-align: center;
}

.dropdown i {
  font-size: large;
  margin-top: 20px;
}

.select-container img {
  max-width: 2.3rem;
}

.select-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 2.5rem;
  width: 6rem;
  padding: 1px;
  border: 1px solid lightblue;
  border-radius: 0.7rem;
}

.select-container select {
  font-size: 0.95rem;
  width: auto;
  background-color: aliceblue;
}
.select-container select:hover{
  cursor: pointer;
}

.swap-icon:hover{
  color: blue;
}

.msg {
  margin: 1.5rem 0 1.5rem 0;
  font-size: larger;
  color: rgb(35, 80, 143);
  text-align: center;
  padding: 2px;
  border: 1px solid lightblue;
  border-radius: 10px;
}

button {
  height: 3rem;
  background-color: rgb(30, 147, 194);
  color: whitesmoke;
  font-size: large;
  font-family: "Lucida Sans", "Lucida Sans Regular", "Lucida Grande",
    "Lucida Sans Unicode", Geneva, Verdana, sans-serif;
}
button:hover{
  background-color: blue;
  cursor: pointer;
}

@media (max-width: 900px) {
  body {
    background-size: auto;
    background-blend-mode: darken;
  }
  .container {
    height: fit-content;
    width: max-content;
  }
  form input,
  select,
  button {
    height: 2.5rem;
    width: 20rem;
  }
  .select-container {
    padding: 5px;
  }
}
