#header {
    background-image: url('images/head.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 587px;
    width: 100%;
    position: relative;
    z-index: 0;
    top: 0px;
}

@import url('https://fonts.googleapis.com/css2?family=Cinzel+Decorative&family=Libre+Baskerville&family=Special+Elite&display=swap');

* {
    box-sizing: border-box;
}

html, body {
  margin: 0;
  font-family: 'Libre Baskerville', serif;
  color: #e8dada;
  background: #171715;
  overflow-x: hidden;
}

#rain-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 10;
}

.rain-drop {
  position: absolute;
  top: -20px;
  width: 2px;
  background: rgba(228, 139, 139, 0.25);
  opacity: 0.6;
  border-radius: 1px;
  animation: fall linear infinite;
}

@keyframes fall {
  0% { transform: translateY(0); opacity: 0; }
  10% { opacity: 0.6; }
  100% { transform: translateY(110vh); opacity: 0; }
}


html::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 2;
    background:
        linear-gradient(
            180deg,
            rgba(160, 0, 0, 0.08),
            rgba(40, 0, 0, 0.25)
        ),
        radial-gradient(
            at 15% 20%,
            rgba(180, 20, 20, 0.12),
            transparent 60%
        ),
        radial-gradient(
            at 85% 85%,
            rgba(120, 0, 0, 0.15),
            transparent 65%
        );
}


#layout-container {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    gap: 60px;
    padding: 80px 60px;
    position: relative;
    z-index: 5;
}

#navigation {    opacity:0.67;
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 22px;

    min-width: 300px;
    padding: 46px 44px;

    background:
        linear-gradient(
            160deg,
            rgba(120, 40, 40, 0.55),
            rgba(40, 0, 0, 0.45)
        );

    border-radius: 36px;

    border: 1px solid rgba(255, 180, 180, 0.22);

    box-shadow:
        inset 0 2px 0 rgba(255, 255, 255, 0.12),
        inset 0 -2px 0 rgba(0, 0, 0, 0.4),
        0 30px 80px rgba(0, 0, 0, 0.65);

    height: fit-content;
    overflow: hidden;
}

#navigation::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(
            120deg,
            rgba(255, 140, 140, 0.25),
            transparent 40%,
            transparent 60%,
            rgba(255, 140, 140, 0.18)
        );
    opacity: 0.6;
}

#navigation::after {
    content: "";
    position: absolute;
    inset: 1px;
    border-radius: inherit;
    pointer-events: none;
    background:
        radial-gradient(
            at 30% 20%,
            rgba(255, 255, 255, 0.08),
            transparent 55%
        );
    opacity: 0.4;
}


#navigation a {
    position: relative;
    padding: 16px 10px;

    font-size: 14px;
    letter-spacing: 0.36em;
    text-transform: uppercase;

    color: #f2caca;
    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


#navigation a:not(:last-child)::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: -11px;
    width: 100%;
    height: 1px;
    background:
        linear-gradient(
            to right,
            transparent,
            rgba(255, 140, 140, 0.35),
            transparent
        );
}


#navigation a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 0;
    height: 2px;
    background:
        linear-gradient(
            to right,
            #ff9a9a,
            #c40000
        );
    transition: width 0.3s ease;
}


#navigation a:hover,
#navigation a.active {
    color: #ffffff;
    transform: translateX(4px);
}

#navigation a:hover::after,
#navigation a.active::after {
    width: 100%;
}


#navigation a:hover {
    background:
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.12),
            rgba(255, 255, 255, 0.02)
        );
    border-radius: 12px;
}


#content {
    width: 100%;
    max-width: 1100px;
}


.contentx {
    margin-bottom: 90px;
    padding: 50px 55px;
    opacity:0.8;
    font-size: 22px;
    line-height: 1.95;
    text-align: justify;
    color: #f6eaea;

    background: 
        linear-gradient(
            160deg,
            rgba(100, 30, 30, 0.15),
            rgba(50, 0, 0, 0.08)
        );

    border-radius: 64px 44px;
    border: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.02),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1),
        0 15px 35px rgba(0, 0, 0, 0.2);
}


h1 {
    font-family: 'Great Vibes', cursive;
    font-size: 46px;
    text-align: center;
    color: #e48b8b; 
    margin: 40px auto 70px;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(196, 0, 0, 0.25);
}

h1::after {
    content: "";
    display: block;
    width: 140px;
    height: 2px;
    margin: 18px auto 0;
    background: linear-gradient(
        to right,
        rgba(196, 0, 0, 0.2),
        #e48b8b,
        rgba(196, 0, 0, 0.2)
    );
    border-radius: 1px;
}


blockquote {
    margin: 70px auto;
    padding: 48px 72px;
    max-width: 640px;
    background: rgba(30, 0, 0, 0.7);
    border-left: 5px solid #e48b8b;
    border-radius: 20px;
    font-size: 22px;
    line-height: 1.7;
    color: #ffeaea;opacity:0.6;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    position: relative;
}

blockquote::before {
    content: "“";
    font-size: 64px;
    position: absolute;
    top: -20px;
    left: 15px;
    color: rgba(228, 139, 139, 0.3);
    font-family: 'Great Vibes', cursive;
}

textarea,
input,
select {
    width: 40%;opacity:0.5;
    padding: 1.95rem 1rem;
    background: #3F0808;
    border: 0.08rem solid rgba(246, 214, 214, 0.4);
    border-radius: 6rem;
    color: #f6d6d6;
    font-size: 1rem;
    font-family: 'Georgia', serif;
    box-shadow: inset 0 1px 4px rgba(255, 255, 255, 0.07);
    transition: all 0.3s ease;
}

textarea:focus,
input:focus,
select:focus {
    background: #3F0808;
    border-color: rgba(246, 214, 214, 0.6);
    box-shadow: 0 0 1rem rgba(246, 214, 214, 0.3);
    outline: none;
}



a {
    color: #e48b8b;
    text-decoration: none;
    position: relative;
    transition: all 0.3s ease;
}

a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        to right,
        rgba(120, 0, 0, 0.5),
        #e48b8b
    );
    transform: scaleX(0.5);
    transform-origin: left;
    transition: transform 0.35s ease;
}

a:hover::after {
    transform: scaleX(1);
}

i, em {
    color: #ffd6d6;
    background: rgba(196, 0, 0, 0.15);
    padding: 2px 6px;
    border-radius: 6px;
    font-style: italic;
}

b, strong {
    font-family: 'Great Vibes', cursive;
    font-size: 26px;
    color: #fff5f5;
    padding: 6px 14px;
    border-radius: 18px;
    background: linear-gradient(
        120deg,
        rgba(196, 0, 0, 0.6),
        rgba(228, 139, 139, 0.4)
    );
    box-shadow: 0 2px 6px rgba(255, 140, 140, 0.25);
}



* {
    scrollbar-width: thin;
    scrollbar-color: #e48b8b #050505;
}


::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #050505;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(
        180deg,
        rgba(196, 0, 0, 0.7),
        rgba(228, 139, 139, 0.5)
    );
    border-radius: 10px;
    border: 2px solid #050505;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(
        180deg,
        rgba(228, 139, 139, 0.7),
        #ffb3b3
    );
}
