422 lines
8.1 KiB
CSS
422 lines
8.1 KiB
CSS
* { box-sizing: border-box; }
|
|
|
|
:root {
|
|
--black: #000000;
|
|
--white: #ffffff;
|
|
--button-green: #6b6b05;
|
|
--button-green-dark: #514c04;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
font-family: 'Inter', sans-serif;
|
|
background: #FFFDE3; /* butter background color from stylesheet */
|
|
}
|
|
|
|
.page-wrapper {
|
|
max-width: 1440px;
|
|
margin: 0 auto;
|
|
background: var(--white);
|
|
padding: 40px;
|
|
border: 1px solid var(--black);
|
|
}
|
|
|
|
/* --- 1. Basic Layout Logic --- */
|
|
.header {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
border: 1px solid var(--black);
|
|
margin-bottom: 40px; /* Using your 40px margin from the first block */
|
|
}
|
|
|
|
.header__brand {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
font-weight: 700;
|
|
font-size: 1.2rem;
|
|
}
|
|
|
|
.brand__logo {
|
|
height: 34px;
|
|
width: auto;
|
|
object-fit: contain;
|
|
}
|
|
|
|
/* Grouping container for 'Event finden' and 'Login' */
|
|
.header__actions {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.top-nav-wrap {
|
|
background: #FFFDE3;
|
|
padding: 18px 0;
|
|
}
|
|
|
|
.top-nav {
|
|
background: rgba(255, 255, 255, 0.95);
|
|
border-radius: 30px;
|
|
box-shadow: 0 3px 12px rgba(102, 52, 13, 0.1);
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
min-height: 58px;
|
|
padding: 12px 24px;
|
|
width: 100%;
|
|
max-width: none;
|
|
box-sizing: border-box;
|
|
margin: 0 0 40px;
|
|
}
|
|
|
|
.brand {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
height: 50px;
|
|
text-decoration: none;
|
|
}
|
|
|
|
.brand img {
|
|
width: auto;
|
|
height: 100%;
|
|
max-width: 104px;
|
|
display: block;
|
|
}
|
|
|
|
.top-nav-links {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 16px;
|
|
}
|
|
|
|
.nav-link {
|
|
color: #221c1a;
|
|
line-height: 1.3;
|
|
text-decoration: none;
|
|
padding: 8px 20px;
|
|
border: 2px solid #e5e1b7;
|
|
border-radius: 20px;
|
|
transition: background-color 0.2s ease, color 0.2s ease;
|
|
}
|
|
|
|
.nav-link:hover,
|
|
.nav-link.active,
|
|
.nav-link:focus-visible {
|
|
background: #6b6b05;
|
|
color: #ffffff;
|
|
border-color: #6b6b05;
|
|
}
|
|
|
|
.nav-link--login {
|
|
background: #6b6b05;
|
|
color: #ffffff;
|
|
border-color: #6b6b05;
|
|
}
|
|
|
|
.nav-link--login:hover,
|
|
.nav-link--login:focus-visible {
|
|
background: #ffffff;
|
|
color: #6b6b05;
|
|
border-color: #6b6b05;
|
|
}
|
|
|
|
.main-content {
|
|
width: min(100% - 4rem, 1120px);
|
|
margin: 0 auto;
|
|
padding: 0 20px;
|
|
}
|
|
|
|
.hero {
|
|
display: grid;
|
|
grid-template-columns: 1fr 1fr;
|
|
gap: 50px;
|
|
margin-bottom: 80px;
|
|
align-items: center;
|
|
padding: 40px 0;
|
|
}
|
|
|
|
.how-it-works {
|
|
margin-bottom: 70px;
|
|
}
|
|
|
|
.how-it-works__header {
|
|
text-align: center;
|
|
margin-bottom: 32px;
|
|
}
|
|
|
|
.how-it-works__header h2 {
|
|
font-size: 2rem;
|
|
margin: 0;
|
|
color: #221c1a;
|
|
}
|
|
|
|
.how-it-works__steps {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, minmax(180px, 1fr));
|
|
gap: 20px;
|
|
}
|
|
|
|
.how-step {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 16px;
|
|
padding: 28px 20px;
|
|
background: #ffffff;
|
|
border-radius: 28px;
|
|
box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
|
|
}
|
|
|
|
.how-step__icon {
|
|
width: 64px;
|
|
height: 64px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: var(--button-green);
|
|
color: var(--white);
|
|
border-radius: 50%;
|
|
font-size: 1.4rem;
|
|
}
|
|
|
|
.how-step__number {
|
|
width: 36px;
|
|
height: 36px;
|
|
display: grid;
|
|
place-items: center;
|
|
background: #f4efd7;
|
|
color: #221c1a;
|
|
border-radius: 50%;
|
|
font-weight: 700;
|
|
}
|
|
|
|
.how-step__label {
|
|
margin: 0;
|
|
font-size: 1rem;
|
|
line-height: 1.6;
|
|
font-weight: 600;
|
|
color: #221c1a;
|
|
text-align: center;
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.how-it-works__steps {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|
|
|
|
.hero__left {
|
|
max-width: 520px;
|
|
}
|
|
|
|
.hero__left p {
|
|
margin: 24px 0 32px;
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.hero__right {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
}
|
|
|
|
.image-card {
|
|
width: 100%;
|
|
max-width: 396px;
|
|
overflow: hidden;
|
|
border-radius: 30px;
|
|
}
|
|
|
|
.hero-image {
|
|
width: 100%;
|
|
max-width: 396px;
|
|
max-height: 464px;
|
|
height: auto;
|
|
border-radius: 30px;
|
|
object-fit: cover;
|
|
box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
|
|
}
|
|
|
|
@media (max-width: 900px) {
|
|
.hero {
|
|
grid-template-columns: 1fr;
|
|
padding: 30px 0;
|
|
}
|
|
|
|
.hero__right {
|
|
order: -1;
|
|
}
|
|
|
|
.hero-image {
|
|
min-height: 320px;
|
|
}
|
|
}
|
|
|
|
/* Container for the 3 photos */
|
|
.gallery__track {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 20px;
|
|
margin-bottom: 30px; /* Space between photos and dots */
|
|
}
|
|
|
|
/* Container for the dots to keep them in the middle */
|
|
.gallery__dots {
|
|
display: flex;
|
|
justify-content: center; /* This is the "magic" line that centers them */
|
|
gap: 12px; /* Space between the dots */
|
|
width: 100%;
|
|
}
|
|
|
|
/* The actual black dots */
|
|
.dot {
|
|
width: 12px;
|
|
height: 12px;
|
|
background-color: #000; /* Solid black */
|
|
border-radius: 50%; /* Makes them round */
|
|
display: inline-block;
|
|
}
|
|
|
|
/* --- 2. Button & Link Styling --- */
|
|
.btn {
|
|
border: none;
|
|
background: var(--button-green);
|
|
color: var(--white);
|
|
padding: 12px 22px;
|
|
font-weight: 700;
|
|
cursor: pointer;
|
|
text-decoration: none; /* Keeps the link from having an underline */
|
|
display: inline-flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
border-radius: 999px;
|
|
font-size: 0.95rem;
|
|
transition: background-color 0.2s ease, transform 0.2s ease;
|
|
}
|
|
|
|
.btn:hover {
|
|
background-color: var(--button-green-dark);
|
|
transform: translateY(-1px);
|
|
}
|
|
|
|
.nav__link {
|
|
color: var(--black); /* Fixes the purple link issue */
|
|
}
|
|
|
|
/* --- 3. The "X" Box Logic --- */
|
|
.image-card__placeholder, .placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 250px;
|
|
position: relative;
|
|
border: 1px solid var(--black);
|
|
background: var(--white);
|
|
}
|
|
|
|
.image-card__placeholder::before, .image-card__placeholder::after,
|
|
.placeholder::before, .placeholder::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
}
|
|
|
|
/* Drawing the diagonal lines for the wireframe look */
|
|
.image-card__placeholder::before, .placeholder::before {
|
|
background: linear-gradient(to top left, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
|
}
|
|
|
|
.image-card__placeholder::after, .placeholder::after {
|
|
background: linear-gradient(to top right, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
|
}
|
|
/* The "X" Box Logic - IMPORTANT */
|
|
.image-card__placeholder, .placeholder {
|
|
width: 100%;
|
|
height: 100%;
|
|
min-height: 250px; /* Ensures the box has height */
|
|
position: relative; /* REQUIRED for the X lines to stay inside */
|
|
border: 1px solid var(--black);
|
|
background: var(--white);
|
|
}
|
|
|
|
/* Creating the diagonal lines */
|
|
.image-card__placeholder::before, .image-card__placeholder::after,
|
|
.placeholder::before, .placeholder::after {
|
|
content: "";
|
|
position: absolute;
|
|
top: 0; left: 0; right: 0; bottom: 0;
|
|
}
|
|
|
|
.image-card__placeholder::before, .placeholder::before {
|
|
background: linear-gradient(to top left, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
|
}
|
|
|
|
.image-card__placeholder::after, .placeholder::after {
|
|
background: linear-gradient(to top right, transparent 49.5%, var(--black) 49.5%, var(--black) 50.5%, transparent 50.5%);
|
|
}
|
|
|
|
/* Badges and Buttons */
|
|
.social-badge {
|
|
display: flex;
|
|
justify-content: center; /* This centers the dots */
|
|
gap: 10px;
|
|
margin-top: 20px; /* This creates space between the photos and the dots */
|
|
/* REMOVE any line that says "position: absolute" or "bottom: 16px" */
|
|
}
|
|
|
|
.social-badge__dot { width: 12px; height: 12px; background: var(--black); border-radius: 50%; }
|
|
|
|
.profile-badge {
|
|
width: 60px; height: 60px;
|
|
border-radius: 50%;
|
|
border: 1px solid var(--black);
|
|
margin-top: 20px;
|
|
}
|
|
|
|
.gallery__info {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 10px;
|
|
}
|
|
|
|
.gallery__handle {
|
|
display: flex;
|
|
align-items: center;
|
|
font-size: 1.1rem;
|
|
font-weight: 700;
|
|
color: var(--black);
|
|
gap: 6px;
|
|
}
|
|
|
|
.gallery__icon {
|
|
font-size: 1.15rem;
|
|
color: #DD541A;
|
|
}
|
|
|
|
.gallery__at {
|
|
font-size: 1.1rem;
|
|
color: #222;
|
|
}
|
|
|
|
.gallery__brand {
|
|
font-family: 'Inter', sans-serif;
|
|
color: #DD541A;
|
|
}
|
|
|
|
/* Footer */
|
|
.footer {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
padding: 16px 24px;
|
|
border: none;
|
|
margin-top: 40px;
|
|
}
|
|
|
|
.footer__link {
|
|
color: var(--black);
|
|
text-decoration: underline;
|
|
font-size: 0.8rem;
|
|
font-weight: 400;
|
|
} |