html, body {
    height: 100%;
    margin: 0;
    font-family: 'Lora', serif;
    background-color: #3895C8;
}

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

#navigation {
    width: 60%;
    margin: 40px auto 0;
    padding: 24px 20px;
    background: linear-gradient(to bottom, rgba(210, 230, 255, 0.7), rgba(150, 200, 255, 0.8));
    border-top: 2px solid rgba(120, 180, 255, 0.4);
    border-bottom: 2px solid rgba(90, 160, 240, 0.3);
    backdrop-filter: blur(8px);
    box-shadow: 0 10px 30px rgba(150, 180, 255, 0.25);
    text-align: center;
    font-family: 'Cinzel Decorative', serif;
    border-radius: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
}

#navigation a {
    position: relative;
    padding: 10px 22px;
    font-size: 17px;
    font-weight: 500;
    color: #1A237E;
    background: linear-gradient(to right, #E3F2FD, #D1E9FF);
    border: 1px solid #B3D5F2;
    border-radius: 40% 60% / 60% 40%;
    text-transform: none;
    text-decoration: none;
    transition: all 0.4s ease-in-out;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

#navigation a::after {
    content: '';
    position: absolute;
    left: 20%;
    bottom: 8px;
    width: 60%;
    height: 2px;
    background: linear-gradient(to right, #90CAF9, #64B5F6);
    opacity: 0;
    transform: scaleX(0);
    transition: transform 0.3s ease, opacity 0.3s ease;
    transform-origin: center;
    border-radius: 2px;
}

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

#navigation a:hover {
    background: linear-gradient(to right, #D1E9FF, #BBDEFB);
    color: #0D47A1;
    transform: translateY(-3px) rotate(-0.5deg);
    box-shadow: 0 8px 18px rgba(120, 170, 255, 0.4);
}

#navigation a:active {
    transform: scale(0.97);
    background: #D6EAFB;
    box-shadow: inset 0 0 6px rgba(150, 200, 255, 0.25);
}

#content {
    margin: -40px auto;
    width: 65%;
    font-family: 'Lora', serif;
}

.contentx {
    padding: 28px;
    font-size: 17px;
    line-height: 28px;
    letter-spacing: 0.7px;
    border-radius: 18px;
    color: #FDFEFF;
    text-align: justify;
}

h1 {
    position: relative;
      font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 500;
    text-align: center;
    margin: 60px auto 30px;
    max-width: 600px;
    line-height: 1.3;
    background: linear-gradient(to right, #B3E5FC, #E1F5FE, #B3E5FC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 1px 4px rgba(180, 220, 255, 0.2);
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 50%;
    height: 2px;
    background: linear-gradient(to right, #90CAF9, #64B5F6, #90CAF9);
    border-radius: 50px;
    box-shadow: 0 0 6px rgba(100, 170, 255, 0.3);
    animation: softUnderline 6s ease-in-out infinite;
}

@keyframes softUnderline {
    0%, 100% { width: 50%; opacity: 1; }
    50% { width: 60%; opacity: 0.8; }
}



blockquote {
    font-family: 'Lora', serif;
    font-size: 20px;
    color: #154360;
    background: linear-gradient(135deg, #bbdefb 0%, #90caf9 50%, #64b5f6 100%);
    padding: 30px;
    margin: 30px auto;
    border-left: 6px solid #1976d2;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(25, 118, 210, 0.2);
    max-width: 800px;
    line-height: 1.8;
    position: relative;
}

textarea, input, select {
    width: 100%;
    max-width: 600px;
    padding: 14px 20px;
    margin: 18px 0;
    font-family: 'Lora', serif;
    font-size: 17px;
    color: #1A237E;
    background: linear-gradient(to bottom, #F4FAFF, #E8F3FF);
    border: 1px solid #B0D4F7;
    border-radius: 10px;
    transition: all 0.3s ease;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: #E1F0FF;
    border-color: #90CAF9;
    box-shadow: 0 0 10px rgba(130, 180, 255, 0.4);
}

#footer {
    font-family: 'Lora', serif;
    background: linear-gradient(180deg, #64b5f6 0%, #1976d2 100%);
    color: #e3f2fd;
    text-align: center;
    padding: 60px 20px;
    margin-top: 80px;
    border-top: 4px dashed #90caf9;
    clip-path: polygon(
        0 60px, 10% 50px, 20% 60px, 30% 55px, 40% 65px,
        50% 60px, 60% 70px, 70% 60px, 80% 65px, 90% 60px,
        100% 70px, 100% 100%, 0% 100%
    );
}

#footer a {
    color: #1E88E5;
    text-decoration: none;
    border-bottom: 1px dashed #90CAF9;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #0D47A1;
    text-shadow: 0 0 6px rgba(100, 181, 246, 0.3);
    transform: scale(1.05);
}


b, strong {
    color: #fff;
    background-color: #90CAF9;
    padding: 4px 9px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a:link {
    color: #4A90E2;
    text-decoration: none;
    background: linear-gradient(to right, #E3F2FD, #BBDEFB);
    padding: 4px 10px;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    box-shadow: inset 0 0 0 transparent;
}

a:visited {
    color: #5C6BC0;
}

a:hover {
    color: #0D47A1;
    background: linear-gradient(to right, #BBDEFB, #90CAF9);
    box-shadow: 0 2px 8px rgba(100, 181, 246, 0.2);
    transform: translateY(-1px);
    text-shadow: 0 1px 2px rgba(150, 200, 255, 0.3);
}

a:active {
    background: #E1F5FE;
    color: #0D47A1;
    transform: scale(0.98);
    box-shadow: inset 0 0 5px rgba(144, 202, 249, 0.3);
}
