Files
od8n_homepage/public/style.css
Oliver cd25240ad1 add
2025-07-29 11:45:48 -03:00

335 lines
4.8 KiB
CSS

* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
color: #333;
line-height: 1.6;
background: #f9f9f9;
}
/* Hero Section */
.hero {
background: linear-gradient(to right, #4a90e2, #0070c0);
color: #fff;
text-align: center;
padding: 80px 20px;
}
.hero h1 {
font-size: 2.5rem;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
}
.btn-primary {
background: #fff;
color: #0070c0;
padding: 12px 24px;
text-decoration: none;
border-radius: 25px;
font-weight: bold;
transition: background 0.3s;
}
.btn-primary:hover {
background: #e0e0e0;
}
/* Packages */
.packages {
text-align: center;
padding: 60px 20px;
background: #fff;
}
.packages h2 {
font-size: 2rem;
margin-bottom: 40px;
}
.package-list {
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 20px;
}
.package {
background: #f5f5f5;
padding: 20px;
border-radius: 12px;
width: 250px;
transition: transform 0.3s;
}
.package:hover {
transform: translateY(-5px);
}
.package.featured {
border: 2px solid #0070c0;
background: #eaf4ff;
}
.price {
font-size: 1.5rem;
color: #0070c0;
display: block;
margin: 15px 0;
}
.btn-secondary {
background: #0070c0;
color: #fff;
padding: 10px 20px;
text-decoration: none;
border-radius: 20px;
transition: background 0.3s;
}
.btn-secondary:hover {
background: #005a9e;
}
.free-offer {
margin-top: 20px;
font-style: italic;
}
.slider-section {
position: relative;
height: 500px; /* Adjust as needed */
overflow: hidden;
}
.slider {
position: relative;
height: 400px; /* Or auto if content is static height */
overflow: hidden;
}
.slide {
top: 0;
left: 0;
display: flex;
justify-content: center;
align-items: center;
padding: 40px;
background: linear-gradient(135deg, #f0f4f8, #d9e4f5);
border-radius: 16px;
opacity: 0;
position: absolute;
transition: opacity 1s ease-in-out;
width: 100%;
box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
z-index: 1;
}
.slide-content {
display: flex;
flex-wrap: wrap;
max-width: 1000px;
align-items: center;
gap: 40px;
}
.slide-image img {
max-width: 300px;
border-radius: 16px;
box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}
.slide-text {
flex: 1;
min-width: 250px;
}
.slide-text h2 {
font-size: 2rem;
margin-bottom: 8px;
color: #222;
}
.slide-text h4 {
font-size: 1.2rem;
color: #666;
margin-bottom: 16px;
}
.slide-text p {
font-size: 1rem;
color: #444;
margin-bottom: 20px;
line-height: 1.5;
}
.slide-text ul {
list-style-type: disc;
padding-left: 20px;
color: #333;
}
.slide-text ul li {
margin-bottom: 8px;
font-size: 1rem;
}
@media (max-width: 768px) {
.slide-content {
flex-direction: column;
text-align: center;
}
.slide-image img {
max-width: 80%;
}
}
.slide.active {
opacity: 1;
z-index: 2;
}
/* Accordion */
.accordion-section {
padding: 60px 20px;
background: #fff;
}
.accordion-item {
margin-bottom: 10px;
}
.accordion-title {
background: #0070c0;
color: #fff;
padding: 15px;
border: none;
width: 100%;
text-align: left;
font-size: 1rem;
cursor: pointer;
border-radius: 8px;
}
.accordion-title.active {
background: #005a9e;
}
.accordion-content {
display: none;
padding: 15px;
background: #f1f1f1;
border-radius: 0 0 8px 8px;
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background: #333;
color: #fff;
font-size: 0.9rem;
}
footer a {
color: #fff;
margin: 0 5px;
font-size: 1.2rem;
text-decoration: none;
}
footer a:hover {
color: #0070c0;
}
.hero-list {
list-style: none;
text-align: left;
max-width: 600px;
margin: 30px auto 0;
padding: 0;
font-size: 1.1rem;
}
.hero-list li {
margin-bottom: 12px;
padding-left: 28px;
position: relative;
}
.hero-list li::before {
content: "✔";
position: absolute;
left: 0;
color: #fff;
background: #0070c0;
border-radius: 50%;
width: 20px;
height: 20px;
text-align: center;
line-height: 20px;
font-size: 0.9rem;
}
.blog-teaser {
border: 1px solid #ddd;
padding: 1rem;
margin-bottom: 1.5rem;
border-radius: 8px;
background: #fff;
max-width: 600px;
}
.blog-title {
margin: 0 0 0.3rem 0;
font-weight: 700;
color: #222;
}
.blog-date {
font-size: 0.8rem;
color: #888;
display: block;
margin-bottom: 0.8rem;
}
.blog-snippet {
font-size: 1rem;
line-height: 1.4;
color: #444;
margin-bottom: 1rem;
}
.blog-full-content p {
margin: 0.5rem 0;
color: #333;
}
.read-more-btn {
background: #007bff;
border: none;
color: white;
padding: 0.4rem 1rem;
border-radius: 5px;
cursor: pointer;
font-size: 0.9rem;
}
.read-more-btn:hover {
background: #0056b3;
}