html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #E2DBD9;}


#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 828px;
    width: 100%;
    margin-top: 0; 
    position: relative;
    z-index: 0; 
}

#navigation {
    width: 70%;
    margin-top: -160px;
    padding: 30px 20px;
    background: linear-gradient(145deg, #fdfcf9, #e9e2da);
    clip-path: polygon(0 0, 100% 0, 95% 100%, 5% 100%);
    box-shadow: 0 0 40px rgba(190, 180, 170, 0.3);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 18px;
    border-top: 6px double #dcd3c8;
    border-bottom: 3px dashed #c9bfb4;
    opacity: 0.92;
}

#navigation a {
    padding: 14px 26px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #5c4f3b;
    background: linear-gradient(to right, #f4ede5, #e8ded3);
    border: 2px solid #c3b8a9;
    clip-path: polygon(15% 0, 85% 0, 100% 50%, 85% 100%, 15% 100%, 0 50%);
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 0 10px rgba(220, 210, 200, 0.2);
    position: relative;
}

#navigation a:hover {
    background: linear-gradient(to right, #e8ded3, #f4ede5);
    color: #3f3529;
    box-shadow: 0 0 16px rgba(180, 170, 160, 0.4);
    transform: translateY(-3px);
}

#navigation a::before {
    content: attr(data-rune);
    font-family: 'Noto Sans Runic', serif;
    font-size: 20px;
    margin-right: 8px;
    color: #998675;
}

#navigation a:hover::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 12px;
    background: radial-gradient(ellipse at center, rgba(255, 240, 220, 0.2), transparent);
    z-index: -1;
    animation: pulseGlow 2s infinite ease-in-out;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.2;
        transform: scale(1);
    }
    50% {
        opacity: 0.4;
        transform: scale(1.05);
    }
}

#content {
margin-top:20px;padding-bottom:10px;
	position: relative;
	float: center;
        width:70%;
}   


.contentx {
    margin-bottom: 60px;
    padding: 35px;
    font-size: 17px;
    font-family: 'Libre Baskerville', serif;
    color: #5f534a;
    line-height: 1.75;
    letter-spacing: 1.2px;
    border-radius: 20px;
    background: linear-gradient(to bottom right, rgba(245, 240, 235, 0.6), rgba(230, 220, 210, 0.4));
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(180, 170, 160, 0.2);
    position: relative;
}

.contentx::before {
    content: "ᚠᚢᚾᛖ";
    font-family: 'Noto Sans Runic', serif;
    position: absolute;
    top: -20px;
    left: 20px;
    font-size: 18px;
    color: rgba(150, 130, 110, 0.3);
    letter-spacing: 10px;
}

.contentx::after {
    content: "ᛃᚨᚱᚾ";
    font-family: 'Noto Sans Runic', serif;
    position: absolute;
    bottom: -20px;
    right: 20px;
    font-size: 18px;
    color: rgba(150, 130, 110, 0.3);
    letter-spacing: 10px;
}


blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #4b392e;
    background: linear-gradient(135deg, #f5f1eb, #e8ded4);
    padding: 50px 60px;
    margin: 60px auto;
    border: 4px double #cbbfae;
    border-radius: 18px;
    box-shadow: 0 4px 25px rgba(210, 190, 170, 0.3), 0 8px 30px rgba(0, 0, 0, 0.08);
    max-width: 900px;
    position: relative;
    line-height: 1.85;
    letter-spacing: 0.7px;
    clip-path: polygon(5% 0, 95% 0, 100% 10%, 100% 90%, 95% 100%, 5% 100%, 0 90%, 0 10%);
}

blockquote::before {
    content: "ᛗ";
    font-family: 'Noto Sans Runic', serif;
    font-size: 60px;
    position: absolute;
    top: -20px;
    left: 30px;
    color: #b8a391;
    opacity: 0.3;
}

blockquote::after {
    content: "ᛞ";
    font-family: 'Noto Sans Runic', serif;
    font-size: 60px;
    position: absolute;
    bottom: -20px;
    right: 30px;
    color: #b8a391;
    opacity: 0.3;
}


textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    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 {
    display: inline-block;
    padding: 25px 50px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 30px;
    text-transform: uppercase;
    color: #fdf9f6;
    letter-spacing: 3px;
    background: linear-gradient(135deg, #D9CDBF, #EADDCC);
    border: 3px double #d0c2b5;
    border-radius: 0 40% 60% 0 / 0 60% 40% 0;
    position: relative;
    z-index: 1;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.3);
    animation: floatGlow 5s ease-in-out infinite;
    overflow: hidden;
}

h1::before {
    content: "ᚠᚱᛁᛖ";
    font-family: 'Noto Sans Runic', serif;
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 22px;
    color: rgba(90, 70, 50, 0.3);
    letter-spacing: 8px;
}


#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);
}


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: #A08C81;
}

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: #A08C81;
}

#footer {
    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);
    box-shadow: inset 0 10px 20px rgba(100, 85, 70, 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%);
    position: relative;
}

#footer::before {
    content: "";
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    height: 80px;
    background: linear-gradient(to bottom, #ddd0c5, transparent);
    opacity: 0.2;
    pointer-events: none;
}
