534 lines
9.9 KiB
CSS
534 lines
9.9 KiB
CSS
/* Instagram and Invite logo in gallery info area */
|
||
.gallery__icon--instagram {
|
||
height: 32px;
|
||
width: 32px;
|
||
object-fit: contain;
|
||
border-radius: 8px;
|
||
background: none;
|
||
/* Olive green filter for PNG: #6b6b05 */
|
||
filter: brightness(0) saturate(100%) invert(27%) sepia(81%) saturate(749%) hue-rotate(24deg) brightness(90%) contrast(90%);
|
||
}
|
||
|
||
.gallery__icon--invite {
|
||
height: 56px;
|
||
width: 56px;
|
||
object-fit: contain;
|
||
margin-left: 0;
|
||
transform: translate(-4%, -1%);
|
||
position: relative;
|
||
}
|
||
* { 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: 6px;
|
||
}
|
||
|
||
.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: var(--white) !important;
|
||
border: 2px solid var(--tomato) !important;
|
||
border-radius: 28px;
|
||
box-shadow: 0 12px 30px rgba(212, 75, 36, 0.08);
|
||
}
|
||
|
||
.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;
|
||
}
|
||
|
||
.how-step__icon--brown {
|
||
background: #66340d;
|
||
}
|
||
|
||
.how-step__label--brown {
|
||
color: var(--tomato);
|
||
}
|
||
|
||
.how-step__label--big {
|
||
font-size: 1.25rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.how-step--numbered {
|
||
position: relative;
|
||
}
|
||
|
||
.how-step__corner-number {
|
||
position: absolute;
|
||
top: 12px;
|
||
left: 16px;
|
||
font-size: 2.2rem;
|
||
font-weight: 700;
|
||
}
|
||
|
||
.how-step__corner-number--brown {
|
||
color: var(--tomato);
|
||
}
|
||
|
||
.how-step__png {
|
||
width: 192px;
|
||
height: 192px;
|
||
object-fit: contain;
|
||
}
|
||
|
||
.how-step__png--brown {
|
||
filter: brightness(0) saturate(100%) invert(39%) sepia(84%) saturate(1682%) hue-rotate(349deg) brightness(93%) contrast(86%);
|
||
}
|
||
}
|
||
|
||
@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;
|
||
}
|
||
}
|
||
|
||
/* Carousel gallery */
|
||
.gallery__carousel {
|
||
position: relative;
|
||
}
|
||
|
||
.gallery__track {
|
||
display: flex;
|
||
gap: 20px;
|
||
overflow: hidden;
|
||
margin-bottom: 30px; /* Space between photos and dots */
|
||
scroll-behavior: smooth;
|
||
}
|
||
|
||
.gallery__item {
|
||
flex: 0 0 calc((100% - 40px) / 3);
|
||
min-width: calc((100% - 40px) / 3);
|
||
border-radius: 24px;
|
||
overflow: hidden;
|
||
background: #fff;
|
||
box-shadow: 0 12px 24px rgba(0, 0, 0, 0.06);
|
||
aspect-ratio: 2 / 3;
|
||
}
|
||
|
||
.gallery__item img {
|
||
width: 100%;
|
||
height: 100%;
|
||
display: block;
|
||
object-fit: cover;
|
||
}
|
||
|
||
.gallery__arrow {
|
||
position: absolute;
|
||
top: 50%;
|
||
transform: translateY(-50%);
|
||
width: 48px;
|
||
height: 48px;
|
||
display: grid;
|
||
place-items: center;
|
||
border-radius: 0;
|
||
background: none;
|
||
backdrop-filter: none;
|
||
border: none;
|
||
color: #ffffff;
|
||
cursor: pointer;
|
||
font-size: 1.6rem;
|
||
text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
|
||
transition: transform 0.2s ease, color 0.2s ease;
|
||
z-index: 2;
|
||
}
|
||
|
||
.gallery__arrow:hover {
|
||
transform: translateY(-50%) scale(1.15);
|
||
color: #e5e1b7;
|
||
}
|
||
|
||
.gallery__arrow--prev {
|
||
left: 12px;
|
||
}
|
||
|
||
.gallery__arrow--next {
|
||
right: 12px;
|
||
}
|
||
|
||
/* Center arrow removed – using side arrows only */
|
||
}
|
||
|
||
@media (max-width: 900px) {
|
||
.gallery__track {
|
||
gap: 16px;
|
||
}
|
||
|
||
.gallery__item {
|
||
flex: 0 0 100%;
|
||
min-width: 100%;
|
||
}
|
||
}
|
||
|
||
/* --- 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;
|
||
} |