@font-face {
    font-family: "Nishiki-teki-lili";
    src: url("../font/ntl.ttf") format("truetype");
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0 5vw;
    background: #f4f1ea;
    color: #292724;
    font-family: Georgia;
    line-height: 1.7;
}

.navbar { 
    display: flex; 
    justify-content: center; 
    align-items: center; 
    gap: clamp(15px, 4vw, 35px); 
    width: calc(100% + 10vw); 
    margin-left: -5vw; 
    padding: 15px 5vw; 
} 

.navbar a { 
    color: #292724; 
    font-family: Georgia, "Times New Roman", serif; 
    font-size: clamp(0.75rem, 2.5vw, 0.9rem); 
    text-decoration: none; 
    transition: opacity 0.2s ease; 
} 

.navbar a:hover { 
    opacity: 0.6; 
}

.header { 
    text-align: center; 
    padding-top: clamp(35px, 8vw, 70px); 
    padding-bottom: clamp(25px, 5vw, 40px); 
    margin-bottom: clamp(35px, 8vw, 60px); 
    border-bottom: 1px solid #d6d1c8; 
    margin-left: -5vw;
    margin-right: -5vw;
}

h1 {
    font-size: clamp(2rem, 7vw, 2.8rem);
    font-weight: normal;
    margin: 0 0 8px;
}

.author {
    margin: 0 0 22px;
    color: #777;
    font-size: clamp(0.9rem, 2.8vw, 1rem);
    font-style: italic;
}

#author-pona {
    display: none;
}

.sitelen {
    transition: font-family 0.2s ease;
}

#button {
    padding: 7px 14px;
    background: transparent;
    color: #292724;
    border: 1px solid #292724;
    border-radius: 3px;
    font-family: Georgia, "Times New Roman", serif;
    font-size: clamp(0.8rem, 2.5vw, 0.9rem);
    cursor: pointer;
    transition: background-color 0.2s ease, color 0.2s ease;
}

#button:hover {
    background-color: #292724;
    color: #f4f1ea;
}

#button:active {
    transform: translateY(1px);
}

.page-title {
    max-width: 700px;
    margin: 0 auto clamp(25px, 5vw, 35px);
    font-size: clamp(1.5rem, 5vw, 2rem);
    font-weight: normal;
    text-align: center;
}

.essay {
    width: 100%;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    padding: clamp(25px, 5vw, 40px);
    background: #faf8f3;
    border: 1px solid #d6d1c8;
    text-align: center;
    margin-bottom: clamp(30px, 6vw, 50px);
}

.essay h2 {
    font-size: clamp(1.4rem, 5vw, 1.8rem);
    font-weight: normal;
    margin: 0 0 clamp(20px, 5vw, 30px);
}

.essay p {
    margin: 0 0 20px;
    font-size: clamp(1rem, 3.5vw, 1.15rem);
}

.essay .date {
    margin-top: 30px;
    margin-bottom: 0;
    color: #777;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-style: italic;
}

.read-more { 
    display: inline-block; 
    margin-top: 10px; color: 
    inherit; font-size: 0.85rem; 
    text-decoration: underline; 
    text-underline-offset: 3px; 
} 

.read-more:hover { 
    opacity: 0.7; 
}

.essay-page {
    max-width: 900px;
    padding: clamp(30px, 6vw, 50px) clamp(20px, 5vw, 50px);
}

.essay-page h2 {
    font-size: clamp(1.6rem, 5vw, 2.1rem);
    margin-bottom: 10px;
}

.essay-page .date {
    margin-top: 0;
    margin-bottom: clamp(30px, 6vw, 45px);
}

.essay-page p.sitelen {
    font-size: clamp(1.05rem, 3.5vw, 1.2rem);
    line-height: 1.8;
}

.footer {
    max-width: 700px;
    margin: 60px auto 30px;
    padding-top: 20px;
    border-top: 1px solid #d6d1c8;
    text-align: center;
    color: #777;
    font-size: 0.8rem;
    line-height: 1.5;
}

.footer p {
    margin: 5px 0;
}

.footer a {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: 2px;
}

.footer a:hover {
    color: #292724;
}

.essay .translations {
    margin-top: 0;
    margin-bottom: 20px;
    color: #777;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-style: italic;
}


.essay-page .translations {
    margin-top: 0px;
    margin-bottom: 20px;
    color: #777;
    font-size: clamp(0.75rem, 2.5vw, 0.85rem);
    font-style: italic;
}