/* ===================================
   RESET
=================================== */

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

/* ===================================
   BODY
=================================== */

body{

    background:#ddd0ba;
    color:#35281d;

    font-family:"Cormorant Garamond", serif;

    -webkit-font-smoothing:antialiased;

}

/* ===================================
   HEADER
=================================== */

header{

    max-width:1200px;

    margin:50px auto;

    padding:0 20px;

}

header h1{

    text-align:center;

    font-size:2.2rem;

    font-weight:500;

    font-style:italic;

    margin-bottom:30px;

}

nav ul{

    list-style:none;

    display:flex;

    justify-content:center;

    gap:35px;

    flex-wrap:wrap;

}

nav a{

    text-decoration:none;

    color:#5b4838;

    font-family:"Special Elite", monospace;

    font-size:.8rem;

    letter-spacing:1px;

    text-transform:uppercase;
    margin-right:20px;
    

}

nav a:hover{

    color:#2d2218;

}

.active{

    border-bottom:1px solid #5b4838;

    padding-bottom:4px;

}

/* ===================================
   MAIN
=================================== */

main{

    max-width:850px;

    margin:90px auto;

    padding:0 20px;

}

/* ===================================
   INTRO
=================================== */

.page-intro{

    text-align:center;

    margin-bottom:70px;

}

.page-intro h1{

    font-size:4rem;

    font-weight:500;

    margin-bottom:20px;

}

.page-intro p{

    max-width:620px;

    margin:auto;

    font-family:"Special Elite", monospace;

    font-size:.85rem;

    line-height:2;

    color:#6d5948;

}

/* ===================================
   DIVIDER
=================================== */

hr{

    border:none;

    border-top:1px solid rgba(0,0,0,.18);

    margin:70px 0;

}

/* ===================================
   NOTEBOOK ENTRIES
=================================== */

.entry{

    padding:30px 0;

}

.date{

    font-family:"Special Elite", monospace;

    font-size:.75rem;

    color:#786654;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:15px;

}

.entry h2{

    font-size:2.2rem;

    font-weight:500;

    margin-bottom:18px;

}

.preview{

    max-width:650px;

    font-size:1.3rem;

    line-height:1.8;

    color:#493a2c;

    margin-bottom:25px;

}

.entry a{

    text-decoration:none;

    color:#5b4838;

    font-family:"Special Elite", monospace;

    font-size:.8rem;

    letter-spacing:1px;

    text-transform:uppercase;

}

.entry a:hover{

    color:#2d2218;

}

/* ===================================
   FOOTER
=================================== */

footer{

    text-align:center;

    margin:120px 0 50px;

}

footer h3{

    font-size:1.8rem;

    font-weight:500;

    font-style:italic;

    margin-bottom:10px;

}

.footer-name{

    font-family:"Special Elite", monospace;

    font-size:.75rem;

    color:#7a6755;

    letter-spacing:1px;

}

/* ===================================
   MOBILE
=================================== */

@media(max-width:768px){

    .page-intro h1{

        font-size:3rem;

    }

    .entry h2{

        font-size:1.8rem;

    }

    .preview{

        font-size:1.1rem;

    }

    nav ul{

        gap:18px;

    }

}
/* ===================================
   INDIVIDUAL NOTEBOOK PAGE
=================================== */

.essay-page{

    max-width:750px;

    margin:90px auto;

    padding:0 20px 100px;

}

.location{

    font-family:"Special Elite", monospace;

    font-size:.75rem;

    color:#786654;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:8px;

}

.essay-page .date{

    font-family:"Special Elite", monospace;

    font-size:.75rem;

    color:#786654;

    text-transform:uppercase;

    letter-spacing:1px;

    margin-bottom:35px;

}

.essay-page h1{

    font-family:"Cormorant Garamond", serif;

    font-size:2.8rem;
    line-height:1.1;

    font-weight:500;

    margin-bottom:50px;

    color:#35281d;

}

.essay{

    font-family:"Cormorant Garamond", serif;

    font-size:1.8rem;

    line-height:2;

    color:#35281d;

}

.essay p{

    margin-bottom:12px;

}

.back-link{

    display:inline-block;

    margin-top:80px;

    text-decoration:none;

    color:#6c5847;

    font-family:"Special Elite", monospace;

    font-size:.8rem;

    text-transform:uppercase;

    letter-spacing:1px;

}

.back-link:hover{

    color:#35281d;

}

@media(max-width:768px){

    .essay-page{

        margin:60px auto;

        padding:0 24px 80px;

    }

    .essay-page h1{

        font-size:2rem;

    }

    .essay{

        font-size:1rem;

        line-height:1.8;

    }

}





