#header {
    position: relative;
    top: 0; 
    background-image: url('images/head.jpg'), url('images/bg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: center;
    height: 716px;
    width: 100%;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Special+Elite&display=swap');

* {
    box-sizing: border-box;
}

html, body {
    color: #A8FF60;
    background-color: #0F0F11;
}

html, body {
    margin: 0;
    padding: 0;
}

a, b, strong, i, em {
    color: #A8FF60;
    text-decoration: none;
    position: relative;
    font-weight: inherit;
    font-style: inherit;
}

a::after,
b::after,
strong::after,
i::after,
em::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #00ff00, #00aa00);
    border-radius: 2px;
    transition: transform 0.35s ease;
    transform: scaleX(0.5);
    transform-origin: left;
}

a:hover::after,
b:hover::after,
strong:hover::after,
i:hover::after,
em:hover::after {
    transform: scaleX(1);
}

#layout-container {
    display: flex;
    margin: -110px auto 0 auto;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    padding: 60px;
    position: relative;
    z-index: 5;
    opacity: 0.65;
    width: 70%;
}

#navigation {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-width: 30%;
    padding: 40px 35px;
    background:
        linear-gradient(160deg, rgba(0, 40, 0, 0.8), rgba(0, 60, 0, 0.85)),
        radial-gradient(circle at top right, rgba(0, 80, 0, 0.6), transparent 60%);
    border-radius: 28px;
    border: 2px solid rgba(0, 150, 0, 0.4);
}

#navigation a {
    position: relative;
    padding: 16px 24px;
    border-radius: 12px;
    font-size: 12px;
    letter-spacing: 0.32em;
    text-transform: uppercase;
    color: #A8FF60;
    background: linear-gradient(180deg, rgba(0, 100, 0, 0.7), rgba(0, 60, 0, 0.65));
    transition: transform 0.35s ease,
                box-shadow 0.35s ease,
                background 0.45s ease;
}

#navigation a:hover {
    transform: translateY(-3px);
    background: linear-gradient(180deg, rgba(0, 150, 0, 0.9), rgba(0, 90, 0, 0.85));
}

#navigation a.active {
    background: linear-gradient(160deg, #0fff0f, #00cc00);
    color: #ffffff;
}

#navigation a:nth-child(1) {
    border-radius: 30px;
    font-weight: 700;
    letter-spacing: 0.35em;
    background: linear-gradient(160deg, #00cc00, #007700);
}

#navigation a:nth-child(2) {
    border-radius: 12px;
    background: rgba(0, 80, 0, 0.3);
    border: 2px solid rgba(0, 150, 0, 0.5);
    color: #A8FF60;
}

#navigation a:nth-child(3) {
    border-radius: 18px;
    background: linear-gradient(180deg, rgba(0, 120, 0, 0.6), rgba(0, 80, 0, 0.55));
    box-shadow: inset 0 0 12px rgba(0, 255, 0, 0.25);
}

#navigation a:nth-child(4) {
    border-radius: 8px;
    background: linear-gradient(90deg, #007700, #00aa00);
}

#navigation a:nth-child(4)::before {
    content: "🩸";
    position: absolute;
    left: 14px;
    opacity: 0.5;
}

#navigation a:nth-child(5) {
    border-radius: 40px 10px 40px 10px;
    background: rgba(0, 100, 0, 0.35);
    border: 1px dashed rgba(0, 255, 0, 0.35);
    font-style: italic;
}

#footer {
    width: 100%;
    text-align: center;
    padding: 50px 20px;
    color: #A8FF60;
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    letter-spacing: 0.15em;
    position: relative;
}

#footer::before,
#footer::after {
    content: "✦";
    position: absolute;
    top: 10px;
    font-size: 24px;
    color: rgba(0, 255, 0, 0.2);
    animation: twinkle 2.5s infinite alternate;
}

#footer::before {
    left: 20px;
}

#footer::after {
    right: 20px;
}

@keyframes twinkle {
    0% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.3); }
    100% { opacity: 0.2; transform: scale(1); }
}

