@font-face {
    font-family: 'Oxygen';
    font-style: normal;
    font-weight: 400;
    src: url(oxygen_regular.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

@font-face {
    font-family: 'Oxygen';
    font-style: normal;
    font-weight: 700;
    src: url(oxygen_bold.woff2) format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215;
}

* {
    color: rgb(255, 193, 7);
    font-family: 'Oxygen';
}

a:hover, a:visited, a:link, a:active {
    text-decoration: none;
}

@media (max-device-width: 48em) {
    body > div {
        width: 100%;
    }

    body {
        justify-content: center;
    }

    .left, .spacer {
        display: none;
    }

    body > div > div:nth-child(2) {
        margin-bottom: 0;
    }

    .right {
        padding-right: 2em;
    }
}

@media (min-device-width: 48em) {
    body > div {
        width: 25%;
    }
    
    body {
        justify-content: flex-start;
    }

    .right, .left {
        opacity: 0;
        transition: opacity 2s ease-in-out, -webkit-transform 2s ease-in-out;
        transition: transform 2s ease-in-out, opacity 2s ease-in-out;
        transition: transform 2s ease-in-out, opacity 2s ease-in-out, -webkit-transform 2s ease-in-out;
    }

    .right {
        -webkit-transform: translate(25%, 0);
                transform: translate(25%, 0);
    }

    .left {
        -webkit-transform: translate(-25%, 0);
                transform: translate(-25%, 0);
        width: 10%;
    }

    html:hover .right, html:hover .left {
        -webkit-transform: translate(0, 0);
                transform: translate(0, 0);
        opacity: 1;
    }
    
    .spacer {
        flex-grow: 2;
    }

    .logo {
        display: flex;
        justify-content: center;
        align-items: center;
        background: rgba(0, 0, 0, 0);
    }
}

html { 
    background: url(/images/dennis_greyscale.svg) no-repeat center center fixed; 
    background-size: cover;
    transition: background 3s ease-in-out;
}

html:hover {
    background: url(/images/dennis.svg) no-repeat center center fixed; 
    background-size: cover;
}

body {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    overflow-y: visible;
    overflow-x: hidden;
}

body > div {
    display: flex;
    flex-direction: column;
    padding: 1em 1em 0 1em
}

body > div > div, body {
    padding: 1em;
}

body, h1 {
    margin: 0;
}

body > div > div {
    background: rgba(0, 44, 59, 0.625);
    border-radius: 1em;
    margin-bottom: 1em;
}

h1 {
    color: rgb(7, 193, 255);
}

ul {
    padding: 0;
}

li {
    list-style: none;
    line-height: 1em;
    padding-left: 1.75em;
    margin-bottom: 0.5em;
}

.mail {
    background: url(/images/mail.png);
    background-repeat: no-repeat;
}

.twitter {
    background: url(/images/twitter.png);
    background-repeat: no-repeat;
}

.web {
    background: url(/images/web.png);
    background-repeat: no-repeat;
    background-position: 0.25em 0;
}

.mastodon {
    background: url(/images/mastodon.png);
    background-repeat: no-repeat;
}

img {
    max-width: 100%;
}
