#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 542px;
    width: 100%;
    position: relative;
    z-index: 0;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Noto+Sans+Runic&family=Alumni+Sans+Pinstripe&display=swap');

body {
background-image: url('images/bg.jpg');
    background-repeat: repeat;
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #2A3D4F;
    overflow-x: hidden;
}

#navigation {
    width: 67%;
    margin-top: 1px;
    padding: 12px 64px;
    font-family: 'Cinzel Decorative', serif;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    position: relative;
}

#navigation a {
    padding: 12px 45px;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #ffffff;
    background: linear-gradient(to right, #A5CDEB, #DCEBF5);
    border: 1px solid #B5D3E3;
    border-radius: 12px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 12px rgba(185, 215, 235, 0.4);
    letter-spacing: 0.8px;
}

#navigation a:hover {
    background: linear-gradient(to right, #EDF7FB, #C5E4F3);
    color: #002D3F;
    box-shadow: 0 0 16px rgba(185, 215, 235, 0.4);
    transform: translateY(-2px);
}

#layout-container {
    display: flex;
    justify-content: center;
    width: 100%;
    box-sizing: border-box;
    padding: 0 20px;
    margin-top: 40px;
}

#content {
    width: 80%;
    max-width: 1000px;
    margin: 0 auto;
    padding-bottom: 10px;
    position: relative;
}

@media (max-width: 900px) {
    #layout-container {
        justify-content: center;
        padding-right: 0;
    }
    #content {
        width: 95%;
    }
}

.contentx {
    margin-bottom: 60px;
    padding: 35px;
    text-align: justify;
    font-size: 17px;
    line-height: 1.75;
    letter-spacing: 1.1px;
    border-radius: 12px;
    background: linear-gradient(to bottom right, rgba(255, 255, 255, 0.6), rgba(215, 235, 245, 0.3));
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(200, 225, 245, 0.3);
    position: relative;
}

blockquote {
    font-family: 'Georgia', serif;
    font-size: 22px;
    color: #2F4455;
    background: linear-gradient(145deg, #E8F4FA, #D3EAF6);
    padding: 40px 50px;
    margin: 60px auto;
    border: 1.5px solid #BAD8EA;
    border-radius: 16px;
    box-shadow: 0 4px 25px rgba(190, 225, 245, 0.3);
    max-width: 900px;
    position: relative;
    line-height: 1.8;
    letter-spacing: 0.8px;
    text-align: center;
    transition: box-shadow 0.3s ease;
}

blockquote:hover {
    box-shadow: 0 6px 35px rgba(185, 220, 240, 0.4);
}

textarea,
input,
select {
    width: 40%;
    max-width: 500px;
    padding: 16px 20px;
    margin: 16px 0;
    font-family: 'Tahoma', sans-serif;
    font-size: 18px;
    color: #0B1F2F;
    background: linear-gradient(145deg, #E8F4FA, #D3EAF6);
    border: 2px solid #A8CDE2;
    border-radius: 8px;
    box-shadow: inset 0 0 10px rgba(180, 220, 240, 0.15);
    transition: all 0.3s ease;
    caret-color: #3C6E99;
}

textarea:focus,
input:focus,
select:focus {
    outline: none;
    border-color: #7BAFCF;
    background-color: #F3FAFD;
    box-shadow: 0 0 14px rgba(180, 220, 240, 0.3), inset 0 0 6px rgba(200, 235, 250, 0.08);
}

h1 {
    display: block;
    margin: 30px auto;
    padding: 19px 38px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 26px;
    text-transform: uppercase;
    color: #1A3545;
    letter-spacing: 2px;
    background: linear-gradient(145deg, #CBE6F3, #F3F9FD);
    border: 2px solid #B5D9E8;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(200, 235, 250, 0.4);
    text-shadow: 1px 1px 4px rgba(255, 255, 255, 0.5);
    position: relative;
    opacity: 0.96;
    text-align: center;
}

#footer {
    position: relative;
    font-family: 'Tahoma', sans-serif;
    font-size: 16px;
    color: #3F4F5F;
    text-align: center;
    padding: 80px 25px 40px;
    margin-top: 100px;
    background: linear-gradient(to top, #E4F2FB, #D4E8F5);
    box-shadow: inset 0 10px 20px rgba(180, 220, 240, 0.2);
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
}

#footer a {
    color: #2F5C7E;
    text-decoration: none;
    border-bottom: 1px dashed #A8CDE2;
    transition: all 0.3s ease;
}

#footer a:hover {
    color: #003B6E;
    border-bottom: 1px solid #C9E2F3;
    text-shadow: 0 0 8px rgba(185, 215, 235, 0.5);
    transform: scale(1.05);
}

a {
    padding: 4px 8px;
    font-size: 13px;
    font-weight: bold;
    text-transform: uppercase;
    color: #003B6E;
    background: linear-gradient(to right, #E2F1FA, #B8D7E6);
    border: 1.5px solid #A8CDE2;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 10px rgba(185, 215, 235, 0.5);
    position: relative;
    z-index: 10;
}

a:hover {
    background: linear-gradient(to right, #F1FAFD, #D3ECFA);
    border-color: #7BAFCF;
    color: #002A4D;
    box-shadow: 0 4px 15px rgba(180, 220, 240, 0.6);
    transform: translateY(-3px);
}

i, em {
    color: #0B2233;
    font-style: italic;
    font-family: 'Georgia', serif;
    letter-spacing: 0.5px;
    background: linear-gradient(to right, #EDF8FC, #C9DAF5);
    padding: 4px 7px;
    border-radius: 4px;
    box-shadow: inset 0 0 4px rgba(0, 0, 50, 0.2);
    transition: all 0.3s ease;
}

i:hover, em:hover {
    background: linear-gradient(to right, #F1FAFD, #B4D2EA);
    color: #00263F;
}

b, strong {
    color: #00263F;
    font-weight: 800;
    font-family: 'Cinzel', serif;
    background-color: #D4E8F5;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 6px rgba(140, 180, 220, 0.4), inset 0 0 6px rgba(0, 0, 50, 0.2);
    transition: all 0.3s ease;
}

b:hover, strong:hover {
    background-color: #EDF7FB;
    color: #003B6E;
}