* {
    box-sizing: border-box;
}

body {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    margin: 0;
    background-color: #fbf7ef;

    display: grid;
    grid-template-columns: 20rem 1fr;
    min-height: 100vh;
    min-height: 100dvh;
}

.nowrap {
    white-space: nowrap;
}

.mobile-indent {
    text-indent: 2rem;
}
    
/***** sidebar *****/

.sidebar {
    padding: 2rem;
    position: sticky;
    top: 0;
    height: 100vh;
    height: 100dvh;
    display: flex;
    flex-direction: column;
}

.sidebar::after {
    content: "";
    position: absolute;
    right: 0;
    top: 1%;
    height: 98%;
    width: 1px;
    background-color: #d8cdbb;
}

.sidebar h1 {
    font-size: 2.8rem;
    font-weight: 400;
    margin: 0;
}

.sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 1.5rem;
    font-weight: 400;
}

.sidebar li {
    margin: 0.5rem 0;
}

.sidebar li.bio {
    margin: 0.5rem 0 2rem 0;
}

.sidebar li a { 
    color: #333333;
    margin-left: 1rem;
}

.sidebar a {
    text-decoration: none;
    transition: opacity 0.3s ease;
    color: #000000;
}

.sidebar a:hover {
    opacity: 0.5;
}

.sidebar-bottom {
    margin-top: auto;
    display: flex;
    gap: 0.85rem;
    align-items: center;
    padding-left: 1rem;
}

.sidebar-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #333333;
    transition: opacity 0.3s ease;
}

.sidebar-icon-link:hover {
    opacity: 0.5;
}

.email-icon,
.instagram-icon {
    width: 1.5rem;
    height: 1.5rem;
    display: block;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.mobile-nav-divider,
.mobile-icon-link {
    display: none;
}

/***** main *****/

.content {
    position: relative;
    padding: 0;
    overflow-x: hidden;
    overflow-y: auto;
}

.stage {
    position: relative;
    height: 100vh;
    height: 100dvh;
}

.strip {
    display: flex;
    gap: 0;
    overflow-x: auto;
    overflow-y: hidden;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.strip::-webkit-scrollbar {
    display: none;
}

@media (max-width: 800px) {
    body {
        display: block;
        min-height: 100vh;
        min-height: 100dvh;
    }

    .sidebar {
        position: relative;
        height: auto;
        padding: 1rem 1.25rem;
        border-bottom: 1px solid #d8cdbb;
        text-align: center;
    }

    .sidebar::after {
        display: none;
    }

    .sidebar h1 {
        font-size: 2rem;
        line-height: 1.1;
        margin-bottom: 0.75rem;
    }

    .sidebar ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.45rem 1rem;
        font-size: 1rem;
        line-height: 1.2;
    }

    .sidebar li,
    .sidebar li.bio {
        margin: 0;
        white-space: nowrap;
    }

    .sidebar li a {
        margin-left: 0;
    }

    .mobile-nav-divider,
    .mobile-icon-link {
        display: inline-flex;
        align-items: center;
    }

    .sidebar-bottom {
        display: none;
    }

    .mobile-nav-divider {
        display: inline-block;
        width: 1px;
        height: 1em;
        background: #d8cdbb;
        margin: 0 0.15rem;
    }

    .mobile-icon-link a {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        color: #333333;
    }

    .email-icon,
    .instagram-icon {
        width: 1.05rem;
        height: 1.05rem;
        display: block;
        fill: none;
        stroke: currentColor;
        stroke-width: 1.8;
        stroke-linecap: round;
        stroke-linejoin: round;
    }

    .mobile-icon-link a:hover {
        opacity: 0.5;
    }

    .content {
        overflow-x: hidden;
        overflow-y: visible;
    }

    .stage {
        height: calc(100vh - 7.25rem);
        height: calc(100dvh - 7.25rem);
    }

    .strip {
        -webkit-overflow-scrolling: touch;
    }
}


