155 lines
2.6 KiB
CSS
155 lines
2.6 KiB
CSS
/*
|
|
FOOTER
|
|
Datei: components/Footer.module.css
|
|
*/
|
|
|
|
:root {
|
|
--footer-bg: #171717;
|
|
--footer-text: #a1a1aa;
|
|
--footer-text-hover: #ffffff;
|
|
--footer-title: #ffffff;
|
|
--footer-divider: rgba(255, 255, 255, 0.1);
|
|
--footer-padding-y: clamp(3rem, 6vw, 5rem);
|
|
--footer-gap: clamp(2rem, 5vw, 4rem);
|
|
}
|
|
|
|
/* Wrapper */
|
|
.footer {
|
|
background-color: var(--footer-bg);
|
|
color: var(--footer-text);
|
|
font-family: inherit;
|
|
}
|
|
|
|
.footer__inner {
|
|
max-width: 1280px;
|
|
margin-inline: auto;
|
|
padding: var(--footer-padding-y) clamp(1rem, 5vw, 2rem);
|
|
}
|
|
|
|
/* Top */
|
|
.footer__top {
|
|
display: grid;
|
|
grid-template-columns: 1fr;
|
|
gap: var(--footer-gap);
|
|
}
|
|
|
|
@media (min-width: 768px) {
|
|
.footer__top {
|
|
grid-template-columns: 1fr 1fr;
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1024px) {
|
|
.footer__top {
|
|
grid-template-columns: 1.5fr 1fr;
|
|
}
|
|
}
|
|
|
|
/* Brand */
|
|
.footer__logo {
|
|
display: inline-block;
|
|
font-size: 1.4rem;
|
|
font-weight: 700;
|
|
color: var(--footer-title);
|
|
margin-bottom: 0.75rem;
|
|
transition: opacity 0.2s ease;
|
|
}
|
|
|
|
.footer__logo:hover {
|
|
opacity: 0.8;
|
|
}
|
|
|
|
.footer__tagline {
|
|
font-size: 0.9rem;
|
|
line-height: 1.6;
|
|
max-width: 32ch;
|
|
color: var(--footer-text);
|
|
}
|
|
|
|
/* Navigation */
|
|
.footer__nav {
|
|
display: flex;
|
|
gap: var(--footer-gap);
|
|
flex-wrap: wrap;
|
|
}
|
|
|
|
.footer__nav ul {
|
|
list-style: none;
|
|
}
|
|
|
|
.footer__nav-group ul {
|
|
padding: 0;
|
|
margin: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 0.6rem;
|
|
}
|
|
|
|
.footer__nav-title {
|
|
display: block;
|
|
font-size: 0.8rem;
|
|
font-weight: 700;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: var(--footer-title);
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.footer__nav-group a {
|
|
font-size: 0.9rem;
|
|
color: var(--footer-text);
|
|
transition: color 0.2s ease;
|
|
}
|
|
|
|
.footer__nav-group a:hover {
|
|
color: var(--footer-text-hover);
|
|
}
|
|
|
|
/* Divider */
|
|
.footer__divider {
|
|
height: 1px;
|
|
background: var(--footer-divider);
|
|
margin: 2.5rem 0;
|
|
}
|
|
|
|
/* Bottom */
|
|
.footer__bottom {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
flex-wrap: wrap;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.footer__copy {
|
|
font-size: 0.85rem;
|
|
color: var(--footer-text);
|
|
}
|
|
|
|
/* Social */
|
|
.footer__social {
|
|
display: flex;
|
|
gap: 1rem;
|
|
}
|
|
|
|
.footer__social a {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 36px;
|
|
height: 36px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--footer-divider);
|
|
color: var(--footer-text);
|
|
transition:
|
|
color 0.2s ease,
|
|
border-color 0.2s ease,
|
|
background 0.2s ease;
|
|
}
|
|
|
|
.footer__social a:hover {
|
|
color: var(--footer-text-hover);
|
|
border-color: rgba(255, 255, 255, 0.3);
|
|
background: rgba(255, 255, 255, 0.05);
|
|
}
|