html, body {
    height: 100%;
    margin: 0;
     background-image: url('images/bg.jpg');
    background-repeat: repeat;
    font-family: 'Libre Baskerville', serif;
    color: #5E5E58;
}

#linklist ul {
    display: flex;
    flex-wrap: wrap;
    padding: 0;
    margin: 0;
    list-style: none;
    gap: 20px;
}

#linklist ul li {
    flex: 1 1 calc(50% - 20px);
    margin: 0;
    padding: 25px 90px;
    background: linear-gradient(135deg, #E3DAC9, #D8E7D0);
    border-radius: 30px;
    text-align: center;
    font-style: italic;
    font-family: 'Lora', serif;
    color: #2b1c0f;
    box-shadow: 0 6px 18px rgba(60, 30, 10, 0.15), 0 0 8px rgba(162, 193, 142, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
    overflow: hidden;
}

#linklist ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(60, 30, 10, 0.25), 0 0 20px rgba(162, 193, 142, 0.2);
    background: linear-gradient(135deg, #A2C18E, #E3DAC9);
}

#linklist ul li::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(162,193,142,0.15) 0%, transparent 70%);
    transform: rotate(45deg);
    pointer-events: none;
    transition: all 0.3s ease;
}

#linklist ul li:hover::before {
    opacity: 0.8;
}


.main-container { 
    margin-top:-70px;
    opacity:0.56;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: flex-start;
    gap: 40px;
    padding: 40px;
}


#navigation {
    width: 300px;
    padding: 40px 20px;
    background: linear-gradient(to bottom, #fdf7e7, #f0e3c0);
    border: 3px solid #c3a37a;
    border-radius: 16px;
    box-shadow: inset 0 0 12px #e2cfa1, 0 6px 25px rgba(0,0,0,0.12);
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    flex-direction: column;
    gap: 30px;
    text-align: center;
    position: sticky;
    top: 40px;
}


#navigation a {
    display: block;
    padding: 20px 26px;
    font-size: 18px;
    font-weight: bold;
    text-transform: uppercase;
    color: #3e2e1d;
    text-decoration: none;
    background: linear-gradient(to right, #fff5dc, #ecd6b0);
    border-radius: 16px 24px 16px 24px;
    border: 2px solid #b99872;
    overflow: visible;
    position: relative;
    transition: all 0.4s ease;
}

#navigation a span.letter {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
#navigation a:hover span.letter {
    transform: translateY(-6px) rotate(-5deg);
    color: #7a5e43;
}


#navigation a span.desc {
    display: block;
    font-size: 14px;
    color: #5a3f2c;
    margin-top: 4px;
    font-weight: normal;
    letter-spacing: 0.5px;
}


#navigation a span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
#navigation a:hover span {
    transform: translateY(-6px) rotate(-5deg);
    color: #7a5e43;
}

#navigation a {
    letter-spacing: 1.5px;
}
#navigation a span {
    display: inline-block;
    transition: transform 0.3s ease, color 0.3s ease;
}
#navigation a:hover span {
    transform: translateY(-6px) rotate(-5deg);
    color: #7a5e43;
}

#navigation a span {
    display: inline-block;
    transition: transform 0.35s ease, opacity 0.35s ease;
    opacity: 1;
}

#navigation a:hover span {
    opacity: 0.9;
}

