/* Set Box sizing for all divs and elements to control widths and padding etc */

html {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

*,
*:before,
*:after {
    -webkit-box-sizing: inherit;
    -moz-box-sizing: inherit;
    box-sizing: inherit;
}


/* Font Smoothing */

html,body {
    height:100%;
    /* Font varient */
    font-variant-ligatures: none;
    -webkit-font-variant-ligatures: none;
    /* Smoothing */
    text-rendering: optimizeLegibility;
    -moz-osx-font-smoothing: grayscale;
    font-smoothing: antialiased;
    -webkit-font-smoothing: antialiased;
    text-shadow: rgba(0, 0, 0, .01) 0 0 1px;
}

h1, h2, h3, h4, h5, h6 {
    margin-top: 0px;
    margin-bottom: 20px;
}

p {
    margin: 0 0 20px;
    line-height: 1.5;
}

a:hover {
	text-decoration: none;
}

/*p:last-child {
    margin: 0;
}*/

@media (min-width: 320px) {

    h1 {
        font-size: 28px;
    }
    
    h2 {
        font-size: 26px;
    }
    
    h3 {
        font-size: 24px;
    }
    
    h4 {
        font-size: 22px;
    }
    
    h5 {
        font-size: 20px;
    }
    
    h6 {
        font-size: 18px;
    }
    
    p {
        font-size: 14px;
    }
    
    li {
        font-size: 14px;
    }
    
}


@media (min-width: 640px) {


    p {
        font-size: 16px;
    }
    
    li {
        font-size: 16px;
    }
    
}

@media (min-width: 800px) {

    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 32px;
    }
    
    h3 {
        font-size: 28px;
    }
    
    h4 {
        font-size: 26px;
    }
    
    h5 {
        font-size: 24px;
    }
    
    h6 {
        font-size: 22px;
    }
    
}

