hebammekrystyna/templates/styles/styles.css
2026-04-14 14:18:18 +02:00

261 lines
4.2 KiB
CSS
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

@import url('https://fonts.googleapis.com/css2?family=Handlee&family=Quicksand:wght@400;500;700&display=swap');
:root {
--rosa-1: #f8dbe7;
--rosa-2: #fbeaf1;
--blau-1: #e7f2ff;
--blau-2: #d8ebff;
--text: #4b4650;
--accent-rosa: #bf6f8c;
--accent-blau: #6f8eae;
--card: rgba(255, 255, 255, 0.82);
--card-strong: rgba(255, 255, 255, 0.9);
--shadow: 0 12px 30px rgba(86, 110, 140, 0.16);
--radius: 24px;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
color: var(--text);
font-family: "Quicksand", Arial, sans-serif;
background: linear-gradient(135deg, var(--rosa-1) 0%, var(--rosa-2) 35%, var(--blau-1) 70%, var(--blau-2) 100%);
min-height: 100vh;
}
h1, h2, h3, .handwritten, .hero-motto {
font-family: "Handlee", cursive;
font-weight: 400;
}
.page-wrap {
max-width: 1180px;
margin: 0 auto;
padding: 28px 20px 40px;
}
.topbar {
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 24px;
margin-bottom: 20px;
}
.logo-box,
.photo-box,
.main-nav,
.hero-card,
.info-card,
details,
.legal-card {
background: var(--card);
box-shadow: var(--shadow);
border-radius: var(--radius);
backdrop-filter: blur(6px);
}
.logo-box,
.photo-box {
padding: 14px;
}
.logo {
display: block;
height: 92px;
width: auto;
object-fit: contain;
}
.profile {
display: block;
width: 200px;
max-width: 100%;
height: auto;
border-radius: 22px;
object-fit: cover;
box-shadow: 0 12px 28px rgba(0,0,0,0.14);
}
.main-nav {
padding: 14px 18px;
margin-bottom: 28px;
}
.main-nav a {
text-decoration: none;
color: var(--accent-blau);
font-weight: 700;
margin-right: 18px;
font-size: 1rem;
}
.main-nav a:hover {
color: var(--accent-rosa);
}
.hero {
display: grid;
grid-template-columns: 1.2fr 0.8fr;
gap: 26px;
align-items: center;
margin-bottom: 34px;
}
.hero-card,
.info-card,
.legal-card {
padding: 30px;
}
.eyebrow {
display: inline-block;
margin-bottom: 14px;
padding: 8px 14px;
border-radius: 999px;
background: rgba(255,255,255,0.65);
color: var(--accent-rosa);
font-weight: 700;
font-size: 0.95rem;
}
h1 {
font-size: clamp(2.2rem, 4vw, 3.8rem);
color: #6f5f6b;
line-height: 1.08;
margin: 0 0 18px;
}
h2 {
font-size: 2rem;
color: #6f5f6b;
margin-top: 0;
}
.hero-motto {
font-size: 1.45rem;
line-height: 1.65;
margin: 0;
color: #735f6c;
}
.lead,
.info-card p,
.legal-card p,
.legal-card li {
font-size: 1.06rem;
line-height: 1.75;
}
.note-region {
margin-top: 18px;
font-weight: 700;
color: var(--accent-blau);
}
.section-title {
margin: 10px 0 14px;
}
.section-subtitle {
max-width: 820px;
line-height: 1.75;
margin: 0 0 24px;
}
.services-grid {
display: grid;
grid-template-columns: repeat(2, minmax(0, 1fr));
gap: 18px;
}
details {
overflow: hidden;
}
summary {
list-style: none;
cursor: pointer;
padding: 20px 22px;
font-weight: 700;
color: var(--accent-blau);
display: flex;
justify-content: space-between;
align-items: center;
}
summary::-webkit-details-marker {
display: none;
}
summary::after {
content: "+";
font-size: 1.5rem;
color: var(--accent-rosa);
}
details[open] summary::after {
content: "";
}
.detail-content {
padding: 0 22px 22px;
line-height: 1.75;
}
.contact-block {
font-size: 1.08rem;
line-height: 1.9;
}
.contact-block a {
color: var(--accent-blau);
text-decoration: none;
font-weight: 700;
}
.legal-card h3 {
margin-top: 28px;
margin-bottom: 10px;
font-size: 1.55rem;
color: var(--accent-blau);
}
.legal-card ul {
padding-left: 20px;
line-height: 1.8;
}
.footer {
text-align: center;
padding-top: 28px;
color: #736b76;
}
@media (max-width: 900px) {
.hero,
.services-grid {
grid-template-columns: 1fr;
}
}
@media (max-width: 640px) {
.topbar {
flex-direction: column;
}
.profile {
width: 100%;
max-width: 260px;
}
.hero-card,
.info-card,
.legal-card {
padding: 22px;
}
}