Files
seedPass/landing/style.css
Keep Creating Online 55eb008f7e update
2024-10-21 19:32:26 -04:00

152 lines
2.7 KiB
CSS

/* General Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Roboto', sans-serif;
line-height: 1.6;
background-color: #f4f4f9;
color: #283c4f;
}
/* Navbar */
.navbar {
background-color: #e94a39; /* Red background */
padding: 40px 0;
display: flex;
justify-content: center;
align-items: center;
}
.navbar .logo {
max-width: 250px;
}
/* Hero/Intro Section */
.intro {
text-align: center;
padding: 100px 20px;
background-color: #e94a39; /* Red background for hero section */
color: #ffffff; /* White text for contrast */
}
.intro h1 {
font-size: 2.5rem;
color: #ffffff;
margin-bottom: 20px;
}
.intro p {
font-size: 1.2rem;
color: #ffffff;
margin-bottom: 20px;
}
/* Call-to-Action (CTA) Button */
.cta-button {
display: inline-block;
margin-top: 30px;
background-color: #ffffff; /* White background */
color: #e94a39; /* Red text */
padding: 15px 30px;
font-size: 1.2rem;
font-weight: bold;
text-decoration: none;
border-radius: 6px;
border: 2px solid #ffffff; /* White border */
transition: background-color 0.3s ease, color 0.3s ease;
}
.cta-button:hover {
background-color: #e94a39;
color: #ffffff;
border: 2px solid #ffffff; /* Button changes on hover */
}
/* Features Section */
.features {
background-color: #f4f4f9;
padding: 60px 20px;
}
.features h2 {
text-align: center;
font-size: 2rem;
color: #e94a39;
margin-bottom: 40px;
}
.features ul {
max-width: 900px;
margin: 0 auto;
list-style: none;
padding: 0;
display: grid;
grid-template-columns: 1fr 1fr;
grid-gap: 20px;
}
.features ul li {
background-color: #ffffff;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
transition: transform 0.3s ease;
}
.features ul li:hover {
transform: translateY(-5px);
}
/* Disclaimer Section */
.disclaimer {
padding: 40px 20px;
background-color: #283c4f;
color: white;
text-align: center;
}
.disclaimer h2 {
color: #e94a39;
margin-bottom: 20px;
}
.disclaimer p {
max-width: 800px;
margin: 0 auto;
font-size: 1.1rem;
text-align: center;
}
/* Footer */
footer {
background-color: #f4f4f9;
padding: 20px 0;
text-align: center;
font-size: 0.9rem;
color: #555;
}
/* Responsive */
@media screen and (max-width: 768px) {
.navbar {
flex-direction: column;
}
.navbar .logo {
margin-bottom: 10px;
}
.cta-button {
width: 100%;
text-align: center;
}
.features ul {
grid-template-columns: 1fr;
}
}