|
|
|
body { |
|
font-family: 'Poppins', Arial, sans-serif; |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
overflow-x: hidden; |
|
background-color: white; |
|
} |
|
|
|
|
|
.navbar { |
|
position: fixed; |
|
top: 0; |
|
left: 0; |
|
width: 100%; |
|
background-color: #004d00; |
|
color: white; |
|
padding: 10px 20px; |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
z-index: 1000; |
|
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); |
|
} |
|
|
|
.navbar .logo img { |
|
height: 40px; |
|
} |
|
|
|
.navbar .logo img:hover { |
|
transform: scale(1.1); |
|
transition: transform 0.3s ease; |
|
} |
|
|
|
|
|
.headline { |
|
text-align: center; |
|
background-color: #004d00; |
|
color: white; |
|
padding: 60px 20px; |
|
margin-top: 50px; |
|
} |
|
|
|
.headline h1 { |
|
font-size: 36px; |
|
font-weight: bold; |
|
} |
|
|
|
.headline p { |
|
font-size: 18px; |
|
} |
|
|
|
|
|
.content { |
|
background-color: #004d00; |
|
padding: 40px 20px; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
flex-direction: column; |
|
} |
|
|
|
|
|
.converter-container { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
width: 100%; |
|
max-width: 800px; |
|
padding: 30px; |
|
border-radius: 12px; |
|
background-color: white; |
|
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); |
|
box-sizing: border-box; |
|
} |
|
|
|
|
|
.currency-box { |
|
display: flex; |
|
flex-direction: column; |
|
width: 100%; |
|
gap: 20px; |
|
} |
|
|
|
|
|
.currency-box .amount { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
gap: 15px; |
|
width: 100%; |
|
} |
|
|
|
.currency-box label { |
|
font-weight: bold; |
|
font-size: 16px; |
|
color: #004d00; |
|
margin-bottom: 5px; |
|
} |
|
|
|
.currency-box input { |
|
padding: 15px; |
|
font-size: 16px; |
|
width: 100%; |
|
border-radius: 8px; |
|
border: 1px solid #ccc; |
|
box-sizing: border-box; |
|
} |
|
|
|
|
|
.currency-select { |
|
display: flex; |
|
justify-content: space-between; |
|
align-items: center; |
|
width: 100%; |
|
gap: 20px; |
|
margin: 20px 0; |
|
} |
|
|
|
.currency-group { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
width: 100%; |
|
} |
|
|
|
.currency-group select { |
|
padding: 15px; |
|
font-size: 16px; |
|
width: 100%; |
|
border-radius: 8px; |
|
border: 1px solid #ccc; |
|
} |
|
|
|
|
|
#swap-btn { |
|
background-color: #004d00; |
|
color: white; |
|
cursor: pointer; |
|
border-radius: 50%; |
|
border: none; |
|
font-size: 20px; |
|
height: 50px; |
|
width: 50px; |
|
display: flex; |
|
justify-content: center; |
|
align-items: center; |
|
margin: 20px auto; |
|
transition: background-color 0.3s ease, transform 0.2s ease; |
|
} |
|
|
|
#swap-btn:hover { |
|
background-color: #003300; |
|
transform: rotate(180deg); |
|
} |
|
|
|
|
|
@media screen and (max-width: 768px) { |
|
.currency-select { |
|
flex-direction: column; |
|
justify-content: center; |
|
align-items: center; |
|
gap: 10px; |
|
} |
|
|
|
#swap-btn { |
|
transform: rotate(90deg); |
|
width: 40px; |
|
height: 40px; |
|
margin: 0; |
|
} |
|
|
|
.currency-group { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
} |
|
|
|
|
|
@media screen and (min-width: 769px) { |
|
.currency-select { |
|
flex-direction: row; |
|
align-items: center; |
|
gap: 20px; |
|
} |
|
|
|
#swap-btn { |
|
transform: rotate(0deg); |
|
width: 50px; |
|
height: 50px; |
|
} |
|
|
|
.currency-group { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
} |
|
|
|
|
|
#convert-btn { |
|
background-color: #004d00; |
|
color: white; |
|
cursor: pointer; |
|
padding: 15px 30px; |
|
font-size: 16px; |
|
border: none; |
|
border-radius: 8px; |
|
margin-top: 20px; |
|
transition: background-color 0.3s ease, transform 0.2s ease; |
|
} |
|
|
|
#convert-btn:hover { |
|
background-color: #003300; |
|
transform: translateY(-2px); |
|
} |
|
|
|
|
|
.how-to-use { |
|
background-color: white; |
|
color: black; |
|
padding: 40px 20px; |
|
margin-top: 20px; |
|
text-align: center; |
|
} |
|
|
|
.how-to-use h2 { |
|
font-weight: bold; |
|
margin-bottom: 20px; |
|
color: #004d00; |
|
} |
|
|
|
.steps { |
|
display: grid; |
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); |
|
gap: 20px; |
|
} |
|
|
|
.step { |
|
background-color: #f0f0f0; |
|
padding: 20px; |
|
border-radius: 8px; |
|
text-align: center; |
|
transition: background-color 0.3s ease, transform 0.3s ease; |
|
} |
|
|
|
.step:hover { |
|
background-color: #e0e0e0; |
|
transform: translateY(-5px); |
|
} |
|
|
|
.step h3 { |
|
font-weight: bold; |
|
color: #004d00; |
|
} |
|
|
|
|
|
.footer { |
|
background-color: #004d00; |
|
color: white; |
|
padding: 20px 0; |
|
text-align: center; |
|
margin-top: 40px; |
|
border-top: 2px solid #003300; |
|
} |
|
|
|
.footer-content p { |
|
margin: 5px 0; |
|
} |
|
|
|
.footer-content a { |
|
color: white; |
|
text-decoration: none; |
|
margin: 0 10px; |
|
transition: color 0.3s ease; |
|
} |
|
|
|
.footer-content a:hover { |
|
color: #ccc; |
|
} |