README / styles.css
Ayo38's picture
Update styles.css
79451fb verified
body {
font-family: 'Roboto', sans-serif;
margin: 0;
padding: 0;
box-sizing: border-box;
color: #4368b1;
}
header {
background-color: #4368b1;
color: white;
padding: 20px 0;
}
nav {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
nav .logo {
font-size: 1.5em;
font-weight: bold;
}
nav ul {
list-style: none;
display: flex;
gap: 20px;
}
nav ul li {
margin: 0;
}
nav ul li a {
color: white;
text-decoration: none;
font-size: 1em;
}
#hero {
background: url('hero-bg.jpg') no-repeat center center/cover;
height: 100vh;
display: flex;
justify-content: center;
align-items: center;
text-align: center;
color: white;
}
.hero-content {
max-width: 600px;
padding: 20px;
background: rgba(0, 0, 0, 0.5);
border-radius: 10px;
}
.hero-content h1 {
font-size: 2.5em;
margin-bottom: 20px;
}
.hero-content p {
font-size: 1.2em;
margin-bottom: 20px;
}
.cta-button {
background-color: #f04a4a;
color: white;
padding: 10px 20px;
text-decoration: none;
border-radius: 5px;
font-size: 1em;
}
#features, #team, #contact {
padding: 50px 20px;
text-align: center;
}
h2 {
font-size: 2em;
margin-bottom: 20px;
}
.features-container, .team-container {
display: flex;
justify-content: center;
gap: 20px;
flex-wrap: wrap;
}
.feature, .team-member {
background-color: white;
border-radius: 10px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
padding: 20px;
width: 300px;
margin: 10px;
}
.feature img, .team-member img {
width: 100%;
border-radius: 10px;
}
form {
display: flex;
flex-direction: column;
max-width: 600px;
margin: 0 auto;
}
form label {
font-weight: bold;
margin-top: 10px;
}
form input, form textarea {
padding: 10px;
margin-top: 5px;
border: 1px solid #ccc;
border-radius: 5px;
font-size: 1em;
}
form button {
margin-top: 20px;
padding: 10px;
background-color: #4368b1;
color: white;
border: none;
border-radius: 5px;
font-size: 1em;
}
footer {
background-color: #4368b1;
color: white;
text-align: center;
padding: 20px 0;
margin-top: 50px;
}