@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Alumni+Sans+Pinstripe&display=swap');

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: 'Libre Baskerville', serif;
    background-image: url(images/bg.jpg);
    background-repeat: repeat;
    color: #e6d4c2;
}

#layout {
    display: flex;
    min-height: 100vh;
    width: 100%;
}

#left-panel {
    width: 977px;
    display: flex;
    flex-direction: column;
    z-index: 2;
}

#header {
    height: 1048px;
    width: 977px;
    margin: 0 auto;
    padding-left: 80px;
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: left top;
}


#navigation {
    flex: 0 0 0;
    width: 52%;
    margin: -190px 240px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 40px;
    opacity: 0.85;
    padding: 70px 40px;
    font-family: 'Cinzel Decorative', serif;
    position: relative;
    z-index: 1;
}

#navigation a {
    font-size: 12px;
    letter-spacing: 5px;
    text-transform: uppercase;
    color: rgba(245,220,190,0.9);
    text-decoration: none;
    text-align: center;
    padding: 16px 32px;
    border-radius: 60px;

        background: linear-gradient(135deg, rgba(255,200,150,0.18), rgba(245,220,190,0.08));
    -webkit-background-clip: initial;
    -webkit-text-fill-color: initial;
    color: rgba(245,220,190,0.9);

    box-shadow:
        inset 0 0 0 1px rgba(255,200,150,0.2),
        0 4px 14px rgba(0,0,0,0.5);

    display: inline-block;

    transition:
        color 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        letter-spacing 0.45s cubic-bezier(0.22, 1, 0.36, 1),
        background 0.6s ease,
        box-shadow 0.6s ease,
        transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

#navigation a::after {
    display: none;
}

#navigation a:hover {
    color: rgba(255,245,230,1);
    letter-spacing: 6px;

    background:
        linear-gradient(135deg, rgba(255,200,150,0.35), rgba(245,220,190,0.2));

    box-shadow:
        inset 0 0 0 1px rgba(255,220,180,0.5),
        0 6px 18px rgba(120,40,40,0.35);

    transform: translateY(-2px);
}


.music-player {
    margin-top: 20px;
    padding: 10px;
    background:
        linear-gradient(145deg, rgba(255,140,94,0.12), rgba(0,0,0,0.35));
    border-radius: 10px;
    box-shadow:
        inset 0 0 0 1px rgba(255,140,94,0.3),
        0 4px 12px rgba(0,0,0,0.6);
}

.music-player audio {
    width: 100%;
    height: 32px;
    filter: sepia(30%) saturate(140%) brightness(90%);
}

#content {
    flex: 1;
    padding: 90px 90px 120px;
}

.contentx {
    max-width: 1100px;
    font-size: 19px;
    line-height: 1.75;
    letter-spacing: 1px;
    text-align: justify;
    opacity:0.7;
}

.contentx h1 {
    margin: 90px auto 60px;
    padding: 0 20px 20px;
    font-size: 34px;
    font-family: 'Cinzel Decorative', serif;
    letter-spacing: 5px;
    text-align: center;
    max-width: 600px;
    position: relative;
    background: linear-gradient(
        120deg,
        #5a4638 0%,
        #a0836d 45%,
        #6b5444 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    text-shadow:
        0 2px 6px rgba(0, 0, 0, 0.45),
        0 0 18px rgba(120, 95, 70, 0.2);

    animation: floatH1 9s ease-in-out infinite;
}


.contentx h1::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%) skewX(-25deg);
    width: 60%;
    height: 10px;

    background: linear-gradient(
        90deg,
        rgba(70, 50, 38, 0.9),
        rgba(140, 110, 90, 0.9)
    );

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.6);

    border-radius: 2px;
}



a {
    position: relative;
    text-decoration: none;
    font-weight: 500;

    background: linear-gradient(90deg, #ffb78a, #ffd2b0, #ff9e6a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    transition: background 0.5s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 100%;
    height: 4px;

    background: linear-gradient(90deg, rgba(255,140,94,0.8), rgba(255,220,180,0.9));
    border-radius: 3px;

    transform: scaleX(0.4);
    transform-origin: center;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1),
                opacity 0.4s ease;
    opacity: 0.7;
}

a:hover::after {
    transform: scaleX(1);
    opacity: 1;
}

a:hover {
    background: linear-gradient(90deg, #ffd8be, #ffffff, #ffc19c);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}



strong, b {
    font-family: 'Cinzel Decorative', serif;
    font-weight: 600;

    background: linear-gradient(90deg, #ffb78a, #ff7a4a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

em, i {
    font-family: 'Cinzel Decorative', serif;
    font-style: normal;

    background: linear-gradient(90deg, #e8a070, #ffccaa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}


blockquote {
    margin: 80px auto;
    padding: 50px 70px;
    max-width: 880px;
    background: rgba(10,0,3,0.35);
    border-left: 3px solid rgba(160,80,60,0.6);
    font-size: 22px;
    line-height: 1.9;
    position: relative;opacity:0.7;
}

blockquote::before {
    content: "❝";
    position: absolute;
    top: 12px;
    left: 20px;
    font-size: 46px;
    color: rgba(200,120,90,0.35);
}

blockquote::after {
    content: "❞";
    position: absolute;
    bottom: 10px;
    right: 24px;
    font-size: 42px;
    color: rgba(200,120,90,0.25);
}

#footer {
    padding: 70px 20px 50px;
    text-align: center;
    font-size: 14px;
    color: #c9a88a;
}

#footer::before {
    content: "❖ ✦ ❖ ✶ ❖ ✦ ❖";
    display: block;
    margin-bottom: 20px;
    letter-spacing: 8px;
    color: rgba(200,120,90,0.35);
}

input, select, textarea {
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    color: #e6d4c2;
    background: #000000;
    border: 1px solid rgba(255,200,150,0.3);
    border-radius: 12px;
    padding: 12px 18px;
    margin: 12px 0;
    width: 50%;
    max-width: 600px;opacity:0.8;
    box-shadow:
        inset 0 0 0 1px rgba(255,200,150,0.15),
        0 4px 12px rgba(0,0,0,0.45);
    transition: all 0.4s ease;
    backdrop-filter: blur(2px);
}

input:hover, select:hover, textarea:hover,
input:focus, select:focus, textarea:focus {
    border-color: rgba(255,220,180,0.7);
    box-shadow:
        inset 0 0 0 1px rgba(255,220,180,0.5),
        0 6px 18px rgba(120,40,40,0.35);
    outline: none;
    background: rgba(0,0,0,0.45);
}

select {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg fill='rgba(245,220,190,0.9)' height='20' viewBox='0 0 24 24' width='20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 20px 20px;
    padding-right: 45px;
    cursor: pointer;
}

textarea {
    min-height: 120px;
    resize: vertical;
}

@media (max-width: 768px) {

    #layout {
        flex-direction: column;
    }

    #left-panel {
        width: 100%;
    }

    #header {
        width: 100%;
        height: auto;
        padding-left: 0;
        background-size: cover;
        background-position: center top;
    }

    #navigation {
        width: 100%;
        margin: 40px 0 0;
        padding: 40px 20px;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    #navigation a {
        width: 100%;
        max-width: 320px;
    }

    #content {
        padding: 40px 20px 80px;
    }

    .contentx {
        font-size: 16px;
        text-align: left;
    }
}
