/* Desktop styles */

* {
    font-family: Roboto, Arial, Helvetica, sans-serif;
    font-weight: 300;
}
body {
    margin: 0;
}

#content {
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;
    border-bottom: 1px solid #ffffff;
}

a {
    font-weight: 400;
    color: black;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

header {
    font-size: 0.8em;
    text-align: center;
}

header img {
    margin-top: 50px;
    width: 180px;
    border-radius: 50%;
}

h1 {
    font-weight: 500;
    margin-bottom: 0;
}

h2 {
    font-weight: 300;
    margin-top: 5px;
}

h3 {
    text-transform: uppercase;
    border-bottom: 1px solid black;
    font-weight: 400;
    margin-top: 40px;
}

section {
    max-width: 720px;
    margin: auto;
}

section li {
    list-style-type: none;
    display: flex;
}

section p {
    text-align: justify;
}

.logo > img {
    max-height: 40px;
    max-width: 120px;
}

.logo {
    flex-basis: 200px;
    flex-shrink: 0;
    min-height: 50px;
    border-right: 1px solid #ddd;
    margin-right: 20px;
    margin-bottom: 25px;
    text-align: center;
}

.affiliation {
    letter-spacing: 1px;
    text-transform: uppercase;
    font-size: 0.8em;
    margin-bottom: 5px;
}

.affiliation + p {
    margin: 0;
}

#contact div {
    margin: 30px;
    margin-bottom: 80px;
    padding-bottom: 1px;
}


/* Mobile styles */

@media (max-width: 768px) {

    body {
        margin: 10px 25px;
    }

    section ul {
        padding-left: 0;
    }

    section li {
        flex-wrap: wrap;
        margin-bottom: 50px;
    }

    section p {
        text-align: left;
    }

    .logo {
        border-bottom: 1px solid #ddd;
        border-right: none;
        width: 100%;
        flex-basis: auto;
        margin: 0;
    }
}

/* Roboto fonts */

@font-face {
    font-family: 'Roboto';
    font-weight: 100;
    src: url('fonts/Roboto-Thin.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 300;
    src: url('fonts/Roboto-Light.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 400;
    src: url('fonts/Roboto-Regular.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 500;
    src: url('fonts/Roboto-Medium.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 700;
    src: url('fonts/Roboto-Bold.woff') format('woff');
}

@font-face {
    font-family: 'Roboto';
    font-weight: 900;
    src: url('fonts/Roboto-Black.woff') format('woff');
}