#header {
    background-image: url('images/head.jpg'),url('images/bg1.jpg');
    background-repeat: no-repeat, repeat;
    background-position: center;
    height: 573px;
    width: 100%;
    position: relative;
    z-index: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Noto+Sans+Runic&family=Alumni+Sans+Pinstripe&display=swap');

body {
    background-image: url('images/bg.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #494949;
}

#navigation {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: auto;
    padding: 14px 36px;
    background: linear-gradient(145deg, #e6ebf2, #dbe3ee);
    border-radius: 18px;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.25);
    display: flex;
    justify-content: center;
    gap: 32px;
    font-family: 'Lora', serif;
    z-index: 999;
    transition: all 0.3s ease;
}

#navigation a {
    font-weight: 700;
    font-size: 17px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    padding: 8px 14px;
    position: relative;
    transition: all 0.3s ease;
}

#navigation a::before,
#navigation a::after {
    content: "✦";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(37, 99, 235, 0.45);
    margin: 0 4px;
    transition: all 0.3s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    color: #1e40af;
    transform: scale(1.2);
}

#navigation a:hover {
    color: #1e40af;
}

#content {
    margin-top: -90px;
    padding: 40px;
    position: relative;
    width: 56%;
    margin-left: auto;
    margin-right: auto;
    z-index: 0;
}

.contentx {
    background: linear-gradient(145deg, #f0f4f8 0%, #dbeeff 100%);
    box-shadow: 0 12px 30px rgba(96, 165, 250, 0.15);
    text-align: justify;
    opacity: 0.65;
    margin-bottom: 60px;
    font-size: 19px;
    line-height: 1.75;
    letter-spacing: 1.05px;
    border-radius: 16px;
    color: #334155;
    position: relative;
    margin-top: 30px;
    padding: 60px 50px;
}

#content::before {
    content: "❖ ✠ ✶ ❖ ✠ ✶ ❖ ✠ ✶ ❖ ✠ ✶";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -40px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    color: rgba(30, 64, 175, 0.55);
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    pointer-events: none;
    z-index: 10;
}

#content::after {
    content: "✶ ✠ ❖ ✶ ✠ ❖ ✶ ✠ ❖ ✶";
    position: absolute;
    top: 0;
    bottom: 0;
    right: -40px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    color: rgba(30, 64, 175, 0.55);
    writing-mode: vertical-rl;
    text-orientation: upright;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    pointer-events: none;
    z-index: 10;
}

#content .ornament-top,
#content .ornament-bottom {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    letter-spacing: 14px;
    color: rgba(96, 165, 250, 0.5);
    text-shadow: 0 0 8px rgba(96, 165, 250, 0.35);
    pointer-events: none;
}

#content .ornament-top {
    top: -24px;
}

#content .ornament-bottom {
    bottom: -24px;
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 4px;
    color: #1e3a8a;
    position: relative;
    display: inline-block;
    padding: 10px 18px;
    background: linear-gradient(90deg, #1e40af, #60a5fa, #1e40af);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 6px rgba(96, 165, 250, 0.35), 0 0 18px rgba(96, 165, 250, 0.25);
}

h1::before {
    content: "";
    position: absolute;
    inset: -12px;
    background: radial-gradient(ellipse at center, rgba(147, 197, 253, 0.25), transparent 70%);
    z-index: -1;
    filter: blur(6px);
}

h1::after {
    content: "✦ ✧ ✦";
    display: block;
    text-align: center;
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 14px;
    color: rgba(96, 165, 250, 0.55);
    text-shadow: 0 0 6px rgba(96, 165, 250, 0.35);
}

blockquote {
    font-family: 'Cormorant Garamond', 'Garamond', serif;
    font-size: 22px;
    color: #1e3a8a;
    padding: 50px 60px;
    margin: 60px auto;
    max-width: 800px;
    line-height: 2;
    letter-spacing: 1px;
    background: rgba(230, 245, 255, 0.5);
    border-left: 3px solid #7fbfff;
    border-radius: 15px;
    box-shadow: 0 15px 30px rgba(100, 150, 255, 0.08), 0 0 60px rgba(127, 191, 255, 0.15);
    position: relative;
    backdrop-filter: blur(4px);
    transition: all 0.3s ease;
}

