@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap');

/* firefox theme */
/* :root{
    --bg-color: #1C1B22;
    --text-color-pri: #FBFBFE;
    --text-color-sec: rgba(251, 251, 254, 0.5);
    --accent-color-pri: #0DF;
    --accent-color-sec: #0DF;
} */

/* github theme */
:root{
    --bg-color: #0B0B0D;
    --text-color-pri: #FBFAFB;
    --text-color-sec: #8F94A0;
    --accent-color-pri: #2D8FFF;
    --accent-color-sec: #2D8FFF;
}

/* vscode theme */
/* :root{
    --bg-color: #0E121E;
    --text-color-pri: #8590B8;
    --text-color-sec: #445384;
    --accent-color-pri: #3F85FF;
    --accent-color-sec: #3F85FF;
} */

*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: "IBM Plex Mono", monospace;
    font-weight: 400;
    line-height: 24px;
}
body{
    height: 100vh;
    width: 100vw;
    display: flex;
    align-items: start;
    justify-content: center;
    background-color: var(--bg-color);
}

.wrapper{
    color: var(--text-color-pri);
    width: 100%;
    padding: 3.5em 7em;
}

a{
    color: var(--accent-color-pri);
    padding: 0.25em 0;
    text-decoration: underline;
}

a:hover{
    color: var(--bg-color);
    text-decoration: none;
    background-color: var(--accent-color-pri);
}

.a-super{
    font-size: 13px;
    padding: 0.25em 0;
}

.page-links{
    font-size: 13px;
    color: var(--accent-color-sec)
}

.page-links:hover{
    text-decoration: none;
    color: var(--bg-color);
    background-color: var(--accent-color-sec);
}

header .page-links{
    text-decoration: none;
}

main{
    margin: 2em 0;
}

.intro{
     margin-bottom: 2em;
}

.intro p{
    font-size: 13px;
    margin-bottom: 1em;
    columns: var(--text-color-pri);
}

.intro p span{
    font-size: 13px;
    color: var(--text-color-sec);
}

.heading {
    font-size: 13px;
    margin-bottom: 0.5em;
    color: var(--text-color-sec);
}

.projects-container .project-item{
    margin-top: 0.5em;
}

.projects-container .project-item:first-child{
    margin-top: 0 !important;
}

.projects-container .project-item .project-info{
    display: flex;
    justify-content: space-between;
}

.projects-container .project-item .project-info span{
    width: 50%;
    font-size: 11px;
    line-height: 16px;
    color: var(--text-color-sec);
}

.projects-container .project-item .project-info span:first-child{
    display: -webkit-box;
    line-clamp: 1;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.projects-container .project-item .project-info span:last-child{
    text-align: right;
}

footer{
    position: relative;
    display: flex;
    align-items: start;
    flex-direction: column;
    padding-top: 1em;
}

footer::before{
    content: "";
    position: absolute;
    top: 0;
    width: 10%;
    border-top: 1.5px solid color-mix(in srgb, var(--text-color-pri) 25%, transparent);
}

footer span{
    font-size: 13px;
    color: var(--text-color-sec);
}

footer span:last-child{
    opacity: .7;
    font-size: 10px;
}

@media screen and (max-width: 480px) {
    *{
        line-height: 20px;
    }

    .wrapper{
        padding: 1.5em 1em 2em 1em;
    }

    main{
        margin: 1.5em 0;
    }

    .intro{
        margin-bottom: 1.5em;
    }

    .intro p:last-child{
        margin-bottom: 0 !important;
    }

    .a-super,
    .page-links,
    .intro p,
    .intro p span,
    .heading,
    footer span{
        font-size: 12px;
    }

    .projects-container .project-item .project-info span{
        font-size: 11px;
        line-height: 14px;
    }

    footer::before{
        width: 25%;
    }

    footer span:last-child{
        font-size: 9px;
    }
}