*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body, html{
  width: 100%;
  height: 100%;
  background-image: linear-gradient(120deg, #f093fb 0%, #f5576c 100%);

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: Verdana, Geneva, Tahoma, sans-serif;
}

.title{
  font-size: 48px;
  font-weight: 600;
  font-family: sans-serif;
  font-weight: normal;
  margin: 20px 0px;

}

main{
  background-color: white;
  width: 50vw;
  border-radius: 10px;
  box-shadow: 2px 3px 15px #0005;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;

  padding: 20px;

}

.currencyCountries{
  width: 100%;
}

.converterDiv{
  display: flex;
  gap: 20px;
  align-items: center;
  /* padding: 10px; */
  width: 100%;
  /* position: relative; */



}

.currencyDiv{
  width: 100%;
  height: 12vh;
  border-radius: 5px;
  border: 1px solid black;

  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 10px;

  padding: 5px 20px;
}

.changeBtn{
  padding: 15px;
  height: 100%;
  border-radius: 50%;
  border: 1px solid black;
  font-size: 18px;
  cursor: pointer;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.changeBtn:hover{
  background-color: #0001;
}

.currencyDiv .flag{
  width: 20%;
  height: 100%;
  object-fit: cover;
}
.currencyDiv select{
  width: 50%;
  height: 100%;

  appearance: none;
  background-image: url("./dropdown.png");
  background-size: 24px;
  background-repeat: no-repeat ;
  background-position-x: calc(100% - 20px);
  background-position-y: 22px;

  font-size: 24px;
  padding: 10px;
  cursor: pointer;
  border: none;
}
.currencyDiv select:focus{
  outline: none;
}


.names{
  font-size: 24px;
  display: flex;
  justify-content: space-evenly;
  gap: 100px;
}
.names div{
  width: 100%;
  text-align: left;
  padding: 10px 20px;
}


.inputCurrency{
  width: 100%;
  padding: 10px 30px;
  font-size: 24px;
  appearance: none;
  border-radius: 5px;
  border: 1px solid black;

}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
.inputCurrency:focus{
  outline: none;
}

#convertBtn{
  padding: 15px 40px;
  border-radius: 15px;
  border: none;
  font-size: 20px;
  background-image: linear-gradient(120deg, #f6d365 0%, #fda085 100%);
  transition: 0.5s background-image  ease;
  cursor: pointer;
}
#convertBtn:hover{
  background-image: linear-gradient(120deg, #fda085 0%, #f6d365  100%);
}

#result{
  font-size: 28px;
  font-weight: normal;
  font-family: Arial, Helvetica, sans-serif;
  letter-spacing: 0.5px;
  margin: 10px 0px;
  display: none;
}