blockquote:hover {
    box-shadow: 0 20px 40px rgba(100, 150, 255, 0.15), 0 0 80px rgba(127, 191, 255, 0.3);
    transform: translateY(-2px);
}

blockquote::before {
    content: "❝";
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: rgba(127, 191, 255, 0.2);
    position: absolute;
    top: -30px;
    left: 20px;
    pointer-events: none;
}

blockquote::after {
    content: "❞";
    font-family: 'Cormorant Garamond', serif;
    font-size: 80px;
    color: rgba(127, 191, 255, 0.2);
    position: absolute;
    bottom: -30px;
    right: 20px;
    pointer-events: none;
}

a {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 19px;
    background: linear-gradient(90deg, #2563eb, #38bdf8);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #2563eb);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

b, strong {
    font-family: 'Cinzel Decorative', serif;
    color: #1e40af;
    letter-spacing: 0.5px;
}

b::before, b::after,
strong::before, strong::after {
    content: "✦";
    font-size: 10px;
    color: rgba(37, 99, 235, 0.3);
    margin: 0 2px;
}

i, em {
    font-family: 'Cinzel Decorative', serif;
    font-style: italic;
    color: #2563eb;
}

textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    opacity: 0.67;
    padding: 14px 18px;
    margin: 16px 0;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #1e2933;
    background: rgba(255, 255, 255, 0.8);
    border: 1.5px solid rgba(37, 99, 235, 0.4);
    border-radius: 8px;
    box-shadow: inset 0 1px 6px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

#footer {
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #334155;
    text-align: center;
    padding: 60px 25px 40px;
    margin-top: 80px;
}

#footer::before {
    content: "❖ ✦ ❖ ✦ ❖";
    font-family: 'Cinzel Decorative', serif;
    font-size: 20px;
    color: rgba(37, 99, 235, 0.3);
    display: block;
    margin-bottom: 20px;
    letter-spacing: 10px;
}

#footer a {
    margin: 0 8px;
}

#footer::after {
    content: "✶ ✦ ❖ ✶ ✦ ❖";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(37, 99, 235, 0.2);
    font-size: 18px;
    letter-spacing: 10px;
    display: block;
    margin-top: 20px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: #38bdf8 #e6ebf2;
}

::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: linear-gradient(180deg, #eef2f7, #e6ebf2);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #2563eb, #38bdf8);
    border-radius: 10px;
    border: 3px solid #e6ebf2;
    box-shadow: inset 0 0 6px rgba(255,255,255,0.35);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #1e40af, #0ea5e9);
}

@media (max-width: 900px) {
    #navigation {
        flex-wrap: wrap;
        gap: 18px;
        padding: 14px 20px;
        margin: 20px auto 0;
    }

    #navigation a {
        font-size: 15px;
        padding: 6px 10px;
    }

    #content {
        width: 90%;
    }

    .contentx {
        padding: 30px 28px;
        font-size: 18px;
        letter-spacing: 0.6px;
    }

    #content::before,
    #content::after {
        display: none;
    }

    textarea,
    input,
    select {
        width: 100%;
        max-width: 100%;
    }

    blockquote {
        font-size: 20px;
        padding: 30px 28px;
    }
}

@media (max-width: 500px) {
    #navigation {
        border-radius: 14px;
        box-shadow: 0 6px 18px rgba(30, 64, 175, 0.18);
    }

    h1 {
        font-size: 30px;
        letter-spacing: 1.2px;
    }

    .contentx {
        padding: 26px 22px;
        font-size: 17px;
    }

    blockquote {
        font-size: 18px;
        line-height: 1.7;
    }

    #footer {
        font-size: 13px;
        padding: 40px 20px;
    }
}
