I'll help you create the CSS for this HTML structure. Here's a clean, responsive CSS code for your Smart Salon website:
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}
/* Header styles */
header {
background-color: #2c3e50;
color: white;
padding: 1rem 2rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 2rem;
margin-bottom: 0.5rem;
color: #ecf0f1;
}
/* Navigation styles */
nav ul {
display: flex;
list-style: none;
flex-wrap: wrap;
gap: 1rem;
}
nav a {
color: #ecf0f1;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background-color 0.3s;
}
nav a:hover {
background-color: #34495e;
}
/* Main content styles */
main {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
main h2 {
color: #2c3e50;
margin-bottom: 1rem;
font-size: 1.8rem;
}
main p {
margin-bottom: 1rem;
color: #555;
}
/* Footer styles */
footer {
background-color: #2c3e50;
color: #ecf0f1;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
gap: 0.5rem;
}
header {
padding: 1rem;
}
main {
padding: 1rem;
}
}
/* Reset and base styles */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: 'Arial', sans-serif;
}
body {
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
}
/* Header styles */
header {
background-color: #2c3e50;
color: white;
padding: 1rem 2rem;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}
header h1 {
font-size: 2rem;
margin-bottom: 0.5rem;
color: #ecf0f1;
}
/* Navigation styles */
nav ul {
display: flex;
list-style: none;
flex-wrap: wrap;
gap: 1rem;
}
nav a {
color: #ecf0f1;
text-decoration: none;
padding: 0.5rem 1rem;
border-radius: 4px;
transition: background-color 0.3s;
}
nav a:hover {
background-color: #34495e;
}
/* Main content styles */
main {
padding: 2rem;
max-width: 1200px;
margin: 0 auto;
}
main h2 {
color: #2c3e50;
margin-bottom: 1rem;
font-size: 1.8rem;
}
main p {
margin-bottom: 1rem;
color: #555;
}
/* Footer styles */
footer {
background-color: #2c3e50;
color: #ecf0f1;
text-align: center;
padding: 1rem;
margin-top: 2rem;
}
/* Responsive adjustments */
@media (max-width: 768px) {
nav ul {
flex-direction: column;
gap: 0.5rem;
}
header {
padding: 1rem;
}
main {
padding: 1rem;
}
}
This CSS provides:
You should save this in your css/styles.css file as referenced in your HTML. The styling is modern, clean, and professional for a salon website.*