/* =========================================
   RESET
========================================= */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        Arial,
        sans-serif;

    color: #222;

    background: #fff;

    line-height: 1.6;
}


a {
    text-decoration: none;
}


/* =========================================
   NAVIGATION
========================================= */

.navbar {

    height: 75px;

    width: 100%;

    padding: 0 6%;

    display: flex;

    align-items: center;

    justify-content: space-between;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid #eee;

    position: sticky;

    top: 0;

    z-index: 100;
}


.logo {

    font-size: 21px;

    font-weight: 800;

    color: #e63968;
}


.navbar nav {

    display: flex;

    align-items: center;

    gap: 25px;
}


.navbar nav a {

    color: #333;

    font-size: 15px;

    font-weight: 600;
}


.nav-button {

    background: #ff3b6b;

    color: white !important;

    padding: 10px 20px;

    border-radius: 30px;

    transition: 0.2s ease;
}


.nav-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 8px 20px
        rgba(255, 59, 107, 0.25);
}


/* =========================================
   HERO
========================================= */

.hero {

    min-height: 650px;

    display: flex;

    align-items: center;

    justify-content: center;

    text-align: center;

    padding: 80px 20px;

    background:
        radial-gradient(
            circle at top left,
            #ffd6e2,
            transparent 40%
        ),

        radial-gradient(
            circle at bottom right,
            #ffe2c8,
            transparent 40%
        ),

        linear-gradient(
            135deg,
            #fff7f9,
            #fff
        );
}


.hero-content {

    max-width: 750px;
}


.hero-heart {

    font-size: 75px;

    margin-bottom: 20px;

    animation:
        heroHeart 2s infinite;
}


@keyframes heroHeart {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.12);
    }
}


.hero h1 {

    font-size: clamp(42px, 7vw, 76px);

    line-height: 1.05;

    letter-spacing: -2px;

    margin-bottom: 25px;
}


.hero h1 span {

    color: #ff3b6b;
}


.hero p {

    max-width: 600px;

    margin: 0 auto 35px;

    font-size: 20px;

    color: #666;
}


/* =========================================
   MAIN BUTTON
========================================= */

.main-button {

    display: inline-block;

    padding: 15px 30px;

    border-radius: 50px;

    background: #ff3b6b;

    color: white;

    font-weight: 700;

    font-size: 17px;

    box-shadow:
        0 10px 25px
        rgba(255, 59, 107, 0.25);

    transition: 0.25s ease;
}


.main-button:hover {

    transform: translateY(-3px);

    box-shadow:
        0 15px 30px
        rgba(255, 59, 107, 0.35);
}


/* =========================================
   THEMES SECTION
========================================= */

.templates-section {

    padding: 100px 6%;

    max-width: 1400px;

    margin: auto;
}


.section-heading {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 60px;
}


.section-heading span {

    color: #ff3b6b;

    font-size: 13px;

    font-weight: 800;

    letter-spacing: 2px;
}


.section-heading h2 {

    font-size: 42px;

    line-height: 1.2;

    margin: 12px 0;
}


.section-heading p {

    color: #777;

    font-size: 17px;
}


/* =========================================
   TEMPLATE GRID
========================================= */

.templates-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


/* =========================================
   TEMPLATE CARD
========================================= */

.template-card {

    padding: 30px;

    border: 1px solid #eee;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.template-card:hover {

    transform: translateY(-7px);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.10);
}


.template-icon {

    font-size: 55px;

    margin-bottom: 15px;
}


.template-card h3 {

    font-size: 25px;

    margin-bottom: 10px;
}


.template-card p {

    color: #777;

    min-height: 75px;

    margin-bottom: 25px;
}


/* =========================================
   CARD BOTTOM
========================================= */

.template-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 10px;
}


.price {

    font-weight: 800;

    color: #333;
}


.template-button {

    background: #fff0f4;

    color: #e63968;

    padding: 10px 16px;

    border-radius: 25px;

    font-size: 14px;

    font-weight: 700;

    transition: 0.2s ease;
}


.template-button:hover {

    background: #ff3b6b;

    color: white;
}


/* =========================================
   FOOTER
========================================= */

footer {

    padding: 40px 20px;

    text-align: center;

    border-top: 1px solid #eee;

    color: #888;

    font-size: 14px;
}


footer p + p {

    margin-top: 5px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .templates-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .navbar {

        padding: 0 20px;
    }


    .navbar nav {

        gap: 10px;
    }


    .navbar nav > a:first-child {

        display: none;
    }


    .logo {

        font-size: 18px;
    }


    .hero {

        min-height: 600px;

        padding: 60px 20px;
    }


    .hero h1 {

        font-size: 43px;

        letter-spacing: -1px;
    }


    .hero p {

        font-size: 17px;
    }


    .templates-section {

        padding: 70px 20px;
    }


    .section-heading h2 {

        font-size: 32px;
    }


    .templates-grid {

        grid-template-columns: 1fr;
    }


    .template-card p {

        min-height: auto;
    }

}
/* =========================================
   AUTHENTICATION
========================================= */

