Spaces:
Running
Running
| /* General Styles */ | |
| body { | |
| margin: 0; | |
| font-family: Arial, sans-serif; | |
| } | |
| /* Navbar */ | |
| .navbar { | |
| background-color: #004d26; | |
| color: #fff; | |
| padding: 10px 20px; | |
| position: fixed; | |
| top: 0; | |
| width: 100%; | |
| z-index: 1000; | |
| } | |
| .navbar .container { | |
| display: flex; | |
| justify-content: space-between; | |
| align-items: center; | |
| } | |
| .welcome-message { | |
| font-size: 14px; | |
| opacity: 0.8; | |
| } | |
| /* Headline Section */ | |
| .headline { | |
| background-color: #004d26; | |
| color: #fff; | |
| text-align: center; | |
| padding: 40px 20px; | |
| margin-top: 50px; | |
| } | |
| /* Converter Section */ | |
| .converter-section { | |
| background-color: #fff; | |
| padding: 20px; | |
| display: flex; | |
| justify-content: center; | |
| } | |
| .converter-box { | |
| background-color: #fff; | |
| border: 2px solid #004d26; | |
| padding: 20px; | |
| border-radius: 10px; | |
| text-align: center; | |
| width: 300px; | |
| } | |
| /* How to Use Section */ | |
| .how-to-use { | |
| background-color: #004d26; | |
| color: #fff; | |
| padding: 40px 20px; | |
| text-align: center; | |
| } | |
| .how-to-use h2 { | |
| font-weight: bold; | |
| } | |
| .step-box { | |
| background-color: #f0f0f0; | |
| color: #000; | |
| padding: 20px; | |
| margin: 10px auto; | |
| border-radius: 10px; | |
| width: 250px; | |
| text-align: left; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .navbar .welcome-message { | |
| display: none; | |
| } | |
| .converter-box, | |
| .step-box { | |
| width: 100%; | |
| } | |
| } | |
| /* Headline Section */ | |
| .headline { | |
| background-color: #006400; /* Dark Green */ | |
| color: white; | |
| text-align: center; | |
| padding: 50px 20px; | |
| } | |
| .headline h1 { | |
| font-size: 36px; | |
| } | |
| .headline p { | |
| font-size: 18px; | |
| } | |
| /* Main Content Section */ | |
| .main-content { | |
| background-color: white; | |
| padding: 20px 50px; | |
| margin-top: 30px; | |
| display: flex; | |
| justify-content: center; | |
| } | |
| .converter { | |
| display: flex; | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| input, select, button { | |
| margin: 10px; | |
| padding: 10px; | |
| font-size: 16px; | |
| } | |
| button { | |
| background-color: #4CAF50; /* Green */ | |
| color: white; | |
| border: none; | |
| cursor: pointer; | |
| } | |
| button:hover { | |
| background-color: #45a049; | |
| } | |
| #result { | |
| margin-top: 20px; | |
| font-size: 18px; | |
| } | |
| /* Steps Section */ | |
| .steps { | |
| background-color: #006400; /* Dark Green */ | |
| padding: 30px; | |
| color: white; | |
| text-align: center; | |
| } | |
| .steps h2 { | |
| font-size: 30px; | |
| } | |
| .step-container { | |
| display: flex; | |
| justify-content: space-around; | |
| margin-top: 20px; | |
| } | |
| .step { | |
| background-color: #e0e0e0; /* Light Gray */ | |
| padding: 20px; | |
| width: 25%; | |
| border-radius: 8px; | |
| } | |
| .step h3 { | |
| font-weight: bold; | |
| } | |
| .step p { | |
| font-size: 16px; | |
| } | |
| /* Footer Section */ | |
| ./* Footer */ | |
| .footer { | |
| background-color: #ccc; | |
| color: #000; | |
| text-align: center; | |
| padding: 10px 20px; | |
| } | |
| /* Responsive Design */ | |
| @media (max-width: 768px) { | |
| .navbar { | |
| padding: 10px 20px; | |
| } | |
| .headline h1 { | |
| font-size: 28px; | |
| } | |
| .main-content { | |
| padding: 20px; | |
| } | |
| .converter { | |
| width: 100%; | |
| } | |
| .step-container { | |
| flex-direction: column; | |
| align-items: center; | |
| } | |
| .step { | |
| width: 80%; | |
| margin-bottom: 20px; | |
| } | |
| .footer { | |
| padding: 15px; | |
| } | |
| } |