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

body {
    background: #D6D6D6;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #3b2d2b;
}

#navigation {
    width: 60%;
    margin-top: 20px;
    padding: 24px 20px;
    background: linear-gradient(145deg, #f2f2f2, #e6e6e6);
    border: 2px dashed #f3d2b8;
    border-radius: 80px / 25px;
    box-shadow: 0 4px 20px rgba(255, 186, 120, 0.15);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 14px;
    opacity: 0.95;
    position: relative;
    backdrop-filter: blur(3px);
}


#navigation a {
    padding: 10px 22px;
    font-size: 16px;
    font-weight: 600;
    text-transform: uppercase;
    color: #3f3a35;
    background: linear-gradient(145deg, #f1f1f1, #dcdcdc);
    border: 2px solid #c6c6c6;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 3px 8px rgba(80, 80, 80, 0.15);
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 1px;
    position: relative;
}

#navigation a:hover {
    background: linear-gradient(145deg, #e0e0e0, #f8f8f8);
    color: #1f1f1f;
    box-shadow: 0 0 10px rgba(100, 100, 100, 0.2);
    transform: translateY(-2px);
}

#navigation a:hover::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 14px;
    background: radial-gradient(ellipse at center, rgba(255, 180, 120, 0.2), transparent);
    z-index: -1;
    animation: pulseGlow 2.8s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.03);
    }
}

#content {
    margin-top: 20px;
    padding-bottom: 10px;
    width: 66%;
    margin-left: auto;
    margin-right: auto;
}

.contentx {
    margin-bottom: 60px;
    padding: 35px;
    font-size: 15px;
    line-height: 1.95;
    letter-spacing: 1.2px;
    border-radius: 20px;
    background: linear-gradient(to bottom right, rgba(230, 230, 230, 0.8), rgba(200, 200, 200, 0.4));
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(100, 80, 60, 0.1);
    position: relative;    text-align: justify;
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #4c3b2b;
    background: linear-gradient(145deg, #d8d8d8, #c0b9b0);
    padding: 40px 50px;
    margin: 60px auto;
    border: 2px solid #a89988;
    border-radius: 60px / 20px;
    box-shadow: 0 4px 25px rgba(80, 60, 40, 0.2);
    max-width: 900px;
    text-align: center;
    line-height: 1.8;
    letter-spacing: 0.8px;
}

textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    color: #3c1e1e;
    background: linear-gradient(135deg, #f6f6f6, #cfcfcf);
    border: 2px solid #944f2d;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.2);
    caret-color: #ff7518;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #ff7518;
    background-color: #f9f2e8;
    box-shadow: 0 0 14px rgba(255, 120, 60, 0.5), inset 0 0 6px rgba(255, 255, 255, 0.08);
}

h1 {
    display: inline-block;
    padding: 24px 48px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 30px;
    text-transform: uppercase;
    color: #3c2a1e;
    letter-spacing: 2px;
    background: linear-gradient(145deg, #dfdfdf, #bfbfbf);
    border: 2px solid #a88f76;
    border-radius: 60px / 20px;
    box-shadow: 0 4px 20px rgba(60, 40, 30, 0.25);
    text-shadow: 1px 1px 3px rgba(230, 210, 180, 0.5);
    position: relative;
    opacity: 0.96;
}

#footer {
    position: relative;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #594336;
    text-align: center;
    padding: 80px 25px 40px;
    margin-top: 100px;
    background: linear-gradient(to top, #d5cfc7, #c2b7a9);
    box-shadow: inset 0 10px 20px rgba(80, 60, 40, 0.1);
    clip-path: polygon(0 0, 5% 20px, 10% 0, 15% 20px, 20% 0, 25% 20px, 30% 0, 35% 20px, 40% 0, 45% 20px, 50% 0, 55% 20px, 60% 0, 65% 20px, 70% 0, 75% 20px, 80% 0, 85% 20px, 90% 0, 95% 20px, 100% 0, 100% 100%, 0 100%);
}

#footer a {
    color: #7c6654;
    text-decoration: none;
    border-bottom: 1px dashed #b8a28c;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #402a1d;
    border-bottom: 1px solid #cdbfae;
    text-shadow: 0 0 8px rgba(240, 200, 180, 0.5);
    transform: scale(1.05);
}

a:link,
a:visited {
    color: #7b5c45;
    font-size: 24px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    position: relative;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px #e5e5e5;
    border-bottom: 2px solid transparent;
}

a:hover {
    color: #4e2e1f;
    border-bottom: 2px solid #a8745a;
    background: linear-gradient(to right, rgba(180, 130, 80, 0.3), transparent);
    transform: translateY(-1px);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, #ff9900, #d24e01, #7e2e84);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
    border-radius: 2px;
}

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

i, em {
    color: #3c2b23;
    font-style: italic;
    font-family: 'Georgia', serif;
    background: linear-gradient(90deg, #ffdfb9 0%, #bfa380 100%);
    padding: 5px 10px;
    border-radius: 6px;
    border: 1px dashed rgba(120, 60, 20, 0.3);
    transition: all 0.3s ease;
}

i:hover, em:hover {
    background: linear-gradient(90deg, #bfa380, #ffdfb9);
    color: #2e1a12;
    border-color: rgba(180, 90, 40, 0.5);
}

b, strong {
    color: #fff8f5;
    background: linear-gradient(to right, #ff6f61, #aa3e39);
    padding: 5px 12px;
    border-radius: 6px;
    text-transform: uppercase;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    box-shadow: 0 0 8px rgba(180, 60, 60, 0.4);
    transition: all 0.3s ease;
}

b:hover, strong:hover {
    background: linear-gradient(to right, #aa3e39, #ff6f61);
    color: #f5f0ee;
    box-shadow: 0 0 12px rgba(255, 90, 90, 0.5);
}
