@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=UnifrakturCook&family=Lora&display=swap');

body {
    background: linear-gradient(180deg, #ffe0b2 0%, #fff3c4 100%);
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #2f1b12;
}

.ribbon-text {
    font-weight: 900;
    font-size: 66px;
    letter-spacing: 3px;
    text-transform: uppercase;
    fill: url(#orangeGradient);
}

#header {
    background-image: url('images/head.jpg'),url('images/bg1.jpg');
    background-repeat: no-repeat,repeat-x;
    background-color: #252422;
    background-position: center;
    height: 644px;
    width: 100%;
}

#navigation {
    padding: 48px 0;
    background: linear-gradient(145deg, #1a0c0c, #2f1414);
    display: flex;margin-top:-10px;
    justify-content: center;
    gap: 40px;
    border-bottom: 1px solid rgba(255, 170, 90, 0.4);
}

#navigation a {
    font-family: 'Cinzel Decorative', serif;
    font-size: 17px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(90deg, #ff8c42, #d46a1f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    padding: 6px 10px;
    text-decoration: none;
    color: inherit;
}

#navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #ff8c42, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

#navigation a:hover::after {
    transform: scaleX(1);
}

#content {
    width: 70%;
    margin: 50px auto;
    position: relative;
}

#content::before,
#content::after {
    content: "✦\A✶\A✦\A✶\A✦";
    white-space: pre;
    font-family: 'Cinzel Decorative', serif;
    color: rgba(180, 120, 60, 0.4);
    position: absolute;
    top: 20px;
    line-height: 2em;
}

#content::before { left: -25px; }
#content::after { right: -25px; }

.contentx {
    font-size: 18px;
    text-align: justify;
    line-height: 1.8;
    letter-spacing: 0.8px;
    padding: 0 30px;
    color: #4a2d1a;
}

blockquote {
    font-size: 21px;
    margin: 60px auto;
    padding: 30px 40px;
    border-left: 3px solid #c46a2d;
    border-right: 1px solid rgba(196, 106, 45, 0.3);
    background: linear-gradient(90deg, rgba(255,220,180,0.2), transparent);
    font-style: italic;
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 32px;
    text-transform: uppercase;
    letter-spacing: 3px;
    background: linear-gradient(90deg, #c46a2d, #ff9a3c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

h1::before,
h1::after {
    content: "❖";
    font-size: 16px;
    margin: 0 10px;
    color: #c46a2d;
}

h1::after {
    content: "";
    display: block;
    height: 1px;
    margin-top: 8px;
    background: linear-gradient(90deg, transparent, #c46a2d, transparent);
}

a {
    font-family: 'Lora', serif;
    font-size: 18px;
    text-decoration: none;
    color: inherit;
    background: linear-gradient(90deg, #a85a2a, #d47a3a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, #a85a2a, transparent);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
}

b, strong {
    font-family: 'Cinzel Decorative', serif;
    color: #7a3f1d;
    letter-spacing: 0.5px;
}

i, em {
    color: #a85a2a;
    font-style: italic;
}

textarea,
input,
select {
    padding: 12px 16px;
    background: rgba(255, 230, 200, 0.4);
    border: 1px solid rgba(170, 90, 40, 0.5);
    font-family: 'Lora', serif;
}

#footer span {
    background: linear-gradient(145deg, #000000, #1a1a1a);
    color: #fff;
    padding: 4px 8px;
    border-radius: 3px;
    letter-spacing: 0.5px;
}

#footer {
    opacity: 0.6;
    text-align: center;
    padding: 50px 20px;
    margin-top: 80px;
    color: #5a3a20;
}

#footer::before {
    content: "❖ ✦ ❖ ✶ ❖ ✦ ❖";
    display: block;
    margin-bottom: 20px;
    color: rgba(160, 100, 60, 0.4);
    letter-spacing: 6px;
}

#footer a {
    margin: 0 8px;
}


@media (max-width: 1024px) {

    #header {
        height: 450px;
        background-size: cover;
    }

    .ribbon-text {
        font-size: 50px;
    }

    #navigation {
        flex-wrap: wrap;
        gap: 20px;
        padding: 32px 0;
    }

    #navigation a {
        font-size: 16px;
        padding: 5px 8px;
    }

    #content {
        width: 85%;
        margin: 40px auto;
    }

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

    h1 {
        font-size: 28px;
    }

    blockquote {
        font-size: 19px;
        padding: 20px 30px;
        margin: 40px auto;
    }

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

    #footer {
        padding: 40px 15px;
        font-size: 13px;
    }
}

@media (max-width: 600px) {

    #header {
        height: 350px;
        background-position: center top;
    }

    .ribbon-text {
        font-size: 32px;
        letter-spacing: 1.5px;
    }

    #navigation {
        flex-direction: column;
        gap: 12px;
        padding: 24px 0;
    }

    #navigation a {
        font-size: 14px;
        padding: 4px 6px;
    }

    #content {
        width: 95%;
        margin: 30px auto;
    }

    .contentx {
        font-size: 14px;
        padding: 0 10px;
    }

    h1 {
        font-size: 24px;
        letter-spacing: 2px;
    }

    blockquote {
        font-size: 16px;
        padding: 15px 20px;
        margin: 30px auto;
    }

    textarea,
    input,
    select {
        width: 95%;
        font-size: 14px;
    }

    #footer {
        padding: 30px 10px;
        font-size: 12px;
    }

    #footer span {
        padding: 3px 6px;
        font-size: 12px;
    }
}