html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    text-align: left;
    background-color: #ECECEC;
    font-family: 'Libre Baskerville', serif;
    color: #4d5c56;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

#footer {
    clear: both;
}

body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(180, 220, 190, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: mistDrift 60s linear infinite;
    z-index: 1;
    opacity: 0.45;
}

/* Subtle halo/fog */
body::before {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, rgba(240, 255, 245, 0.08), transparent 70%);
    pointer-events: none;
    z-index: 0;
}

@keyframes mistDrift {
    0% { background-position: 0 0; }
    100% { background-position: 80px 150px; }
}

#header {
    background-image: url('images/head.jpg'), url('images/bg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: left top, left top;
    height: 852px;
    width: 100%;
    margin-top: -5px;
}

h1 {
    position: relative;
    display: inline-block;
    padding: 30px 60px;
    background: #2f3e2e;
    color: #f2f1ee;
    font-size: 64px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    border: 3px solid #b8b8b8;
    border-radius: 12px;
    text-shadow: 1px 1px 2px #000;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.nav {
    background: radial-gradient(ellipse at center, rgba(234, 245, 250, 0.8), rgba(209, 234, 246, 0.6));
    padding: 30px 60px;
    border-radius: 60px 20px 60px 20px / 30px 60px 30px 60px;
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    box-shadow: 0 18px 40px rgba(173, 216, 230, 0.3),
                inset 0 0 15px rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    margin-top: 230px auto;
    max-width: 90%;
    border: 1px solid rgba(200, 230, 245, 0.2);
}

.nav a {
    position: relative;
    display: inline-block;
    text-decoration: none;
    font-family: 'IM Fell English', serif;
    font-size: 21px;
    color: #6D97B4;
    text-transform: uppercase;
    letter-spacing: 6px;
    padding: 22px 45px;
    border-radius: 60px;
    background: linear-gradient(145deg, #f7fcfe, #e6f3fa);
    box-shadow: 0 10px 25px rgba(173, 216, 230, 0.35),
                inset 0 0 10px rgba(255, 255, 255, 0.4);
    transition: all 0.3s ease-in-out;
    overflow: hidden;
    cursor: pointer;
    z-index: 1;
    backdrop-filter: blur(4px);
}

.nav a:hover {
    animation: flicker 0.8s infinite;
    color: #4D7B99;
    background: linear-gradient(
        to right,
        rgba(230, 244, 251, 0.85),
        rgba(220, 236, 245, 0.85)
    );
    box-shadow: 0 8px 20px rgba(173, 216, 230, 0.3),
                inset 0 0 10px rgba(255, 255, 255, 0.3);
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; transform: scale(1.01); }
}


a:link, a:visited {
    color: #6d8e7c;
    font-size: 24px;
    text-decoration: none;
    font-family: 'Alumni Sans Pinstripe', sans-serif;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    position: relative;
    letter-spacing: 0.8px;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px #dce3dd;
}

a:hover {
    color: #415a4d;
    border-bottom: 2px solid #95c3a2;
    background: linear-gradient(to right, rgba(180, 230, 200, 0.3), transparent);
    transform: translateY(-1px);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 100%;
    background: linear-gradient(to right, #a3c9ba, #8fba9d);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#page-wrapper {
  min-height: 67%;
  margin-left: 0;
  margin-right: auto;
  padding-left: 30px;
  float: left;
  clear: both;
  margin-top: -20px;
}


i, em {
    color: #a59ec1;
    font-style: italic;
    font-family: 'Georgia', serif;
    background: linear-gradient(to right, #e0e4ed, #d4d8e3);
    padding: 4px 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(180, 180, 220, 0.2);
}

b, strong {
    color: #e2f1ed;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background-color: #b5c9c0;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(180, 220, 200, 0.2),
                inset 0 0 6px rgba(0, 0, 0, 0.1);
}

#content {
    margin: 30px 0;
    width: 100%; 
}


.contentx {
    background: rgba(245, 255, 250, 0.4);
    backdrop-filter: blur(3px);
    padding: 25px;
    font-size: 16px;
    color: #5f676e;
    line-height: 25px;
    letter-spacing: 1.5px;
    border-radius: 30px;
    opacity: 0.8;
    font-family: 'Libre Baskerville', serif;
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #2f3e2e;
    background: linear-gradient(135deg, rgba(255,255,255,0.8), rgba(236,236,236,0.9));
    padding: 40px;
    margin: 60px auto;
    border-left: 5px solid rgba(106, 123, 103, 0.5);
    border-radius: 25px;
    max-width: 860px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(2px);
    line-height: 1.8;
    letter-spacing: 0.5px;
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 60px;
    color: #6a7b67;
    opacity: 0.2;
    position: absolute;
    top: 10px;
    left: 20px;
}

blockquote::after {
    content: "”";
    font-size: 60px;
    color: #6a7b67;
    opacity: 0.2;
    position: absolute;
    bottom: 10px;
    right: 20px;
}
textarea, input, select {
  background: radial-gradient(ellipse at center, rgba(234, 245, 250, 0.8), rgba(209, 234, 246, 0.6));
  border-radius: 60px 20px 60px 20px / 30px 60px 30px 60px;
  padding: 15px 25px;
  font-family: 'IM Fell English', serif;
  font-size: 18px;
  color: #6D97B4;
  border: 1px solid rgba(200, 230, 245, 0.4);
  box-shadow: 0 10px 25px rgba(173, 216, 230, 0.25),
              inset 0 0 10px rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(8px);
  transition: all 0.3s ease-in-out;
  outline: none;
  width: 100%;
  max-width: 400px;
  box-sizing: border-box;
}

textarea {
  resize: vertical;
  min-height: 100px;
}

textarea:focus, input:focus, select:focus {
  border-color: #4D7B99;
  box-shadow: 0 12px 30px rgba(77, 123, 153, 0.4),
              inset 0 0 15px rgba(255, 255, 255, 0.6);
  background: linear-gradient(145deg, #e6f3fa, #f7fcfe);
  color: #4D7B99;
}

textarea::placeholder, input::placeholder, select::placeholder {
  color: #9eb8ca;
  opacity: 1;
}

textarea:disabled, input:disabled, select:disabled {
  background: rgba(200, 220, 230, 0.3);
  border-color: rgba(180, 200, 210, 0.3);
  color: #a0afbc;
  box-shadow: none;
  cursor: not-allowed;
}


footer {
  width: 70%;
  float: left;
  margin: 0; 
  padding: 40px 20px;
  background: radial-gradient(ellipse at top, #edf6f3, #dfeae6);
  clip-path: ellipse(70% 100% at center top);
  text-align: center;
  font-family: 'Georgia', serif;
  font-size: 16px;
  color: #526057;
  opacity: 0.9;
  border-top: 2px dashed #b3ccc2;
  box-shadow: 0 0 15px rgba(180, 220, 200, 0.3);
}