@import url('https://fonts.googleapis.com/css?family=Montserrat:600|Raleway:400,700');

*, *:before, *:after {
  box-sizing: border-box;
}

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: 100%;
	font: inherit;
	vertical-align: baseline;
}
/* 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;
}

img{
    max-width: 100%;
}


/********************** TYPO *************************/
body{
    font-size: 17px;
    color: #666;
    font-family: "Raleway", sans-serif;
}

p{
    line-height: 1.8em;
    margin-bottom: 1em;
}

h1,h2,h4,h5{
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: .6em;
    color: #333;
}

h1{
    text-align: center;
    font-size: 30px;
    margin-bottom: 50px;
}

h3{
    font-size: 25px;
    margin-bottom: 5px;
}

h5{
    font-family: "Raleway", sans-serif;
    font-weight: 600;
    color: #54BBD6;
    margin-bottom: 15px;
    text-transform: uppercase;
}



strong{
    font-weight: 600;
}

a{
    color: #54BBD6;
    text-decoration: underline;
}

a:hover{
    color: #EEAB3C;
}

a.work{
    text-decoration: none;
    display: inline-block;
    padding: .5em;
    border: 1px solid #54BBD6;
    text-transform: uppercase;
    font-size: 12px;
}

a.work:hover{
    background: #54BBD6;
    color: #fff;
}


/********************** LAYOUT *************************/
body{
    background: #fff;
}

#siteHeader{
    background: #fff;
    background-size: cover;
    height: 140px;
    position: relative;
    text-align: center;
    padding-top: 5px;
}

#siteHeader .facebook{
    position: absolute;
    right: 10px;
    top: 10px;
}

#siteHeader .facebook:hover{
    opacity: .5;
}

#top{
    max-width: 1000px;
    margin: 0 auto;
}


#logo{
    width: 600px;
    height: 120px;
    background: #fff url(../img/logo.png) no-repeat center;
    background-size: auto 100%;
    display: inline-block;
    overflow: hidden;
    text-indent: -100em;
    z-index: 10;
}

#intro{
    padding: 0;
    text-align: justify;
}

#intro .container{
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 0;
    background: #fff;
}

#team{
    background: #fff;
    padding: 0 0 60px;
    overflow: hidden;
}

#team .container{
    max-width: 1000px;
    margin: 0 auto;
}

.teamMember{
    display: block;
    font-size: 15px;
    overflow: hidden;
    clear: both;
    margin-bottom: 30px;
    padding-bottom: 30px;
    border-bottom: 1px solid #f0f0f0;
}

.teamMember .image{
    float: left;
    width: 45%;
    padding-left: 10%;
    padding-right: 30px;
    text-align: center;
}

.teamMember .image img{
    width: 200px;
    border-radius: 50%;
}

.teamMember:nth-child(n+2) .image img{
    max-width: 150px;
}



.teamMember .description{
    float: right;
    width: 55%;
    padding-top: 30px;
    vertical-align: top;

}

.teamMember .description img{
    height: 90px;
    max-width: 49%;
    height: auto;
}

.teamMember:first-child .description img{
    max-width: 32%;
}



#siteFooter{
    padding: 40px 0;
    font-size: 13px;
    overflow: hidden;
    clear: both;
}

#siteFooter .container{
    max-width: 1000px;
    margin: 0 auto;
}

#siteFooter .container > div{
    float: left;
    width: 50%;
    padding: 0 2.5%;
}

#siteFooter .img{
    text-align: right;
}

#siteFooter .img img{
    margin-bottom: 50px;
}

#siteFooter iframe{
    margin-bottom: 20px;
}


@media (max-width: 1200px) {
    body{
        font-size: 16px;
        padding: 0 20px;
    }

    #siteHeader{
        height: auto;
        padding: 10px;
    }
    #logo{
        width: 500px;
        height: 100px;
    }
}

@media (max-width: 950px) {
    .teamMember .image{
        padding-left: 0;
        width: 40%;
    }

    .teamMember .description{
        width: 60%;
        padding-top: 0;
    }
}

@media (max-width: 700px) {
    body{
        font-size: 15px;
    }

    h3{
        font-size: 20px;
    }

    h5{
        font-size: 13px;
    }

    #intro .container{
        padding: 40px 0;
    }

    .teamMember{
        font-size: inherit;
    }

    #siteFooter .container > div{
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
        margin-bottom: 10px;
    }

    #logo{
        width: 80%;
        height: 15vw;
    }

    #siteHeader .facebook{
        right: -5px;
        top: 5px;
        width: 30px;
        display: inline-block;
    }
}

@media (max-width: 500px) {
    body{
        font-size: 14px;
    }
    p{
        line-height: 1.6em;
    }

    .teamMember .image{
        float: none;
        width: 100%;
        padding: 0;
        margin: 0 0 20px;
    }

    .teamMember .description{
        float: none;
        width: 100%;
        margin: 0;
        padding: 0;
        text-align: center;
    }

    #logo{
        width: 100%;
    }
}
