@import url("https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap");

a {
  text-decoration: none;
  color: #2f4f4f;
}


.converter-section {
  min-width: 320px;
  height: 80vh;
  padding: 40px 10px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.top-title {
  display: flex;
  justify-content: space-between;
}

.title {
  font-size: 40px;
  color: #2f4f4f;
}

.img-set {
  display: flex;
  align-items: center;
  width: 50px;
  fill: #2f4f4f;
}

.icons {
  display: flex;
  justify-content: space-around;
}

.icon {
  text-align: center;
}

.text.active {
  color: #fff;
}

.img-icon.active img {
  filter: brightness(0) invert(1);
}

.img-icon img {
  width: 40px;
}

/*  */
.block-converter {
  height: 50vh;
  max-width: 400px;
  margin: 40px auto;
  padding: 40px;
  background-color: #ffffff80;
  border-radius: 15px;
  text-align: center;
}
.block-converter p {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  font-weight: 600;
  margin-bottom: 100px;
}

.converter-inputs,
.converter-result {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
}

.input-group {
  flex: 1;
  margin: 0 10px;
}

#result {
  width: 100%;
}

.input {
  padding: 0 8px;
  width: 150px !important;
  height: 40px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
}

#from-currency,
#to-currency {
  padding: 0 8px;
  height: 42px;
  width: 100px;
  background-color: #fff;
  border: none;
  border-radius: 8px;
}

.convert-button {
  margin-bottom: 20px;
  background-color: #2f4f4f;
  border: none;
  color: #fff;
  width: 120px;
  height: 42px;
  border-radius: 8px;
  font-family: "Montserrat", sans-serif;
  font-size: 16px;
}
