Files
od8n_homepage/public/style.css
2025-09-25 11:37:41 -03:00

1057 lines
20 KiB
CSS

/* Variables */
:root {
/* Color Palette */
--color-primary: #4a90e2;
--color-primary-dark: #0070c0;
--color-blue: #1D4ED8;
--color-accent: #FACC15;
--color-bg: #f9f9f9;
--color-text: #111827;
--color-muted: #6B7280;
--color-white: #ffffff;
/* Typography */
--font-family: Arial, Helvetica, sans-serif;
--font-size-hero: 48px;
--font-size-title: 32px;
--font-size-subtitle: 24px;
--font-size-body: 18px;
--font-size-small: 14px;
/* Spacing */
--spacing-xs: 8px;
--spacing-sm: 16px;
--spacing-md: 24px;
--spacing-lg: 32px;
--spacing-xl: 48px;
--spacing-section: 80px;
/* Buttons */
--button-radius: 12px;
--button-padding: 16px 32px;
--button-font-size: 16px;
}
/* General */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
color: var(--color-text);
line-height: 1.6;
}
html {
scroll-behavior: smooth;
}
/* Global common */
.container {
max-width: 80%;
margin: 0 auto;
padding: 80px 0;
}
.section-header {
font-size: var(--font-size-title);
text-align: center;
padding-top: 100px;
}
/* Navigation */
header .navbar-main {
min-height: 50px;
display: flex;
justify-content: space-between;
align-items: center;
padding: 1rem 5rem;
width: 100%;
position: fixed;
top: 0;
z-index: 3;
box-shadow: 0 0 15px rgba(var(--color-primary-dark), 0.479);
}
header .logo img {
width: 100px;
}
#Burger-menu {
display: none;
}
header nav ul {
list-style-type: none;
}
header nav ul li {
display: inline-block;
padding: 0 1rem;
}
header a {
text-decoration: none;
color: var(--color-bg);
}
.bg {
background: linear-gradient(to left, var(--color-primary), var(--color-primary-dark));
box-shadow: 0 0 15px rgba(var(--color-blue), 0.479);
}
/* Hero Section */
header.hero {
background: linear-gradient(to right, var(--color-primary), var(--color-primary-dark));
color: var(--color-white);
}
.hero-content {
display: flex;
align-items: flex-start;
justify-content: space-between;
gap: 40px; /* space between text and widget */
max-width: 80%;
margin: 0 auto;
padding-top: 200px;
padding-bottom: 150px;
}
.hero-left {
flex: 1; /* text column grows */
}
.hero-right {
flex: 0 0 420px; /* fixed width for widget */
}
header.hero h1 {
font-size: 3rem;
margin-bottom: 20px;
}
.hero p {
font-size: 1.2rem;
margin-bottom: 30px;
}
.hero-list {
list-style: none;
text-align: left;
padding: 0;
font-size: 1.1rem;
}
.hero-list li {
margin-bottom: 12px;
position: relative;
}
span.icon {
padding-right: 10px;
font-size: 1rem;
}
/* Packages */
.packages {
text-align: center;
}
.package-list {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
gap: 15px;
}
.package {
background: var(--color-white);
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: var(--spacing-lg) var(--spacing-md);
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 20%;
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
transition: transform 0.3s;
margin-bottom: 10px;
}
.package:hover {
transform: translateY(-5px);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.package h3 {
font-size: 1.25rem;
margin-bottom: var(--spacing-sm);
}
h3 span.asteric-icon {
color: var(--color-muted);
font-weight: normal;
padding-left: 0.5rem;
}
.package p {
color: var(--color-muted);
font-size: 0.95rem;
margin-bottom: var(--spacing-md);
line-height: 1.5;
}
.package .price {
font-size: 1.5rem;
font-weight: bold;
margin-bottom: var(--spacing-md);
color: var(--color-primary-dark);
}
.package.featured {
border: 1px solid var(--color-primary-dark);
background-color: #eff6ff;
}
.featured .badge {
position: absolute;
top: -12px;
left: 16px;
background-color: var(--color-primary);
color: var(--color-white);
padding: 4px 12px;
font-size: 0.75rem;
font-weight: 600;
border-radius: 12px;
}
.free-offer {
font-size: 1rem;
color: var(--color-muted);
margin-bottom: 80px;
line-height: 1.5;
}
/* Team */
#team {
background: var(--color-bg);
margin-bottom: 20px;
}
.slider-section {
position: relative;
height: 550px;
overflow: hidden;
background: var(--color-bg);
}
.slider {
position: relative;
height: 400px;
overflow: hidden;
}
.slide {
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
opacity: 0;
transition: opacity 1s ease-in-out;
display: flex;
justify-content: center;
align-items: center;
width: 100%;
margin-top: 80px;
z-index: 1;
}
.slide-content {
display: flex;
flex-wrap: wrap;
max-width: 1000px;
align-items: center;
gap: 40px;
}
.slide-image img {
min-width: 200px;
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: var(--color-white);
}
.accordion-item {
margin-bottom: 1rem;
border-radius: 8px;
overflow: hidden;
box-shadow: 0 4px 10px rgba(0, 0, 0, 0.04);
}
.accordion-title {
background: var(--color-white);
color: var(--color-primary-dark);
padding: 1rem 1.25rem;
border: none;
width: 100%;
text-align: left;
font-size: 1rem;
font-weight: 500;
cursor: pointer;
display: flex;
justify-content: space-between;
align-items: center;
border-radius: 8px;
transition: background-color 0.3s ease;
}
.accordion-title:hover {
background-color: var(--color-primary-dark);
color: var(--color-white);
}
.accordion-title.active {
font-weight: 600;
background: var(--color-primary-dark);
color: var(--color-white);
border-bottom-left-radius: 0;
border-bottom-right-radius: 0;
}
.accordion-title.active .panel-bar-title i {
transform: rotate(180deg);
}
.panel-bar-title i {
transition: transform 0.3s ease;
font-size: 1rem;
}
.accordion-content {
max-height: 0;
overflow: hidden;
background: #f1f1f1;
padding: 0 1.25rem;
border-radius: 0 0 8px 8px;
transition: max-height 0.4s ease, padding 0.3s ease;
}
.accordion-title.active + .accordion-content {
padding: 1rem 1.25rem;
}
/* Blog */
.blog-section {
padding: 0;
}
.blog-list {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 0.5rem;
padding-right: 0;
padding-left: 0;
}
.blog-teaser {
background: var(--color-white);
border: 1px solid #e5e7eb;
border-radius: 8px;
padding: 1rem;
margin-bottom: 1.5rem;
max-width: 48%;
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
transition: transform 0.3s ease;
}
.blog-teaser:hover {
transform: translateY(-6px);
box-shadow: rgba(50, 50, 93, 0.25) 0px 50px 100px -20px, rgba(0, 0, 0, 0.3) 0px 30px 60px -30px;
}
.blog-title {
margin: 0 0 0.3rem 0;
font-weight: 700;
color: var(--color-primary);
font-size: 1.5rem;
}
.blog-date {
font-size: 0.8rem;
color: #888;
display: block;
margin-bottom: 0.8rem;
}
.blog-snippet {
font-size: 1rem;
line-height: 1.4;
color: var(--color-muted);
margin-bottom: 1rem;
}
.blog-full-content p {
margin: 0.5rem 0;
color: var(--color-muted);
}
.blog-full-content p a {
color: var(--color-primary-dark);
}
.blog-full-content ul {
padding-left: 1.5rem;
margin: 0.5rem 0;
color: var(--color-muted);
}
.blog-full-content .blog-video-description {
font-size: 1rem;
color: var(--color-muted);
}
.blog-full-content .ytvideo {
width: 100%;
height: 315px;
margin: 20px 0;
}
.blog-full-content img {
width: 100%;
height: auto;
}
.blog-full-content div.cta {
margin: 20px 0;
color: var(--color-muted);
}
h2.blog-content-section-title {
font-size: 1.3rem;
color: var(--color-text);
margin: 20px 0;
}
.blog-content-section-highlight {
font-size: 1rem;
color: var(--color-text);
margin: 20px 0;
}
/* Stories */
.success-stories {
background: var(--color-bg);
padding: 0;
}
.panel-bar-content {
font-family: var(--font-family);
background: var(--color-bg);
padding: 2rem;
border-radius: 8px;
max-width: 100%;
margin: 1rem auto;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.panel-bar-content-title {
font-size: 1.5rem;
font-weight: 400;
margin-bottom: 0.5em;
color: var(--color-primary-dark);
}
.panel-bar-content-text {
font-size: 1rem;
line-height: 1.5;
margin-top: 1.5em;
color: var(--color-muted);
}
/* Footer */
footer {
text-align: center;
padding: 20px;
background: #333;
color: var(--color-white);
font-size: 1rem;
}
footer a {
color: var(--color-white);
margin: 0 5px;
font-size: 1.2rem;
text-decoration: none;
}
footer a:hover {
color: var(--color-primary);
}
/* buttons */
.btn-primary {
background: var(--color-primary-dark);
color: var(--color-white);
font-size: 1rem;
padding: 12px 24px;
text-decoration: none;
border: 1px solid var(--color-primary-dark);
border-radius: 25px;
font-weight: bold;
transition: background 0.3s;
}
.btn-primary:hover {
background: var(--color-primary);
color: var(--color-white);
border: 1px solid var(--color-primary);
cursor: pointer;
}
.btn-secondary {
background: var(--color-white);
color: var(--color-primary-dark);
font-size: 1rem;
padding: 12px 24px;
text-decoration: none;
border: 1px solid var(--color-muted);
border-radius: 25px;
font-weight: bold;
transition: background 0.3s;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.btn-secondary:hover {
background: var(--color-primary-dark);
color: var(--color-white);
border: 1px solid var(--color-primary-dark);
cursor: pointer;
}
.btn-featured {
background: var(--color-primary-dark);
color: var(--color-white);
font-size: 1rem;
padding: 12px 24px;
text-decoration: none;
border: 1px solid var(--color-primary-dark);
border-radius: 25px;
font-weight: bold;
transition: background 0.3s;
box-shadow: rgba(0, 0, 0, 0.1) 0px 4px 12px;
}
.btn-featured:hover {
background: var(--color-primary);
color: var(--color-white);
border: 1px solid var(--color-primary-dark);
cursor: pointer;
}
.btn-primary-white {
background: var(--color-white);
color: var(--color-primary-dark);
padding: 12px 24px;
text-decoration: none;
border: 1px solid var(--color-white);
border-radius: 25px;
font-size: 1rem;
font-weight: bold;
transition: background 0.3s;
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
}
.btn-primary-white:hover {
color: var(--color-white);
background: var(--color-primary-dark);
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
cursor: pointer;
}
.hero-button-cta {
background: var(--color-white);
color: var(--color-primary-dark);
padding: 12px 24px;
text-decoration: none;
border: 1px solid var(--color-white);
border-radius: 25px;
font-size: 1rem;
font-weight: bold;
transition: background 0.3s;
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
margin-top: 20px;
}
.hero-button-cta:hover {
color: var(--color-white);
background: var(--color-primary-dark);
box-shadow: 0 2px 6px rgba(var(--color-text), 0.05);
cursor: pointer;
}
.btn-text {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--color-primary-dark);
background: transparent;
font-size: 1rem;
font-weight: bold;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.btn-text:hover {
transform: translateY(-2px);
}
.read-more-btn {
display: inline-flex;
align-items: center;
gap: 8px;
color: var(--color-primary-dark);
background: transparent;
font-size: 1rem;
font-weight: bold;
border: none;
cursor: pointer;
transition: background-color 0.3s ease;
}
.read-more-btn:hover {
transform: translateY(-2px);
}
.read-more-btn-icon i {
transition: transform 0.3s ease;
color: var(--color-primary-dark);
}
.read-more-btn:hover .read-more-btn-icon i {
transform: rotate(90deg);
}
.read-more-btn-icon {
display: flex;
align-items: center;
transition: transform 0.3s ease;
}
/* Responsive Design */
/* Small desktop Support */
@media (max-width: 1279px) {
.package {
min-width: 40%;
margin-right: 5px;
margin-bottom: 20px;
}
}
/* Tablet Support */
@media (max-width: 960px) {
#Burger-menu {
display: block;
background-color: transparent;
color: var(--color-white);
border: none;
cursor: pointer;
}
#Burger-menu i {
font-size: 2rem;
}
nav ul {
display: none;
}
nav.responsive ul {
display: block;
background-color: var(--color-primary-dark);
position: absolute;
width: 100%;
left: 0;
top: 70px;
padding: 50px;
text-align: center;
}
nav.responsive ul li {
display: block;
font-size: 1.2rem;
}
nav.responsive ul li a {
display: block;
padding: 1rem 2rem;
}
.package {
min-width: 40%;
margin-right: 5px;
margin-bottom: 20px;
}
.free-offer {
width: 100%;
padding: 0 20px;
text-align: center;
}
}
/* Phone Support */
@media (max-width: 767px) {
header.hero h1 {
line-height: 1.2;
}
.hero p {
margin-bottom: 20px;
}
.package {
min-width: 100%;
margin-bottom: 20px;
}
.slider-section {
height: 800px;
}
.slide-text ul li {
list-style: none;
}
.blog-teaser {
max-width: 100%;
width: 100%;
}
}
/**
* How to use blog post badges based on categories:
* There are totally 6 different badges with 6 different colors (such as blue, green, yellow, red, indigo, gray).
* Each badge has a specific color and a hover effect that changes the border color.
* To use a badge, after the class 'blog-teaser' add the class with this format `blog-teaser-<colorName>` (e.g., `blog-badge-blue`, `blog-badge-green`, etc.) to the blog teaser element.
* Each badge has a specific tag class with this format 'blog-badge-<colorName>-tag' (e.g., `blog-badge-blue-tag`, `blog-badge-green-tag`, etc.) that should be used inside the blog teaser to display the badge.
* example usage for a blue badge in blog teaser:
* <div class="blog-teaser blog-badge-blue">
* <div class="blog-badge-blue-tag">CategoryName</div>
* <h3 class="blog-title">Blog Title</h3>
* <small class="blog-date">01.01.2023</small>
* <div class="blog-snippet">This is a short snippet of the blog post.</div>
* <button class="read-more-btn">Read More</button>
* </div>
*
* NOTE: If the above mentioned classes are not used, the blog teaser will have it's own style without any badge.
*/
/* Base tag badge style */
.blog-teaser > [class*="-tag"] {
display: inline-block;
padding: 4px 10px 2px 10px;
font-size: 0.75rem;
font-weight: 600;
border-radius: 999px;
margin-bottom: 0.75rem;
text-transform: uppercase;
letter-spacing: 0.03em;
}
/* Blue badge */
.blog-badge-blue .blog-badge-blue-tag {
background-color: #DBEAFE;
color: #1E40AF;
}
/* Blue badge - lighter blue border */
.blog-teaser.blog-badge-blue:hover {
border-color: #60A5FA;
}
/* Green badge */
.blog-badge-green .blog-badge-green-tag {
background-color: #DCFCE7;
color: #166534;
}
/* Green badge - lighter green border */
.blog-teaser.blog-badge-green:hover {
border-color: #6EE7B7;
}
/* Yellow badge */
.blog-badge-yellow .blog-badge-yellow-tag {
background-color: #FEF9C3;
color: #92400E;
}
/* Yellow badge - lighter amber border */
.blog-teaser.blog-badge-yellow:hover {
border-color: #FCD34D;
}
/* Red badge */
.blog-badge-red .blog-badge-red-tag {
background-color: #FECACA;
color: #991B1B;
}
/* Red badge - lighter red border */
.blog-teaser.blog-badge-red:hover {
border-color: #F87171;
}
/* Indigo badge */
.blog-badge-indigo .blog-badge-indigo-tag {
background-color: #E0E7FF;
color: #3730A3;
}
/* Indigo badge - lighter indigo border */
.blog-teaser.blog-badge-indigo:hover {
border-color: #A5B4FC;
}
/* Gray badge */
.blog-badge-gray .blog-badge-gray-tag {
background-color: #F3F4F6;
color: #374151;
}
/* Gray badge - lighter gray border */
.blog-teaser.blog-badge-gray:hover {
border-color: #D1D5DB;
}
/* Hover effect for card badges */
.blog-teaser > [class*="-tag"]:hover {
opacity: 0.9;
}
/* Workshops */
.workshops {
text-align: center;
margin-top: 50px;
}
.workshops .section-subtitle {
font-size: 1.1rem;
font-weight: 500;
color: #555;
margin-bottom: 1rem;
}
.workshop-highlights {
list-style: none;
padding-left: 0;
margin-top: 0;
color: #7a5a40; /* warm tone for consistency with workshop theme */
font-size: 0.95rem;
line-height: 1.6;
}
.workshop-highlights li {
position: relative;
padding-left: 1.5rem;
margin-bottom: 0.75rem;
}
.workshop-highlights li::before {
content: "✓"; /* checkmark for a positive, actionable feel */
position: absolute;
left: 0;
color: #ff7a00; /* warm accent matching Buy Now button */
font-weight: bold;
}
.workshops .workshop-list {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
gap: 15px;
}
.workshops .workshop {
background: #fff8f0; /* soft peach background */
border: 1px solid #ffd8b5; /* warm border */
border-radius: 8px;
padding: var(--spacing-lg) var(--spacing-md);
position: relative;
display: flex;
flex-direction: column;
justify-content: space-between;
width: 20%;
box-shadow: 0 2px 6px rgba(0,0,0,0.05);
transition: transform 0.3s;
margin-bottom: 10px;
text-align: left;
}
.workshops .workshop:hover {
transform: translateY(-5px);
box-shadow: rgba(255, 165, 50, 0.25) 0px 20px 40px -10px,
rgba(0, 0, 0, 0.15) 0px 10px 20px -10px;
}
.workshops .workshop h3 {
font-size: 1.25rem;
margin-bottom: var(--spacing-sm);
color: #ff7a00; /* warm heading color */
}
.workshops .workshop p {
color: #7a5a40; /* dark warm tone for text */
font-size: 0.95rem;
margin-bottom: var(--spacing-md);
line-height: 1.5;
}
.workshops .btn-secondary {
margin-top: 1rem;
align-self: start;
background-color: #ff7a00; /* button warm accent */
color: #fff;
border: none;
padding: 0.5rem 1rem;
border-radius: 6px;
cursor: pointer;
transition: background 0.3s;
}
.workshops .btn-secondary:hover {
background-color: #e56a00;
}
/* Optional: Featured Workshop Styling */
.workshops .workshop.featured {
border: 1px solid #ff7a00;
background-color: #fff0e0;
}
.workshops .workshop .badge {
position: absolute;
top: -12px;
left: 16px;
background-color: #ff7a00;
color: #fff;
padding: 4px 12px;
font-size: 0.75rem;
font-weight: 600;
border-radius: 12px;
}
/* Workshop Download Agenda Link */
.workshops .agenda-link {
display: inline-block;
margin-bottom: 1rem;
color: #ff7a00; /* warm accent color */
text-decoration: none; /* remove default underline */
font-weight: 600; /* slightly bold */
font-size: 0.95rem;
transition: color 0.3s, text-decoration 0.3s;
cursor: pointer;
}
.workshops .agenda-link:hover {
color: #e56a00; /* darker warm tone on hover */
text-decoration: underline; /* add underline on hover */
}
/* Workshop Action Area */
.workshops .workshop-action {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 1rem;
gap: 1rem;
}
.workshops .workshop-action .price {
font-size: 1.2rem;
font-weight: bold;
color: #ff7a00; /* warm accent to match workshop theme */
}
.workshops .workshop-action .btn-secondary {
flex-shrink: 0;
}
a.btn-secondary {
display: inline-block;
text-align: center;
text-decoration: none;
cursor: pointer;
}