@font-face {
    font-family: 'u93ebeo';
    src: url('../../fonts/u93ebeo.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Consolas';
    src: url('../../fonts/Consolas.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Tahoma';
    src: url('../../fonts/tahoma.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

*,
*::before,
*::after {
    box-sizing: border-box;
}

html,
body {
    min-height: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    /* bg gradient 3 colours*/
    background: linear-gradient(135deg, #0eaf93, #7d1ccf, #9f2e90);
    min-height: 100vh;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}

#contents {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    width: 80%;
    gap: 16px;
}

#navPanel {
    background-color: rgba(211, 211, 211, 0.281);
    backdrop-filter: blur(16px);
    border-radius: 12px;

    width: 480px;
    padding: 20px;

    h2 {
        font-family: 'u93ebeo', Arial, sans-serif;
        letter-spacing: -0.05em;

        color: rgb(238, 238, 238);
        -webkit-text-stroke: 6px rgb(0, 0, 0);;
        paint-order: stroke fill;
    }

    p {
        font-family: 'Consolas', Arial, sans-serif;
        color: rgb(0, 0, 0);
        line-height: 1.2;

        font-size: 17px;
    }

    a {
        font-family: 'Consolas', Arial, sans-serif;
        color: rgb(0, 0, 0);
        line-height: 1.2;

        font-size: 17px;
        text-decoration: underline;
    }
}

#docPanel {
    background-color: rgba(211, 211, 211, 0.281);
    backdrop-filter: blur(16px);
    border-radius: 12px;

    width: 100%;
    padding: 20px;

    h1 {
        font-family: 'u93ebeo', Arial, sans-serif;
        letter-spacing: -0.05em;

        color: rgb(238, 238, 238);
        -webkit-text-stroke: 7px rgb(0, 0, 0);;
        paint-order: stroke fill;

        font-size: 36px;
    }

    h2 {
        font-family: 'u93ebeo', Arial, sans-serif;
        letter-spacing: -0.05em;

        color: rgb(0, 0, 0);

        font-size: 24px;
    }

    h3, h4, h5, h6 {
        font-family: 'Consolas', Arial, sans-serif;
        letter-spacing: -0.05em;

        color: rgb(0, 0, 0);
    }

    p {
        font-family: 'Consolas', Arial, sans-serif;
        color: rgb(0, 0, 0);
        line-height: 1.2;

        font-size: 17px;
    }
}

#header {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

h1 {
    font-family: 'u93ebeo', Arial, sans-serif;
    letter-spacing: -0.05em;
}

h2, h3, h4, h5, h6, p, a {
    font-family: 'Consolas', Arial, sans-serif;
}

#topLogo {
    width: 300px;
    height: auto;
    margin: 20px 0 10px 0;
}

#navbar {
    display: flex;
    padding: 4px 16px;
    margin-bottom: 10px;
    gap: 12px;

    align-items: center;
    justify-content: center;

    background-color: #1A1F2766;
    backdrop-filter: blur(16px);

    border-radius: 12px;

    a {
        text-decoration: none;
        color: rgb(223, 223, 223);
        font-size: 18px;
    }

    color: rgb(226, 226, 226); /*for inline text*/
}

#navbar a:hover {
    color: #7d1ccf;
}



.hSplitInner {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    justify-content: center;
    gap: 0.35em;
    flex-wrap: wrap;
    text-align: center;
}

#footer {
    padding: 20px;
    text-align: center;
    color: rgb(0, 0, 0);
    font-size: 14px;
}

@media (max-width: 1350px) {
    #contents {
        width: 95%;
        gap: 20px;
        padding: 20px 20px 32px;
    }

    
}

@media (max-width: 900px) {
    #header {
        gap: 16px;
    }

    #topLogo {
        width: min(240px, calc(100% - 32px));
        margin: 28px 0 12px 0;
    }

    #navbar {
        margin-bottom: 24px;
        padding: 6px 14px;
        gap: 12px;
    }

    #navbar a {
        font-size: 16px;
    }

    #contents {
        width: 100%;
        gap: 10px;
        padding: 0 16px 24px;

        flex-direction: column;
    }

    #navPanel {
        width: 100%;
    }

    #docPanel {
        width: 100%;
    }

    #footer {
        padding: 20px 16px 32px;
        text-align: center;
    }
}

@media (max-width: 640px) {
    #navbar {
        width: calc(100% - 32px);
        box-sizing: border-box;
        flex-wrap: wrap;
        text-align: center;
    }


}
