#header {
    background-image: url('images/head.jpg'),url('images/bg.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: center;
    height: 547px;
    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/bg.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #343B41;
}




#navigation {
    width: 70%;
    margin-top: -40px;
    padding: 50px 24px;
    background: linear-gradient(145deg, #2c263a, #1e1a28);
    border: 2px solid #4b4266;
    border-radius: 12px;
    box-shadow: 0 6px 30px rgba(0, 0, 0, 0.55);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 16px;
    position: relative;
}

#navigation a {
    padding: 12px 22px;
    font-size: 17px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f3eafc;
    background: linear-gradient(to right, #5a4d8a, #2d2846);
    border: 1.5px solid #6a5ca6;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(40, 30, 80, 0.4);
    position: relative;
}

#navigation a:hover {
    background: linear-gradient(to right, #6e5fb0, #3a3460);
    color: #f4eefb;
    box-shadow: 0 0 14px rgba(140, 120, 255, 0.3);
    transform: translateY(-2px);
}

#navigation a::before {
    content: "✧ ";
    font-family: 'Noto Sans', serif;
    font-size: 20px;
    margin-right: 8px;
    color: #d0c4f5;
}

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

@keyframes pulseGlow {
    0%, 100% { opacity: 0.15; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.05); }
}

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

.contentx { opacity:0.8;
    margin-bottom: 60px;
    padding: 35px;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 1.1px;
    border-radius: 12px;
    background: linear-gradient(to bottom right, rgba(80, 60, 120, 0.35), rgba(50, 40, 80, 0.25));
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(30, 20, 60, 0.4);
    position: relative;
}

.contentx::before,
.contentx::after {
    content: "✶ ✶ ✶ ✶ ✶";
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    color: rgba(200, 180, 255, 0.15);
    position: absolute;
    letter-spacing: 10px;
}

.contentx::before { top: -20px; left: 20px; }
.contentx::after { bottom: -20px; right: 20px; }

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #f3ebff;
    background: linear-gradient(145deg, #2a2241, #392f5c);
    padding: 40px 50px;
    margin: 60px auto;
    border: 2px solid #4a4163;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(40, 20, 80, 0.5);
    max-width: 900px;
    position: relative;
    line-height: 1.8;
    letter-spacing: 0.8px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

blockquote:hover {
    box-shadow: 0 6px 35px rgba(130, 90, 255, 0.35);
}

blockquote::before,
blockquote::after {
    content: "✦";
    font-size: 36px;
    color: rgba(255, 255, 255, 0.07);
    position: absolute;
    opacity: 0.2;
}

blockquote::before { top: 10px; left: 20px; }
blockquote::after { bottom: 10px; right: 20px; }

textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    color: #e7dbff;
    background: linear-gradient(145deg, #30284a, #221d34);
    border: 2px solid #5b4c82;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(200, 180, 255, 0.1);
    transition: all 0.3s ease;
    caret-color: #cf7fff;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #9e85ff;
    background-color: #2d2750;
    box-shadow: 0 0 14px rgba(160, 120, 255, 0.35),
                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: #f5f0ff;
    letter-spacing: 2px;
    background: linear-gradient(145deg, #3a2f63, #2a254c);
    border: 2px solid #6e5dad;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(40, 20, 80, 0.5);
    text-shadow: 1px 1px 4px rgba(20, 10, 40, 0.7);
    position: relative;
    opacity: 0.96;
}

h1::before {
    content: "✩";
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.08);
}

h1::after {
    content: "✩";
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 20px;
    color: rgba(255, 255, 255, 0.08);
}

#footer {
    position: relative;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #e3dcf5;
    text-align: center;
    padding: 80px 25px 40px;
    margin-top: 100px;
    background: linear-gradient(to top, #1d1830, #2e2748);
    box-shadow: inset 0 10px 20px rgba(0, 0, 0, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

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

#footer a:hover {
    color: #fdf8ff;
    border-bottom: 1px solid #dcd0f6;
    text-shadow: 0 0 8px rgba(200, 160, 255, 0.5);
    transform: scale(1.05);
}

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

a:hover {
    color: #f9f6ff;
    border-bottom: 2px solid #9b7bfd;
    background: linear-gradient(to right, rgba(160, 120, 255, 0.25), transparent);
    transform: translateY(-1px);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #b295ff, #8d74e0);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

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

i, em {
    color: #f0e8ff;
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #4a3f7d, #2e2852);
    padding: 4px 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(20, 10, 40, 0.3);
    transition: all 0.3s ease;
}

i:hover, em:hover {
    background: linear-gradient(to right, #594c91, #3c3660);
    color: #fffaff;
}

b, strong {
    color: #ffffff;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background-color: #7c62cc;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(120, 90, 200, 0.4),
                inset 0 0 6px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

b:hover, strong:hover {
    background-color: #9177e6;
    color: #ffffff;
}
