Files
museum-of-money-site/dist/style.css

320 lines
6.1 KiB
CSS

/* CSS Reset */
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
:root {
--primary-color: #FFD700; /* Vibrant Yellow/Gold accent */
--secondary-color: #4A90E2; /* Electric Blue/Purple for secondary accents if needed */
--text-dark: #1a1a1a;
--text-light: #ffffff;
--background-light: #f8f8f8;
--background-dark: #000000;
--font-heading: 'Poppins', sans-serif;
--font-body: 'Inter', sans-serif;
}
body {
font-family: var(--font-body);
color: var(--text-dark);
background-color: var(--background-light);
line-height: 1.6;
scroll-behavior: smooth;
}
.wrapper {
max-width: 1200px;
margin: 0 auto;
padding: 0 20px;
}
/* Header */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 20px 0;
border-bottom: 1px solid #eee;
}
.header .logo {
font-family: var(--font-heading);
font-weight: 700;
font-size: 1.2em;
color: var(--text-dark);
}
.main-nav ul {
list-style: none;
display: flex;
gap: 25px;
}
.main-nav a {
text-decoration: none;
color: var(--text-dark);
font-weight: 500;
transition: color 0.3s ease;
}
.main-nav a:hover {
color: var(--primary-color);
}
.whatsapp-cta {
display: flex;
align-items: center;
gap: 10px;
}
.whatsapp-cta span {
font-size: 0.9em;
color: var(--text-dark);
}
.whatsapp-cta button {
background-color: var(--primary-color);
color: var(--text-dark);
border: none;
padding: 10px 15px;
border-radius: 5px;
cursor: pointer;
font-weight: 600;
transition: background-color 0.3s ease;
}
.whatsapp-cta button:hover {
background-color: darken(var(--primary-color), 10%); /* Placeholder for a darker shade */
}
/* Hero Section */
.hero-section {
position: relative;
width: 100%;
height: 70vh; /* Adjust as needed */
overflow: hidden;
display: flex;
justify-content: center;
align-items: center;
color: var(--text-light);
text-align: center;
}
.hero-video {
position: absolute;
top: 50%;
left: 50%;
min-width: 100%;
min-height: 100%;
width: auto;
height: auto;
z-index: -1;
transform: translate(-50%, -50%);
background-size: cover;
}
.hero-overlay {
position: relative;
z-index: 1;
background-color: rgba(0, 0, 0, 0.4); /* Dark overlay for text readability */
padding: 30px;
border-radius: 10px;
}
.hero-overlay h1 {
font-family: var(--font-heading);
font-size: 3em;
font-weight: 800;
line-height: 1.2;
color: var(--text-light);
}
.hero-overlay h1 .lightning-icon {
color: var(--primary-color);
}
/* General Section Styling */
section {
padding: 80px 0;
text-align: center;
}
section h2 {
font-family: var(--font-heading);
font-size: 2.5em;
font-weight: 700;
margin-bottom: 40px;
color: var(--text-dark);
}
/* About Section */
.about-section p {
max-width: 800px;
margin: 0 auto 40px auto;
font-size: 1.1em;
line-height: 1.8;
}
/* Expertises Section */
.expertises-section ul {
list-style: none;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 30px;
max-width: 900px;
margin: 0 auto;
}
.expertises-section li {
background-color: var(--background-light);
border: 1px solid #eee;
padding: 20px 30px;
border-radius: 8px;
font-weight: 600;
font-size: 1.1em;
color: var(--text-dark);
box-shadow: 0 4px 10px rgba(0,0,0,0.05);
transition: transform 0.3s ease;
}
.expertises-section li:hover {
transform: translateY(-5px);
}
/* Process Section */
.process-section ol {
list-style: none;
display: flex;
justify-content: center;
flex-wrap: wrap;
gap: 40px;
max-width: 1000px;
margin: 0 auto;
}
.process-section li {
position: relative;
flex: 1 1 200px; /* Allows items to grow but have a base width */
padding: 30px;
background-color: var(--background-light);
border-radius: 10px;
box-shadow: 0 8px 20px rgba(0,0,0,0.08);
font-size: 1.1em;
font-weight: 500;
color: var(--text-dark);
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
min-height: 180px;
}
.process-section li::before {
content: counter(list-item);
counter-increment: list-item;
position: absolute;
top: -20px;
left: 50%;
transform: translateX(-50%);
background-color: var(--primary-color);
color: var(--text-dark);
width: 50px;
height: 50px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
font-family: var(--font-heading);
font-size: 1.8em;
font-weight: 700;
box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}
/* Footer */
.footer {
background-color: var(--background-dark);
color: var(--text-light);
padding: 40px 0;
text-align: center;
}
.footer-content {
display: flex;
flex-direction: column;
align-items: center;
gap: 20px;
}
.footer-logo {
font-family: var(--font-heading);
font-weight: 700;
font-size: 1.2em;
color: var(--text-light);
}
.footer .social-links a,
.footer .utility-links a {
color: var(--text-light);
text-decoration: none;
margin: 0 10px;
transition: color 0.3s ease;
}
.footer .social-links a:hover,
.footer .utility-links a:hover {
color: var(--primary-color);
}
.footer .copyright {
font-size: 0.9em;
color: #aaa;
}
/* Responsive Design */
@media (max-width: 768px) {
.header {
flex-direction: column;
gap: 15px;
}
.main-nav ul {
flex-wrap: wrap;
justify-content: center;
}
.whatsapp-cta {
flex-direction: column;
gap: 10px;
}
.hero-overlay h1 {
font-size: 2em;
}
section {
padding: 60px 0;
}
section h2 {
font-size: 2em;
}
.expertises-section ul,
.process-section ol {
flex-direction: column;
align-items: center;
}
.process-section li {
width: 90%;
max-width: 300px;
}
.footer-content {
flex-direction: column;
}
}