@import url('https://fonts.googleapis.com/css2?family=Inter:wght@200;400;700;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400&display=swap');

* {
    box-sizing: border-box;
    outline: none;
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0); 
	-webkit-tap-highlight-color: transparent;
	scrollbar-width: thin;
}

body {
    background-color: #fff;
    color: #000;
    font-family: "Inter", Helvetica, Arial, sans-serif;
    font-size: 11pt;
    margin: 0;
}

main {
    max-width: 1200px;
}

.bg-image {
    position: fixed;
    width: 100%;
    height: 50vh;
    background-image: url("assets/bartek.jpg");
    background-size: cover;
    background-position: center;
}

.content {
    position: relative;
    top: 50vh;
    padding: 20px;
    background-color: #fff;
    max-width: 600px;
}

@media (min-width: 800px) {
    .bg-image {
        width: 50%;
        height: 100%;
    }

    .content {
        top: 0;
        margin-left: 50%;
    }
}

@media (min-width: 1200px) {
    .bg-image {
        width: 600px;
        height: 100%;
    }

    .content {
        top: 0;
        margin-left: 600px;
    }
}

h1, h2, h3, h4, h5, h6, p {
    font-weight: 400;
    margin: 0;
    line-height: 1.4;
}

p, ul {
    font-family: "Roboto", Arial, Helvetica, sans-serif;
    margin-bottom: 1em;
    line-height: 1.5;
}

p a {
    text-decoration: underline;
}

p a:hover {
    text-decoration: none;
}

h1 {
    margin-bottom: 0.5em;
}

h1, h2 {
    font-size: 2.4em;
    font-weight: 200;
}

h2 {
    margin-bottom: 0;
}

h5 {
    opacity: 0.6;
    font-style: italic;
}

ul.links {
    display: block;
    margin-bottom: 32px;
    list-style-type: none;
    padding: 0;
}

ul.links li {
    margin-bottom: 16px;
}

a {
    color: inherit;
    text-decoration: none;
}

hr {
    border: none;
    height: 1px;
    background-color: #888;
    opacity: 0.4;
    margin: 20px 0 0 0;
}

img.icon {
    display: inline-block;
    vertical-align: top;
    width: 20px;
    height: auto;
    margin-right: 10px;
    filter: invert();
}

a:hover, span#email:hover {
    cursor: pointer;
    color: #239adf;
    border-bottom: 1px dotted #239adf;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #000;
        color: #fff;
    }
    
    .content {
        background-color: #000;
    }

    img.icon {
        filter: none;
    }
} 