@import url(https://fonts.googleapis.com/css?family=Titillium+Web:400,900,300,200);

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}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}

body{
    background: #303030;
    font-family: 'Titillium Web', sans-serif;
}

/* show the hand cursor on the button */
#next-button-one{
    cursor : pointer;
}

/* show the hand cursor on the button */
#next-button-two{
    cursor : pointer;
}

/* treat <svg> as wrapper, 
   center it and set a max width */
#cycling-infographic{
    display: block;
    max-width: 960px;
    margin: 0 auto;
}

/* set the bike and male chart to 
   scale or rotate around their exact center */
#bicycle,
#chart-male{
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

/* set the female chart to 
   scale and rotate around the 
   'tip' of the 'pie slice' 
   (see illustrator file for reference- 
    it's the black chart piece) */
#chart-female{
    -webkit-transform-origin: 0% 58%;
    -ms-transform-origin: 0% 58%;
    transform-origin: 0% 58%;
}

/* class '.spin' to animate spinning wheels, this
   should be applied to the bicycle graphic */
.spin #frontwheel,
.spin #backwheel{
    -webkit-animation: spin 0.5s infinite linear;
    animation: spin 0.5s infinite linear;
    
    /* make the wheels spin about their centre, 
       not some random default point */
    -webkit-transform-origin: 50% 50%;
    -ms-transform-origin: 50% 50%;
    transform-origin: 50% 50%;
}

/* spinning animation keyframes */
@-webkit-keyframes spin{
    0%{
        -webkit-transform: rotate( 0deg );
        transform: rotate( 0deg );
    }
    100%{
        -webkit-transform: rotate( 360deg );
        transform: rotate( 360deg );
    }
}

@keyframes spin{
    0%{
        -webkit-transform: rotate( 0deg );
        transform: rotate( 0deg );
    }
    100%{
        -webkit-transform: rotate( 360deg );
        transform: rotate( 360deg );
    }
}