/* Reset */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

/* Body */

body{
    background:#efe4d2;
    color:#262321;
font-family:"Crimson Text",serif;
    line-height:1.8;
}
/* Hero */

.hero{
    position: relative;
    overflow: hidden;
    height:100vh;

    background:#34261f;

    color:white;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    text-align:center;

    padding:20px;
}
    
 .hero h1{ 

font-family:"Cormorant Garamond",serif;

font-weight:600;

letter-spacing:1px;

font-size:3rem;

margin-bottom:35px;

}

.subtitle{

    max-width:700px;

    font-size:1.35rem;

    font-style:italic;

    line-height:1.9;
    color:#e7dfd4;

    margin-bottom:20px;

}

.small-text{

    font-size:1rem;
    font-style:italic;

    letter-spacing:1px;

    text-transform:none;

    color:#bba98e;

    margin-bottom:40px;

}
.enter-btn{

    display:inline-block;

    background:#f6f1e7;

    color:#3a2f28;

    text-decoration:none;

    padding:14px 34px;

    border-radius:40px;

    font-weight:bold;

    transition:.3s;

}

.enter-btn:hover{

    transform:translateY(-4px);

    background:#e9ddcf;
}

header{ 
    background:#3a2f28;
    color:white;
    text-align:center;
    padding:40px 20px;
}

header h1{
    font-size:3rem;
    margin-bottom:10px;
}

/* Navigation */

nav{
    margin-top:20px;
}

nav a{

    color:#3a2f28;

    text-decoration:none;

    margin:0 16px;

    transition: color 0.3s;

    font-size:1.05rem;

}

nav a:hover{
    color:#ffffff;
}

/* Main */

main{
    width:90%;
    max-width:900px;
    margin:60px auto;
}

/* Articles */

article{
    background:#fffdf9;
    padding:30px;
    margin-bottom:35px;
    border-radius:14px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:0.3s ease;
}

article h2{
    margin-bottom:10px;
    color:#4a3828;
}

article p{
    margin-bottom:15px;
}

article a{
    color:#7a4b2b;
    text-decoration:none;
    font-weight:bold;
}

article a:hover{
    transform:translateY(-5px);
    box-shadow:0 18px 35px rgba(0,0,0,.12);
}

/* Sections */

section,
aside{

    background:#fffdf9;

    padding:35px;

    margin-bottom:35px;

    border-radius:14px;

    box-shadow:0 10px 25px rgba(0,0,0,.08);
}
    
 .page-intro{
    background:transparent;
    box-shadow:none;
    padding:0;

}

ul{
    margin-left:20px;
}
/* Footer */
footer{
    background:#3a2f28;
    color:#f6f1e7;
    text-align:center;
    padding:55px 20px;
    margin-top:60px;
}

footer h3{
    font-size:2rem;
    margin-bottom:12px;
}

.footer-name{
    font-size:1.1rem;
    margin-bottom:8px;
}

.footer-location{
    letter-spacing:2px;
    text-transform:uppercase;
    font-size:.85rem;
    color:#d8cbbf;
    margin-bottom:25px;
}
.footer-updated{
    font-size:.85rem;
    color:#cbbfb3;
    margin-bottom:18px;
    letter-spacing:1px;
}

.footer-quote{
    font-style:italic;
    color:#d8cbbf;
    max-width:500px;
    margin:auto;
}


nav {
    background: #f6f1e7;
    padding: 18px 0;
    border-bottom: 1px solid #d8cbbf;
}

nav ul {

    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:15px;
    list-style:none;
    margin:0;
    padding:10px;
}

