@import url('https://fonts.googleapis.com/css2?family=Baloo+2&family=Comic+Neue:ital,wght@0,400;1,700&family=Fredoka:wght@500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&display=swap');


html, body {
    height: 100%;
    margin: 0;
    font-family: 'Comic Neue', cursive;
    background-color:#000000;
}

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

#navigation {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    width: 85%;
    max-width: 720px;
    background: rgba(30, 25, 40, 0.65);
    backdrop-filter: blur(8px);
    border-radius: 48px;
    box-shadow: 0 4px 12px rgba(20, 15, 30, 0.7);
    display: flex;
    justify-content: center;
    gap: 20px;
    padding: 20px 32px;
    z-index: 1000;
    animation: slideUpFade 1s ease forwards;
}

#navigation a {
    flex: 1;
    text-align: center;
    padding: 18px 0;
 font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 15px;
    color: #ddd;
    text-transform: uppercase;
    text-decoration: none;
    letter-spacing: 1.1px;
    transition: all 0.3s ease;
    user-select: none;
    cursor: pointer;
}

#navigation a:hover {
    color: #fff;
    transform: scale(1.05);
}

#navigation a:active {
    transform: scale(0.95);
    color: #eee;
}

#content {
     margin: -100px auto 170px auto; opacity:0.6;padding-bottom:130px;
    width: 65%;
    font-family: 'Libre Baskerville', cursive;
}

.contentx {
    padding: 24px;
    font-size: 16px;
    line-height: 26px;
    letter-spacing: 1px;
    border-radius: 15px;
    text-align: justify;
    color: #dddddd;
    opacity: 0.7;
}

h1 {
 font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 36px;
    text-align: center;
    max-width: 600px;
    margin: 70px auto 40px;
    background: linear-gradient(90deg, #7d6592, #a38ecb);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    position: relative;
    cursor: pointer;
    letter-spacing: 1.8px;
    padding: 10px;
    text-transform: uppercase;
    transition: color 0.3s ease;
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 8px;
    transform: translateX(-50%);
    width: 0;
    height: 4px;
    background: linear-gradient(90deg, #7d6592, #a38ecb);
    border-radius: 2px;
    transition: width 0.3s ease;
}

h1:hover::after {
    width: 60%;
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 20px;
    color: #ddd;
    background: linear-gradient(to bottom, #2a2438, #1f1a2c);
    padding: 36px 40px;
    margin: 40px auto;
    max-width: 800px;
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
    border-left: 6px solid #8c629b;
    border-radius: 12px;
    box-shadow:
        0 4px 12px rgba(140, 98, 155, 0.3),
        inset 0 0 10px rgba(140, 98, 155, 0.1);
    transition: all 0.3s ease;
}

blockquote::before {
    content: "“";
    font-size: 64px;
    color: #a186be; 
    position: absolute;
    top: -20px;
    left: 20px;
    opacity: 0.15;
    font-family: 'Georgia', serif;
    z-index: 0;
}

blockquote::after {
    content: "”";
    font-size: 64px;
    color: #a186be; 
    position: absolute;
    bottom: -30px;
    right: 20px;
    opacity: 0.15;
    font-family: 'Georgia', serif;
    z-index: 0;
}

blockquote > footer {
    margin-top: 12px;
    font-size: 16px;
    color: #b59cd6; 
    font-style: italic;
    text-align: right;
}

blockquote::marker,
blockquote::after {
    content: "";
    display: block;
    width: 60px;
    height: 8px;
    margin: 20px auto 0;
    background: linear-gradient(to right, #8c629b, #b794d6);
    clip-path: polygon(
        0 0, 10% 100%, 20% 20%, 30% 100%,
        40% 30%, 50% 100%, 60% 30%, 70% 100%,
        80% 20%, 90% 100%, 100% 0
    );
    opacity: 0.4;
}

textarea, input, select {
    width:40%;
    max-width: 600px;
    padding: 12px 18px;
    margin: 16px 0;
    font-family: 'Comic Neue', cursive;
    font-size: 16px;
    color: #eeeeee;
    background: #2a2a2a;
    border: 1px solid #5c0a0a;
    border-radius: 8px;
    transition: all 0.3s ease;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: #333;
    border-color: #8b1f1f;
    box-shadow: 0 0 6px rgba(92, 10, 10, 0.4);
}

#footer {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(to top, #1e1e1e, #111);
    color: #aaa;
    text-align: center;
    padding: 60px 20px;
    margin-top: 70px;
    border-top: 3px dashed #5c0a0a;
    clip-path: polygon(
        0 50px, 10% 40px, 20% 50px, 30% 45px, 40% 55px,
        50% 50px, 60% 60px, 70% 50px, 80% 55px, 90% 50px,
        100% 60px, 100% 100%, 0% 100%
    );
    box-shadow: 0 0 15px #5c0a0a;
    animation: pulseGlow 3s ease-in-out infinite alternate;
}

@keyframes pulseGlow {
    0% {
        box-shadow: 0 0 10px #5c0a0a;
    }
    100% {
        box-shadow: 0 0 25px #8b0000;
    }
}

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

#footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 4px rgba(211, 47, 47, 0.4);
    transform: scale(1.03);
}

a, i, b {
    color: #a97ebc;
    text-decoration: none;
    position: relative;
    cursor: pointer;
}

a::after, i::after, b::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, #8c629b, #b794d6, #8c629b);
    border-radius: 2px;
    transition: width 0.3s ease;
    z-index: -1;
}

a:hover::after,
i:hover::after {
    width: 100%;
}

b::after {
    width: 100%;
}