@import url('https://fonts.googleapis.com/css2?family=Lexend:wght@100..900&display=swap');

:root {
    --tint: #004CCF;
}

*, html, body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
    text-rendering: geometricPrecision;
    -webkit-font-smoothing: antialiased;
    text-decoration: none;
    -ms-overflow-style: none;  /* IE and Edge */
    -ms-overflow-style: -ms-autohiding-scrollbar;
    scrollbar-width: none;
    font-family: 'Lexend', sans-serif;

    &::-webkit-scrollbar {
        /*Chrome, Safari, Edge*/
        display: none;
    }
}

*:focus {
    outline: none;
}

html {
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100vh;

    background-color: rgb(16, 32, 49);
    /*background-image: url("background.svg");*/
    /*background-size: cover;*/
    /*background-position: center;*/
    /*background-repeat: no-repeat;*/
}

.white {
    color: #a6d1ff;
}

.tinted {
    color: var(--tint);
}

.faded {
    color: #a6d1ff;
}

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

    padding: 5rem 0;
}

.container > .left, .container > .right {
    padding: 2rem;
    width: 50%;
}

.container > .right > h1 {
    font-size: 7vw;
    line-height: 6vw;
}

.container > .right > p {
    font-size: 1.3rem;
}

.social > a {
    color: var(--tint);
}

.list > a {
    color: black;
}

.container > .left {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    align-content: center;
}

.portrait {
    position: relative;
    width: 20rem;
    height: 20rem;

    background-image: url("portrait.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;

    border-radius: 50%;
}

.portrait::before, .portrait::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;

    width: 100%;
    height: 100%;

    border-radius: inherit;
}

.portrait::after {
    background-color: var(--tint);
}

@media (max-width: 990px) {
    .container {
        flex-direction: column;
    }

    .container > .left, .container > .right {
        width: 100%;
    }

    .container > .left {
        padding-bottom: 0;
        justify-content: flex-start;
    }

    .container > .right > h1 {
        font-size: 11vw;
        line-height: 10vw;
    }

    .portrait {
        width: 13rem;
        height: 13rem;
    }
}