|
|
|
body { |
|
font-family: Arial, sans-serif; |
|
margin: 0; |
|
padding: 0; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
min-height: 100vh; |
|
background-color: #001d57; |
|
overflow: auto; |
|
} |
|
|
|
.container { |
|
background: white; |
|
padding: 25px; |
|
border-radius: 12px; |
|
box-shadow: 0 6px 15px rgba(0, 0, 0, 0.2); |
|
width: 100%; |
|
max-width: 400px; |
|
} |
|
|
|
|
|
header h1 { |
|
text-align: center; |
|
margin-bottom: 20px; |
|
color: #001d57; |
|
font-size: 24px; |
|
font-weight: bold; |
|
text-transform: uppercase; |
|
} |
|
|
|
header h2 { |
|
text-align: center; |
|
font-size: 14px; |
|
color: #555; |
|
margin-bottom: 20px; |
|
} |
|
|
|
|
|
.form-group { |
|
margin-bottom: 15px; |
|
} |
|
|
|
label { |
|
display: block; |
|
margin-bottom: 8px; |
|
color: #333; |
|
font-weight: bold; |
|
} |
|
|
|
input, select { |
|
width: 100%; |
|
padding: 12px; |
|
font-size: 16px; |
|
border: 1px solid #ddd; |
|
border-radius: 8px; |
|
transition: border-color 0.3s ease; |
|
} |
|
|
|
input:focus, select:focus { |
|
border-color: #87cefa; |
|
outline: none; |
|
} |
|
|
|
|
|
.swap-group { |
|
text-align: center; |
|
margin: 20px 0; |
|
} |
|
|
|
#swapButton { |
|
background-color: #87CEFA; |
|
border: none; |
|
border-radius: 8px; |
|
padding: 8px 16px; |
|
font-size: 16px; |
|
color: white; |
|
font-weight: bold; |
|
cursor: pointer; |
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); |
|
transition: background-color 0.3s ease, transform 0.2s ease; |
|
} |
|
|
|
#swapButton:hover { |
|
background-color: #5faad7; |
|
transform: scale(1.05); |
|
} |
|
|
|
|
|
.convert-button { |
|
background-color: #007bff; |
|
border: none; |
|
border-radius: 8px; |
|
padding: 14px 20px; |
|
font-size: 18px; |
|
color: white; |
|
font-weight: bold; |
|
cursor: pointer; |
|
width: 100%; |
|
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2); |
|
transition: background-color 0.3s ease, transform 0.2s ease; |
|
margin-top: 15px; |
|
} |
|
|
|
.convert-button:hover { |
|
background-color: #0056b3; |
|
transform: scale(1.05); |
|
} |
|
|
|
|
|
.result-box { |
|
margin-top: 15px; |
|
padding: 15px; |
|
font-size: 16px; |
|
color: #333; |
|
text-align: center; |
|
background-color: #f0f4ff; |
|
border: 1px solid #87cefa; |
|
border-radius: 8px; |
|
} |
|
|
|
|
|
footer { |
|
text-align: center; |
|
margin-top: 20px; |
|
font-size: 14px; |
|
color: #000; |
|
background-color: transparent; |
|
padding: 15px 10px; |
|
} |
|
|
|
footer p { |
|
margin: 5px 0; |
|
color: #000; |
|
} |
|
|
|
footer a { |
|
color: #000; |
|
text-decoration: none; |
|
font-weight: bold; |
|
} |
|
|
|
footer a:hover { |
|
text-decoration: underline; |
|
} |
|
|