html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color:#000000;
    overflow-x: hidden;
    color:#E3E3E3;
}

body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(220,220,220,0.08) 1px, transparent 1px);
    background-size: 46px 46px;
    animation: mistDrift 90s linear infinite;
    z-index: 1;
    opacity: 0.35;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 180px 260px; }
}

#navigation {
    position: relative;
    width: 60%;
    margin-top: -10px;
    padding: 34px 14px;
    background: linear-gradient(to bottom, #2a2a2d, #151517);
    clip-path: polygon(0 10%, 50% 0, 100% 10%, 92% 100%, 8% 100%);
    box-shadow: 0 0 50px rgba(120, 90, 40, 0.35);
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    opacity: 0.65;
    border-top: 4px solid #c8a45d;
    border-bottom: 3px dashed #5a1f2b;
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 22px;
}

#navigation a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 34px;
    font-size: 20px;
    font-weight: bold;
    text-transform: uppercase;
    color: #f0efe9;
    background: linear-gradient(145deg, #1c1c1f, #2b2b30);
    border: 2px solid #c8a45d;
    clip-path: polygon(0 20%, 50% 0, 100% 20%, 90% 100%, 10% 100%);
    text-decoration: none !important;
    position: relative;
    transition: all 0.35s ease;
    box-shadow: 0 0 14px rgba(200,170,90,0.35);
}

#navigation a::before {
    content: "☁︎";
    font-size: 18px;
    margin-right: 10px;
    color: #cfcfcf;
    opacity: 0.8;
}

#navigation a:hover {
    background: linear-gradient(145deg, #2b2b30, #1f1f22);
    color: #ffffff;
    box-shadow: 0 0 26px rgba(200,160,80,0.65);
    transform: translateY(-4px) scale(1.04);
}

#navigation a:active {
    transform: scale(0.95);
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 677px;
    width: 100%;
    z-index: 0;
    position: relative;
    overflow: hidden;
}

#header::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background:
        url("data:image/svg+xml;utf8,\
<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1600 400'>\
<g fill='%23FFFFFF'>\
<ellipse cx='200' cy='180' rx='180' ry='60'/>\
<ellipse cx='360' cy='160' rx='220' ry='80'/>\
<ellipse cx='600' cy='190' rx='260' ry='90'/>\
<ellipse cx='920' cy='160' rx='240' ry='85'/>\
<ellipse cx='1200' cy='190' rx='280' ry='95'/>\
</g>\
</svg>");
    background-repeat: repeat-x;
    background-size: 1400px 300px;
    opacity: 0.18;
    animation: cloudDrift 140s linear infinite;
    z-index: 2;
}

@keyframes cloudDrift {
    from { background-position: 0 0; }
    to   { background-position: 1600px 0; }
}

a:link,
a:visited {
    color: #c8a45d;
    font-size: 24px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

a:hover {
    color: #f2e6c9;
    background: linear-gradient(to right, rgba(200,160,90,0.25), transparent);
}

textarea,
input,
select {
    width: 41%;
    max-width: 600px;
    padding: 16px;
    margin: 12px 0;
    font-size: 16px;
    background: linear-gradient(to bottom, #111, #000);
    color: #ffffff;
    border-radius: 14px;
    border: none;
    box-shadow: inset 0 0 10px rgba(255,255,255,0.05);
    transition: all 0.3s ease;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

select {
    background-image:
        linear-gradient(to bottom, #111, #000),
        url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: auto, 16px;
    padding-right: 48px;
}

select option {
    background: #000;
    color: #fff;
}

textarea::placeholder,
input::placeholder {
    color: #8a8a8a;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    box-shadow: 0 0 20px rgba(180,180,180,0.4);
}



#content {
    margin: 25px auto;
    width: 70%;
}

.contentx {
    margin-bottom: 50px;
    padding: 34px;
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    text-align: justify;
    color: #d0d0d0;
    line-height: 26px;
    letter-spacing: 1.6px;
    border-radius: 32px;
    background: rgba(20,20,22,0.7);
    backdrop-filter: blur(6px);
    box-shadow: 0 0 40px rgba(0,0,0,0.6);
}

blockquote {
    position: relative;
    max-width: 860px;
    margin: 90px auto;
    padding: 55px 75px;
    font-family: 'Georgia', serif;
    font-size: 22px;
    line-height: 2;
    letter-spacing: 0.7px;
    color: #e5e5e5;
    background: linear-gradient(
        145deg,
        rgba(40,40,45,0.9),
        rgba(20,20,22,0.85)
    );
    border-radius: 42px;
    box-shadow:
        0 0 50px rgba(120,90,40,0.45),
        0 25px 70px rgba(0,0,0,0.6);
}

blockquote::after {
    content: "";
    position: absolute;
    bottom: -30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 34px;
    letter-spacing: 80px;
    opacity: 0.25;
}

h1 {
    position: relative;
    display: block;
    width: auto;
    margin: 120px auto 80px;
    padding: 0;
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 400;
    letter-spacing: 8px;
    text-transform: uppercase;
    color: rgba(245, 243, 236, 0.92);
    text-shadow:
        0 0 12px rgba(255, 255, 255, 0.35),
        0 0 28px rgba(200, 164, 93, 0.35),
        0 0 60px rgba(90, 25, 40, 0.25);
    background: none;
}

h1::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 140%;
    height: 180%;
    transform: translate(-50%, -50%);
    background: radial-gradient(
        ellipse at center,
        rgba(255, 255, 255, 0.12),
        rgba(200, 164, 93, 0.10),
        transparent 70%
    );
    filter: blur(22px);
    z-index: -1;
}

h1::after {
    content: "☁︎      ☁︎";
    position: absolute;
    left: 50%;
    top: 52%;
    transform: translate(-50%, -50%);
    font-size: 54px;
    letter-spacing: 140px;
    opacity: 0.12;
    filter: blur(2px);
    pointer-events: none;
}

@media screen and (max-width: 768px) {
    h1 {
        font-size: 32px;
        letter-spacing: 5px;
        margin: 90px auto 60px;
    }

    h1::after {
        font-size: 42px;
        letter-spacing: 90px;
    }
}

#footer {
    position: relative;
    margin-top: 140px;
    padding: 90px 20px 45px;
    font-family: 'Tahoma', sans-serif;
    font-size: 15px;
    letter-spacing: 1.2px;
    color: rgba(200,200,200,0.65);
    text-align: center;
}

#footer::before {
    content: "☁︎───────────☁︎";
    display: block;
    margin-bottom: 35px;
    font-size: 22px;
    letter-spacing: 14px;
    color: rgba(200,164,93,0.6);
}

.footer-ornament {
    margin-top: 35px;
    font-size: 20px;
    letter-spacing: 18px;
    opacity: 0.35;
    color: #c8a45d;
    animation: etherealFloat 12s ease-in-out infinite;
}

@keyframes etherealFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-10px); }
}

@media screen and (max-width: 768px) {
    #navigation {
        width: 90%;
        padding: 22px 10px;
        flex-direction: column;
    }

    #header {
        height: 450px;
        background-size: cover;
    }

    #content {
        width: 90%;
    }

    textarea,
    input,
    select {
        width: 100%;
    }
}
