/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup,  
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
    margin: 0;
    padding: 0;
    border: 0;
    font-size: 1rem;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
}
/* HTML5 display-role reset for older browsers */
article, aside, details, figcaption, figure, 
footer, header, hgroup, menu, nav, section {
    display: block;
}
body {
    line-height: 1;
}
ol, ul {
    list-style: none;
}
blockquote, q {
    quotes: none;
}
blockquote:before, blockquote:after,
q:before, q:after {
    content: '';
    content: none;
}
table {
    border-collapse: collapse;
    border-spacing: 0;
}

/* --------- Styles ------------- */

html {
    font-size: 16px;
    background: #faabdb;
    font-family: 'Barlow', sans-serif;
}

body {
    margin-bottom: 2rem;
}

p {
    line-height: 1.5em;
    padding-bottom: 1rem;
} 

a {
    line-height: 1.5em;
}

li {
    line-height: 1rem;
    padding-bottom: .8rem;
}

h1,
h2,
h3,
h4 {
    line-height: 1.3em;
    font-family: 'Roboto Slab', serif;
}

img {
    max-width: 100%;
}

a {
    text-decoration: none;
    color: #005d69;
    font-weight: 500;
}

a:hover {
    color: #bb9d35;
}


strong {
    font-weight: bold;
    font-family: 'Roboto Slab', serif;
}

header {
    background-color: #accbe0;
    padding-left: .5rem;
}

header .container {
    padding:  1rem;
    border-left: 6px solid #000000;
    border-top: 6px solid #000000;
    background-color: #eef5f9;
}

header .container * + * {
    margin-top: 1rem;
}

header h1 {
    font-size: 1rem;
    text-transform: uppercase;
    font-family: 'Roboto Slab', serif;
    padding: 1rem 90px 1rem .5rem;
    background-image:  url('images/background-header.png');
    background-size: 80px 100%;
    background-repeat: no-repeat;
    background-position: top right;
}

header h2 {
    font-size: 1.2rem;
    font-family: 'Barlow', sans-serif;
}

header .main-title {
    font-weight: 500;
}

header .speaker {
    font-weight: 500;
    margin-top: 1.5rem;
    font-size: 1.2rem;
}

header .label {
    font-family: 'Roboto Slab', serif;
}

header .affiliation {
    font-style: italic;
    font-size: .9rem;
}

header .date {
    text-align: center;
    font-family: 'Barlow', sans-serif;
    font-weight: 500;
    line-height: 1.3em;
    font-size: 1.2rem;
}

header .register {
    text-align: center;
}

a.button {
    display: inline-block;
    padding: 1rem 1.5rem;
    background: #598a6e;
    color: white;
    text-decoration: none;
    text-transform: uppercase;
    font-weight: 500;
    letter-spacing: 2px;
    font-size: 1.5rem;
    border: 6px solid #426953;
    transform: background .2s ease-out;
}

a.button:hover {
    cursor: pointer;
    background: #596e8a;
    border-color:  #425165;
}

.main {
    margin-left: .5rem;
    border-left: 6px dashed #000000;
    padding: 1rem;
    background: #FFFFFF;
}

.main h2 {
    text-align: center;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-top: 2rem;
    padding-bottom: 1rem;
}

.main h3 {
    font-size: 1.2rem;
    padding-bottom: 1rem;
    padding-top: 2rem;
}

.main .information h2 {
    padding-top: 0;
}

.main .contact .name,
.main .contact .email {
    display: block;
    text-align: center;
}

.participants .list {
    column-count: 2;
    max-width: 400px;
    margin: auto;
}

.sponsors > div {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.sponsors a {
    width: 100%;
    text-align: center;
}

.sponsors img {
    max-height: 100px;
    max-width: 200px;
}

.poster {
    text-align: center;
    font-size: 1.3rem;
    text-transform: uppercase;
    padding-bottom: 0;
}


@media only screen and (min-width: 500px) {

    header {
        padding-left: 1.5rem;
    }

    header h1 {
        font-size: 1.2rem;
        padding-right: 130px;
        background-size: 120px 100%;
    }

    header h2 {
        font-size: 1.3rem;
    }

    header .speaker {
        font-size: 1.3rem;
    }

    header .affiliation {
        font-size: 1rem;
    }

    header .date {
        font-size: 1.2rem;
    }

    .main {
        margin-left: 1.5rem;
        padding: 1.5rem;
    }

    .main h2 {
        font-size: 1.5rem;
        padding-top: 3rem;
    }

    .sponsors a {
        width: 50%;
    }
}

@media only screen and (min-width: 700px) { 

    header h1 {
        padding-top: 50px;
    }

    header .container {
        padding: 1.5rem;
        border-left: 12px solid #000000;
        border-top: 12px solid #000000;
    }

    header .date,
    header .register {
        display: inline-block;
        width: 49%;
    }

    .participants .list {
        column-count: 3;
        max-width: 600px;
        margin: auto;
    }

    .main {
        border-left: 12px dashed #000000;
    }
}

@media only screen and (min-width: 800px) {

    body {
        background: url('images/background.jpg');
        background-repeat: no-repeat;
        background-size: cover;
        background-position: top right;
    }


    header {
        padding-left: 0;
    }

    header h1 {
        font-size: 1.4rem;
        background: #accbe0;
        padding-right: 0;
    }

    header h2 {
        font-size: 1.5rem;
    }

    header h2.speaker {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    header .date {
        font-size: 1.3rem;
        text-align: left;
    }

     header .container,
    .main,
    header h1 {
        max-width: 800px;
        margin: auto;
    }
}
