html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #DEDEDE;
    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(45deg, #e89c3d, #5a93c4);
    color: #fff;
    text-shadow:
        1px 1px 2px rgba(0, 0, 0, 0.5),
        0 0 6px rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 20px rgba(90, 147, 196, 0.3);
}

h1::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 16px;
    background: linear-gradient(45deg, #ffb56b, #6ba6d8);
    z-index: -1;
    clip-path: polygon(15% 0%, 100% 0%, 85% 100%, 0% 100%);
}

h1:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow:
        0 14px 40px rgba(90, 147, 196, 0.5),
        0 0 20px rgba(255, 180, 100, 0.4);
    background: linear-gradient(45deg, #f0a14a, #3b79a8);
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    padding: 30px 40px;
    margin: 40px auto;
    width: 70%;
    max-width: 700px;
    color: #555;
    background: #e6e6e6;
    border-left: 5px solid #ffbb66;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 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(255, 187, 102, 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: 28px 0;
    background: repeating-linear-gradient(
        45deg,
        #f2f2f2,
        #f2f2f2 10px,
        #e6e6e6 10px,
        #e6e6e6 20px
    );
    border-bottom: 2px solid #ffbb66;
    text-align: center;
    z-index: 999;
    transition: background 0.4s ease;
}

#navigation a {
    display: inline-block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 16px;
    text-transform: uppercase;
    color: #444;
    margin: 0 14px;
    padding: 22px 20px;
    border-radius: 999px;
    letter-spacing: 1.5px;
    transition: all 0.5s ease;
    text-shadow: none;
    position: relative;
}

#navigation a::before {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #ffbb66;
    transition: width 0.4s ease;
}

#navigation a::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 0%;
    height: 2px;
    background: #6ab7ff;
    transition: width 0.4s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    width: 80%;
}

#navigation a:hover {
    color: #ff944d;
}

.content {
    width: 60%;
    margin: -150px auto;
    padding: 0 25px;
    text-align: justify;
    font-family: 'Lora', serif;
    color: #333;
    line-height: 1.75;
    border-radius: 14px;
    transition: box-shadow 0.3s ease;
    background: #f9f9f9;opacity:0.7;
}

.content:hover {
    box-shadow: 0 12px 40px rgba(100, 90, 80, 0.1);
}

.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: #fff8f0;
}

.contentx::before {
    content: '';
    position: absolute;
    top: -30%;
    left: -30%;
    width: 160%;
    height: 160%;
    opacity: 0.4;
    pointer-events: none;
    z-index: 0;
    filter: blur(18px);
    background: radial-gradient(
        circle at center,
        #ffbb66 0%,
        #ffd8a8 40%,
        #fff0e0 75%,
        #a3d3ff 100%
    );
}

.contentx > * {
    position: relative;
    z-index: 1;
}

#header {
    background-image: url('images/halloween.jpg'), url('images/halloweenbg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: center;
    height: 611px;
    width: 100%;
    margin-top: 70px;
}

.content a,
.content b,
.content i {
    font-family: 'Lora', serif;
    background: linear-gradient(135deg, #6ab7ff, #ffbb66);
    -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, #dddddd, #cccccc);
    color: #666;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #ffbb66;
    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(0, 0, 0, 0.05),
                0 10px 15px rgba(0, 0, 0, 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, #ffbb66, transparent 60%);
    opacity: 0.25;
    pointer-events: none;
}

#footer a {
    color: #444;
    text-decoration: none;
    border-bottom: 1.5px dashed #ffbb66;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #ff944d;
    border-bottom: 1.5px solid #ffbb66;
}

.footer-content {
    max-width: 700px;
    margin: 0 auto;
}

.footer-credit {
    margin-top: 10px;
    font-size: 14px;
    color: #ff944d;
    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: #f2f2f2;
    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: #6ab7ff;
}

.contentx select {
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(106,183,255,0.2) 50%),
        linear-gradient(135deg, rgba(106,183,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(145deg, #ffd8a8, #ffbb66);
    border: 1.5px solid rgba(255, 187, 102, 0.6);
    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(145deg, #6ab7ff, #3f90d9);
    border-color: rgba(106, 183, 255, 0.8);
    color: #fff;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.2);
    outline: none;
}

.contentx button:active {
    background: #2a6ea1;
    box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.3);
    transform: translateY(1px);
}
