﻿@font-face {
    font-family: 'Inter';
    src: url(Inter-VariableFont_opsz,wght.ttf);
}

html, body {
    font-family: 'Inter', system-ui, Arial, Helvetica, sans-serif;
    color: #333;
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    display: flex;
    justify-content: center;
}

main {
    width: 100%;
    display: flex;
}

    main > section:first-child {
        width: calc(50% - 300px);
        min-width: 300px;
        display: flex;
        justify-content: flex-end;
        background: #f5f5f5;
    }

        main > section:first-child:before {
            content: '';
            background: #f5f5f5;
            width: 100%;
            height: 100%;
            position: fixed;
            max-width: calc(50% - 300px);
        }

    main > section:last-child {
        display: flex;
        gap: 32px;
        padding: 48px;
        box-sizing: border-box;
        max-width: 960px;
        width: 100%;
        height: fit-content;
        margin-bottom: 100px;
    }

    main > section:last-child > div:first-child {
        display: flex;
        flex-direction: column;
        gap: 16px;
        flex: 1 auto;
    }

a {
    text-decoration: none;
    color: inherit;
}

a.link {
    text-decoration: underline;
}

    a.active {
        color: #488BC8;
    }

hr {
    width: 100%;
    border: none;
    height: 1px;
    background: #e5e5e5;
}

h1,h2,h3,h4,h5,h6 {
    color: #222;
}

h1 {
    font-size: 2em;
}

p {
    margin-top: 0;
}

.menu {
    color: #444;
    display: flex;
    flex-direction: column;
    gap: 16px;
    padding: 32px;
    box-sizing: border-box;
    height: 100%;
    width: 300px;
    font-size: 14px;
    position: fixed;
    background: #f5f5f5;
    overflow-y: auto;
}

    .menu img {
        width: 50%;
    }

.sub-menu {
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-size: 14px;
    min-width: 160px;
    padding: 8px 16px;
    box-sizing: border-box;
    border-left: 1px solid #e5e5e5;
    height: fit-content;
    position: sticky;
    top: 32px;
}

.img-box {
    background: #f5f5f5;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 50px;
    box-sizing: border-box;
    border-radius: 4px;
}

    .img-box img {
        overflow: hidden;
        border-radius: 16px;
        max-width: 100%;
    }