html, body {
    height: 100%;
    margin: 0;
    background-image: url('images/bg.jpg');
    background-repeat: repeat;
    color: #e8e0dc; font-size: 18px;
}

@import url('https://fonts.googleapis.com/css2?family=Lora&family=Cinzel+Decorative&family=Merriweather&family=Spectral&display=swap');

b {
    color: #c8f5dd;
    font-weight: 700;
    text-shadow:
        0 0 4px rgba(120, 230, 180, 0.2),
        0 0 6px rgba(80, 180, 140, 0.1);
    background: linear-gradient(90deg, rgba(30, 60, 45, 0.4), rgba(20, 40, 30, 0.2));
    padding: 1px 4px;
    border-radius: 2px;
}

i {
    color: #9fd6bc;
    font-style: italic;
    text-shadow:
        0 0 3px rgba(80, 180, 140, 0.2),
        1px 1px 2px rgba(0, 0, 0, 0.3);
    font-family: 'Lora', serif;
    font-size: 95%;
}



.slytherin-footer { opacity:0.6;
    background: radial-gradient(circle at top, #0d1a14, #0a120f, #050a07);
    border-top: 10px double #4d7760;
    padding: 60px 20px 40px;
    color: #d0f7e3;
    font-family: 'Cinzel Decorative', serif;
    position: relative;
    clip-path: polygon(0 0, 100% 10%, 100% 100%, 0% 100%);
    box-shadow:
        inset 0 8px 16px rgba(40, 90, 70, 0.1),
        0 -5px 20px rgba(0, 50, 30, 0.4);
    z-index: 5;
}

.footer-inner {
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    padding-top: 20px;
}

.slytherin-footer h2 {
    font-size: 24px;
    letter-spacing: 3px;
    color: #bce1c3;
    text-shadow: 0 0 8px rgba(120, 240, 180, 0.2);
    margin-bottom: 12px;
}

.slytherin-footer p {
    font-size: 16.5px;
    line-height: 1.7;
    color: #d7f9e9;
    margin-bottom: 20px;
    text-shadow: 0 0 4px rgba(90, 190, 140, 0.08);
}

.slytherin-footer a {
    display: inline-block;
    color: #9be8c3;
    font-weight: 700;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 15px;
    border: 2px solid #79b59b;
    padding: 10px 18px;
    border-radius: 30px;
    transition: all 0.3s ease;
    background: rgba(50, 100, 80, 0.1);
    box-shadow: 0 0 10px rgba(100, 200, 170, 0.1);
}

.slytherin-footer a:hover {
    background: #2c5a48;
    color: #e0fff4;
    border-color: #c3fbe4;
    box-shadow: 0 0 14px rgba(130, 255, 200, 0.4);
}

.serpent-symbol {
    font-size: 36px;
    color: #8ee3bd;
    text-shadow: 0 0 12px #68b597;
    margin-bottom: 14px;
    animation: shimmer 3s infinite ease-in-out;
}

@keyframes shimmer {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

#navigation {
    width: 60%;
    margin-top: -40px;
    padding: 30px 10px;
    background: linear-gradient(145deg, #121d16, #1c2a21);
    border-radius: 0 0 10px 10px;
    box-shadow: 0 10px 25px rgba(10, 40, 20, 0.2), inset 0 -5px 10px rgba(10, 40, 20, 0.05);
    text-align: center;
    font-family: 'Cinzel Decorative', serif !important;
    opacity: 0.65;
    border-top: 8px solid #3f6140;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 15px;
    z-index: 2;
}

#navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    text-decoration: none;
    color: #d4eadd;
    background-color: rgba(20, 40, 30, 0.6);
    border-radius: 0;
    padding: 12px 24px;
    font-size: 22px;
    font-weight: 700;
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(30, 60, 40, 0.1);
    position: relative;
    border-bottom: 2px solid #6a8f7e;
    font-family: 'Cinzel Decorative', serif !important;
    text-shadow: 0 0 4px #6ea87a, 0 0 8px #355f49;
}

#navigation a::before {
    content: 'ᛃ';
    font-size: 20px;
    margin-right: 8px;
    color: #a2d0b0;
    text-shadow: 0 0 6px #7ac693, 0 0 12px #95e3ae;
    position: relative;
}

#navigation a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 1px solid rgba(120, 255, 180, 0.2);
    border-radius: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

#navigation a:hover::after {
    opacity: 1;
    animation: slytherin-glow 1.2s ease-in-out infinite alternate;
}

@keyframes slytherin-glow {
    0% {
        box-shadow: 0 0 6px rgba(120, 255, 180, 0.3);
    }
    100% {
        box-shadow: 0 0 12px rgba(80, 255, 150, 0.6), 0 0 24px rgba(60, 240, 130, 0.4);
    }
}

#navigation a:hover {
    background-color: #355f49;
    color: #e8fff3;
    transform: translateY(-4px) scale(1.03);
    box-shadow:
        0 8px 20px rgba(40, 100, 60, 0.4),
        0 0 8px rgba(80, 160, 110, 0.5),
        inset 0 0 5px rgba(50, 130, 90, 0.3);
    text-shadow:
        0 0 6px #a0f0c0,
        0 0 10px rgba(120, 200, 150, 0.5);
}


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