#footer a {
    color: #A8FF60;
    text-decoration: none;
    font-weight: 700;
    position: relative;
    padding: 0 6px;
    transition: color 0.3s ease;
}

#footer a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #00ff00, #00aa00, #00ff00);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

#footer a:hover {
    color: #55ff55;
}

#footer a:hover::after {
    transform: scaleX(1);
}

@media (max-width: 768px) {
    #footer {
        padding: 35px 15px;
        font-size: 16px;
    }

    #footer::before,
    #footer::after {
        font-size: 20px;
        top: 5px;
    }
}

.contentx {
    flex: 1;
    padding: 50px 45px;
    font-size: 22px;
    line-height: 1.95;
    text-align: justify;
    color: #90FF90;
}

h1 {
    display: inline-block;
    margin: 0 auto;
    padding: 18px 34px;
    border-radius: 26px;
    background: linear-gradient(135deg, rgba(0, 30, 0, 0.95), rgba(0, 60, 0, 0.9));
    border: 2px solid rgba(0, 200, 0, 0.35;
    backdrop-filter: blur(6px);
    background-clip: padding-box;
}

blockquote {
    margin: 70px auto;
    padding: 48px 72px;
    max-width: 640px;
    background: linear-gradient(160deg, rgba(0, 50, 0, 0.25), rgba(0, 70, 0, 0.18));
    border-left: 8px solid #00cc00;
    border-radius: 32px 8px 32px 8px;
    font-size: 22px;
    line-height: 1.7;
    color: #90FF90;
    position: relative;
    opacity: 0.95;
}

blockquote::before {
    content: "“";
    font-size: 64px;
    position: absolute;
    top: -24px;
    left: 20px;
    color: rgba(0, 200, 0, 0.35);
    font-family: 'Special Elite', cursive;
}

.contentx a {
    color: #00ff00;
    text-decoration: none;
    position: relative;
    font-weight: 500;
}

.contentx a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #00ff00, #00aa00);
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.35s ease;
}

.contentx a:hover {
    color: #55ff55;
}

.contentx a:hover::after {
    transform: scaleX(1);
}

textarea,
input,
select {
    width: 40%;
    padding: 1.9rem 1rem;
    background: rgba(0, 50, 0, 0.18);
    border: 0.08rem solid rgba(0, 120, 0, 0.35);
    border-radius: 6rem;
    color: #A8FF60;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    transition: all 0.3s ease;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
}

@media (max-width: 1024px) {
#layout-container {
        width: 90%;
        flex-direction: column;
        align-items: center;
        gap: 40px;
        padding: 40px 20px;
        margin: 0 auto;
    }

    #navigation {
        min-width: 70%;
        padding: 30px 25px;
    }

    .contentx {
        width: 90%;
        padding: 35px 25px;
        font-size: 20px;
        line-height: 1.85;
    }

    textarea,
    input,
    select {
        width: 70%;
        padding: 1.6rem 1rem;
    }

    h1 {
        font-size: 42px;
        padding: 14px 24px;
    }

    blockquote {
        padding: 35px 50px;
        font-size: 20px;
        max-width: 90%;
    }

    b, strong {
        font-size: 20px;
        padding: 4px 8px;
    }

    i, em {
        font-size: 16px;
        padding: 1px 4px;
    }

}

@media (max-width: 768px) {
     #layout-container {
        width: 95%;
        flex-direction: column;
        align-items: center;
        gap: 30px;
        padding: 30px 15px;
        margin: 0 auto;
    }

    #navigation {
        min-width: 90%;
        padding: 25px 20px;
    }

    .contentx {
        width: 95%;
        padding: 25px 20px;
        font-size: 18px;
        line-height: 1.75;
    }

    textarea,
    input,
    select {
        width: 85%;
        padding: 1.4rem 1rem;
    }

    h1 {
        font-size: 36px;
        padding: 10px 18px;
    }

    blockquote {
        padding: 28px 35px;
        font-size: 18px;
        max-width: 90%;
    }

    b, strong {
        font-size: 18px;
        padding: 3px 6px;
    }

    i, em {
        font-size: 14px;
        padding: 1px 3px;
    }

}