@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100..800;1,100..800&display=swap');

:root {
    --background-color: #01011b;
    --background-color-2: #0a0b2b;
    --font: 'JetBrains Mono', monospace;

    --primary-color: #f5f5f5;
}

body {
    background-color: var(--background-color);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-family: var(--font);
    padding: 15px 0px;
    margin: 0px;

    height: 100vh;
    /* mobile viewport bug fix */
    min-height: -webkit-fill-available;
    box-sizing: border-box;
}

.profile {
    background: url("profile.png");
    width: 100%;
    height: 300px;
    background-repeat: no-repeat;
    background-size: cover;
    max-width: 300px;
}

h1 {
    color: var(--primary-color);
    margin-bottom: 10px;
}

.socials {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.socials a img {
    height: 40px;
    margin: 5px 10px;
}

.textarea {
    width: auto;
    max-width: 600px;
    min-width: 300px;
    background-color: var(--background-color-2);
    padding: 10px 20px;
    border-radius: 5px;
}

.projects {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.projects a {
    text-decoration: none;
    margin: 10px;
}

.projects a span {
    color: rgb(230, 237, 243);
}

h2 {
    margin: 0px;
    font-size: 20px;
}

.htmldisplay {
    color: #7ee787;
}

.htmldisplay span {
    color: rgb(230, 237, 243);
}

footer {
    flex: 1;
    font-size: 14px;
    display: flex;
    justify-content: end;
    flex-direction: column;
}

footer p {
    text-align: center;
}

.footerlinks a {
    color: var(--primary-color);
    text-decoration: none;
}