.auth-page {

    min-height: 100vh;

    background:
        radial-gradient(
            circle at top left,
            #ffd6e2,
            transparent 40%
        ),

        radial-gradient(
            circle at bottom right,
            #ffe2c8,
            transparent 40%
        ),

        #fff7f9;

    display: flex;

    justify-content: center;

    align-items: center;

    padding: 30px 20px;
}


.auth-container {

    width: 100%;

    max-width: 480px;
}


.auth-card {

    background: white;

    padding: 45px 40px;

    border-radius: 30px;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, 0.10);
}


.auth-logo {

    display: block;

    text-align: center;

    color: #e63968;

    font-size: 21px;

    font-weight: 800;

    margin-bottom: 30px;
}


.auth-card h1 {

    text-align: center;

    font-size: 32px;

    margin-bottom: 10px;
}


.auth-subtitle {

    text-align: center;

    color: #777;

    margin-bottom: 30px;
}


/* =========================================
   AUTH FIELDS
========================================= */

.auth-field {

    margin-bottom: 20px;
}


.auth-field label {

    display: block;

    margin-bottom: 7px;

    font-size: 14px;

    font-weight: 700;

    color: #444;
}


.auth-field input {

    width: 100%;

    padding: 14px 16px;

    border: 1px solid #ddd;

    border-radius: 12px;

    font-family: inherit;

    font-size: 16px;

    outline: none;

    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease;
}


.auth-field input:focus {

    border-color: #ff3b6b;

    box-shadow:
        0 0 0 4px
        rgba(255, 59, 107, 0.10);
}


/* =========================================
   AUTH BUTTON
========================================= */

.auth-button {

    width: 100%;

    border: none;

    border-radius: 50px;

    padding: 15px;

    background: #ff3b6b;

    color: white;

    font-family: inherit;

    font-size: 16px;

    font-weight: 700;

    cursor: pointer;

    transition: 0.2s ease;
}


.auth-button:hover {

    transform: translateY(-2px);

    box-shadow:
        0 10px 25px
        rgba(255, 59, 107, 0.25);
}


/* =========================================
   FEHLER
========================================= */

.auth-error {

    background: #fff0f2;

    border: 1px solid #ffc8d2;

    color: #d6284b;

    padding: 12px 15px;

    border-radius: 12px;

    margin-bottom: 20px;

    font-size: 14px;

    font-weight: 600;
}


/* =========================================
   SWITCH
========================================= */

.auth-switch {

    text-align: center;

    margin-top: 25px;

    color: #777;

    font-size: 14px;
}


.auth-switch a {

    color: #e63968;

    font-weight: 700;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 500px) {

    .auth-card {

        padding: 35px 25px;

        border-radius: 25px;
    }


    .auth-card h1 {

        font-size: 27px;
    }

}
/* =========================================
   CREATE PAGE
========================================= */

.create-page {

    min-height: 100vh;

    background: #fafafa;
}


.create-container {

    max-width: 1200px;

    margin: auto;

    padding: 70px 25px;
}


.create-heading {

    text-align: center;

    max-width: 700px;

    margin: 0 auto 55px;
}


.create-heading h1 {

    font-size: 42px;

    line-height: 1.2;

    margin: 10px 0 15px;
}


.create-heading > p:last-child {

    color: #777;

    font-size: 17px;
}


/* =========================================
   TEMPLATE GRID
========================================= */

.create-template-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 25px;
}


.create-template-card {

    background: white;

    border: 1px solid #eee;

    border-radius: 25px;

    padding: 30px;

    box-shadow:
        0 10px 30px
        rgba(0, 0, 0, 0.05);

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


.create-template-card:hover {

    transform: translateY(-6px);

    box-shadow:
        0 20px 45px
        rgba(0, 0, 0, 0.10);
}


.create-template-icon {

    font-size: 60px;

    margin-bottom: 15px;
}


.create-template-card h2 {

    font-size: 25px;

    margin-bottom: 10px;
}


.create-template-card p {

    color: #777;

    min-height: 70px;

    margin-bottom: 25px;
}


.create-template-footer {

    display: flex;

    justify-content: space-between;

    align-items: center;

    gap: 15px;
}


.create-template-footer strong {

    font-size: 18px;
}


.create-template-footer .main-button {

    padding: 10px 18px;

    font-size: 14px;
}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 900px) {

    .create-template-grid {

        grid-template-columns:
            repeat(2, 1fr);
    }

}


@media (max-width: 600px) {

    .create-container {

        padding: 50px 20px;
    }


    .create-heading h1 {

        font-size: 32px;
    }


    .create-template-grid {

        grid-template-columns: 1fr;
    }


    .create-template-card p {

        min-height: auto;
    }

}