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

body {
    background-color: #FBFBFB;
    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: 22px 50px;
    margin: 60px auto 30px;
    font-size: 22px;
    letter-spacing: 5px;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 700;
    background: #2d2d2d;
    border-radius: 16px;
    box-shadow: 0 10px 24px rgba(255, 80, 80, 0.65);
    cursor: default;
    transition: transform 0.3s ease, box-shadow 0.3s ease, color 0.3s ease;
    clip-path: polygon(10% 0%, 90% 0%, 100% 50%, 90% 100%, 10% 100%, 0% 50%);
    z-index: 0;
    background: linear-gradient(120deg, #ffe1e1, #ff4e4e 60%, #5c0d0d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

blockquote {
    font-family: 'Lora', serif;
    font-size: 18px;
    font-style: italic;
    padding: 30px 40px;
    margin: 40px auto;
    width: 70%;
    max-width: 700px;
    color: #cbbca1;
    background: #2e2e2e;
    border-left: 5px solid #7c1c1c;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    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(191, 161, 111, 0.2);
    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: 26px 0;
    background: linear-gradient(135deg, #002d4f, #00517d, #0a0a2a);
    border-bottom: 2px solid #1b4d6d;
    text-align: center;
    z-index: 999;
    transition: background 0.4s ease;
    box-shadow: 0 2px 10px rgba(0, 42, 79, 0.4);
}


#navigation a {
    display: inline-block;
    font-family: 'Cinzel Decorative', serif;
    font-size: 15.5px;
    text-transform: uppercase;
    color: #a8d4ff;
    margin: 0 12px;
    padding: 18px 20px;
    border-radius: 50px;
    letter-spacing: 1.8px;
    transition: all 0.4s ease;
    text-shadow: 0 0 2px rgba(0, 120, 180, 0.4);
    position: relative;
}


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

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


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

#navigation a:hover {
    color: #e0f6ff;
    text-shadow: 0 0 6px rgba(100, 200, 255, 0.6);
}



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

.contentx {
    padding: 48px 40px 48px 40px;
    border-radius: 18px 18px 10px 10px;
    font-size: 19px;
    font-family: 'Lora', serif;
    color: #4a4033;
    text-align: justify;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
}

#header {
    background-image: url('images/july4th_head.jpg'), url('images/july4th_bg1.jpg');
    background-repeat: no-repeat, repeat-x;
    background-position: center;
    height: 545px;
    width: 100%;
    margin-top:80px;
}

.content a,
.content b,
.content i {
    font-family: 'Lora', serif;
    background: linear-gradient(135deg, #bfa16f, #7c1c1c);
    -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, #2b2b2b, #1f1f1f);
    color: #bfa16f;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #7c1c1c;
    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.3),
        0 10px 15px rgba(0, 0, 0, 0.3);
    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, #7c1c1c, transparent 60%);
    opacity: 0.25;
    pointer-events: none;
}

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

#footer a:hover {
    color: #e4d3a0;
    border-bottom: 1.5px solid #bfa16f;
}

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

.footer-credit {
    margin-top: 10px;
    font-size: 14px;
    color: #7c1c1c;
    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: #d9c8a0;
    background: #2f2f2f;
    border: 1px solid #5e5e5e;
    border-radius: 12px;
    box-shadow: inset 0 0 8px rgba(0, 0, 0, 0.4);
    transition: all 0.3s ease;
    caret-color: #bfa16f;
}

.contentx select {
    background: #2f2f2f;
    appearance: none;
    background-image:
        linear-gradient(45deg, transparent 50%, rgba(191,161,111,0.2) 50%),
        linear-gradient(135deg, rgba(191,161,111,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: #2e2e2e;
    color: #d9c8a0;
}

.dropdown-menu:hover {
    background: #3a3a3a;
}

/* BUTTONS */

.contentx button {
    background: linear-gradient(145deg, #3a2e1f, #5c4430);
    border: 1.5px solid rgba(191, 161, 111, 0.6);
    border-radius: 12px;
    padding: 8px 20px;
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    font-size: 16px;
    color: #d9c8a0;
    cursor: pointer;
    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.4);
    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, #7c1c1c, #5a1313);
    border-color: rgba(191, 161, 111, 0.8);
    color: #f0e6d2;
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.7);
    outline: none;
}

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