#navigation a:hover span:nth-child(1) {
    transform: translate(-3px, -6px) rotate(-6deg);
    transition-delay: 0.02s;
}
#navigation a:hover span:nth-child(2) {
    transform: translate(2px, -4px) rotate(4deg);
    transition-delay: 0.05s;
}
#navigation a:hover span:nth-child(3) {
    transform: translate(-1px, -7px) rotate(3deg);
    transition-delay: 0.08s;
}
#navigation a:hover span:nth-child(4) {
    transform: translate(3px, -5px) rotate(-3deg);
    transition-delay: 0.11s;
}
#navigation a:hover span:nth-child(5) {
    transform: translate(-4px, -3px) rotate(5deg);
    transition-delay: 0.14s;
}
#navigation a:hover span:nth-child(6) {
    transform: translate(2px, -6px) rotate(-5deg);
    transition-delay: 0.17s;
}
#navigation a:hover span:nth-child(7) {
    transform: translate(-2px, -4px) rotate(2deg);
    transition-delay: 0.20s;
}
#navigation a:hover span:nth-child(8) {
    transform: translate(4px, -5px) rotate(-4deg);
    transition-delay: 0.23s;
}
#navigation a:hover span:nth-child(9) {
    transform: translate(-3px, -6px) rotate(6deg);
    transition-delay: 0.26s;
}
#navigation a:hover span:nth-child(10) {
    transform: translate(2px, -3px) rotate(3deg);
    transition-delay: 0.29s;
}

#content {
    flex: 1;
    max-width: 800px;
}

.contentx {
    background: rgba(255, 250, 240, 0.65);
    padding: 40px;
    font-size: 18px;
    line-height: 1.9;
    color: #4e3e2c;
    letter-spacing: 1.2px;

    border: 4px solid #d1b892;
    border-radius: 40px 10px 40px 10px;
    clip-path: polygon(
        5% 0%, 
        95% 0%, 
        100% 8%, 
        100% 92%, 
        95% 100%, 
        5% 100%, 
        0% 92%, 
        0% 8%
    );

    box-shadow:
        0 0 30px rgba(210, 195, 170, 0.3),
        inset 0 0 18px rgba(255, 255, 255, 0.5),
        inset 0 0 6px rgba(150, 130, 100, 0.25);

    backdrop-filter: blur(4px);
}


#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 608px;
    width: 100%;
    margin-top: 0;
    position: relative;
    z-index: 0;
}

h1 {
    position: relative;
    display: inline-block;
    padding: 26px 50px;
    font-size: 24px;
    font-family: 'Cinzel Decorative', serif;
    text-transform: uppercase;
    letter-spacing: 6px;
    color: #2d2114;
    background: linear-gradient(to bottom, #f7f1dc, #e5d6b3);
    border: 4px solid #8c714a;
    border-radius: 20px 20px 4px 4px;
    text-shadow: 2px 2px 0 #f0e7cd,
                 3px 3px 12px rgba(0, 0, 0, 0.25);
    box-shadow: 0 10px 30px rgba(80, 60, 40, 0.4);
    transform: skew(-1deg);
}

h1::before, h1::after {
    content: "❝";
    font-size: 22px;
    margin: 0 16px;
    color: #b79664;
    text-shadow: 2px 2px 0 #f6ecd2;
}


blockquote {
    position: relative;
    border-left: 10px solid #d7b98b;
    border-right: 10px solid #d7b98b;
    border-top: 4px dashed #ccb083;
    border-bottom: 4px dashed #ccb083;
    padding: 40px 60px;
    background: linear-gradient(to right, #fdf5e7, #efddbb);
    border-radius: 20px;
    box-shadow: 0 0 15px rgba(220, 200, 165, 0.35);
    font-family: 'Georgia', serif;
    color: #5a4934;
    margin: 40px auto;
    max-width: 860px;
    opacity: 0.8;    font-size: 20px;
}

blockquote::before {
    content: "❝";
    font-size: 48px;
    color: #d3b78e;
    position: absolute;
    top: 10px;
    left: 20px;
    opacity: 0.3;
}

blockquote::after {
    content: "❞";
    font-size: 48px;
    color: #d3b78e;
    position: absolute;
    bottom: 10px;
    right: 20px;
    opacity: 0.3;
}


textarea, input, select {
    width: 30%;
    max-width: 600px;
    padding: 16px;
    margin: 12px 0;
    font-size: 16px;
    background: linear-gradient(to bottom, #fff7e9, #f2e4c3);
    border: 2px solid #d2bb94;
    border-radius: 8px;
    box-shadow: inset 0 0 6px rgba(0,0,0,0.05);
    caret-color: #a18460;
    transition: all 0.3s ease;
}

textarea:focus, input:focus, select:focus {
    outline: none;
    background-color: #fff6df;
    border-color: #c9ab7f;
    box-shadow: 0 0 12px rgba(210, 180, 140, 0.5);
}

#footer {
    background: linear-gradient(135deg, #fbf4e4 0%, #eedecc 60%, #e2ceb0 100%);
    color: #5e4c3a;
    text-align: center;
    padding: 70px 30px;
    margin-top: 80px;
    border-top: 4px double #c9b088;
    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%);
    box-shadow:
        inset 0 10px 20px rgba(120, 100, 80, 0.1),
        0 10px 15px rgba(170, 140, 90, 0.15);
    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, #c9b088, transparent 60%);
    opacity: 0.35;
    pointer-events: none;
}

#footer a {
    color: #8e704f;
    text-decoration: none;
    border-bottom: 1.5px dashed #d2bda3;
    padding-bottom: 2px;
    transition: color 0.3s ease, border-color 0.3s ease, text-shadow 0.3s ease;
    font-weight: 600;
}

#footer a:hover {
    color: #5c3f2c;
    border-bottom: 1.5px solid #c9b088;
    text-shadow: 0 0 10px rgba(240, 230, 210, 0.7);
}

