@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Alumni+Sans+Pinstripe&display=swap');

body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    color: #222;
    background: linear-gradient(135deg, #f2dede, #e3e8ff);
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 180px;
    z-index: 0;
    pointer-events: none;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 180'%3E%3Cpath fill='%23ff4c4c' d='M0,60 C360,140 1080,-20 1440,60 L1440,0 L0,0 Z'/%3E%3C/svg%3E") no-repeat top left;
    background-size: cover;
}

#header {
    width: 1300px;
    height: 403px;
    background-image: url('images/lay/head.jpg');
    background-size: cover;
    background-position: center;
    border-radius: 30px 30px 0 0;
    position: relative;
    overflow: hidden;
    z-index: 1;
    margin-top: 120px;
}

#header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
    background: linear-gradient(90deg, #f5e6c8, #6b3e1f, #1a9cff, #ff4c4c, #f5e6c8);
    border-radius: 30px 30px 0 0;
}

#navigation {
    width: 1300px;
    height: 120px;
    margin-top: 0;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    font-family: 'Lora', serif;
    position: relative;
}

#navigation a {
    font-weight: 700;
    font-size: 20px;
    color: #ff4c4c;
    text-decoration: none;
    padding: 12px 25px;
    position: relative;
    display: inline-flex;
    align-items: center; 
    justify-content: center;
    gap: 6px;
    transition: all 0.3s ease-in-out;
}

#navigation a::before,
#navigation a::after {
    content: "✦";
    color: #1a9cff;
    font-size: 18px;
    line-height: 1;
    transition: transform 0.3s ease, color 0.3s ease;
}

#navigation a:hover::before,
#navigation a:hover::after {
    transform: scale(1.3);
    color: #ffffff;
}

#navigation a:hover {
    color: #1a9cff;
}

#navigation a::after-underline {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -6px;
    transform: translateX(-50%);
    width: 60%;
    height: 2px;
    background: linear-gradient(90deg, #ff4c4c, #1a9cff);
    border-radius: 1px;
    opacity: 0.8;
    transition: all 0.3s ease;
}

#navigation a:hover::after-underline {
    width: 80%;
    opacity: 1;
}

#content {
    width: 1180px;
    margin-top: 0;
    padding: 50px 60px;
    background: linear-gradient(135deg, #fffefb, #fffdf7, #fff6e5, #fff3d9);
    border-radius: 0 0 30px 30px;
    box-shadow: 0 6px 25px rgba(0,0,0,0.15); 
    position: relative;
    color: #3a2c1b;
}

#content::before,
#content::after {
    content: "✦\A✦\A✦\A✦\A✦\A✦\A✦\A✦";
    font-family: 'Cinzel Decorative', serif;
    color: rgba(255,76,76,0.4);
    font-size: 20px;
    position: absolute;
    top: 20px;
    bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    line-height: 2em;
    white-space: pre-line;
}

#content::before { left: 15px; }
#content::after { right: 15px; }

.contentx {
    font-size: 18px;
    line-height: 2;
    text-align: justify;
    padding: 0 40px;
    position: relative;
}

h1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 42px;
    font-weight: 400;
    color: #1a9cff;
    text-align: center;
    margin-bottom: 25px;
    letter-spacing: 2px;
    line-height: 1.2;
    background: linear-gradient(135deg, #1a9cff, #ff4c4c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.15);
    position: relative;
}

h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -10px;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    border-radius: 2px;
    background: linear-gradient(90deg, #ff4c4c, #1a9cff);
    opacity: 0.8;
    transition: all 0.4s ease;
}

h1:hover {
    color: #ff4c4c;
    transform: scale(1.05) rotate(-1deg);
    text-shadow: 4px 4px 12px rgba(0,0,0,0.25);
}

h1:hover::after {
    width: 100px;
    opacity: 1;
}

