Files
od8n_homepage/style.css
Oliver b5113203c2 init
2025-07-24 17:32:53 -03:00

422 lines
6.6 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;
}
.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;
}
/* cw.css */
/* Container */
#cw-chatToggle {
position: fixed;
bottom: 24px;
right: 24px;
background-color: #FFA500;
color: white;
padding: 12px 16px;
border-radius: 25px;
font-weight: 600;
cursor: pointer;
display: flex;
flex-direction: column;
align-items: center;
gap: 4px;
z-index: 100000;
border: none;
user-select: none;
transition: background-color 0.3s ease;
}
#cw-chatToggle:hover {
transform: translateY(-5px);
}
#cw-chatToggle div {
display: flex;
align-items: center;
gap: 8px;
}
#cw-chatToggle img {
width: 120px;
height: 40px;
}
#cw-chatToggle span.text-sm {
font-weight: 500;
font-size: 0.875rem; /* 14px */
}
#cw-chatToggle span.text-xs {
font-size: 0.75rem; /* 12px */
}
/* Chat widget container */
#cw-chatWidget {
display: none;
position: fixed;
bottom: 100px;
right: 24px;
width: 500px;
max-height: 70vh;
background: white;
border: 1px solid #ccc;
border-radius: 12px;
flex-direction: column;
z-index: 100000;
font-family: system-ui, sans-serif;
}
#cw-chatWidget.active {
display: flex;
}
/* Logo container */
#cw-chatWidget .logo-container {
display: flex;
justify-content: center;
padding-top: 16px;
padding-bottom: 10px;
}
#cw-chatWidget .logo-container img {
height: 40px;
user-select: none;
}
/* Header */
#cw-chatWidget .header {
background-color: #0070c0;
color: white;
padding: 8px 16px;
font-weight: 600;
text-align: center;
user-select: none;
}
/* Messages container */
#cw-chatMessages {
flex: 1 1 auto;
overflow-y: auto;
padding: 16px;
font-size: 0.875rem;
line-height: 1.4;
user-select: text;
scroll-behavior: smooth;
background: #fafafa;
}
/* Chat form */
#cw-chatForm {
display: flex;
margin: 0px;
border-top: 1px solid #ddd;
}
#cw-chatInput {
flex: 1;
border: none;
padding: 8px 20px;
font-size: 1rem;
outline-offset: 2px;
border-radius: 0 0 0 12px;
}
#cw-chatInput:focus {
outline: 0px solid #0070c0;
}
#cw-chatForm button {
background-color: #0070c0;
border: none;
color: white;
padding: 0 16px;
cursor: pointer;
font-weight: 600;
border-radius: 0 0 12px 0;
transition: background-color 0.3s ease;
}
#cw-chatForm button:hover {
background-color: #005a9e;
}
/* Message bubbles */
.cw-message {
max-width: 75%;
margin-bottom: 8px;
padding: 8px 12px;
border-radius: 12px;
word-wrap: break-word;
white-space: pre-wrap;
}
.cw-message.user {
background-color: #eaf4ff;
color: #333;
margin-left: auto;
text-align: right;
}
.cw-message.bot {
background-color: #f5f5f5;
color: #333;
margin-right: auto;
text-align: left;
}