567 lines
12 KiB
CSS
567 lines
12 KiB
CSS
/* Google Fonts Import */
|
|
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;700;900&family=Roboto+Condensed:wght@300;400;700&display=swap');
|
|
|
|
/* CSS Variables for Colors */
|
|
:root {
|
|
--color-dark-green: #1D7336; /* Deep forest green background */
|
|
--color-bright-green: #50FF80; /* Bright green for main titles */
|
|
--color-white: #FFFFFF;
|
|
--color-pink: #FF69B4; /* Pink for logo and accents */
|
|
--color-yellow: #FFFF00; /* Bright yellow for promo banner */
|
|
--color-purple: #6A0DAD; /* Dark purple for promo button */
|
|
--color-text-light: #E0E0E0;
|
|
--color-text-dark: #333333;
|
|
--color-dark-brown: #22140c; /* Dark brown for some elements */
|
|
}
|
|
|
|
/* General Body & Typography */
|
|
body {
|
|
font-family: 'Roboto Condensed', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
background-color: var(--color-dark-green);
|
|
color: var(--color-white);
|
|
line-height: 1.6;
|
|
overflow-x: hidden;
|
|
}
|
|
|
|
.wrapper {
|
|
min-height: 100vh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
h1, h2, h3 {
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 900;
|
|
text-transform: uppercase;
|
|
letter-spacing: 1px;
|
|
}
|
|
|
|
h1 {
|
|
color: var(--color-bright-green);
|
|
}
|
|
|
|
h2, h3 {
|
|
color: var(--color-white);
|
|
}
|
|
|
|
p {
|
|
font-weight: 300;
|
|
color: var(--color-white);
|
|
}
|
|
|
|
/* Header */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 20px 40px;
|
|
background-color: var(--color-dark-green);
|
|
position: sticky;
|
|
top: 0;
|
|
z-index: 1000;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.3);
|
|
}
|
|
|
|
.header-left, .header-right {
|
|
flex: 1;
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
|
|
.header-left {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.header-right {
|
|
justify-content: flex-end;
|
|
}
|
|
|
|
.logo-container {
|
|
flex-grow: 0;
|
|
flex-shrink: 0;
|
|
margin: 0 20px;
|
|
}
|
|
|
|
.momoney-logo {
|
|
width: 180px;
|
|
height: auto;
|
|
filter: drop-shadow(0 0 5px rgba(255,105,180,0.5)); /* Pink glow */
|
|
}
|
|
|
|
.main-nav {
|
|
display: flex;
|
|
gap: 30px;
|
|
}
|
|
|
|
.nav-link {
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-size: 1.1em;
|
|
font-weight: 700;
|
|
color: var(--color-white);
|
|
text-decoration: none;
|
|
transition: color 0.3s ease, transform 0.3s ease;
|
|
position: relative;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.nav-link::before {
|
|
content: '';
|
|
position: absolute;
|
|
left: 0;
|
|
bottom: 0;
|
|
width: 10px;
|
|
height: 10px;
|
|
background-color: var(--color-pink);
|
|
transform: scale(0) rotate(45deg);
|
|
transform-origin: bottom left;
|
|
transition: transform 0.3s ease-out;
|
|
margin-left: -15px; /* Adjust position */
|
|
opacity: 0;
|
|
}
|
|
|
|
.nav-link:hover::before {
|
|
transform: scale(1) rotate(45deg);
|
|
opacity: 1;
|
|
}
|
|
|
|
.nav-link:hover {
|
|
color: var(--color-pink);
|
|
transform: translateY(-2px);
|
|
}
|
|
|
|
.btn-tickets {
|
|
background-color: var(--color-white);
|
|
color: var(--color-dark-green);
|
|
padding: 12px 25px;
|
|
border: 2px solid var(--color-pink);
|
|
border-radius: 5px;
|
|
text-decoration: none;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
|
}
|
|
|
|
.btn-tickets:hover {
|
|
background-color: var(--color-pink);
|
|
color: var(--color-white);
|
|
border-color: var(--color-white);
|
|
}
|
|
|
|
/* Main Content */
|
|
.main-content {
|
|
flex: 1;
|
|
text-align: center;
|
|
}
|
|
|
|
/* Hero Section */
|
|
.hero-section {
|
|
position: relative;
|
|
min-height: 700px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 80px 20px;
|
|
background: radial-gradient(circle at center, #2A5C3A 0%, var(--color-dark-green) 100%);
|
|
overflow: hidden;
|
|
}
|
|
|
|
.hero-content {
|
|
position: relative;
|
|
z-index: 2;
|
|
max-width: 900px;
|
|
}
|
|
|
|
.hero-title {
|
|
font-size: 5em;
|
|
margin-bottom: 20px;
|
|
text-shadow: 4px 4px 10px rgba(0,0,0,0.8);
|
|
line-height: 1.1;
|
|
}
|
|
|
|
.hero-subtitle {
|
|
font-size: 1.6em;
|
|
max-width: 700px;
|
|
margin: 0 auto 50px auto;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
.floating-coins {
|
|
position: absolute;
|
|
width: 100%;
|
|
height: 100%;
|
|
top: 0;
|
|
left: 0;
|
|
pointer-events: none;
|
|
z-index: 1;
|
|
}
|
|
|
|
.coin {
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 100px;
|
|
border-radius: 50%;
|
|
background-color: var(--color-pink); /* Default coin color */
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.4), inset 0 0 10px rgba(255,255,255,0.3);
|
|
animation: float 10s ease-in-out infinite alternate, rotate 15s linear infinite;
|
|
pointer-events: auto;
|
|
cursor: pointer;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
background-image: url('https://via.placeholder.com/100/FF69B4/FFFFFF?text=Coin'); /* Placeholder coin texture */
|
|
background-size: cover;
|
|
background-position: center;
|
|
}
|
|
|
|
.coin:hover {
|
|
transform: scale(1.1) translateY(-5px);
|
|
box-shadow: 0 8px 20px rgba(0,0,0,0.6), inset 0 0 15px rgba(255,255,255,0.5);
|
|
}
|
|
|
|
/* Specific coin positions and colors (adjust as needed for visual balance) */
|
|
.coin-pink { background-color: var(--color-pink); top: 15%; left: 10%; animation-delay: 0s; }
|
|
.coin-yellow { background-color: var(--color-yellow); top: 30%; right: 15%; animation-delay: 2s; }
|
|
.coin-green { background-color: var(--color-bright-green); bottom: 20%; left: 25%; animation-delay: 4s; }
|
|
.coin-red { background-color: #FF4500; top: 50%; left: 5%; animation-delay: 6s; }
|
|
|
|
@keyframes float {
|
|
0% { transform: translateY(0px) rotate(0deg); }
|
|
50% { transform: translateY(-20px) rotate(10deg); }
|
|
100% { transform: translateY(0px) rotate(0deg); }
|
|
}
|
|
|
|
@keyframes rotate {
|
|
0% { transform: rotate(0deg); }
|
|
100% { transform: rotate(360deg); }
|
|
}
|
|
|
|
/* About Section */
|
|
.about-section, .exhibits-section {
|
|
padding: 100px 20px;
|
|
background-color: var(--color-dark-brown);
|
|
margin: 50px auto;
|
|
max-width: 1200px;
|
|
border-radius: 15px;
|
|
box-shadow: 0 10px 30px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.about-section h2, .exhibits-section h2 {
|
|
font-size: 3.5em;
|
|
margin-bottom: 40px;
|
|
color: var(--color-bright-green);
|
|
}
|
|
|
|
.about-section p {
|
|
font-size: 1.2em;
|
|
max-width: 900px;
|
|
margin: 0 auto;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
/* Exhibits Preview */
|
|
.exhibit-grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
|
|
gap: 40px;
|
|
max-width: 1000px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
.exhibit-item {
|
|
background-color: #3A2A2A;
|
|
padding: 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 15px rgba(0,0,0,0.3);
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
border: 1px solid rgba(255,105,180,0.3);
|
|
}
|
|
|
|
.exhibit-item:hover {
|
|
transform: translateY(-10px);
|
|
box-shadow: 0 8px 20px rgba(0,0,0,0.5);
|
|
}
|
|
|
|
.exhibit-item img {
|
|
width: 100%;
|
|
height: 200px;
|
|
object-fit: cover;
|
|
border-radius: 8px;
|
|
margin-bottom: 20px;
|
|
border: 2px solid var(--color-pink);
|
|
}
|
|
|
|
.exhibit-item h3 {
|
|
font-size: 1.5em;
|
|
margin-bottom: 10px;
|
|
color: var(--color-pink);
|
|
}
|
|
|
|
.exhibit-item p {
|
|
font-size: 1em;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
background-color: var(--color-dark-brown);
|
|
color: var(--color-white);
|
|
padding: 50px 20px 20px 20px;
|
|
text-align: center;
|
|
border-top: 1px solid rgba(255,105,180,0.2);
|
|
position: relative;
|
|
}
|
|
|
|
.footer-top {
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: space-around;
|
|
align-items: center;
|
|
gap: 40px;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.social-links {
|
|
display: flex;
|
|
gap: 20px;
|
|
}
|
|
|
|
.social-links img {
|
|
width: 40px;
|
|
height: 40px;
|
|
border-radius: 50%;
|
|
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
|
border: 2px solid var(--color-pink);
|
|
}
|
|
|
|
.social-links img:hover {
|
|
transform: scale(1.1);
|
|
box-shadow: 0 0 15px rgba(255,105,180,0.7);
|
|
}
|
|
|
|
.newsletter-form p {
|
|
margin-bottom: 15px;
|
|
font-size: 1.1em;
|
|
color: var(--color-text-light);
|
|
}
|
|
|
|
.newsletter-form input {
|
|
padding: 12px 15px;
|
|
border: 1px solid var(--color-pink);
|
|
border-radius: 5px;
|
|
background-color: rgba(255,255,255,0.1);
|
|
color: var(--color-white);
|
|
margin-right: 10px;
|
|
font-family: 'Roboto Condensed', sans-serif;
|
|
}
|
|
|
|
.newsletter-form input::placeholder {
|
|
color: #A0A0A0;
|
|
}
|
|
|
|
.btn-subscribe {
|
|
background-color: var(--color-pink);
|
|
color: var(--color-dark-brown);
|
|
padding: 12px 25px;
|
|
border: none;
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 700;
|
|
transition: background-color 0.3s ease, color 0.3s ease;
|
|
}
|
|
|
|
.btn-subscribe:hover {
|
|
background-color: var(--color-white);
|
|
color: var(--color-dark-brown);
|
|
}
|
|
|
|
.promo-banner-fixed {
|
|
position: fixed;
|
|
bottom: 20px;
|
|
right: 20px;
|
|
background-color: var(--color-yellow); /* Bright yellow for promotion */
|
|
color: var(--color-dark-brown);
|
|
padding: 15px 25px;
|
|
border-radius: 10px;
|
|
box-shadow: 0 5px 20px rgba(0,0,0,0.4);
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 15px;
|
|
z-index: 1001;
|
|
}
|
|
|
|
.promo-banner-fixed p {
|
|
margin: 0;
|
|
font-size: 1.1em;
|
|
font-weight: 700;
|
|
color: var(--color-dark-brown);
|
|
font-family: 'Montserrat', sans-serif;
|
|
}
|
|
|
|
.btn-claim {
|
|
background-color: var(--color-purple);
|
|
color: var(--color-white);
|
|
padding: 10px 20px;
|
|
border: 2px solid var(--color-white);
|
|
border-radius: 5px;
|
|
cursor: pointer;
|
|
font-family: 'Montserrat', sans-serif;
|
|
font-weight: 700;
|
|
transition: background-color 0.3s ease, color 0.3s ease, border-color 0.3s ease;
|
|
}
|
|
|
|
.btn-claim:hover {
|
|
background-color: var(--color-white);
|
|
color: var(--color-purple);
|
|
border-color: var(--color-purple);
|
|
}
|
|
|
|
.btn-close-promo {
|
|
background: none;
|
|
border: none;
|
|
color: var(--color-dark-brown);
|
|
font-size: 1.2em;
|
|
cursor: pointer;
|
|
margin-left: 10px;
|
|
transition: color 0.3s ease;
|
|
}
|
|
|
|
.btn-close-promo:hover {
|
|
color: #FF0000;
|
|
}
|
|
|
|
.copyright {
|
|
margin-top: 30px;
|
|
font-size: 0.9em;
|
|
color: #A0A0A0;
|
|
}
|
|
|
|
/* Responsive Design */
|
|
@media (max-width: 1200px) {
|
|
.header {
|
|
padding: 20px 20px;
|
|
}
|
|
.hero-title {
|
|
font-size: 4.5em;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 992px) {
|
|
.header {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
.header-left, .header-right {
|
|
justify-content: center;
|
|
}
|
|
.main-nav {
|
|
gap: 20px;
|
|
}
|
|
.hero-title {
|
|
font-size: 3.5em;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 1.4em;
|
|
}
|
|
.coin {
|
|
width: 80px;
|
|
height: 80px;
|
|
}
|
|
.about-section h2, .exhibits-section h2 {
|
|
font-size: 3em;
|
|
}
|
|
.exhibit-grid {
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
}
|
|
.promo-banner-fixed {
|
|
flex-direction: column;
|
|
right: 10px;
|
|
bottom: 10px;
|
|
padding: 10px 15px;
|
|
gap: 10px;
|
|
}
|
|
.promo-banner-fixed p {
|
|
font-size: 1em;
|
|
}
|
|
.btn-close-promo {
|
|
position: absolute;
|
|
top: 5px;
|
|
right: 5px;
|
|
margin-left: 0;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.header {
|
|
padding: 15px 10px;
|
|
}
|
|
.momoney-logo {
|
|
width: 150px;
|
|
}
|
|
.main-nav {
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
}
|
|
.nav-link {
|
|
font-size: 1em;
|
|
}
|
|
.hero-title {
|
|
font-size: 2.8em;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 1.2em;
|
|
}
|
|
.coin {
|
|
width: 60px;
|
|
height: 60px;
|
|
}
|
|
.coin-pink { top: 10%; left: 5%; }
|
|
.coin-yellow { top: 25%; right: 5%; }
|
|
.coin-green { bottom: 15%; left: 10%; }
|
|
.coin-red { top: 45%; left: 2%; }
|
|
.about-section h2, .exhibits-section h2 {
|
|
font-size: 2.5em;
|
|
}
|
|
.about-section p, .exhibit-item p {
|
|
font-size: 0.95em;
|
|
}
|
|
.footer-top {
|
|
flex-direction: column;
|
|
gap: 20px;
|
|
}
|
|
.newsletter-form input, .btn-subscribe {
|
|
width: 90%;
|
|
margin-right: 0;
|
|
margin-bottom: 10px;
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.hero-title {
|
|
font-size: 2em;
|
|
}
|
|
.hero-subtitle {
|
|
font-size: 1em;
|
|
}
|
|
.btn-tickets {
|
|
padding: 10px 20px;
|
|
font-size: 0.9em;
|
|
}
|
|
.coin {
|
|
width: 50px;
|
|
height: 50px;
|
|
}
|
|
.about-section h2, .exhibits-section h2 {
|
|
font-size: 2em;
|
|
}
|
|
.promo-banner-fixed p {
|
|
font-size: 0.9em;
|
|
}
|
|
.btn-claim {
|
|
padding: 8px 15px;
|
|
font-size: 0.9em;
|
|
}
|
|
}
|