@import url('https://fonts.googleapis.com/css2?family=Lora:wght@400;600;700&display=swap');

html, body {
    height: 100%;
    margin: 0;
    background-color: #000000;
    font-family: 'Lora', serif;
    color: #d6d6d6;
}

#navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    text-align: center;
    width: 100%;
    opacity: 0.85;
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    background: linear-gradient(to bottom, #2b0a0a, #12050a, #000000);
    border-radius: 50px; 
    box-shadow: 0 0 35px rgba(150, 0, 0, 0.25),
                inset 0 0 15px rgba(80, 0, 0, 0.5);
    border: 2px solid #ff7518;
    font-family: 'MedievalSharp', serif;
    gap: 20px;
    position: relative;
    z-index: 1;
}

body a:link,
body a:visited {
    color: #ff944d;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
    font-weight: 600;
    letter-spacing: 1px;
    background: linear-gradient(to right, #ff7518, #ffb347);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #ff7518, #ffcc80);
    opacity: 0.5;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

body a:hover {
    color: #ffd699;
    background: linear-gradient(to right, #ff944d, #ffe0b2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

body a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

#navigation a {
    padding: 24px 45px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    clip-path: polygon(0 0, 100% 12%, 95% 100%, 5% 88%);
    transition: all 0.3s ease-in-out;
    position: relative;
    z-index: 1;
    color: #ffcc80 !important;  
    -webkit-background-clip: initial !important;
    -webkit-text-fill-color: initial !important;
}

#navigation a:nth-child(1) {
    background: linear-gradient(to bottom, #3a0a0a, #12050a);
    border: 2px solid #ff7518;
    box-shadow: 0 0 8px rgba(255, 120, 50, 0.25);
    color: #ffcc80 !important;
}
#navigation a:nth-child(1):hover {
    background: #4d0d0d;
    color: #ffe6cc !important;
    box-shadow: 0 0 16px rgba(255, 120, 50, 0.5);
}

#navigation a:nth-child(2) {
    background: linear-gradient(to bottom, #5c0a0a, #250202);
    border: 2px solid #a41717;
    box-shadow: 0 0 8px rgba(164, 23, 23, 0.3);
    color: #ffb3b3 !important;
}
#navigation a:nth-child(2):hover {
    background: #7a0e0e;
    color: #ffd6d6 !important;
    box-shadow: 0 0 16px rgba(200, 40, 40, 0.5);
}

#navigation a:nth-child(3) {
    background: linear-gradient(to bottom, #240024, #120012);
    border: 2px solid #b347ff;
    box-shadow: 0 0 8px rgba(179, 71, 255, 0.3);
    color: #e0b3ff !important;
}
#navigation a:nth-child(3):hover {
    background: #3a003a;
    color: #f0d6ff !important;
    box-shadow: 0 0 16px rgba(200, 120, 255, 0.5);
}

#navigation a:nth-child(4) {
    background: linear-gradient(to bottom, #332000, #1a0f00);
    border: 2px solid #ffcc80;
    box-shadow: 0 0 8px rgba(255, 200, 120, 0.25);
    color: #ffe6b3 !important;
}
#navigation a:nth-child(4):hover {
    background: #4d2e00;
    color: #fff0d6 !important;
    box-shadow: 0 0 16px rgba(255, 200, 120, 0.5);
}

#navigation a:nth-child(5) {
    background: linear-gradient(to bottom, #2a2a2a, #111111);
    border: 2px solid #aaaaaa;
    box-shadow: 0 0 8px rgba(200, 200, 200, 0.25);
    color: #e6e6e6 !important;
}
#navigation a:nth-child(5):hover {
    background: #3d3d3d;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(255, 255, 255, 0.4);
}

