/* General Reset */ body, h1, h2, p, input, select, button { margin: 0; padding: 0; font-family: Arial, sans-serif; } body { background-color: #1b5e20; /* Green background */ color: white; display: flex; flex-direction: column; align-items: center; min-height: 100vh; padding: 0 20px; } /* Navbar */ .navbar { width: 100%; background-color: #1b5e20; color: white; text-align: center; padding: 15px 0; position: fixed; top: 0; left: 0; z-index: 100; } .navbar .logo img { height: 50px; vertical-align: middle; } .navbar .welcome-text { margin-top: 10px; } /* Headline */ .headline { text-align: center; margin-top: 80px; /* To avoid overlap with fixed navbar */ background-color: #1b5e20; /* Same green as navbar */ padding: 20px 0; color: white; } .headline h1 { font-size: 2em; } .headline p { font-size: 1.2em; } /* Converter Content */ .converter-content { background-color: white; width: 100%; max-width: 800px; margin-top: 20px; padding: 20px; border-radius: 10px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); } .currency-input { margin-bottom: 20px; } .currency-input label { display: block; font-size: 1em; margin-bottom: 5px; } .currency-input input, .currency-input select { width: 100%; padding: 12px; font-size: 1em; border-radius: 8px; border: 1px solid #ddd; background-color: #f5f5f5; } button#swap-btn { background-color: #4CAF50; color: white; border: none; padding: 12px; font-size: 20px; cursor: pointer; border-radius: 50%; margin: 10px auto; display: block; } button#convert-btn { background-color: #4CAF50; color: white; padding: 15px; font-size: 1em; border: none; border-radius: 8px; cursor: pointer; width: 100%; } #result { text-align: center; margin-top: 20px; } /* Instructions Section */ .instructions { background-color: white; padding: 20px; width: 100%; max-width: 800px; margin-top: 30px; border-radius: 10px; box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1); } .instructions-box { background-color: #f5f5f5; padding: 20px; border-radius: 8px; box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); } .instructions-box h2 { text-align: center; margin-bottom: 20px; } /* Footer */ .footer { width: 100%; background-color: #333; color: white; text-align: center; padding: 15px 0; margin-top: 40px; } .footer a { color: #4CAF50; text-decoration: none; } .footer a:hover { text-decoration: underline; }