#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 807px;
    width: 100%;
    position: relative;
    z-index: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Special+Elite&display=swap');

body {
    background-image: url('images/bg.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #E0E8F0;
    overflow-x: hidden;
}

.footer-spacer {
    height: 60px;
}

#navigation {
    width: 100%;
    margin: 20px auto 60px; 
    display: flex;
    justify-content: center;
    gap: 32px;
    padding: 18px 0;
    background: linear-gradient(
        to bottom,
        rgba(230, 230, 240, 0.6),
        rgba(200, 200, 220, 0.35)
    );
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(30, 30, 60, 0.1);
}

#navigation a {
    font-family: 'Great Vibes', cursive;
    font-size: 28px;
    padding: 10px 26px;
    letter-spacing: 1.2px;
    color: #2f2b26;
    background: rgba(255, 255, 255, 0.5);
    text-decoration: none;
    border-radius: 18px;
    transition: 0.25s ease;
}

#navigation a:hover {
    background: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px) scale(1.03);
    color: #526d91;
}

#layout-container {
    opacity: 0.78;
    width: 100%;
    display: flex;
    justify-content: center;
}

#content {
    width: 80%;
    max-width: 1100px;
    padding: 40px 60px;
    margin-top: -90px;
    border-radius: 90px 60px 100px 55px;
    background: linear-gradient(135deg, #f9f4ec 0%, #e1d4c3 100%);
    box-shadow: 0 10px 30px rgba(60, 40, 20, 0.2);
}

.contentx {
    margin-bottom: 80px;
    color: #2f2a27;
    padding: 40px 45px;
    border-radius: 70px 45px 60px 30px;
    font-size: 22px;
    line-height: 1.9;
    text-align: justify;
    background: rgba(200, 215, 235, 0.25);
    box-shadow: 0 6px 18px rgba(60, 40, 20, 0.15);
}

blockquote {
    margin: 100px auto;
    padding: 50px 60px;
    background: radial-gradient(circle at 60% 50%, rgba(190, 215, 235, 0.40), rgba(200, 180, 150, 0.35));
    border-radius: 140px;
    font-size: 26px;
    color: #2f2a27;
    font-family: 'Libre Baskerville', serif;
    text-align: center;
    max-width: 650px;
    opacity:0.85;
    box-shadow: 0 6px 20px rgba(60, 40, 20, 0.25);
}

h1 {
    font-family: 'Uncial Antiqua', cursive;
    font-size: 46px;
    font-weight: 400;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-align: center;

    color: #243447; 
    background: linear-gradient(
        to bottom,
        rgba(255, 255, 255, 0.85),
        rgba(245, 245, 250, 0.6)
    );

    padding: 18px 50px;
    border-radius: 14px;

    margin: 40px auto;
    display: inline-block;

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.15),
        inset 0 -3px 10px rgba(100, 120, 150, 0.15);

    position: relative;
    opacity: 0.96;
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -14px;
    transform: translateX(-50%);
    width: 80px;
    height: 8px;
    border-radius: 6px;

    background: linear-gradient(90deg, #8da6bf, #c9b292);
    box-shadow: 0 3px 10px rgba(40, 50, 70, 0.2);
    opacity: 0.9;
}


h1 span {
    display: inline-block;
    transition: transform 0.35s ease;
}

h1:hover span {
    transform: translateY(-4px) rotate(2deg);
}

textarea,
input,
select {
    width: 40%;
    max-width: 650px;
    padding: 18px 22px;
    margin: 30px 0;
    background: rgba(190, 215, 235, 0.40);
    border-radius: 30px;
    border: none;
    font-family: 'Libre Baskerville', serif;
    font-size: 22px;
    color: #2b2a28;
    transition: 0.3s ease;
    box-shadow: 0 3px 12px rgba(60, 40, 20, 0.15);
}

textarea:focus,
input:focus,
select:focus {
    background: rgba(190, 215, 235, 0.60);
    outline: none;
    transform: scale(1.02);
}

a {
    font-family: 'Libre Baskerville', serif;
    font-size: 25px;
    color: #4d6177;
    text-decoration: none;
    padding: 3px 5px;
    position: relative;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -3px;
    width: 100%;
    height: 4px;
    background: linear-gradient(to right, rgba(160, 185, 205, 0.55), rgba(180, 160, 130, 0.55));
    border-radius: 4px;
    opacity: 0.75;
    transition: opacity 0.25s ease, transform 0.25s ease;
    transform: scaleX(0.85);
    transform-origin: left;
}

a:hover::after {
    opacity: 1;
    transform: scaleX(1);
}

a:hover {
    color: #36475a;
}

i, em {
    font-style: italic;
    font-family: 'Libre Baskerville', serif;
    color: #4a5577;
    padding: 1px 4px;
    border-radius: 10px;
    background: linear-gradient(to bottom, rgba(185, 210, 230, 0.35), rgba(210, 190, 160, 0.25));
}

b, strong {
    font-family: 'Great Vibes', cursive;
    font-weight: 600;
    font-size: 28px;
    color: #3b2c1d;
    padding: 4px 10px;
    border-radius: 14px;
    background: linear-gradient(to right, rgba(185, 210, 230, 0.40), rgba(210, 190, 160, 0.40));
    letter-spacing: 0.8px;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8), 0 0 4px rgba(255, 255, 255, 0.25);
}