i, em {
    color: #b347ff;
    background: linear-gradient(to right, #1c0f1c, #0f0a0f);
    padding: 4px 7px;
    border-radius: 4px;
    font-style: italic;
    box-shadow: inset 0 0 4px rgba(150, 100, 200, 0.3);
}

i:hover, em:hover {
    background: linear-gradient(to right, #2c1a2c, #1a111a);
    color: #d8b8ff;
}

b, strong {
    color: #ff7518;
    background-color: #1a0a00;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(255, 120, 50, 0.25),
                inset 0 0 6px rgba(0, 0, 0, 0.4);
}

#content {
    margin: -34px auto 100px auto;
    width: 65%;
}

.contentx {
    margin-bottom: 50px;
    padding: 25px;
    font-size: 17px;
    text-align: justify;
    color: #e6e6e6;
    border-radius: 30px;
    opacity: 0.95;
    line-height: 1.9;
}

blockquote {
    font-size: 22px;
    color: #ff944d;
    background: linear-gradient(145deg, #0d0d0d, #1a0a0a);
    padding: 40px 50px;
    margin: 40px auto;
    border-left: 10px double #ff7518;
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(255, 120, 50, 0.4);
    max-width: 860px;
    position: relative;
    line-height: 1.9;
    letter-spacing: 0.6px;
}

blockquote::before,
blockquote::after {
    content: '“';
    font-size: 60px;
    color: #ff7518;
    position: absolute;
    opacity: 0.2;
}

blockquote::before {
    top: 10px;
    left: 20px;
}

blockquote::after {
    content: '”';
    bottom: 10px;
    right: 20px;
}

textarea,
input,
select {
    width: 40%;
    max-width: 600px;
    padding: 16px 20px;
    margin: 16px 0;
    font-size: 18px;
    color: #ffddb3;
    background: #1a0a0a;
    border: 2px solid #ff7518;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(255, 100, 50, 0.15);
    caret-color: #ff944d;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #ff944d;
    background-color: #220c0c;
}

h1 {
    display: block;
    position: relative;
    padding: 50px 70px;
    margin: 80px auto;
    font-size: 30px;
    text-align: center;
    font-family: 'MedievalSharp', serif;
    text-transform: uppercase;
    letter-spacing: 8px;
    background-image: linear-gradient(90deg, #ffcc80, #ff7518, #a41717, #b347ff);
    background-size: 300%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 0 10px rgba(255, 120, 50, 0.5),
                 0 0 20px rgba(164, 23, 23, 0.4),
                 0 0 35px rgba(255, 120, 50, 0.3),
                 0 0 50px rgba(179, 71, 255, 0.3);
    animation: spookyGlow 6s ease-in-out infinite alternate;
}

h1::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 3px;
    background: linear-gradient(to right, #ffcc80, #ff7518, #a41717, #b347ff);
    border-radius: 3px;
    box-shadow: 0 0 12px rgba(255, 120, 50, 0.5),
                0 0 18px rgba(164, 23, 23, 0.4),
                0 0 25px rgba(179, 71, 255, 0.4);
}

@keyframes spookyGlow {
    0%   { text-shadow: 0 0 5px #ff7518, 0 0 15px #a41717; }
    25%  { text-shadow: 0 0 10px #ffcc80, 0 0 20px #ff7518; }
    50%  { text-shadow: 0 0 15px #b347ff, 0 0 25px #ff944d; }
    75%  { text-shadow: 0 0 8px #a41717, 0 0 18px #ff7518; }
    100% { text-shadow: 0 0 12px #ffcc80, 0 0 30px #b347ff; }
}

#footer {
    text-align: center;
    padding: 50px 20px;
    background: radial-gradient(circle at center, #2b0000, #000);
    position: relative;
}

#footer h2 {
    font-size: 24px;
    color: #ff944d;
    text-shadow: 0 0 4px rgba(255, 150, 50, 0.5);
    animation: glowText 3s ease-in-out infinite alternate;
    margin-bottom: 20px;
}

@keyframes glowText {
    0%   { color: #ff944d; }
    50%  { color: #ffc080; }
    100% { color: #d46fff; }
}

#footer a {
    display: inline-block;
    margin: 0 10px;
    font-size: 16px;
    color: #ff944d;
    text-decoration: none;
    border-bottom: 1px dashed #ff7518;
    transition: all 0.3s ease-in-out;
}

#footer a:hover {
    color: #ffd699;
    border-bottom: 1px solid #ffd699;
    text-shadow: 0 0 4px rgba(255, 200, 120, 0.3);
}

#footer::before {
    content: '';
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid #ff944d;
    box-shadow: 0 0 10px rgba(255, 150, 50, 0.3);
}


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