/* Global Styles */ body { font-family: Arial, sans-serif; margin: 0; padding: 0; background-color: #f7f7f7; } /* Navbar */ .navbar { background-color: #004d00; /* Dark Green */ padding: 10px; position: fixed; top: 0; width: 100%; z-index: 100; } .navbar .logo { display: flex; justify-content: flex-start; align-items: center; } .navbar .logo img { width: 120px; height: auto; } /* Headline */ .headline { text-align: center; background-color: #004d00; /* Dark Green */ color: white; padding: 60px 20px 20px; } .headline h1 { font-size: 36px; margin-bottom: 10px; } .headline p { font-size: 18px; } /* Content */ .content { display: flex; justify-content: center; align-items: center; margin-top: 80px; padding: 30px; } .converter-container { background-color: white; padding: 30px; border-radius: 10px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); width: 100%; max-width: 500px; } /* Currency Input Box */ .currency-box, .currency-group { display: flex; flex-direction: column; margin-bottom: 15px; } .currency-box label, .currency-group label { font-size: 14px; font-weight: bold; margin-bottom: 5px; } .currency-box input, .currency-group select { padding: 10px; font-size: 16px; width: 100%; border-radius: 5px; border: 1px solid #ccc; } /* Swap Button */ .swap-btn { background-color: #004d00; /* Dark Green */ color: white; font-size: 18px; padding: 10px; border-radius: 50%; cursor: pointer; margin: 0 10px; display: flex; justify-content: center; align-items: center; } .swap-btn:hover { background-color: #003d00; } .swap-btn i { font-size: 20px; } /* Convert Button */ #convert-btn { background-color: #004d00; /* Dark Green */ color: white; padding: 12px 20px; font-size: 18px; width: 100%; border-radius: 5px; border: none; cursor: pointer; } #convert-btn:hover { background-color: #003d00; } /* Result Display */ #result { font-size: 18px; margin-top: 20px; text-align: center; } /* How to Use */ .how-to-use { background-color: #f1f1f1; padding: 50px 20px; text-align: center; } .how-to-use h2 { font-size: 28px; margin-bottom: 20px; } .steps { display: flex; justify-content: center; flex-wrap: wrap; } .step { background-color: #fff; padding: 20px; margin: 10px; width: 250px; border-radius: 5px; box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); } .step h3 { font-size: 18px; margin-bottom: 10px; } /* Footer */ .footer { background-color: #333; color: white; padding: 20px; text-align: center; } .footer p { margin: 5px; } /* Responsive Design */ @media (max-width: 768px) { .currency-select { display: flex; flex-direction: column; } .currency-group, .currency-box { width: 100%; } .steps { flex-direction: column; } .converter-container { padding: 20px; } } /* How to use box alignment */ .how-to-use .steps { display: block; margin-top: 20px; }