|
|
|
body { |
|
font-family: 'Arial', sans-serif; |
|
background-color: #001d57; |
|
color: #ffffff; |
|
margin: 0; |
|
padding: 0; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
height: 100vh; |
|
} |
|
|
|
|
|
.currency-converter { |
|
background-color: #ffffff; |
|
color: #001d57; |
|
border-radius: 15px; |
|
padding: 20px 25px; |
|
box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); |
|
max-width: 400px; |
|
width: 100%; |
|
} |
|
|
|
|
|
.currency-converter h1 { |
|
font-size: 24px; |
|
margin-bottom: 10px; |
|
text-align: center; |
|
} |
|
|
|
|
|
.currency-converter input, |
|
.currency-converter select { |
|
width: 100%; |
|
padding: 10px; |
|
margin: 10px 0; |
|
border: 1px solid #ccc; |
|
border-radius: 10px; |
|
font-size: 16px; |
|
} |
|
|
|
|
|
#swapButton { |
|
background-color: #eaf3ff; |
|
border: none; |
|
border-radius: 50%; |
|
padding: 10px; |
|
width: 40px; |
|
height: 40px; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
margin: 10px auto; |
|
cursor: pointer; |
|
} |
|
|
|
#swapButton:hover { |
|
background-color: #d3e6ff; |
|
} |
|
|
|
#swapButton img { |
|
width: 20px; |
|
height: 20px; |
|
} |
|
|
|
|
|
.currency-converter button { |
|
width: 100%; |
|
background-color: #007bff; |
|
border: none; |
|
color: white; |
|
padding: 10px; |
|
border-radius: 10px; |
|
font-size: 16px; |
|
cursor: pointer; |
|
} |
|
|
|
.currency-converter button:hover { |
|
background-color: #0056b3; |
|
} |
|
|
|
|
|
#result { |
|
margin-top: 20px; |
|
font-size: 18px; |
|
font-weight: bold; |
|
text-align: center; |
|
} |
|
|
|
|
|
footer { |
|
margin-top: 20px; |
|
font-size: 12px; |
|
text-align: center; |
|
color: rgba(255, 255, 255, 0.7); |
|
} |
|
|