h@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

html, body {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background-color: #C7C0AD;
    display: flex;
    justify-content: center;
}

body {
   background-color: #C7C0AD;
}

#main-container {
    width: 66%;
    max-width: 1100px;
    margin: 0px auto;
    border-radius: 24px;
    padding: 30px 40px;
    position: relative;
    backdrop-filter: blur(8px);
}


body::after {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(210, 190, 170, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: mistDrift 60s linear infinite;
    z-index: 1;
    opacity: 0.4;
}

#navigation {
    width: 80%;        
    margin: 30px auto 0; 
    padding: 28px 24px;
    background: linear-gradient(135deg, rgba(235, 225, 200, 0.6), rgba(245, 240, 230, 0.5));
    border-radius: 40px;
    box-shadow: 0 0 40px rgba(230, 210, 180, 0.25), inset 0 0 20px rgba(255, 255, 255, 0.3);
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    opacity: 0.9;
    border: 2px solid rgba(210, 190, 170, 0.4);
    display: flex;
    justify-content: center; 
    flex-wrap: wrap;
    gap: 22px;
    color: #7a6e57;
    position: relative;
    z-index: 2;
    transition: box-shadow 0.3s ease;
}

#navigation:hover {
    box-shadow: 0 0 50px rgba(245, 230, 200, 0.35), inset 0 0 30px rgba(255, 255, 255, 0.4);
}

#navigation a {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #7a6e57; 
    background: transparent;
    border: none;
    border-radius: 0;
    text-decoration: none !important;
    position: relative;
    transition: color 0.3s ease;
}

#navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #d6c9a7, #b9a68c, #d6c9a7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 2px;
}

#navigation a:hover {
    color: #a99870;
}

#navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#navigation a::before {
    content: "✦";
    font-size: 16px;
    margin-right: 6px;
    color: #b9a991;
}

#content {
    margin: 23px auto;
    position: relative;
    width: 100%;
}

.contentx {
    position: relative;
    margin: 0 0 50px 0;
    padding: 50px 40px;
    font-size: 16px;
    font-family: 'Lora', serif;
    font-weight: 500 !important;
    text-align: justify;
    color: #3e3a34; 
    line-height: 28px;
    letter-spacing: 1.8px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(210, 208, 195, 0.95), rgba(200, 195, 180, 0.9), rgba(185, 180, 165, 0.85));
    box-shadow: 0 0 16px rgba(160, 155, 140, 0.3), 0 6px 24px rgba(130, 125, 110, 0.35);
    backdrop-filter: blur(5px);
    opacity: 0.97;
    border: 2px solid rgba(180, 175, 160, 0.4);
    transition: box-shadow 0.3s ease;
}

.contentx::before,
.contentx::after {
    content: "𓂀 𐎀 ᚠ ᛃ 𐤀 𓆣 𓂓 𐤔";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', sans-serif;
    font-size: 18px;
    letter-spacing: 12px;
    color: rgba(245, 245, 235, 0.55); 
    text-shadow: 0 0 6px rgba(240, 240, 230, 0.5);
    pointer-events: none;
}

.contentx::before {
    top: 12px;
}

.contentx::after {
    bottom: 12px;
}

.contentx:hover {
    box-shadow: 0 0 28px rgba(235, 235, 225, 0.4), 0 10px 30px rgba(120, 115, 100, 0.35);
    border-color: rgba(200, 195, 175, 0.5);
}


blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #574b3a;
    background: rgba(210, 190, 160, 0.45);
    padding: 55px 65px;
    margin: 50px auto;
    max-width: 860px;
    position: relative;
    line-height: 1.85;
    letter-spacing: 0.6px;
    border-radius: 70px 30px 70px 30px / 40px 90px 40px 90px;
    box-shadow:
        0 0 45px rgba(200, 180, 140, 0.45),
        inset 0 0 25px rgba(180, 160, 120, 0.3);
    backdrop-filter: blur(7px);
    border: 1.5px solid rgba(180, 160, 120, 0.5);
    color: #473f30;
}

blockquote::before,
blockquote::after {
    font-size: 72px;
    color: #a18f6c;
    position: absolute;
    opacity: 0.35;
    filter: drop-shadow(0 0 3px rgba(150, 130, 90, 0.5));
}

blockquote::before {
    content: "❝";
    top: 18px;
    left: 36px;
}