b, strong {
    background-color: #ecd5ad;
    color: #2e2113;
    padding: 2px 6px;
    border-radius: 4px;
    font-weight: bold;
    font-family: 'Cinzel', serif;
    letter-spacing: 1px;
    text-transform: uppercase;
}

i, em {
    color: #7a5e43;
    font-style: italic;
    background: linear-gradient(to right, #f7ebd1, #ead6b3);
    padding: 2px 6px;
    border-radius: 4px;
}

a {
    color: #7a5e43;
    text-decoration: none;
    font-weight: 600;
    border-bottom: 2px solid #d1b892;
    transition: color 0.3s ease, border-color 0.3s ease;
}

a:hover, a:focus {
    color: #4b3b2a;
    border-bottom-color: #a98a65;
    text-shadow: 0 0 6px rgba(150, 125, 95, 0.6);
    outline: none;
}

.contentx a {
    position: relative;
    color: #4a2e14;
    text-decoration: none;
    font-weight: 600;
}


.contentx a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, #d8b98a, #b48758, #e3c49c);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.35s ease;
}


.contentx a:hover::after {
    transform: scaleX(1);
}

.contentx a:hover {
    color: #2c1a0b;
    text-shadow: 0 0 6px rgba(220,180,140,0.4);
}



.contentx b,
.contentx strong {
    padding: 3px 6px;
    background: linear-gradient(to bottom right, #f4e6c7, #c7a983);
    color: #2d1d0f;
    border-radius: 4px;
    font-weight: 800;
    letter-spacing: 1px;
    box-shadow:
        inset 0 0 5px rgba(90,70,40,0.35),
        inset 0 0 12px rgba(255,255,255,0.35),
        0 2px 6px rgba(60,40,20,0.25);
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}


.contentx b:hover,
.contentx strong:hover {
    transform: translateY(-2px);
    box-shadow:
        inset 0 0 9px rgba(255,255,255,0.45),
        0 4px 10px rgba(50,30,10,0.3);
}


.contentx i,
.contentx em {
    color: #6d4a2f;
    background: linear-gradient(to right, #fff6e8, #ead9be);
    padding: 2px 6px;
    border-radius: 6px;
    font-style: italic;
    opacity: 0.95;
    text-shadow: 0 0 5px rgba(255,240,200,0.7);
    transition: background 0.3s ease, color 0.3s ease;
}


.contentx i:hover,
.contentx em:hover {
    background: linear-gradient(to right, #ffe8c0, #f0d1a3);
    color: #4d321f;
}

