Files
salmakis/app/components/AboutLegend.module.css

131 lines
2.1 KiB
CSS

.aboutSection {
padding: 8rem 2rem;
background-color: var(--primary-white);
color: var(--text-dark);
text-align: center;
}
.container {
max-width: 800px;
margin: 0 auto;
}
.sinceBadge {
font-size: 0.85rem;
font-weight: 500;
letter-spacing: 0.2em;
text-transform: uppercase;
color: var(--gold);
margin-bottom: 2rem;
}
.heading {
font-size: 2.5rem;
letter-spacing: 0.05em;
margin-bottom: 3rem;
color: var(--navy);
}
.content {
display: flex;
flex-direction: column;
gap: 1.5rem;
}
.paragraph {
font-size: 1.1rem;
line-height: 1.8;
color: #555;
}
.bottomBadge {
margin-top: 3rem;
display: flex;
flex-direction: column;
align-items: center;
gap: 0.5rem;
}
.yachtingTitle {
font-family: var(--font-heading);
font-size: 1.8rem;
color: var(--navy);
letter-spacing: 0.1em;
}
/* Legend Section */
.legendSection {
position: relative;
height: 80vh;
width: 100%;
overflow: hidden;
display: flex;
align-items: center;
justify-content: center;
}
.parallaxBg {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-image: url('/2.jpg');
background-attachment: fixed;
background-position: center;
background-repeat: no-repeat;
background-size: cover;
display: flex;
align-items: center;
justify-content: center;
}
.glassCard {
background: rgba(0, 0, 0, 0.6);
backdrop-filter: blur(12px);
-webkit-backdrop-filter: blur(12px);
border: 1px solid rgba(255, 255, 255, 0.15);
box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
padding: 4rem;
max-width: 600px;
text-align: center;
color: var(--primary-white);
border-radius: 8px;
}
.legendTitle {
font-size: 2.2rem;
margin-bottom: 1.5rem;
letter-spacing: 0.05em;
font-weight: 300;
}
.legendText {
font-size: 1.05rem;
line-height: 1.8;
margin-bottom: 2rem;
font-weight: 300;
}
.goldLine {
width: 60px;
height: 2px;
background-color: var(--gold);
margin: 0 auto;
}
@media (max-width: 768px) {
.aboutSection {
padding: 5rem 1.5rem;
}
.glassCard {
padding: 2rem;
margin: 1rem;
}
.parallaxBg {
background-attachment: scroll;
}
}