html, body {
    height: 100%;
    margin: 0;
}

body {
    background: #E7E7E7;
    animation: cosmicShift 20s ease infinite;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    color: #2b0033;
}

@keyframes cosmicShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}


#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 630px;
    width: 100%;
    margin-top: -5px;
}

.ethereal-nav {
    text-align: center;
    margin-top: -90px;
    opacity: 0.9;
    animation: fadeInNav 2s ease-out forwards;
}

.ethereal-nav ul {
    list-style: none;
    padding: 60px;
    margin: 0 auto;
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 50px rgba(255, 105, 180, 0.4);
    border: 2px dashed #ff6ec4;
    border-radius: 50px;
    animation: shimmer 6s linear infinite;
}

@keyframes shimmer {
    0% {
        box-shadow: 0 0 15px #ff6ec4, 0 0 25px #7873f5, 0 0 35px #42e695;
    }
    50% {
        box-shadow: 0 0 25px #ffd1dc, 0 0 45px #c3a9f9, 0 0 60px #94fff2;
    }
    100% {
        box-shadow: 0 0 15px #ff6ec4, 0 0 25px #7873f5, 0 0 35px #42e695;
    }
}

.ethereal-nav li {
    display: inline-block;
    margin: 0 15px;
    position: relative;
}

.ethereal-nav a {
    display: inline-block;
    padding: 14px 28px;
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    text-decoration: none;
    font-size: 20px;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
    position: relative;
    transition: all 0.4s ease;
    overflow: hidden;
    z-index: 1;
    background: linear-gradient(to right, #ff0080, #7928ca, #2afadf);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.ethereal-nav a:hover {
    text-shadow: 0 0 10px #ff6ec4, 0 0 20px #7873f5, 0 0 30px #42e695;
    transform: scale(1.05) rotate(-1deg);
}

.ethereal-nav a::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 0;
    height: 3px;
    width: 100%;
    background: linear-gradient(to right, #ff6ec4, #7873f5, #42e695);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease-in-out;
    pointer-events: none;
}

.ethereal-nav a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

.ethereal-nav a::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(120,90,200,0.15) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    transition: transform 0.6s ease;
    z-index: -1;
}

.ethereal-nav a:hover::before {
    transform: translate(-50%, -50%) scale(1);
}


@media (max-width: 768px) {
    .ethereal-nav ul {
        display: block;
        padding: 20px;
    }

    .ethereal-nav li {
        display: block;
        margin: 10px 0;
    }

    .ethereal-nav a {
        display: block;
        padding: 12px 20px;
        font-size: 18px;
    }
}

#content {
    margin: 0;
    position: relative;
    width: 65%;
}

.contentx {
    margin: 0px 0 50px 0;
    padding: 25px;
    font-size: 15px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 500 !important;
    text-align: justify;
    color: #261F2E;
    line-height: 25px;
    letter-spacing: 2px;
    border-radius: 30px;
    opacity: 0.75;
}


h1 {
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-size: 34px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    padding-bottom: 12px;
    background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695, #ffe3b3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: titleFlash 4s ease-in-out infinite alternate;
}


blockquote {
    font-family: 'Georgia', serif;
    font-size: 20px;
    padding: 28px 40px;
    margin: 40px auto;
    border-left: 6px solid;
    border-image: linear-gradient(to bottom, #ff6ec4, #7873f5, #42e695) 1;
    border-radius: 16px;
    max-width: 800px;

    color: #eae6f5;
    background: linear-gradient(to right, rgba(20, 10, 30, 0.95), rgba(30, 15, 50, 0.9));
    box-shadow:
        0 0 25px rgba(255, 105, 180, 0.15),
        inset 0 0 12px rgba(255, 255, 255, 0.03),
        0 0 60px rgba(100, 100, 255, 0.05);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #ff6ec4, #7873f5, #42e695);
    opacity: 0.8;
}


@keyframes quoteGlow {
    0% { box-shadow: 0 0 15px #ff6ec4; }
    100% { box-shadow: 0 0 30px #42e695; }
}

blockquote::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    height: 4px;
    width: 100%;
    background: linear-gradient(to right, #ff6ec4, #7873f5, #42e695);
}

blockquote::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: radial-gradient(circle, rgba(255,255,255,0.15) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: twinkle 4s infinite linear;
  pointer-events: none;
  z-index: 1;
}

a:link,
a:visited {
    font-size: 22px;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    border-bottom: 1px solid transparent;
    position: relative;
    color: #642FBA;
    transition: color 0.4s ease, border-bottom 0.4s ease, text-shadow 0.4s ease;
}

a:hover {
    color: transparent;
    background: linear-gradient(90deg, #ff6ec4, #7873f5, #42e695);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 6px rgba(255, 200, 255, 0.4),
                 0 0 14px rgba(180, 160, 255, 0.3),
                 0 0 22px rgba(100, 200, 255, 0.2);
    border-bottom: 2px solid;
    border-image: linear-gradient(to right, #ff6ec4, #7873f5, #42e695) 1;
    background-color: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(3px);
    transition: all 0.4s ease;
}

i, em {
    color: #F6102F;
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    background: #ffffff;
    padding: 3px 6px;
    border-left: 3px solid #F6102F;
    border-right: 3px solid #7847B7;
}

b, strong {
    color: #7243B8;
    font-weight: bold;
    font-family: 'Tahoma', sans-serif;
    background-color: #ffffff;
    padding: 3px 7px;
    border: 1px solid #B83E7A;
    letter-spacing: 0.3px;
}

textarea, input, select {
    width: 50%;
    max-width: 600px;
    padding: 14px 18px;
    margin: 12px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #261F2E;
    background: linear-gradient(to right, #ffe3b3, #c7a3ff);
    border: 2px solid #ff6ec4;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(255, 105, 180, 0.3);
    backdrop-filter: blur(4px);
    transition: all 0.3s ease-in-out;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    border-color: #ff6ec4;
    background-color: #fff0fa;
    box-shadow: 0 0 20px rgba(255, 105, 180, 0.4);
}


#footer {
    font-family: 'Tahoma', sans-serif;
    font-size: 14px;
    text-align: center;
    padding: 60px 30px 30px;
    margin-top: 80px;
    color: #442B6D;
    letter-spacing: 0.5px;
    line-height: 1.6;
    border-top: 2px dashed #A56AE2;
    text-shadow: 0 0 4px rgba(180, 160, 220, 0.2);
    background: transparent;position: relative;
  overflow: hidden;
}

#footer a {
    color: #8C56DB;
    text-decoration: none;
    border-bottom: 1px dotted #A56AE2;
    transition: color 0.4s ease, border-bottom 0.4s ease;
}

#footer a:hover {
    color: #F6102F;
    border-bottom: 1px solid #F6102F;
}

#footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  background-image: radial-gradient(circle, rgba(200, 180, 255, 0.08) 1px, transparent 1px);
  background-size: 80px 80px;
  animation: twinkle 6s infinite linear;
  z-index: 0;
  pointer-events: none;
}


@keyframes twinkle {
  0%, 100% { opacity: 0.8; transform: scale(1); }
  50% { opacity: 0.2; transform: scale(1.4); }
}