a {
    font-family: 'Lora', serif;
    font-weight: 600;
    font-size: 18px;
    line-height: 2;
    color: #1a9cff;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -3px;
    left: 0;
    background: linear-gradient(90deg, #ff4c4c, #1a9cff);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.3s ease;
}

a:hover::after {
    transform: scaleX(1);
    transform-origin: left;
}

a:hover {
    color: #ff4c4c;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

b, strong {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;
    color: #28a745;
    padding: 2px 6px;
    border-radius: 5px;
    font-size: 18px;
    line-height: 2;
    background: linear-gradient(135deg, #28a745, #1a9cff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.4s ease;
}

b:hover, strong:hover {
    color: #1a9cff;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transform: scale(1.05);
}

i, em {
    font-family: 'Cinzel Decorative', serif;
    font-style: italic;
    color: #ff4c4c;
    padding: 2px 6px;
    font-size: 18px;
    line-height: 2;
    border-radius: 5px;
    transition: all 0.4s ease;
    background: linear-gradient(135deg, #ff4c4c, #28a745);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

i:hover, em:hover {
    color: #28a745;
    text-shadow: 2px 2px 5px rgba(0,0,0,0.2);
    transform: rotate(-2deg) scale(1.05);
}

#footer {
    width: 1300px;
    padding: 60px 40px;
    text-align: center;
    font-family: 'Lora', serif;
    font-size: 16px;
    color: #3a2c1b;
    position: relative;
}

#footer span {
    display: inline-block;
    background-color: #ffffff;
    padding: 5px 15px;
    margin: 5px 0;
    border-radius: 8px;
    font-weight: 500;
    letter-spacing: 1px;
}

#footer::before {
    content: "✦❖✦❖✦❖✦";
    font-family: 'Cinzel Decorative', serif;
    font-size: 24px;
    color: rgba(255,76,76,0.5);
    display: block;
    margin-bottom: 20px;
}

#footer::after {
    content: "❖✦❖✦❖✦❖";
    font-family: 'Cinzel Decorative', serif;
    font-size: 20px;
    color: rgba(26,156,255,0.4);
    display: block;
    margin-top: 20px;
    letter-spacing: 8px;
}

input, textarea, select {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    color: #222;
    padding: 22px 25px;
    margin: 10px 0;
    border: 2px solid #1a9cff;
    border-radius: 8px;
    background: linear-gradient(145deg, #fff6e5, #f2f2f2);
    box-shadow: 2px 2px 10px rgba(0,0,0,0.1);
    outline: none;
    transition: all 0.3s ease;
    width: 40%;
    max-width: 600px;
}

input:focus, textarea:focus, select:focus {
    border-color: #ff4c4c;
    box-shadow: 0 0 12px rgba(255,76,76,0.5);
    transform: scale(1.02);
}

textarea {
    resize: vertical;
    min-height: 120px;
}

select {
    appearance: none;
    background: linear-gradient(145deg, #fff6e5, #f2f2f2) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6'%3E%3Cpolygon fill='%231a9cff' points='0,0 10,0 5,6'/%3E%3C/svg%3E") no-repeat right 12px center;
    background-size: 12px 8px;
    padding-right: 35px;
    cursor: pointer;
}

input:hover, textarea:hover, select:hover {
    border-color: #28a745;
    box-shadow: 0 0 12px rgba(40,167,69,0.3);
}


blockquote {
    font-family: 'Lora', serif;
    font-size: 22px;
    font-weight: 400;
    line-height: 2.2;
    color: #1a9cff;
    position: relative;
    margin: 40px 0;
    padding: 40px 60px;
    background: rgba(255, 255, 255, 0.7);
    border-left: 6px solid #ff4c4c;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    backdrop-filter: blur(8px);
    transition: all 0.4s ease;
}

blockquote::before {
    content: "❝";
    font-family: 'Cinzel Decorative', serif;
    font-size: 60px;
    color: rgba(255,76,76,0.3);
    position: absolute;
    top: 10px;
    left: 20px;
}

blockquote::after {
    content: "❞";
    font-family: 'Cinzel Decorative', serif;
    font-size: 60px;
    color: rgba(26,156,255,0.3);
    position: absolute;
    bottom: 10px;
    right: 20px;
}

blockquote:hover {
    transform: scale(1.02);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
}