body {
  font-family: Open Sans, Roboto, Verdana;
  margin: 0;
  padding: 0;
  background-image: url('money.png');
  background-repeat: no-repeat;
  background-size: cover;
  min-height: 100vh;
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-4px);
  }
}

h1 {
  color: #ffff00;
  font-family: 'Helvetica';
  animation: bounce 2s infinite;
}

p {
  color: #0f0;
  font-family: 'Arial';
  font-weight: 650;
}

.container {
  width: 500px;
  background-color: rgba(255, 255, 255, 0.82);
  margin: 20px auto;
  overflow: hidden;
  padding: 30px;
  border-radius: 15px;
  box-shadow: 0px 0px 10px #e2f748;
}

.butn {
  padding: 5px 10px;
  margin-top: 8px;
  background-color: #37e083;
  color: #000;
  font-size: 15px;
  font-weight: bolder;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.butn:hover {
  background-color: #29cd73;
}

.currency {
  padding: 30px 0;
  display: flex;
  justify-content: space-between;
}

.swap-rate-container {
  display: flex;
  justify-content: space-between;
}

.currency select {
  padding: 15px 20px 10px 10px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #dedede;
  font-size: 16px;
  background: transparent;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%20000002%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-position: right 7px top 50%, 0, 0;
  background-size: 12px auto, 100%;
  background-repeat: no-repeat;
  border-radius: 7px;
  border-color: grey;
  font-weight: 650;
  box-shadow: 0px 0px 8px #58ef06;
}

.currency input {
  font-size: 28px;
  font-family: 'Arial';
  font-weight: 550;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0px 0px 8px #58ef06;
}

.rate {
  color: purple;
  font-size: 18px;
  font-weight: bold;
  padding: 10px 20px;
}

/* Media Queries */

/* For mobile screens */
@media only screen and (max-width: 600px) {
  .container {
    width: 90%;
    padding: 20px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .currency {
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 100%; 
    margin: 0 auto; 
}

.currency input {
  font-size: 16px;
  font-family: 'Arial';
  font-weight: 550;
  text-align: center;
  border-radius: 10px;
  margin-bottom:20px;
  box-shadow: 0px 0px 8px #58ef06;
}

.currency select {
  padding: 15px 20px 10px 10px;
  margin-bottom: 10px;
  max-width:250px;
  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  border: 1px solid #dedede;
  font-size: 14px;
  background: transparent;
  background-image: url('data:image/svg+xml;charset=US-ASCII,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%22292.4%22%20height%3D%22292.4%22%3E%3Cpath%20fill%3D%22%20000002%22%20d%3D%22M287%2069.4a17.6%2017.6%200%200%200-13-5.4H18.4c-5%200-9.3%201.8-12.9%205.4A17.6%2017.6%200%200%200%200%2082.2c0%205%201.8%209.3%205.4%2012.9l128%20127.9c3.6%203.6%207.8%205.4%2012.8%205.4s9.2-1.8%2012.8-5.4L287%2095c3.5-3.5%205.4-7.8%205.4-12.8%200-5-1.9-9.2-5.5-12.8z%22%2F%3E%3C%2Fsvg%3E');
  background-position: right 7px top 50%, 0, 0;
  background-size: 12px auto, 100%;
  background-repeat: no-repeat;
  border-radius: 7px;
  border-color: grey;
  font-weight: 650;
  box-shadow: 0px 0px 8px #58ef06;
}

  }


/* For desktop screens */
@media only screen and (min-width: 601px) {
  .container {
    width: 500px;
    margin: 20px auto;
  }
  .currency {
    justify-content: space-between;
  }
}