html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #dbdbdb;
    font-family: 'Lora', serif;
    font-weight: 400!important;
    color: #d9c8a0;
    text-align: center;
    font-size: 14px;
    overflow-x: hidden;
}

h1 {
    position: relative;
    display: inline-block;
    padding: 20px 48px;
    margin: 60px auto 30px;
    font-size: 24px;
    letter-spacing: 5px;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 800;
    border-radius: 12px;
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
    z-index: 0;
    background: linear-gradient(135deg, #a3a9ff, #caa9ff);
    color: #f8f8ff;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), 0 0 8px rgba(160, 160, 255, 0.3);
    box-shadow: 0 10px 30px rgba(155, 145, 255, 0.25);
}

h1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 16px;
    background: linear-gradient(135deg, #d0ceff, #f0e7ff);
    z-index: -1;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

h1:hover {
    transform: translateY(-5px) scale(1.05);
    background: linear-gradient(135deg, #869dff, #b48eff);
    box-shadow: 0 18px 40px rgba(130, 120, 255, 0.4), 0 0 30px rgba(194, 167, 255, 0.2);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    padding: 30px 40px;
    margin: 40px auto;
    width: 70%;
    max-width: 700px;
    color: #444;
    background: linear-gradient(to bottom right, #f0f0f5, #e3e3ea);
    border-left: 5px solid #b48eff;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(140, 140, 180, 0.1);
    position: relative;
    text-align: center;
    z-index: 1;
    transition: transform 0.3s ease;
}

blockquote:hover {
    transform: scale(1.02);
}

blockquote::before,
blockquote::after {
    font-family: 'Lora', serif;
    font-size: 60px;
    color: rgba(180, 142, 255, 0.15);
    position: absolute;
}

blockquote::before {
    content: '“';
    top: -20px;
    left: 20px;
}

blockquote::after {
    content: '”';
    bottom: -20px;
    right: 20px;
}

#navigation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 0 60px;
    backdrop-filter: blur(12px);
    background: linear-gradient(to right, rgba(235, 235, 245, 0.8), rgba(220, 220, 235, 0.85));
    border-bottom: 1px solid rgba(180, 142, 255, 0.3);
    box-shadow: 0 8px 20px rgba(160, 140, 200, 0.05);
    text-align: center;
    z-index: 999;
    transition: background 0.4s ease, box-shadow 0.3s ease;
    clip-path: polygon(
        0 0,
        100% 0,
        100% 85%,
        90% 90%,
        75% 83%,
        60% 92%,
        50% 86%,
        40% 93%,
        25% 85%,
        10% 95%,
        0 87%
    );
}

#navigation a {
    display: inline-block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #555;
    margin: 0 12px;
    padding: 16px 20px;
    border-radius: 999px;
    letter-spacing: 1.2px;
    position: relative;
    text-shadow: 0 1px 1px rgba(255, 255, 255, 0.5);
    transition: all 0.4s ease;
}

#navigation a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 5px;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #b48eff;
    transition: width 0.3s ease;
}

#navigation a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #87a3ff;
    transition: width 0.3s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    width: 70%;
}

#navigation a:hover {
    color: #a984ff;
    text-shadow: 0 0 4px rgba(180, 142, 255, 0.3);
}

.content {
    width: 60%;
    margin: -40px auto 40px;
    padding: 40px 25px 30px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #333;
    line-height: 1.75;
    border-radius: 14px;
    background: #f4f4f4;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.05);
    transition: box-shadow 0.3s ease;
    clip-path: polygon(
        0 40px,
        5% 35px,
        10% 45px,
        20% 25px,
        30% 40px,
        40% 30px,
        50% 45px,
        60% 35px,
        70% 50px,
        80% 30px,
        90% 40px,
        100% 25px,
        100% 100%,
        0% 100%
    );
}

.content:hover {
    box-shadow: 0 12px 40px rgba(160, 150, 200, 0.08);
}

.contentx {
    padding: 48px 40px;
    border-radius: 18px 18px 10px 10px;
    font-size: 19px;
    font-family: 'Lora', serif;
    color: #333;
    text-align: justify;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    background: #f4f2fa;
    box-shadow: 0 8px 20px rgba(180, 160, 220, 0.05);
}

.contentx::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    pointer-events: none;
    z-index: 0;
    filter: blur(18px);
    background: radial-gradient(
        circle at top center,
        rgba(202, 169, 255, 0.4) 0%,
        rgba(230, 217, 255, 0.25) 30%,
        rgba(244, 240, 255, 0.15) 60%,
        rgba(163, 211, 255, 0.05) 100%
    );
}



.contentx > * {
    position: relative;
    z-index: 1;
}

#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 548px;
    width: 100%;
    margin-top: 70px;
}

.content a,
.content b,
.content i {
    font-family: 'Lora', serif;
    background: linear-gradient(135deg, #b48eff, #87a3ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    transition: filter 0.3s ease;
}

.content a:hover,
.content b:hover,
.content i:hover {
    filter: brightness(1.2);
}

#footer {
    background: linear-gradient(135deg, #d4d4dc, #c6c3d8);
    color: #555;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #caa9ff;
    clip-path: polygon(
        0 50px, 12% 45px, 25% 55px, 38% 48px, 50% 60px, 62% 50px,
        75% 58px, 88% 50px, 100% 60px, 100% 100%, 0 100%
    );
    box-shadow: inset 0 10px 20px rgba(150, 140, 200, 0.05),
                0 10px 15px rgba(150, 140, 200, 0.05);
    font-family: 'Cinzel Decorative', serif;
    font-size: 18px;
    letter-spacing: 0.8px;
    position: relative;
    overflow: hidden;
}

#footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 8px;
    background: radial-gradient(circle at center, #caa9ff, transparent 60%);
    opacity: 0.25;
    pointer-events: none;
}

#footer a {
    color: #444;
    text-decoration: none;
    border-bottom: 1.5px dashed #b48eff;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #a984ff;
    border-bottom: 1.5px solid #b48eff;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-credit {
    margin-top: 10px;
    font-size: 14px;
    color: #b48eff;
    font-style: italic;
}

.contentx input,
.contentx textarea,
.contentx select {
    width: 40%;
    max-width: 350px;
    padding: 10px 14px;
    margin: 12px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #333;
    background: #f5f5fa;
    border: 1px solid #ccc;
    border-radius: 12px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    caret-color: #b48eff;
}

.contentx select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(180,142,255,0.2) 50%),
        linear-gradient(135deg, rgba(180,142,255,0.2) 50%, transparent 50%);
    background-position:
        calc(100% - 20px) center,
        calc(100% - 15px) center;
    background-size: 5px 5px;
    background-repeat: no-repeat;
    cursor: pointer;
}

.dropdown-menu {
    background: #f2f2f2;
    color: #333;
}

.dropdown-menu:hover {
    background: #e0e0e0;
}

.contentx button {
    background: linear-gradient(135deg, #e3d4ff, #b48eff);
    border: 1.5px solid rgba(180, 142, 255, 0.5);
    border-radius: 12px;
    padding: 8px 20px;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 16px;
    color: #333;
    cursor: pointer;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    user-select: none;
    outline-offset: 2px;
    max-width: 100px;
    width: auto;
}

.contentx button:hover,
.contentx button:focus {
    background: linear-gradient(135deg, #87a3ff, #b48eff);
    border-color: rgba(135, 163, 255, 0.8);
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.contentx button:active {
    background: #6b84d9;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}
