* {
    margin: 0;
}

body, html {
    height: 100%;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url("/img/background.jpg") no-repeat center center fixed;
}

main {
    text-align: center;
}


#bio {
    display: inline-flex;
    height: 192px;
    margin-top: 32px;
}

#bio img {
    max-height: 100%;
    float: left;
    border-radius: 25%;
    border: 5px solid #008fff;
}

#bio img:hover {
    border: 5px solid #ff008f;
}


/* List of links to my projects */

#tree-container {
    margin-top: 48px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.link-container {
    font-size: 1.5em;
    min-width: 50% !important;
    background-color: #2d2d2de5;
    border-bottom: 5px solid #008fff;
    border-radius: 16px;
    margin-bottom: 8px;
    overflow: hidden;
}

.link-container a {
    text-decoration: none;
    color: white;
}

.link-container a:hover {
    background-color: #222222e5;
}

.link-container > a {
    padding: 0.5em;
    display: block;
}

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

.sub-link-container a {
    font-size: 0.7em;
    padding: 0.2em;
    padding-bottom: 0.3em;
    flex: 1;
    border-top: 2px solid #1f1f1fe5;
    border-right: 1px solid #1f1f1fe5;
    margin-right: -1px;
}

/* Wider links on phones and other small screens */

@media (max-width: 1000px) {
    .link-container {
        min-width: 90% !important;
    }
}

@media (min-width: 1920px) {
    body {
        background-size: 100% auto;
    }
}