nav li {
    margin: 0;
}
/* ---------- Stars ---------- */
.stars{
    position:absolute;
    inset:0;
    pointer-events:none;
    z-index:1;
    opacity:.35;

    background-image:
        radial-gradient(2px 2px at 20px 30px,#fff,transparent),
        radial-gradient(2px 2px at 120px 90px,#fff,transparent),
        radial-gradient(1.5px 1.5px at 240px 170px,#fff,transparent),
        radial-gradient(2px 2px at 330px 80px,#fff,transparent);

    background-size:400px 400px;

    animation:twinkle 6s infinite alternate;
}

.notebook-entry h3 {
    margin-bottom: 12px;
    font-family: "Cormorant Garamond", serif;
    font-size: 1.8rem;
}

.notebook-entry p {
    line-height: 1.8;
    margin-bottom: 18px;
}

.notebook-entry a {
    color: #b88b4a;
    text-decoration: none;
    transition: 0.3s;
}

.notebook-entry a:hover {
    text-decoration: underline;
}
.page-intro{

    margin-bottom:70px;

}

.page-intro h1{

    font-size:3rem;

    margin-bottom:20px;

}

.page-intro p{

    max-width:700px;

    line-height:2;

}

.notebook-list{

    margin-top:60px;

}

.entry{

    margin-bottom:80px;

    padding-bottom:40px;

    border-bottom:1px solid rgba(255,255,255,.15);

}

.entry .date{

    font-size:.9rem;

    color:#8a8a8a;

    letter-spacing:2px;

    text-transform:uppercase;

}

.entry h2{

    margin:10px 0 20px;

}

.entry .preview{

    max-width:650px;

    line-height:2;

}

.entry a{

    display:inline-block;

    margin-top:25px;

    color:#c6a86a;

    text-decoration:none;

}

.entry a:hover{

    text-decoration:underline;

}
.essay-page{

    width:70%;
    max-width:760px;
    margin:90px auto;
    line-height:2;

}

.location{

    color:#b08b57;
    letter-spacing:3px;
    text-transform:uppercase;
    margin-bottom:5px;

}

.date{

    color:#8f8f8f;
    margin-bottom:35px;

}

.essay-page h1{

    font-size:3rem;
    margin-bottom:55px;

}

.essay{

    font-size:1.15rem;

}

.essay p{

    margin-bottom:18px;

}

.back-link{

    display:inline-block;
    margin-top:70px;
    text-decoration:none;

}

.back-link:hover{

    text-decoration:underline;

}
/* ==========================================
   FROM MY NOTEBOOK
========================================== */

.page-intro{

    width:min(92%, 850px);
    max-width:750px;
    margin:90px auto 60px;
    text-align:center;

}

.page-intro h1{

    font-family:"Cormorant Garamond", serif;
    font-size:3.5rem;
    color:#e8dcc2;
    margin-bottom:20px;
    font-weight:500;

}

.page-intro p{

    font-size:1.05rem;
    color:#bfb7aa;
    line-height:2;
    max-width:650px;
    margin:auto;

}

hr{

    width:80%;
    margin:50px auto;
    border:none;
    border-top:1px solid rgba(201,166,107,.35);

}

.notebook-list{
    width:min(92%,850px);
    margin:70px auto;
}

.entry{

    position:relative;
    border-left:2px solid #c9a66b;
    padding-left:35px;
    margin-bottom:90px;

}

.entry::before{

    content:"";
    position:absolute;
    left:-7px;
    top:7px;

    width:12px;
    height:12px;

    background:#c9a66b;
    border-radius:50%;

}

.entry .date{

    color:#9d9488;
    font-size:.85rem;
    letter-spacing:2px;
    text-transform:uppercase;

}

.entry h2{

    font-family:"Cormorant Garamond", serif;
    font-size:clamp(2rem,7vw,2.4rem);
    line-height:1.15;
    color:#efe5d3;
    margin:15px 0;

}

.preview{

    color:#cbc3b7;
    line-height:2;
    max-width:650px;
    margin-bottom:25px;

}

.entry a{

    color:#c9a66b;
    text-decoration:none;
    transition:.3s;

}

.entry a:hover{

    color:#f0d8a0;
    letter-spacing:1px;
}
.page-intro{

    width:min(90%, 750px);
    margin:90px auto 60px;
    text-align:center;

}
.page-intro h1{

    font-family:"Cormorant Garamond", serif;
    font-size:clamp(2.8rem, 8vw, 5rem);
    line-height:1.05;
    color:#e8dcc2;
    margin-bottom:20px;
    font-weight:500;

}
@media (max-width:768px){

    .page-intro,
    .notebook-list{
        width:92%;
    }

    .entry{
        padding-left:20px;
    }

    .entry h2{
        font-size:2rem;
    }

    .page-intro h1{
        font-size:3rem;
    }

    nav ul{
        gap:10px;
    }

}