CurrencyConverter5 / style.css
GarGerry's picture
Update style.css
d302e50 verified
raw
history blame
2.37 kB
/* General Styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: Arial, sans-serif;
line-height: 1.6;
}
/* Navbar Styles */
.navbar {
background-color: #006400; /* Dark Green */
padding: 15px 50px;
display: flex;
justify-content: space-between;
align-items: center;
}
.navbar .logo {
color: white;
font-size: 24px;
font-weight: bold;
}
.navbar .greeting {
color: white;
font-size: 18px;
}
/* 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 {
background-color: #808080; /* Gray */
color: white;
padding: 20px;
text-align: center;
position: fixed;
bottom: 0;
width: 100%;
}
/* 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;
}
}