|
body { |
|
font-family: Arial, sans-serif; |
|
margin: 0; |
|
padding: 0; |
|
box-sizing: border-box; |
|
} |
|
|
|
.navbar { |
|
position: fixed; |
|
top: 0; |
|
left: 0; |
|
width: 100%; |
|
background-color: #006400; |
|
padding: 10px 20px; |
|
display: flex; |
|
justify-content: flex-start; |
|
align-items: center; |
|
} |
|
|
|
.navbar .logo img { |
|
height: 40px; |
|
} |
|
|
|
.headline { |
|
text-align: center; |
|
background-color: #004d00; |
|
color: white; |
|
padding: 50px 20px; |
|
margin-top: 60px; |
|
} |
|
|
|
.headline h1 { |
|
font-size: 36px; |
|
font-weight: bold; |
|
} |
|
|
|
.headline p { |
|
font-size: 18px; |
|
} |
|
|
|
.content { |
|
background-color: white; |
|
padding: 40px 20px; |
|
margin-top: 20px; |
|
} |
|
|
|
.converter-container { |
|
display: flex; |
|
flex-direction: column; |
|
align-items: center; |
|
} |
|
|
|
.converter-container input, .converter-container select, .converter-container button { |
|
margin: 10px; |
|
padding: 10px; |
|
font-size: 16px; |
|
width: 200px; |
|
border: 1px solid #ccc; |
|
} |
|
|
|
#convert-btn { |
|
background-color: #006400; |
|
color: white; |
|
cursor: pointer; |
|
} |
|
|
|
#convert-btn:hover { |
|
background-color: #004d00; |
|
} |
|
|
|
#swap-btn { |
|
background-color: #cccccc; |
|
color: black; |
|
cursor: pointer; |
|
margin-top: 10px; |
|
} |
|
|
|
#swap-btn:hover { |
|
background-color: #b3b3b3; |
|
} |
|
|
|
.how-to-use { |
|
background-color: #004d00; |
|
color: white; |
|
padding: 30px 20px; |
|
margin-top: 20px; |
|
text-align: center; |
|
} |
|
|
|
.how-to-use h2 { |
|
font-weight: bold; |
|
} |
|
|
|
.steps { |
|
display: flex; |
|
justify-content: center; |
|
margin-top: 20px; |
|
flex-wrap: wrap; |
|
} |
|
|
|
.step { |
|
background-color: #e0e0e0; |
|
padding: 20px; |
|
margin: 10px; |
|
width: 200px; |
|
border-radius: 8px; |
|
text-align: center; |
|
} |
|
|
|
.step h3 { |
|
font-weight: bold; |
|
} |
|
|
|
.footer { |
|
background-color: #666666; |
|
color: white; |
|
padding: 20px 0; |
|
text-align: center; |
|
margin-top: 40px; |
|
} |
|
|
|
.footer-content p { |
|
margin: 5px 0; |
|
} |
|
|
|
@media screen and (max-width: 768px) { |
|
.steps { |
|
flex-direction: column; |
|
} |
|
} |
|
|
|
@media screen and (max-width: 480px) { |
|
.converter-container { |
|
width: 100%; |
|
} |
|
|
|
.footer-content p { |
|
font-size: 14px; |
|
} |
|
} |