blockquote::after {
    content: "❞";
    bottom: 18px;
    right: 36px;
}



textarea,
input,
select {
    width: 100%;
    max-width: 600px;
    padding: 16px 20px;
    margin: 16px 0;
 font-family: 'Lora', serif;
    font-size: 18px;
    color: #5e563f;
    background: linear-gradient(145deg, #d4cfc0, #bfb79d); 
    border: 2px solid #a49c82;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    caret-color: #8e8870;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #938967;
    background-color: #ded9c6;
    box-shadow: 0 0 14px rgba(160, 150, 130, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.08);
}

.contentx h1 {
    font-family: 'Cinzel Decorative', serif; 
    font-size: 32px;
    font-weight: 600;
    text-align: center;
    color: #3a362f;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 30px;
    position: relative;
}

.contentx h1::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 2px;
    background: linear-gradient(90deg, rgba(200, 195, 175, 0.7), rgba(255, 255, 245, 0.4), rgba(200, 195, 175, 0.7));
    box-shadow: 0 0 6px rgba(240, 240, 230, 0.3);
    border-radius: 2px;
}


.contentx h1:hover::after {
    background: linear-gradient(90deg, rgba(255, 255, 250, 0.8), rgba(220, 215, 200, 0.6), rgba(255, 255, 250, 0.8));
}

#footer {
    position: relative;
 font-family: 'Lora', serif;
    font-size: 16px;
    color: #6e6654;
    text-align: center;
    padding: 80px 25px 40px;
    margin-top: 100px;
    background: linear-gradient(to top, #cbc5af, #b4ac92);
    border-top: none;
    box-shadow: inset 0 10px 20px rgba(90, 80, 65, 0.1);
    clip-path: polygon(0 60px, 10% 50px, 20% 60px, 30% 55px, 40% 65px, 50% 60px, 60% 70px, 70% 60px, 80% 65px, 90% 60px, 100% 70px, 100% 100%, 0% 100%);
}

#footer::before {
    content: "";
    position: absolute;
    top: -80px;
    left: 0;
    width: 100%;
    height: 100px;
    background: radial-gradient(circle at center, #b4ac92 0%, transparent 80%);
    opacity: 0.3;
    pointer-events: none;
}

#footer a {
    color: #92886f;
    text-decoration: none;
    border-bottom: 1px dashed #a49c82;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #6a614f;
    border-bottom: 1px solid #b8b19f;
    text-shadow: 0 0 8px rgba(200, 190, 170, 0.5);
    transform: scale(1.05);
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 576px;
    width: 100%;
    margin-top: 0; 
    position: relative;
    z-index: 0; 
}

a:link,
a:visited {
    color: #8a7663;
    font-size: 18px; 
    text-decoration: none;
    font-family: 'Lora', serif; 
    font-weight: 600;
    border-bottom: 2px solid transparent;
    position: relative;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
    text-shadow: 0 0 4px rgba(138, 118, 99, 0.2);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #c7b89f, #a8916a, #c7b89f);
    box-shadow: 0 0 8px rgba(199, 184, 173, 0.7);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

a:hover,
a:focus {
    color: #5c4a3b;
    text-shadow: 0 0 8px rgba(92, 74, 59, 0.7);
}

a:hover::after,
a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

i, em {
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #8a7663;
    font-style: italic;
    position: relative;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 4px rgba(138, 118, 99, 0.2);
    cursor: default;
}

i::after,
em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2.5px;
    width: 100%;
    background: linear-gradient(90deg, #c7b89f, #a8916a, #c7b89f);
    box-shadow: 0 0 7px rgba(199, 184, 173, 0.6);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

i:hover::after,
em:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    color: #5c4a3b;
    text-shadow: 0 0 8px rgba(92, 74, 59, 0.7);
}

/* Bold elements */
b, strong {
    font-size: 18px; 
    font-family: 'Lora', serif;
    color: #7b674f;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
    background-color: transparent; 
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 5px rgba(123, 103, 79, 0.3);
    cursor: default;
}

b::after,
strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #a8916a, #c7b89f, #a8916a);
    box-shadow: 0 0 8px rgba(199, 184, 173, 0.7);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

b:hover::after,
strong:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    color: #5c4a3b;
    text-shadow: 0 0 9px rgba(92, 74, 59, 0.7);
}