#header {
    background-image: url('images/head.jpg'),url('images/bg.jpg');
    background-repeat: no-repeat, repeat;
    background-position: center;
    height: 482px;
    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/bg1.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #1c1c1c;
}

#navigation {
    width: 100%;
    margin-top: 0;
    padding: 20px 0;
    background: linear-gradient(145deg, #1a0000, #330000);
    border: none;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(102, 0, 0, 0.5);
    font-family: 'Lora', serif;
    display: flex;
    justify-content: center;
    gap: 40px;
    position: relative;
}

#navigation a {
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    color: #ff8b5e;
    background: linear-gradient(90deg, #ff8b5e, #ff4c4c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    position: relative;
    padding: 9px 18px;
    transition: all 0.3s ease-in-out;
}

#navigation a::before,
#navigation a::after {
    content: "✦";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(255, 140, 94, 0.5);
    margin: 0 4px;
    transition: all 0.3s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    color: #fff;
    transform: scale(1.2);
}

#navigation a:hover {
    color: #fff;
}

#navigation a::after-underline {
    content: '';
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #ff4c4c, #ff8b5e);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

#navigation a:hover::after-underline {
    transform: scaleX(1);
    transform-origin: left;
}

#content {
    margin-top: 20px;
    padding-bottom: 10px;
    position: relative;
    width: 70%;
    margin-left: auto;
    margin-right: auto;
}

.contentx {
    text-align: justify;
    opacity: 0.85;
    margin-bottom: 60px;
    font-size: 19px;
    line-height: 1.75;
    letter-spacing: 1.1px;
    border-radius: 12px;
    background: none;
    box-shadow: none;
    color: #4b3621;
    position: relative;
    margin-top: 20px;
    padding: 0 40px;
}

#content::before,
#content::after {
    font-family: 'Cinzel Decorative', serif;
    color: rgba(139, 94, 60, 0.3);
    font-size: 16px;
    position: absolute;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    line-height: 2em;
}

#content::before {
    left: 10px;
    top: 20px;
    bottom: 20px;
    content: "✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦";
    white-space: pre-line;
}

#content::after {
    right: 10px;
    top: 20px;
    bottom: 20px;
    content: "✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦\A ✦";
    white-space: pre-line;
}

#content::after-bottom {
    content: "✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦ ✦" ✦" ✦" ✦" ✦" ✦" ✦" ✦"";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(139, 94, 60, 0.3);
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    white-space: pre;
    letter-spacing: 8px;
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #4b3621;
    background: none;
    padding: 40px 50px;
    margin: 60px auto;
    border-left: 4px solid #8b5e3c;
    border-radius: 0;
    box-shadow: none;
    max-width: 900px;
    position: relative;
    line-height: 1.8;
    letter-spacing: 0.8px;
    text-align: justify;
}

blockquote::before,
blockquote::after {
    content: "";
}

blockquote:hover {
    box-shadow: none;
}

h1 {
    display: inline-block;
    padding: 0;
     font-family: 'UnifrakturCook', cursive; 
    font-size: 36px;
    color: #5b3a21;
    text-shadow: 1px 1px 2px rgba(90, 60, 30, 0.2);
    border: none;
    background: none;
    box-shadow: none;
    position: relative;
    letter-spacing: 2px;
}

h1::before,
h1::after {
    content: "";
}

a {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 19px;
    color: #8b5e3c;
    text-decoration: none;
    position: relative;
    background: linear-gradient(90deg, #8b5e3c, #a67850);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #a67850, #8b5e3c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover {
    color: #a67850;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

b, strong {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    color: #6b4a2e; 
    padding: 1px 3px;
    border-radius: 3px;
    box-shadow: inset 0 1px 1px rgba(0,0,0,0.05); 
    text-transform: none; 
    letter-spacing: 0.5px;
    position: relative;
    transition: all 0.3s ease;
}

b::before, b::after,
strong::before, strong::after {
    content: "✦";
    font-size: 10px;
    color: rgba(139, 94, 60, 0.2);
    margin: 0 1px;
    vertical-align: middle;
    transition: all 0.3s ease;
}

b:hover, strong:hover {
    background: linear-gradient(145deg, rgba(167, 120, 80, 0.35), rgba(139, 94, 60, 0.25));
    color: #5b3a21;
}

b:hover::before, b:hover::after,
strong:hover::before, strong:hover::after {
    transform: scale(1.2);
    color: rgba(139, 94, 60, 0.4);
}

i, em {
    font-family: 'Cinzel Decorative', serif;
    font-style: italic;
    color: #8b5e3c;
    padding: 2px 5px;
    border-radius: 4px;
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    position: relative;
}

i::before, i::after,
em::before, em::after {
    content: "✶"; 
    font-size: 10px;
    color: rgba(139, 94, 60, 0.3);
    margin: 0 2px;
    transition: all 0.3s ease;
}

i:hover, em:hover {
    background: linear-gradient(145deg, #d1a87f, #c79c72);
    color: #fff8f0;
}

i:hover::before, i:hover::after,
em:hover::before, em:hover::after {
    transform: scale(1.3);
    color: #fff;
}

textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    padding: 14px 18px;
    margin: 16px 0;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #5b3a21;
    background: rgba(255, 240, 225, 0.4);
    border: 1.5px solid rgba(139, 94, 60, 0.4);
    border-radius: 6px;
    box-shadow: inset 0 1px 6px rgba(139, 94, 60, 0.1);
    transition: all 0.3s ease;
    caret-color: #8b5e3c;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #8b5e3c;
    background-color: rgba(255, 240, 225, 0.6);
    box-shadow: inset 0 2px 8px rgba(139, 94, 60, 0.15);
}

#footer {
    position: relative;
    font-family: 'Lora', serif;
    font-size: 14px;
    color: #5b3a21;
    text-align: center;
    padding: 60px 25px 40px;
    margin-top: 80px;
    background: none;
}

#footer::before {
    content: "❖✦❖✶❖✦❖✶❖✦❖";
    font-family: 'Cinzel Decorative', serif;
    font-size: 20px;
    color: rgba(139, 94, 60, 0.3);
    display: block;
    margin-bottom: 20px;
    letter-spacing: 8px;
    text-shadow: 1px 1px 0 rgba(255, 255, 255, 0.05);
}

#footer p,
#footer a {
    position: relative;
    display: inline-block;
    margin: 0 8px;
    font-family: 'Lora', serif;
    color: #8b5e3c;
}

#footer a::before,
#footer a::after {
    content: "✦";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(139, 94, 60, 0.3);
    margin: 0 4px;
    font-size: 13px;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #a67850;
}

#footer a:hover::before,
#footer a:hover::after {
    color: #fff;
    transform: scale(1.2);
}

#footer::after {
    content: "✶ ✦ ❖ ✶ ✦ ❖ ✶ ✦ ✶";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(139, 94, 60, 0.2);
    font-size: 18px;
    letter-spacing: 10px;
    display: block;
    margin-top: 20px;
}


#footer a:link,
#footer a:visited {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 14px;
    color: #8b5e3c; 
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

#footer a:link::before,
#footer a:link::after,
#footer a:visited::before,
#footer a:visited::after {
    content: "✦";
    font-family: 'Lora', serif;
    color: rgba(139, 94, 60, 0.25);
    margin: 0 3px;
    font-size: 12px;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #a67850;
}

#footer a:hover::before,
#footer a:hover::after {
    color: #fff;
    transform: scale(1.2);
}