h1 {
    font-family: 'Cinzel Decorative', serif !important;
    font-size: 28px;
    text-transform: uppercase;
    letter-spacing: 4px;
    color: #bce1c3; /* silver-green */
    text-align: center;
    margin-bottom: 35px;
    padding-bottom: 16px;
    position: relative;
    border-bottom: 3px double #6fa98f;
    text-shadow:
        0 0 6px rgba(0, 50, 30, 0.6),
        0 0 12px rgba(100, 255, 180, 0.2),
        1px 1px 3px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease-in-out;
}

h1::before {
    content: 'Ϟ'; /* snake bolt symbol */
    font-size: 26px;
    position: absolute;
    left: -30px;
    top: 0;
    color: #8ed0ab;
    text-shadow: 0 0 6px #4b8165;
}

h1::after {
    content: "Ϟ";
    font-size: 26px;
    position: absolute;
    right: -30px;
    top: 0;
    color: #8ed0ab;
    text-shadow: 0 0 6px #4b8165;
}

h1:hover {
    color: #d1f4e0;
    text-shadow:
        0 0 10px #a6f5c9,
        0 0 20px #81cfaa,
        0 0 12px rgba(120, 250, 180, 0.6);
    letter-spacing: 5px;
    transform: scale(1.03);
}


@keyframes snake-wiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(10deg); }
}

h1::before,
h1::after {
    animation: snake-wiggle 2s infinite ease-in-out;
}

a:link,
a:visited {
    color: #cde9d6;
    font-size: 22px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    letter-spacing: 0.8px;
    position: relative;
    display: inline-block;
    transition: all 0.4s ease;
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 2px;
    background: linear-gradient(to right, #497a5f, #82c2a2);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

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

a:hover {
    color: #e3fcef;
    text-shadow: 0 0 6px rgba(50, 110, 70, 0.4);
}


blockquote {
    font-family: 'Lora', serif;
    font-size: 26px;
    color: #d3efe1;
    background: linear-gradient(135deg, #16251a, #23372a);
    padding: 30px 40px;
    margin: 40px auto;
    border-left: 8px solid #3f6140;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(20, 50, 30, 0.15), 0 0 10px rgba(20, 50, 30, 0.07);
    max-width: 800px;
    position: relative;
    line-height: 1.8;
    overflow: hidden;
    transition: all 0.4s ease;
    text-shadow: 0 0 3px rgba(80, 120, 90, 0.2);
}

blockquote::before {
    content: 'ᛃ';
    position: absolute;
    top: -15px;
    left: 20px;
    font-size: 40px;
    color: #98cdb0;
    text-shadow: 0 0 12px #72b294;
    opacity: 0.15;
}

textarea,
input,
select {
    width: 100%;
    max-width: 600px;
    padding: 14px 18px;
    margin: 12px 0;
    font-family: 'Spectral', serif;
    font-size: 17px;
    color: #daf3e8;
    background: linear-gradient(145deg, #18291c, #233729);
    border: 2px solid #4f7f60;
    border-radius: 12px;
    box-shadow: inset 0 0 10px rgba(20, 40, 30, 0.05), 0 0 6px rgba(20, 40, 30, 0.15);
    transition: all 0.3s ease;
    caret-color: #7acfa3;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #97e6b8;
    background-color: #14271d;
    box-shadow:
        0 0 15px rgba(60, 180, 100, 0.4),
        inset 0 0 4px rgba(20, 40, 30, 0.1),
        0 0 30px rgba(20, 40, 30, 0.08);
    color: #e0f7ed;
}

#content {
    margin: 30px auto;
    width: 70%;
    position: relative;
    padding-bottom: 80px;
}

.contentx {
    padding-bottom: 70px;
    margin: 0 0 130px;
    padding: 25px;
    font-size: 18px;
    font-family: 'Lora', serif;
    font-weight: 500;
    text-align: justify;
    color: #d8f2e6;
    line-height: 35px;
    letter-spacing: 1.5px;
    border-radius: 30px;
    background: linear-gradient(135deg, rgba(18, 32, 22, 0.85), rgba(30, 50, 40, 0.85));
    backdrop-filter: blur(2px);
    border: 1px solid rgba(60, 120, 90, 0.1);
    opacity: 0.68;
    box-shadow: 0 4px 20px rgba(10, 40, 20, 0.15);
}

@media (max-width: 992px) {
    #navigation {
        width: 90%;
        flex-direction: column;
        gap: 10px;
        padding: 20px;
    }

    #navigation a {
        width: 100%;
        font-size: 18px;
        padding: 10px 16px;
        border-radius: 6px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 20px;
        letter-spacing: 2px;
        text-align: center;
    }

    #header {
        background-size: cover;
        height: 400px;
    }

    blockquote {
        font-size: 20px;
        padding: 20px;
        margin: 20px auto;
    }

}

@media (max-width: 600px) {
    textarea,
    input,
    select {
        font-size: 16px;
        padding: 12px 14px;
    }

    #content,
    .contentx {
        width: 92%;
        font-size: 18px;
        padding: 20px;
    }

    .contentx {
        margin: 0 0 80px;
    }

    #navigation a::before,
    #navigation a::after {
        display: none;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 18px;
        padding-bottom: 10px;
    }

    #navigation {
        padding: 16px;
        gap: 8px;
    }

    #navigation a {
        font-size: 16px;
        padding: 8px 12px;
    }

    blockquote {
        font-size: 18px;
        padding: 16px;
    }

    .contentx {
        font-size: 16px;
        line-height: 1.6;
    }
}
