@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600&family=Cinzel+Decorative:wght@400;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    font-family: 'Lora', serif;
    background-color: #E9C19D;
    color: #282735;
}

.snowflake {
    position: fixed;
    top: -10px;
    z-index: 9999;
    user-select: none;
    pointer-events: none;
    color: #FFFDF5;
    font-size: 10px;
    opacity: 0.8;
    animation-name: fall;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
}

@keyframes fall {
    0% { transform: translateY(-10px) translateX(0); }
    100% { transform: translateY(110vh) translateX(50px); }
}

.main-container {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
    margin: 40px auto;
    width: 90%;
    max-width: 1200px;
}

#header-image {
    width: 700px;
    height: 700px;
    background: url('images/christmasheader3.jpg') center/cover no-repeat;
    flex-shrink: 0;
}

.content-wrapper {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

#navigation {
    width: 88%;
    opacity: 0.9;
    padding: 40px 60px;
    background: rgba(233, 193, 157, 0.9);
    border: 1px solid rgba(195, 51, 51, 0.6);
    border-radius: 40px;
    box-shadow: 0 0 15px rgba(46, 93, 59, 0.2);
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
    transition: all 0.4s ease;
}

#navigation a {
    padding: 12px 15px;
    font-size: 17px;
    color: #FFFDF5;  
    background: rgba(46, 93, 59, 0.6);
    border: 1px solid rgba(195, 51, 51, 0.5);
    border-radius: 50px;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

#navigation a:hover {
    background: rgba(195, 51, 51, 0.8);
    border-color: #C33;
    box-shadow: 0 2px 10px rgba(233, 193, 157, 0.3);
    transform: translateY(-2px);
}

#content {
    font-size: 22px;
}

.contentx {
    opacity: 0.85;
    text-align: justify;
    background: rgba(233, 193, 157, 0.6);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 0 10px rgba(46, 93, 59, 0.1);
    color: #1F2A3A;
    backdrop-filter: blur(4px);
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 45px;
    color: #C33;
    text-align: center;
    margin: 0 0 20px;
    letter-spacing: 2px;
    padding: 10px 0;
    border-bottom: 2px solid rgba(46, 93, 59, 0.6);
    animation: gentleFloat 7s ease-in-out infinite;
}

blockquote {
    font-size: 26px;
    color: #2E5D3B;
    background: rgba(233, 193, 157, 0.4);
    padding: 20px 35px;
    margin: 30px 0;
    border-left: 5px solid #C33;
    border-radius: 15px;
    box-shadow: 0 2px 8px rgba(195, 51, 51, 0.1);
    line-height: 1.8;
    font-style: italic;
}

textarea, input, select {
    width: 70%;
    max-width: 600px;
    padding: 12px 18px;
    margin: 16px 0;
    font-size: 20px;
    color: #1F2A3A;
    background: rgba(233, 193, 157, 0.6);
    border: 1px solid rgba(195, 51, 51, 0.5);
    border-radius: 12px;
    transition: all 0.3s ease;
    backdrop-filter: blur(3px);
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: rgba(233, 193, 157, 0.8);
    border-color: #C33;
    box-shadow: 0 0 10px rgba(46, 93, 59, 0.3);
}

#footer {
    font-family: 'Lora', serif;
    opacity: 0.8;
    background: rgba(46, 93, 59, 0.9);
    color: #FFFDF5;
    text-align: center;
    padding: 60px 20px;
    margin-top: 100px;
    border-top: 1px dashed #C33;
    border-radius: 100px 100px 0 0;
    box-shadow: inset 0 8px 20px rgba(233, 193, 157, 0.08);
}

#footer a {
    color: #C33;
    text-decoration: none;
    border-bottom: 1px dashed rgba(233, 193, 157, 0.5);
}

#footer a:hover {
    color: #FFFDF5;
    text-shadow: 0 0 6px rgba(195, 51, 51, 0.3);
}

b, strong {
    color: #FFFDF5;
    background-color: #C33;
    padding: 2px 6px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@keyframes gentleFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

.contentx a:link,
.contentx a:visited {
    color: #C33;
    text-decoration: none;
    border-bottom: 1px dashed #2E5D3B;
    transition: all 0.3s ease;
    font-weight: 600;
}

.contentx a:hover,
.contentx a:focus {
    color: #2E5D3B;
    border-bottom: 1px solid #C33;
    text-shadow: 0 0 6px rgba(195, 51, 51, 0.4);
}

@media (max-width: 1024px) {
    .main-container {
        flex-direction: column;
        align-items: center;
        gap: 20px;
        margin: 20px auto;
    }

    #header-image {
        width: 80%;
        height: 300px;
    }

    .content-wrapper {
        width: 90%;
    }

    #navigation {
        padding: 30px 40px;
        gap: 12px;
    }

    #navigation a {
        padding: 10px 15px;
        font-size: 16px;
    }

    .contentx {
        padding: 25px;
        font-size: 20px;
    }

    h1 {
        font-size: 35px;
    }

    blockquote {
        font-size: 22px;
        padding: 20px;
    }

    textarea, input, select {
        width: 90%;
        font-size: 18px;
    }
}

@media (max-width: 600px) {
    #header-image {
        width: 100%;
        height: 250px;
    }

    #navigation {
        flex-direction: column;  
        align-items: center;    
        padding: 20px;
        gap: 12px;
    }

    #navigation a {
        width: 80%;
        text-align: center;  
        display: block;
    }

    h1 {
        font-size: 28px;
    }

    .contentx {
        font-size: 18px;
        padding: 20px;
    }

    blockquote {
        font-size: 18px;
        padding: 15px;
    }

    textarea, input, select {
        width: 100%;
        font-size: 16px;
    }

    .snowflake {
        font-size: 8px !important;
        opacity: 0.6 !important;
    }
}
