﻿
:root {
    --primary-color: #218A84;
    --primary-gradient: linear-gradient(to bottom right, #218A84, #1a6f6a);
    --secondary-color: #370D0F;
    --secondary-gradient: linear-gradient(to bottom right, #370D0F, #2a0a0c);
    --secondary-bg: #f9f9f9;
    --hover-color: #d6eae9;
    --text-color: #212529;
    --muted-color: #6c757d;

    --primary-bg: #fdfdfd;
    --secondary-bg: #f8f9fa;
    --border-color: #dee2e6;
}

html {
    font-size: 14px;
}

@font-face {
    font-family: 'Canva Sans';
    src: url('../font/canva-sans-regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Adlery pro';
    src: url('../font/Adlery-Pro-trial.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

html {
    position: relative;
    min-height: 100%;
}

body {
    margin-bottom: 60px;
}


/* =========================================
   Hochzeitseinladung – Stildefinitionen
   ========================================= */

/* Grundlegende Reset-Regeln (einheitliches Verhalten in allen Browsern) */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Parallax-Hintergrund */
.parallax {
    /* Das Hintergrundbild bleibt fixiert, während der Inhalt scrollt */
    background-attachment: fixed; /* Parallax-Effekt */
    background-position: top; /* Zentriert das Bild */
    background-repeat: no-repeat;
    background-size: cover; /* Füllt den gesamten Bereich */
    min-height: 100vh; /* Mindestens Bildschirmhöhe */
    /* Schleier-Effekt */
    position: relative;
}

    .parallax::before {
        content: "";
        position: absolute;
        inset: 0; /* füllt den ganzen Container */
        background: #994477;
        z-index: 1;
    }

/* Inhalt auf dem Schleier */
.invitation-content {
    position: relative;
    z-index: 2; /* Damit der Text über dem Schleier liegt */
    text-align: center;
    color: #333;
    font-family: 'Georgia', serif;
    padding: 10vh 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: 2em 4em 6em 6em 2em 2em 5em 1em 2em 15em 5em 2em 15em 5em 2em 33em;
    align-items: start;
    gap: 10px 20px;
}

.content-panel {
    background: white;
    padding: 3em 0;
    font-family: "Canva Sans";
    color: #994477;
}

.info-panel {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
}

.info-panel p {
    width: 100%;
}

.info-title {
    grid-column: 1;
    font-size: 25px;
}

.info-content1 {
    grid-column: 2;
    color: #49685e;
    text-align: left;
    font-size: 1.3em;
}

.info-content2 {
    grid-column: 3;
    color: #49685e;
    text-align: left;
    font-size: 1.3em;
}
    /* Titel */
    .invitation-content h1 {
        font-size: 3rem;
        margin-bottom: 1rem;
        letter-spacing: 2px;
    }

    /* Untertitel / Datum */
    .invitation-content h2 {
        font-weight: normal;
        font-size: 1.5rem;
        margin-bottom: 2rem;
    }

    /* Einladungstext */
    .invitation-content p {
        max-width: 600px;
        margin: 0 auto;
        /*font-size: 1.2rem;*/
        line-height: 1.8;
    }

    .invitation-content h1,
    .invitation-content h2,
    .invitation-content h3 {
        grid-column: 1;
    }

#row1 {
    grid-row: 2;
    font-size: 2em;
}
#row2 {
    grid-row: 3;
    font-size: 6em;
}
#row3 {
    grid-row: 4;
    font-size: 6em;
}
#row4 {
    grid-row: 5;
    font-size: 2em;
}
#row5 {
    grid-row: 6;
    font-size: 2em;
}

#day1 {
    grid-row: 9;
    grid-column-start: 1;
    grid-column-end: 3;
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-family: "Canva Sans"
}
#program1 {
    grid-row: 10;
    grid-column-start: 1;
    grid-column-end: 3;
}

#day2 {
    grid-row: 12;
    grid-column-start: 1;
    grid-column-end: 3;
    font-weight: normal;
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: white;
    font-family: "Canva Sans"
}

#program2 {
    grid-row: 13;
    grid-column-start: 1;
    grid-column-end: 3;
}

#program3 {
    grid-row: 16;
    grid-column-start: 1;
    grid-column-end: 3;
}

#program3 h1 {
    color: #334942;
}

    #program3 p {
        color: #49685e;
        text-align: left;
        font-size: 1.3em;
    }

.title-image {
    background-image: url('/img/sitting.jpeg');
    height: 45vh;
    background-size: 58vh;
    background-repeat: no-repeat;
    background-position: center;
    border-radius: 100000px;
    width: 45vh;
    grid-column: 2;
    grid-row-start: 1;
    grid-row-end: 4;
}

.yes {
    color: #dae6e1;
    font-family: "Canva Sans";
}

.title {
    color: white;
    font-family: "LynxTH Serif";
}

/* Optional: weicher Scroll-Effekt (nur visuell) */
html {
    scroll-behavior: smooth;
}

/* Abschnitt nach der Einladung – zum Scrollen */
.section {
    /*min-height: 100vh;*/
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    background: white;
    padding: 0 2rem;
}

a {
    text-decoration: none;
    color: #49685e;
}
