html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #F3EFEA;}


body::after {
    content: '';
    position: fixed;
    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;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 150px; }
}

#navigation {
    width: 65%;
    margin-top: 30px;
    padding: 28px 12px;
    background: linear-gradient(to bottom, #fdfcf9, #e9e2da);
    clip-path: ellipse(90% 100% at 50% 0%);
    box-shadow: 0 0 40px rgba(190, 180, 170, 0.3);
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    opacity: 0.9;
    border-top: 6px solid #dcd3c8;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    border-bottom: 3px dashed #c9bfb4;
}

#navigation a {
    padding: 14px 28px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #5c4f3b;
    background: #f4ede5;
    border: 2px solid #c3b8a9;
    clip-path: ellipse(45% 50% at 50% 50%);
    text-decoration: none !important;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(220, 210, 200, 0.2);
}

#navigation a:hover {
    background: #e8ded3;
    color: #3f3529;
    box-shadow: 0 0 16px rgba(180, 170, 160, 0.4);
    transform: translateY(-3px);
}

#navigation a:active {
    transform: scale(0.97);
    background-color: #dfd2c7;
    box-shadow: inset 0 0 8px rgba(150, 130, 120, 0.3);
}

#navigation a::before {
    content: "✦";
    font-size: 16px;
    margin-right: 6px;
    color: #998675;
}

#content {
    margin: 23px auto;
    position: relative;
    width: 70%;
}

.contentx {
    margin: 0 0 50px 0;
    padding: 25px;
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 500 !important;
    text-align: justify;
    color: #5f534a;
    line-height: 25px;
    letter-spacing: 2px;
    border-radius: 30px;
    opacity: 0.85;;
    background: rgba(245, 240, 235, 0.4); /* soft marble */
    backdrop-filter: blur(3px);
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #5c4b3b; 
    background: linear-gradient(145deg, #f5f1eb, #e8ded4); 
    padding: 40px 50px;
    margin: 40px auto;
    border-left: 10px double #cbbfae;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(210, 190, 170, 0.3), 0 8px 20px rgba(0, 0, 0, 0.08);
    max-width: 860px;
    position: relative;
    line-height: 1.9;
    letter-spacing: 0.6px;
}

blockquote::before,
blockquote::after {
    font-size: 60px;
    color: #b9a99b;
    position: absolute;
    opacity: 0.4;
}

blockquote::before {
    content: "❝";
    top: 10px;
    left: 20px;
}

blockquote::after {
    content: "❞";
    bottom: 10px;
    right: 20px;
}

textarea,
input,
select {
    width: 100%;
    max-width: 600px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    color: #6e5c50;
    background: linear-gradient(145deg, #f3eee7, #e1d6cb); 
    border: 2px solid #cbbdad;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    caret-color: #9f8f83;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #b9a391;
    background-color: #f8f5f0;
    box-shadow: 0 0 14px rgba(200, 180, 160, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.08);
}

h1 {
    position: relative;
    display: inline-block;
    padding: 20px 40px;
    background: linear-gradient(135deg, #D9CDBF, #EADDCC);
    color: #fbf9f6;
    font-size: 28px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.4);
    z-index: 1;
    overflow: hidden;
    animation: floatGlow 5s ease-in-out infinite;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

@keyframes floatGlow {
    0%, 100% {
        transform: translateY(0);
        box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    }
    50% {
        transform: translateY(-5px);
        box-shadow: 0 12px 40px rgba(0, 0, 0, 0.3);
    }
}

h1::after {
    content: '';
    position: absolute;
    bottom: -20px;
    left: 0;
    width: 100%;
    height: 80px;
    background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 320'><path fill='%EADDCC' fill-opacity='1' d='M0,256L40,229.3C80,203,160,149,240,128C320,107,400,117,480,138.7C560,160,640,192,720,181.3C800,171,880,117,960,106.7C1040,96,1120,128,1200,154.7C1280,181,1360,203,1400,213.3L1440,224V320H0Z'></path></svg>") no-repeat bottom;
    background-size: cover;
    z-index: -1;
}


#footer {
    position: relative;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #7b6c61;
    text-align: center;
    padding: 80px 25px 40px;
    margin-top: 100px;
    background: linear-gradient(to top, #f0e8e0, #ddd0c5);
    border-top: none;
    box-shadow: inset 0 10px 20px rgba(100, 85, 70, 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, #ddd0c5 0%, transparent 80%);
    opacity: 0.3;
    pointer-events: none;
}

#footer a {
    color: #a38c75;
    text-decoration: none;
    border-bottom: 1px dashed #c6b5a1;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #6e5b4d;
    border-bottom: 1px solid #e0d3c5;
    text-shadow: 0 0 8px rgba(240, 220, 200, 0.5);
    transform: scale(1.05);
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 520px;
    width: 100%;
    margin-top: 0; 
    position: relative;
    z-index: 0; 
}

a:link,
a:visited {
    color: #8a7663;
    font-size: 24px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    position: relative;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px #eee7df; 
}

a:hover {
    color: #5c4a3b; 
    border-bottom: 2px solid #c2a98b;
    background: linear-gradient(to right, rgba(230, 210, 180, 0.3), transparent);
    transform: translateY(-1px);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #d4bfa9, #bfa68d); 
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

i, em {
    color: #a68e79; 
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #f2ebe4, #e9e0d8); 
    padding: 4px 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(200, 190, 180, 0.2);
    transition: all 0.3s ease;
}

i:hover, em:hover {
    background: linear-gradient(to right, #e9e0d8, #e0d7cf);
    color: #3a2f27;
}

b, strong {
    color: #fdfaf6;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background-color: #d8c6b4;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(230, 210, 190, 0.2),
                inset 0 0 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

b:hover, strong:hover {
    background-color: #e9d8c7;
    color: #2b2119;
}
