@import url('styles/fonts/Inter-Regular.ttf');

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Bold.ttf");
    font-weight: 700;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-SemiBold.ttf");
    font-weight: 600;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Regular.ttf");
    font-weight: 400;
}

@font-face {
    font-family: "Inter";
    src: url("fonts/Inter-Light.ttf");
    font-weight: 300;
}

:root {
    --link: #3773E6;
    font-weight: 600;
}

/* Mobile */
@media only screen and (min-width: 0) {
    :root {
        --top-margin: 32px;
        --max-width: 640px;
        --safe-padding: 16px;
        --profile-pic-size: 228px;
    }

    #name-card {
        flex-direction: column-reverse;
    }

    .profile-picture {
        justify-content: center;
        margin-bottom: var(--top-margin);
    }

    #name-container {
        text-align: center;
    }
}

/* Tablet */
@media only screen and (min-width: 48em) {
    :root {
        --top-margin: 32px;
        --max-width: 768px;
    }
}

/* Laptop */
@media only screen and (min-width: 64em) {
    :root {
        --top-margin: 64px;
        --max-width: 1024px;
        --safe-padding: 16px;
        --profile-pic-size: 300px;
    }

    #name-card {
        flex-direction: row;
    }

    .profile-picture {
        justify-content: flex-end;
        margin: 0;
    }

    #name-container {
        text-align: left;
    }
}

/* Desktop */
@media only screen and (min-width: 80em) {
    :root {
        --top-margin: 80px;
        --max-width: 1280px;
        --safe-padding: 32px;
    }
}

@media (prefers-color-scheme: light) {
    :root {
        --bg: #f9fbfd;
        --text: #0d3f65;
        --heading: #11324a;
    }
}

@media (prefers-color-scheme: dark) {
    :root {
        --bg: #0e0e0f;
        --text: #fafafa;
        --heading: #f2f2f2;
    }
}

body {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    background-color: var(--bg);
    color: var(--text);
    width: 100%;
    display: flex;
    justify-content: center;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

main {
    margin-top: var(--top-margin);
    width: var(--max-width);
    padding: 0 var(--safe-padding);
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    color: var(--heading);
    margin: 0;
    margin-bottom: 15px;
}

h1 {
    margin-bottom: 0;
}

h1 {
    font-size: 34px;
}

h2 {
    font-size: 32px;
}

h3 {
    font-size: 26px;
}

h4 {
    font-size: 22px;
    font-weight: 600;
}

.tagline {
    color: var(--text);
    font-size: 20px;
    font-weight: 400;
}

a {
    font-weight: 600;
    color: var(--link);
}

.container:not(:last-child) {
    margin-bottom: 32px;
}

.fullwidth {
    width: 100%;
}

.container-column {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 8px;
}

#name-card {
    display: flex;
    width: 100%;
}

#my-name {
    font-size: 64px;
}

.profile-picture {
    width: 100%;
    display: flex;
}

.profile-picture img {
    max-height: var(--profile-pic-size);
    border-radius: 100%;
}

.subheading {
    font-size: 24px;
}

p {
    font-weight: 500;
    margin: 0;
    padding: 4px 0;
}

ul {
    margin: 0;
}

ul li {
    margin-bottom: 5px;
}

ul li:first-child {
    margin-top: 8px;
}

.bottom-container {
    margin-bottom: 64px;
}