html, body {
        height: 100%;
        margin:0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative:wght@400;700;900&display=swap');

body {
background-image: url('images/bg.jpg');
        background-repeat:repeat;
}

#header {
        background-image: url('images/head.jpg');
        background-repeat: no-repeat;
        background-position: center; 
        height:831px;
        width:100%;
        margin-top:-4px;
}


#navigation {
    position: relative;
    width: 64%;
    margin: -340px auto 0px auto;
    padding: 40px 25px;
    background: linear-gradient(to bottom, #0a0a0a, #1a1a1a 80%, #0d0d0d);
    clip-path: polygon(0% 15%, 8% 0%, 92% 0%, 100% 15%, 100% 85%, 92% 100%, 8% 100%, 0% 85%);
    box-shadow: 0 0 60px rgba(120, 0, 0, 0.6), inset 0 0 25px rgba(50, 0, 0, 0.4);
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    opacity: 0.62;
    border-top: 8px solid #6e1c1c;
    border-bottom: 4px solid #3a0c0c;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 25px;
    backdrop-filter: blur(3px);
    transition: all 0.4s ease-in-out;
}

#navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 24px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    font-family: 'Cinzel Decorative', serif;
    color: #e6dede;
    background: linear-gradient(145deg, #1a1a1a, #2a2a2a);
    border: 2px solid #6e1c1c;
    clip-path: polygon(0 0, 95% 0, 100% 100%, 5% 100%);
    text-decoration: none !important;
    position: relative;
    transition: all 0.4s ease-in-out;
    box-shadow: 0 0 15px rgba(100, 0, 0, 0.5), inset 0 0 6px rgba(80, 0, 0, 0.3);
    filter: drop-shadow(0 0 5px rgba(180, 40, 40, 0.25));
}

#navigation a::before {
    content: "†"; 
    font-size: 18px;
    margin-right: 12px;
    transition: transform 0.3s ease, color 0.4s ease;
    color: #b32a2a;
}

#navigation a:hover {
    background: radial-gradient(circle at center, #3a0c0c 0%, #111 100%);
    color: #fff2f2;
    box-shadow: 0 0 35px rgba(200, 20, 20, 0.8);
    transform: translateY(-6px) scale(1.05);
    filter: brightness(1.2) contrast(1.3);
}

#navigation a:hover::before {
    transform: rotate(360deg) scale(1.3);
    color: #d63b3b;
}

#navigation a:active {
    transform: scale(0.94);
    background-color: #0d0d0d;
    box-shadow: inset 0 0 14px rgba(160, 20, 20, 0.6);
}

a:link,
a:visited {
    color: #d8caca;
    font-size: 23px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    position: relative;
    text-shadow: 1px 1px 2px #000;
}

a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #6e3232, #a14c4c);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

a:hover {
    color: #f9eaea;
    text-shadow: 0 0 6px rgba(200, 80, 80, 0.4);
    transform: translateY(-1px);
}

a:active {
    color: #f5dada;
    transform: scale(0.96);
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 24px;
    color: #e6dede;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.5), 0 0 5px rgba(100, 0, 0, 0.3);
    margin-bottom: 25px;
    padding: 10px 24px;
    display: inline-block;
    border-radius: 8px 25% 8px 25%;
    backdrop-filter: blur(0.5px);
    opacity: 0.6;
    position: relative;
}

h1::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #4a1c1c, #6e3232, #4a1c1c);
    opacity: 0.7;
    transition: all 0.3s ease-in-out;
}

