html, body {
    height: 100%;
    margin: 0;
    background-color: #0E0E0E;
    font-family: 'Libre Baskerville', serif;
    color: #e8cfa4;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 0, 0, 0.06) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: mistDrift 100s linear infinite;
    z-index: 1;
    opacity: 0.2;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 100px; }
}

.main-container {
    margin-top: -70px;
    opacity: 0.9;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;opacity:0.7;
}

#navigation {opacity:0.7;
    width: 240px;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #1e0f0f, #3b1a1a);
    border: 3px solid #b81e1e;
    border-radius: 12px;
    box-shadow: inset 0 0 12px #3f0c0c, 0 4px 20px rgba(0,0,0,0.4);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    flex-direction: column;
    gap: 16px;
    text-align: center;
    position: sticky;
    top: 40px;
}

#navigation a {
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffd36a;
    background: linear-gradient(to right, #5c0f0f, #7a1a1a);
    border: 2px solid #c41c1c;
    clip-path: polygon(5% 0%, 95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%);
    text-decoration: none !important;
    box-shadow: 0 0 8px rgba(200, 20, 20, 0.4);
    transition: all 0.3s ease-in-out;
}

#navigation a:hover {
    background: #8b1d1d;
    color: #ffe996;
    box-shadow: 0 0 12px rgba(240, 60, 60, 0.6);
    transform: translateY(-3px);
}

#navigation a::before {
    content: "🩸 ";
    font-size: 16px;
    margin-right: 6px;
    color: #b81e1e;
}

#content {opacity:0.7;
    flex: 1;
    max-width: 800px;margin-top:30px;
}

.contentx {
    border: 6px double #B98310;
    border-image: repeating-linear-gradient(
        to right,
        #B98310,
        #B98310 6px,
        transparent 6px,
        transparent 12px
    ) 1;
    background: rgba(20, 10, 10, 0.7);
    padding: 30px;
    border-radius: 12px;
    font-size: 17px;
    line-height: 1.8;
    color: #ffe4b5;
    letter-spacing: 1.2px;
    box-shadow: 0 0 20px rgba(140, 0, 0, 0.3);
    backdrop-filter: blur(3px);
    position: relative;
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 608px;
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 0;
}

h1 {
    position: relative;
    display: inline-block;
    padding: 16px 32px;
    font-size: 40px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #ffd36a;
    background: linear-gradient(to right, #3d0c0c, #5f1e1e);
    border: 2px solid #cc1c1c;
    border-radius: 0 12px 0 12px;
    text-shadow: 1px 1px 0 #000, 2px 2px 8px rgba(255, 0, 0, 0.3);
    box-shadow: 0 4px 16px rgba(255, 0, 0, 0.25);
    transform: skew(-1deg);
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

h1::before, h1::after {
    content: "🩸";
    font-size: 28px;
    margin: 0 12px;
    color: #b81e1e;
    text-shadow: 1px 1px 0 #400, 0 0 6px rgba(255, 0, 0, 0.4);
}

blockquote {
    position: relative;
    border-left: 10px solid #990000;
    border-right: 10px solid #990000;
    border-top: 4px dashed #770000;
    border-bottom: 4px dashed #770000;
    padding: 30px 40px;
    background: linear-gradient(to right, #2e0e0e, #3f1a1a);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(200, 0, 0, 0.3);
    font-family: 'Georgia', serif;
    color: #ffcf8b;
    margin: 40px auto;
    max-width: 860px;
    opacity: 0.85;
}

blockquote::before {
    content: "❝";
    font-size: 48px;
    color: #cc1c1c;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

blockquote::after {
    content: "❞";
    font-size: 48px;
    color: #cc1c1c;
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0.3;
}

textarea, input, select {
    width: 100%;
    max-width: 600px;
    padding: 16px;
    margin: 12px 0;
    font-size: 16px;
    background: linear-gradient(to bottom, #2a1a1a, #3b2a2a);
    border: 2px solid #a11414;
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.2);
    caret-color: #ff0000;
    color: #ffe0b2;
    transition: all 0.3s ease;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: #3b1f1f;
    border-color: #cc2020;
    box-shadow: 0 0 12px rgba(255, 0, 0, 0.4);
}

#footer {
    background: linear-gradient(135deg, #1f0a0a 0%, #3a1a1a 60%, #4b2a2a 100%);
    color: #f3d6a4;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #c32121;
    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%);
    box-shadow: inset 0 10px 20px rgba(120, 0, 0, 0.1), 0 10px 15px rgba(100, 0, 0, 0.2);
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: radial-gradient(circle at center, #c32121, transparent 60%);
    opacity: 0.4;
    pointer-events: none;
}

#footer a {
    color: #ff9e9e;
    text-decoration: none;
    border-bottom: 1.5px dashed #cc1c1c;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #ffebbc;
    border-bottom: 1.5px solid #cc1c1c;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    cursor: pointer;
}

b, strong {
    background-color: #b81e1e;
    color: #fff5c9;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

i, em {
    color: #d4b47f;
    font-style: italic;
    background: linear-gradient(to right, #431616, #642828);
    padding: 2px 6px;
    border-radius: 4px;
}

a {
    color: #ffd36a;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #b81e1e;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover, a:focus {
    color: #fff1d1;
    border-bottom-color: #cc1c1c;
    text-shadow: 0 0 6px rgba(255, 0, 0, 0.5);
    outline: none;
}

a:active {
    color: #ffe4b5;
    border-bottom-color: #aa1919;
    text-shadow: none;
}
