@font-face {
    font-family:Lucida Calligraphy;
    src:url("../font/Lucida Calligraphy Regular.ttf") format("truetype");
}

@font-face {
    font-family:DM Sans;
    src:url('../font/static/DMSans_18pt-Black.ttf') format('truetype');
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'DM Sans', sans-serif;
}

html,
body{
    color:#f3e7d7;
    overflow-x:hidden;
}

.header{
    position:fixed;
    width: 100%;
    height: 12.5vh;
    display:flex;
    justify-content:flex-start;
    align-items:center;
    z-index:120;
    backdrop-filter:blur(4px);
    background: url("../img/devider.png");
    background-size:cover;
}

.block{
    width:100%;
    height: 12.5vh;
}

.logo{
    width:100px;
    margin-left:1%;
    margin-top:1%;
    margin-bottom:1%;
}

.right{
    display:flex;
    align-items:center;
    gap:20px;
    margin-left:80%;
}

.line{
    width:75%;
    height:3px;
    background:#fff8ee;
}

.menu-btn{
    background:none;
    border:none;
    cursor:pointer;
    margin-right:0;
}

.menu-btn img{
    width:35px;
}

.divider{
    background: url("../img/devider.png");
    background-size:cover;
    height:75px;
    margin-top:-5px;
    filter:drop-shadow(0 5px 5px rgba(0,0,0,0.5));
}

.highlight{
    font-family:'lucida calligraphy', serif;
    font-style:italic;
}

.sidebar {
    position: fixed;
    top: 0;
    right: 0;          
    left: unset;
    width: 75vw;
    max-width: 320px;
    height: 100vh;
    background-image: url('../img/wood.png');
    background-size: cover;
    border-left: 2px solid rgba(255, 255, 255, 0.15);   
    display: flex;
    flex-direction: column;
    padding: 2rem 1.5rem;
    box-sizing: border-box;
    transform: translateX(100%);                         
    transition: transform 0.35s ease;
    z-index: 1000;
}

.sidebar.open {
    transform: translateX(0);
}

.sidebar-close {
    background: none;
    border: none;
    color: #fff;
    font-size: 2rem;
    font-weight: 300;
    cursor: pointer;
    align-self: flex-start;
    padding: 0;
    margin-bottom: 2.5rem;
    border-right: 2px solid #fff;                        
    border-left: unset;
    padding-right: 0.5rem;                              
    line-height: 1;
}

.sidebar-nav {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
    flex: 1;
}

.sidebar-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 1.75rem;
    font-weight: 400;
}

.sidebar-brand {
    color: #fff;
    font-family: monospace;
    font-size: 0.85rem;
    margin: 0;
    letter-spacing: 0.05em;
}

.sidebar-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
    z-index: 999;
}

.sidebar-overlay.open {
    opacity: 1;
    pointer-events: all;
}

@media screen and (max-width: 780px) {
    .right {
        margin-left: 60%;
    }
}

@media screen and (max-width: 380px) {
    .right {
        margin-left: 40%;
    }
}
