@font-face {
    font-family: 'EkkamaiNew';
    src: url('fonts/EkkamaiNew-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'EkkamaiNew';
    src: url('fonts/EkkamaiNew-Bold.ttf') format('truetype');
    font-weight: bold;
    font-style: normal;
}

@font-face {
    font-family: 'EkkamaiNew';
    src: url('fonts/EkkamaiNew-Thin.ttf') format('truetype');
    font-weight: 100;
    font-style: normal;
}

body {
    font-family: 'EkkamaiNew', sans-serif;
    margin: 0;
    background: #fffaf9;
    color: #4a3b47;
}

header, section {
    padding: 2rem;
    text-align: center;
}

header {
    background: linear-gradient(#fffaf9, #f3c0b6);
}

.headline {
    font-family: 'Parisienne', cursive;
    font-size: 8vw;
    color: #4a3b47;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.1);
}

.hearts {
    font-size: 6vw;
    color: #f3c0b6;
    margin: 10px 0;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.2);
}

.names {
    font-family: 'Alex Brush', cursive;
    font-size: 6vw;
    color: #4a3b47;
    margin: 0;
    text-shadow: 2px 2px 4px rgba(255, 0, 0, 0.2);
}

#bride-name, #groom-name {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
}

.parents {
    margin-top: 1rem;
    font-weight: 500;
    font-size: 1rem;
    display: flex;
    flex-direction: column;
    padding: 0;
}

.parent-block {
    padding: 1rem;
    /*color: #fff;*/
    /*font-size: 4.5vw;*/
    font-family: 'EkkamaiNew', sans-serif;
    text-align: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.bride-parents {
    /*background: linear-gradient(135deg, #f3c0b6 0%, #f7d6ce 100%);*/
}

.groom-parents {
    /*background: linear-gradient(135deg, #accbee 0%, #e7f0fd 100%);*/
}

.date, .venue {
    font-weight: 500;
}

.timeline {
    margin: 1rem auto;
    max-width: 300px;
    text-align: left;
}

.timeline div {
    padding: 0.5rem 0;
}

.theme-colors {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 1rem 0;
}

.color-circle {
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.rsvp-form input, .rsvp-form textarea, .rsvp-form button {
    width: 100%;
    max-width: 400px;
    margin: 0.5rem auto;
    display: block;
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 8px;
    font-size: 1rem;
}

.rsvp-form button {
    background: #b6a3b8;
    color: white;
    border: none;
    cursor: pointer;
}

footer {
    font-size: 0.8rem;
    color: #888;
    text-align: center;
    margin-top: 2rem;
    padding-bottom: 2rem;
}

.line-with-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.line-with-text::before,
.line-with-text::after {
    content: "";
    flex: 1;
    border-bottom: 1px solid #4a3b47;
    margin: 0 10px;
}

.infinity {
    font-size: 2.5rem; /* Make it prominent */
    font-weight: bold;
    color: #b6a3b8; /* Matches the theme color */
    font-family: 'Alex Brush', cursive; /* Elegant font */
    display: inline-block; /* To allow custom positioning */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1); /* Subtle shadow for depth */
    /*margin: 0 1rem; !* Add spacing around the symbol *!*/
    transform: rotate(10deg); /* Slight rotation for a creative touch */
}


@media (min-width: 768px) {
    .headline {
        font-size: 64px;
    }

    .hearts {
        font-size: 48px;
    }

    .names {
        font-size: 48px;
    }

    .parents {
        flex-direction: row;
    }

    .parent-block {
        font-size: 28px;
    }
}