h1:hover::after {
    height: 3px;
    background: linear-gradient(to right, #b32a2a, #d94545, #b32a2a);
    opacity: 1;
    box-shadow: 0 0 8px rgba(180, 40, 40, 0.6);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 21px;
    color: #e8dcdc;
    padding: 25px 30px;
    margin: 45px auto;
    max-width: 680px;
    position: relative;
    line-height: 1.7;
    letter-spacing: 0.3px;
    backdrop-filter: blur(2px);
    border-radius: 25px;
    background: 
        repeating-linear-gradient(
            45deg,
            rgba(80, 0, 0, 0.08),
            rgba(80, 0, 0, 0.08) 10px,
            transparent 10px,
            transparent 20px
        ),
        linear-gradient(to bottom, #111, #1c1c1c);
    box-shadow:
        0 0 10px rgba(80, 0, 0, 0.3),
        inset 0 0 5px rgba(50, 0, 0, 0.2);
    opacity: 0.6; 
}

blockquote::before,
blockquote::after {
    font-size: 32px;
    font-weight: normal;
    color: #8c3c3c;
    font-family: 'Cinzel Decorative', serif;
    position: absolute;
    opacity: 0.25;
    text-shadow: 0 0 2px rgba(180, 60, 60, 0.2);
}

blockquote::before {
    content: "❝";
    top: -6px;
    left: 15px;
}

blockquote::after {
    content: "❞";
    bottom: -6px;
    right: 15px;
}

textarea,
input,
select {
    width: 40%;
    max-width: 600px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    color: #f5e8de;
    background: linear-gradient(145deg, #1a1a1a, #0f0f0f);
    border: 2px solid #6e3232;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.7);
    caret-color: #b84d4d;
    letter-spacing: 0.4px;
    opacity: 0.75;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #b84d4d;
    background-color: #262626;
    box-shadow: 0 0 14px rgba(180, 60, 60, 0.6), inset 0 0 6px rgba(255, 255, 255, 0.08);
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 26px;
    color: #e6dede;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6), 0 0 6px rgba(100, 0, 0, 0.4);
    margin-bottom: 30px;
    padding: 12px 28px;
    display: inline-block;
    border-radius: 8px 30% 8px 30%;
    backdrop-filter: blur(0.5px);
}

#footer {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px; /* smaller font */
    color: #d8caca;
    text-align: center;
    padding: 50px 30px 30px;
    margin-top: 100px;
    letter-spacing: 0.6px;
    line-height: 1.6;
    background: linear-gradient(to top, #0a0a0a, #1a1a1a 70%, #0d0d0d);
    opacity: 0.6; /* more ghostly */
    position: relative;
    clip-path: polygon(0 10%, 6% 0, 94% 0, 100% 10%, 100% 100%, 0% 100%);
    box-shadow: 0 -8px 20px rgba(0, 0, 0, 0.7), inset 0 10px 20px rgba(60, 0, 0, 0.25);
}

#footer::before {
    content: "⚔ Vlad Tepes ⚔";
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px; /* smaller */
    letter-spacing: 2px;
    color: #b32a2a;
    display: block;
    margin-bottom: 15px;
    text-shadow: 0 0 6px rgba(200, 30, 30, 0.3);
}

#footer a {
    color: #d8caca;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    font-weight: 600;
    font-size: 13px; /* smaller links */
    font-family: 'Cinzel', serif;
}

#footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    height: 1px;
    width: 100%;
    background: radial-gradient(circle, #b32a2a 0%, transparent 80%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

#footer a:hover {
    color: #f4e6e6;
    text-shadow: 0 0 8px rgba(200, 40, 40, 0.5);
}

#footer a:hover::after {
    opacity: 1;
}

#content {
    margin: 30px auto 0 auto;
    position: relative;
    width: 65%;
}

.contentx {
    padding: 25px;
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 500!important;
    text-align: justify;
    color: #e2dada;
    opacity: 0.7;
    line-height: 25px;
    letter-spacing: 1.5px;
}

i, em {
    color: #d8bcbc;
    font-style: italic;
    font-family: 'Georgia', serif;
    background: linear-gradient(to right, #1a1a1a, #242424);
    padding: 4px 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(120, 40, 40, 0.3);
}

b, strong {
    color: #f0e6e6; 
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background-color: #2a2a2a;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(180, 60, 60, 0.25),
                inset 0 0 6px rgba(0, 0, 0, 0.6);
}
