@font-face {
    font-family: HeaderFont;
    src: url(Fonts/bodoni.ttf);
}
@font-face {
    font-family: BodyFont;
    src: url(Fonts/Caslon.ttf);
}
html, body {
    height: 100%;
}
body {
    display: flex;
    flex-direction: column;
    font-family: BodyFont;
    font-size: 21px;
    font-weight: 400;
    letter-spacing: normal;
    word-spacing: normal;
    color: #242424;
    margin: 0;
    padding: 0;
    position: relative;
}  
.dyslexic-font {
    font-family: Verdana; 
    font-size: 21px;
    font-weight: 400;
}
.banner {
    background-color: #45331f;
    font-family: HeaderFont;
    color: #fff;
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: fit-content;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 10;
}
.logo {
    display: flex;
    align-items: center;
}
.logo-img {
    width: 50px;
    height: 50px;
    margin-right: 10px;
}
.site-name {
    margin: 0;
}
.button-container {
    position: fixed;
    top: 0;
    right: 0;
    padding: 10px;
    z-index: 999;
}
.sidebar {
    width: 200px;
    height: 100vh;
    margin-top: 3%;
    background-color: #e3deca;
    border-radius: 10px;
    opacity: 0.9;
    position: fixed;
    right: -200px;
    transition: right 0.3s ease-in-out;
    z-index: 11;
}
.sidebar.open {
    right: 0;
}
.menu-item {
    padding: 5px;
    border-bottom: 1px solid #ccc;
    color: #8d1ed2;
}
.sidebar li {
    margin-bottom: 10px;
}
.container {
    flex: 1;
    max-width: 1200px;
    width: 90%;
    margin: 0 auto;
    margin-top: 5%;
    padding: 20px;
    background-color: #e3deca;
    border-radius: 10px;
    opacity: 0.9;
}
.header {
    text-align: center;
    margin-bottom: 20px;
}
.header-container {
    display: flex;
    align-items: center;
}
.footer {
    font-family: HeaderFont;
    text-align: center;
    margin-top: auto;
}
.post {
    margin-bottom: 20px;
}
.post-date {
    font-size: 1rem;
    font-weight: bold;
}
.post-title {
    font-size: 1.5rem;
}
.audio-player {
    position: static;
    align-self: center;
    background-color: #e3deca;
    padding: 10px;
    border-radius: 5px;
    z-index: 100;
}
.socials {
    text-align: center;
    margin: 20px 0;
}
.socials a {
    color: #242424;
    margin: 0 15px;
    font-size: 28px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s, color 0.2s;
}
.socials a:hover {
    color: #8d1ed2;
    transform: scale(1.2);
}
.bsky-icon svg {
    vertical-align: middle;
}
@media only screen and (max-width: 767px) {
    body {
        font-size: 14px;
    }
    .post-title {
        font-size: 1.2rem;
    }
    .container {
        width: 95%;
        max-width: 95%;
        margin-top: 20%;
        padding: 10px;
    }
    .banner {
        flex-direction: column;
        align-items: flex-start;
    }
    .sidebar {
        margin-top: 15%;
    }
    .button-container {
        padding: 5px;
    }
}
.noDecoration, a:link, a:visited {
    text-decoration: none;
}
