html, body {
    height: 100%;
    margin: 0;
}

body {
    background: #fdfaf6;
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    color: #4a3f35;
    text-align: center;
    overflow-x: hidden;
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f3ece4;
}

::-webkit-scrollbar-thumb {
    background: #cdbfae;
    border-radius: 10px;
}

#header {
    background-image: url('head.png');
    background-repeat: no-repeat;
    background-position: center;
    height: 800px;
    width: 100%;
    filter: brightness(95%) saturate(90%);
}

#wrap {
    height: 15px;
}

a {
    text-decoration: none;
    color: #7a9e7e;
    font-size: 13px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 600 !important;
}

a:hover {
    color: #a67c52;
}

b, i {
    color: #a67c52;
    font-size: 13px;
    font-weight: 400 !important;
    font-family: 'Libre Baskerville', serif;
}

#container {
    margin: -60px auto 0 auto;
    position: relative;
    width: 70%;
}

.contentcontainer {
    margin-bottom: 60px;
    padding: 45px;
    font-size: 14px;
    font-family: 'Libre Baskerville', serif;
    font-weight: 400 !important;
    text-align: justify;
    color: #5a4a3f;
    line-height: 1.9;
    letter-spacing: 0.4px;
    background: #fffdf9;
    border-radius: 25px;
    border: 1px solid #f0e6da;
    box-shadow: 0 8px 25px rgba(120, 100, 80, 0.08);
}

blockquote {
    background-color: #f6efe7;
    border-left: 4px solid #c7a17a;
    padding: 15px 20px;
    border-radius: 10px;
    text-align: justify;
    color: #5a4a3f;
}

h1 {
    color: #7a9e7e;
    letter-spacing: 1px;
    font-family: 'Caramel', cursive;
    font-size: 50px;
    padding: 10px;
}

.contentcontainer input,
.contentcontainer textarea,
.contentcontainer select {
    border: 1px solid #e2d6c8;
    font: 14px 'Libre Baskerville', serif;
    background: #fffdf9;
    padding: 12px;
    border-radius: 12px;
}

textarea {
    overflow-x: hidden;
    overflow-y: auto;
    width: 400px;
    height: 200px;
}

#welcome {
    width: 420px;
    padding: 20px;
    position: relative;
    top: 110px;
    left: 600px;
    text-align: right;
    line-height: 140%;
    color: #5a4a3f;
    background-color: rgba(255, 253, 249, 0.85);
    border-radius: 15px;
    border: 1px solid #eee3d6;
}

#welcome h4 {
    font-size: 24px;
}

.smallcaps {
    font-variant: small-caps;
}

#nav {
    margin: 50px auto;
    padding: 10px 0;
    text-align: center;
}

#nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

#nav li {
    display: inline-block;
    margin: 0 10px;
}

#nav li a, #nav li span {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 30px; 
    font-family: 'Libre Baskerville', serif;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    color: #7a9e7e;
    text-decoration: none;
    letter-spacing: 1.2px;
    transition: all 0.3s ease;
    position: relative;
}

#nav li a::after {
    content: '';
    display: block;
    height: 2px;
    width: 0%;
    background: #a67c52;
    transition: width 0.3s ease;
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

#nav li a:hover::after {
    width: 60%; 
}

#nav li a:hover {
    color: #a67c52;
    background: rgba(122, 158, 126, 0.1); 
    box-shadow: 0 4px 12px rgba(120,100,80,0.08);
    transform: translateY(-2px); 
}

#linklist {
    padding: 60px 20px;
    margin: 0 auto;
    max-width: 900px;
}

#linklist ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#linklist ul li {
    background-color: #fffdf9;
    padding: 40px 35px; 
    border-radius: 25px;
    border: 1px solid #f0e6da;
    box-shadow: 0 8px 25px rgba(120, 100, 80, 0.08);
    list-style: none;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.8; 
    letter-spacing: 0.5px; 
}

#linklist ul li:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(120, 100, 80, 0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

#footer {
    margin: 80px auto 40px auto;
    padding: 30px 0;
    width: 70%;
    text-align: center;
    color: #7b6a58;
    font-size: 13px;
    line-height: 1.8;
    letter-spacing: 0.5px;
}

#footer::before {
    content: "❦ ❁ ❦";
    display: block;
    margin-bottom: 20px;
    font-size: 18px;
    color: #c7a17a;
    letter-spacing: 10px;
}

#footer::after {
    content: "❦";
    display: block;
    margin-top: 20px;
    font-size: 14px;
    color: #d8c3a5;
}

#footer p {
    margin: 5px 0;
    font-style: italic;
}

#footer a {
    color: #8aa889;
    text-decoration: none;
    font-style: italic;
}

#footer a:hover {
    color: #a67c52;
}

#footer .signature {
    font-family: 'Caramel', cursive;
    font-size: 24px;
    color: #7a9e7e;
    margin-top: 15px;
}