h@import url('https://fonts.googleapis.com/css2?family=Lora&display=swap');

html, body {
    height: auto;
    margin: 0;
    padding: 0;
    font-family: 'Lora', serif;
    background-color: #F1CFB9;
    display: flex;
    justify-content: center;  height: 100%;
    margin: 0;
    display: flex;
    flex-direction: column;
}

body {  background-color: #F1CFB9;
}

#main-container {
    width: 63%; flex: 1;
    display: flex;
    flex-direction: column;
    max-width: 1000px;
    margin: 0 auto;
    padding: -120px 50px;
    position: relative;
    backdrop-filter: blur(6px);opacity:0.7;
}

body::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle, rgba(210, 190, 170, 0.15) 1px, transparent 1px);
    background-size: 40px 40px;
    animation: mistDrift 80s linear infinite;
    z-index: 1;
    opacity: 0.35;
}

#navigation {
    width: 82%;
    margin: 40px auto 0;
    padding: 22px 20px;
    background: linear-gradient(135deg, rgba(180, 150, 110, 0.7), rgba(210, 190, 150, 0.6));
    border-radius: 8px;
    box-shadow:
        0 4px 14px rgba(60, 40, 20, 0.4),
        inset 0 0 20px rgba(255, 240, 210, 0.2);
    border: 2px solid rgba(120, 90, 50, 0.5);
    font-family: 'Cinzel Decorative', serif;
    text-align: center;
    display: flex;
    justify-content: center;
    gap: 20px;
    color: #7a6e57;
    position: relative;
    z-index: 2;
    background-blend-mode: multiply;
    transition: box-shadow 0.3s ease;
}

#navigation:hover {
    box-shadow: 0 4px 18px rgba(60, 40, 20, 0.5), inset 0 0 24px rgba(255, 240, 210, 0.3);
}

#navigation a {
    padding: 14px 24px;
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    color: #7a6e57;
    background: transparent;
    border: none;
    text-decoration: none !important;
    position: relative;
    transition: color 0.3s ease;
}

#navigation a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #d6c9a7, #b9a68c, #d6c9a7);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
    border-radius: 2px;
}

#navigation a:hover {
    color: #a99870;
}

#navigation a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

#navigation a::before {
    content: "✦";
    font-size: 16px;
    margin-right: 6px;
    color: #b9a991;
}

#content {
    margin: 23px auto;
    position: relative;
    width: 100%;
}

