html, body {
    height: 100%;
    margin: 0;
}

body {
    background-color: #000000;
    background-image: url('premade/bg.jpg');
    font-family: 'Playfair Display', sans-serif!important;
    font-weight: 400!important;
    text-align: center;
    font-size: 13px;
    color: #ffffff;
}

nav {
    display: flex;
    justify-content: center;
    gap: 30px;
    padding: 15px 0;
    position: relative;
}

nav a {
    position: relative;
    color: #B6D2F7;
    font-family: 'Libre Baskerville', serif;
    font-size: 18px;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 6px 4px;
    transition: all 0.3s ease;
}

nav a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #9FA8E1, #ffffff);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

nav a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(159, 168, 225, 0.5);
}

nav a:hover::after {
    width: 100%;
}

nav a.active {
    color: #ffffff;
}

nav a.active::after {
    width: 100%;
    background: linear-gradient(90deg, #9FA8E1, #B6D2F7);
}

nav::after {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(159,168,225,0.3), transparent);
}

#header {
    background-image: url('images/header.jpg');
    background-repeat: no-repeat;
    background-position: center;
    height: 573px;
    width: 100%;
    margin-top: 0;
}

#wrapper {
    width: 1242px;
    margin: 0 auto;
    padding: 40px 30px;
}

#container {
    overflow: hidden;
    width: 1242px;
    margin: 0 auto;
}

footer {
    margin-top: 40px;
    padding: 20px 0;
    text-align: center;
    color: #9FA8E1;
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    letter-spacing: 1.5px;
    position: relative;
}

footer::before {
    content: "";
    display: block;
    width: 60%;
    height: 1px;
    margin: 0 auto 15px auto;
    background: linear-gradient(90deg, transparent, rgba(159, 168, 225, 0.5), transparent);
}

footer a {
    color: #B6D2F7;
    text-decoration: none;
    margin: 0 6px;
    transition: all 0.3s ease;
}

footer a:hover {
    color: #ffffff;
    text-shadow: 0 0 6px rgba(159, 168, 225, 0.6);
}

footer small {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    opacity: 0.7;
}

a {
    color: #B6D2F7;
    font-size: 16px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 300;
    letter-spacing: 2px;
    text-decoration: none;
    padding: 4px 8px;
    border-radius: 8px;
    position: relative;
    display: inline-block;
    transition: all 0.35s ease;
}

a::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #9FA8E1, #ffffff);
    border-radius: 2px;
    transition: all 0.35s ease;
    transform: translateX(-50%);
}

a:hover {
    color: #ffffff;
    background: rgba(159, 168, 225, 0.12);
    box-shadow: 0 4px 15px rgba(159, 168, 225, 0.25);
    transform: translateY(-1px);
}

a:hover::before {
    width: 80%;
}

a:active {
    transform: scale(0.96);
    box-shadow: 0 2px 8px rgba(159, 168, 225, 0.4);
}

a:visited {
    color: #B6D2F7;
}

b, i {
    color: #9FA8E1;
    text-shadow: 0 0 6px rgba(159, 168, 225, 0.3);
}

#content {
    width: 1242px;
    margin: 0 auto;
    margin-top: 10px;
}

.contentcontainer {
    background-color: #000000;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400!important;
    text-align: justify;
    color: #D5E1F8;
    padding: 28px 32px;
    margin-bottom: 35px;
    line-height: 1.8;
    font-size: 17px;
}

blockquote {
    background: linear-gradient(145deg, #111111, #1c1c1c, #2a2a2a);
    border-left: 6px solid #9FA8E1;
    padding: 22px 28px;
    margin: 30px 0;
    color: #D5E1F8;
    font-style: italic;
    text-align: justify;
    line-height: 1.8;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.6);
    position: relative;
    transition: all 0.3s ease;
}

blockquote::before {
    content: "“";
    font-size: 48px;
    color: #9FA8E1;
    position: absolute;
    top: 10px;
    left: 14px;
    opacity: 0.25;
    font-family: 'Georgia', serif;
    text-shadow: 0 0 10px rgba(159, 168, 225, 0.4);
}

blockquote::after {
    content: "❦";
    font-size: 32px;
    color: #9FA8E1;
    position: absolute;
    bottom: 8px;
    right: 14px;
    opacity: 0.3;
    transform: rotate(-15deg);
}

blockquote:hover {
    box-shadow: 0 8px 25px rgba(159, 168, 225, 0.5);
    transform: translateY(-2px);
}

h1 {
    font-family: 'Sofia', cursive;
    font-size: 30px;
    letter-spacing: 2px;
    color: #9FA8E1;
    text-align: center;
    margin: 50px 0 30px;
    position: relative;
    text-shadow: 0 0 10px rgba(159, 168, 225, 0.25);
}

h1::after {
    content: "";
    display: block;
    width: 60px;
    height: 3px;
    margin: 10px auto 0;
    border-radius: 2px;
    background: linear-gradient(90deg, #9FA8E1, #ffffff, #9FA8E1);
    background-size: 200% 100%;
    animation: slideUnderline 3s linear infinite;
}

@keyframes slideUnderline {
    0% { background-position: 0% 0; }
    50% { background-position: 100% 0; }
    100% { background-position: 0% 0; }
}

.contentcontainer input,
.contentcontainer textarea,
.contentcontainer select {
    width: 40%;
    min-height: 45px;
    padding: 12px 15px;
    background: linear-gradient(145deg, rgba(30,30,40,0.8), rgba(50,50,70,0.6));
    border: 2px solid rgba(100,100,150,0.2);
    color: #E8E8FF;
    border-radius: 16px;
    outline: none;
    font-size: 15px;
    transition: all 0.4s ease;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.2), 0 0 8px rgba(120, 130, 250, 0.15);
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    backdrop-filter: blur(4px);
}

.contentcontainer textarea {
    min-height: 140px;
    resize: vertical;
}

.contentcontainer input:focus,
.contentcontainer textarea:focus,
.contentcontainer select:focus {
    border-color: rgba(124, 136, 245, 0.7);
    box-shadow: 0 0 12px rgba(124, 136, 245, 0.4), inset 0 1px 4px rgba(0, 0, 0, 0.15);
    background: linear-gradient(145deg, rgba(40,40,60,0.9), rgba(60,60,90,0.7));
    color: #F0F0FF;
}

.contentcontainer input:hover,
.contentcontainer textarea:hover,
.contentcontainer select:hover {
    border-color: rgba(124,136,245,0.4);
}

.contentcontainer input::placeholder,
.contentcontainer textarea::placeholder {
    color: rgba(200,200,255,0.5);
    font-style: italic;
}