.contentx {
    position: relative;
    margin: -100px auto 50px auto;
    padding: 45px 40px;
    max-width: 900px;
    font-size: 16px;
    font-family: 'Lora', serif;
    font-weight: 400;
    text-align: justify;
    color: #4a3524;
    line-height: 1.85;
    letter-spacing: 0.5px;
    background: linear-gradient(
        145deg,
        rgba(246, 232, 200, 0.92),
        rgba(240, 220, 180, 0.88)
    );
    backdrop-filter: blur(2px);
    border-radius: 14px;
    border: none;
    box-shadow:
        0 6px 20px rgba(90, 60, 30, 0.12),
        inset 0 0 20px rgba(255, 240, 210, 0.15);
    background-image:
        radial-gradient(circle at 12% 18%, rgba(255, 245, 225, 0.08) 1px, transparent 1px),
        radial-gradient(circle at 88% 82%, rgba(255, 245, 225, 0.08) 1px, transparent 1px);
    background-size: 48px 48px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contentx::before,
.contentx::after {
    content: "𓂀 𐎀 ᚠ ᛃ 𐤀";
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Segoe UI Symbol', 'Noto Sans Symbols', sans-serif;
    font-size: 13px;
    letter-spacing: 8px;
    color: rgba(130, 80, 40, 0.12);
    pointer-events: none;
}

.contentx::before { top: 12px; }
.contentx::after { bottom: 12px; }
.contentx:hover {
    transform: translateY(-1px);
    box-shadow:
        0 8px 24px rgba(90, 60, 30, 0.15),
        inset 0 0 22px rgba(255, 235, 200, 0.18);
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #574b3a;
    background: rgba(200, 185, 150, 0.5);
    padding: 55px 65px;
    margin: 50px auto;
    max-width: 860px;
    position: relative;
    line-height: 1.85;
    letter-spacing: 0.6px;
    border-radius: 0;
    clip-path: polygon(2% 8%, 98% 0%, 100% 92%, 0% 100%);
    box-shadow:
        0 0 40px rgba(90, 70, 50, 0.4),
        inset 0 0 20px rgba(150, 130, 100, 0.3);
    backdrop-filter: blur(7px);
    border: 1.5px solid rgba(180, 160, 120, 0.5);
    color: #473f30;
}

blockquote::before,
blockquote::after {
    font-size: 72px;
    color: #a18f6c;
    position: absolute;
    opacity: 0.35;
    filter: drop-shadow(0 0 3px rgba(150, 130, 90, 0.5));
}

blockquote::before {
    content: "❝";
    top: 18px;
    left: 36px;
}

blockquote::after {
    content: "❞";
    bottom: 18px;
    right: 36px;
}

a:link,
a:visited {
    color: #8a7663;
    font-size: 18px;
    text-decoration: none;
    font-family: 'Lora', serif;
    font-weight: 600;
    border-bottom: 2px solid transparent;
    position: relative;
    letter-spacing: 0.8px;
    transition: color 0.3s ease;
    text-shadow: 0 0 4px rgba(138, 118, 99, 0.2);
}

a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #c7b89f, #a8916a, #c7b89f);
    box-shadow: 0 0 8px rgba(199, 184, 173, 0.7);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

a:hover,
a:focus {
    color: #5c4a3b;
    text-shadow: 0 0 8px rgba(92, 74, 59, 0.7);
}

a:hover::after,
a:focus::after {
    transform: scaleX(1);
    transform-origin: left;
}

i, em {
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #8a7663;
    font-style: italic;
    position: relative;
    letter-spacing: 0.8px;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 4px rgba(138, 118, 99, 0.2);
}

i::after,
em::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -3px;
    height: 2.5px;
    width: 100%;
    background: linear-gradient(90deg, #c7b89f, #a8916a, #c7b89f);
    box-shadow: 0 0 7px rgba(199, 184, 173, 0.6);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

i:hover::after,
em:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    color: #5c4a3b;
    text-shadow: 0 0 8px rgba(92, 74, 59, 0.7);
}

b, strong {
    font-size: 18px;
    font-family: 'Lora', serif;
    color: #7b674f;
    font-weight: 700;
    position: relative;
    letter-spacing: 1px;
    background-color: transparent;
    text-decoration: none;
    transition: color 0.3s ease;
    text-shadow: 0 0 5px rgba(123, 103, 79, 0.3);
}

b::after,
strong::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 3px;
    width: 100%;
    background: linear-gradient(90deg, #a8916a, #c7b89f, #a8916a);
    box-shadow: 0 0 8px rgba(199, 184, 173, 0.7);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

b:hover::after,
strong:hover::after {
    transform: scaleX(1);
    transform-origin: left;
    color: #5c4a3b;
    text-shadow: 0 0 9px rgba(92, 74, 59, 0.7);
}


h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 700;
    text-align: center;
    color: #5c4a3b;
    margin: 50px auto 30px auto;
    letter-spacing: 2px;
    text-shadow: 0 0 6px rgba(92, 74, 59, 0.4),
                 0 0 12px rgba(200, 180, 150, 0.3);
    position: relative;
}

h1::after {
    content: "";
    display: block;
    width: 80px;
    height: 4px;
    margin: 12px auto 0;
    background: linear-gradient(90deg, #c7b89f, #a8916a, #c7b89f);
    box-shadow: 0 0 8px rgba(199, 184, 173, 0.7);
    border-radius: 2px;
}

input,
select,
textarea {
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #4a3524;
    background: linear-gradient(
        145deg,
        rgba(246, 232, 200, 0.9),
        rgba(240, 220, 180, 0.85)
    );
    border: 1.5px solid rgba(150, 120, 80, 0.4);
    border-radius: 10px;
    padding: 12px 16px;
    margin: 12px 0;
    width: 50%;
    max-width: 60%;
    box-shadow:
        inset 0 0 12px rgba(255, 240, 210, 0.15),
        0 4px 12px rgba(90, 60, 30, 0.1);
    backdrop-filter: blur(1px);
    transition: all 0.3s ease;
}

input:focus,
select:focus,
textarea:focus {
    outline: none;
    border-color: rgba(160, 130, 90, 0.8);
    box-shadow:
        0 0 12px rgba(199, 184, 173, 0.6),
        inset 0 0 16px rgba(255, 235, 200, 0.25);
    background: linear-gradient(
        145deg,
        rgba(248, 236, 210, 0.95),
        rgba(245, 225, 190, 0.9)
    );
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml;utf8,<svg fill='%236a5842' height='22' viewBox='0 0 24 24' width='22' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px;
    padding-right: 40px;
    cursor: pointer;
}

textarea {
    resize: vertical;
    min-height: 120px;
    line-height: 1.6;
}

#header {
        background-image: url('images/head.jpg');
        background-repeat: no-repeat;
        background-position: center; 
        height:708px;
        width:100%;
        margin-top:-4px;
}

@media (max-width: 1024px) {
    #main-container {
        width: 85%;
        padding: 30px;
    }

    #navigation {
        width: 90%;
    }

    header {
        height: 220px;
    }
}

@media (max-width: 768px) {
    #main-container {
        width: 95%;
        padding: 20px;
    }

    #navigation {
        flex-direction: column;
        gap: 10px;
        padding: 15px;
    }

    #navigation a {
        padding: 10px;
        font-size: 13px;
    }

    header {
        height: 180px;
    }

    .contentx {
        padding: 20px;
        font-size: 15px;
        line-height: 1.6;
    }
}


@media (max-width: 480px) {
    header {
        height: 150px;
    }

    #navigation a {
        font-size: 12px;
    }

    .contentx h1 {
        font-size: 20px;
    }
}