@font-face {
    font-family: 'ProximaNova-Bold';
    src: url('../fonts/ProximaNova-Bold.eot?#iefix') format('embedded-opentype'), url('../fonts/ProximaNova-Bold.otf') format('opentype'),
    url('../fonts/ProximaNova-Bold.woff') format('woff'), url('../fonts/ProximaNova-Bold.ttf') format('truetype'), url('../fonts/ProximaNova-Bold.svg#ProximaNova-Bold') format('svg');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ProximaNova-Regular';
    src: url('../fonts/ProximaNova-Regular.eot?#iefix') format('embedded-opentype'), url('../fonts/ProximaNova-Regular.otf') format('opentype'),
    url('../fonts/ProximaNova-Regular.woff') format('woff'), url('../fonts/ProximaNova-Regular.ttf') format('truetype'), url('../fonts/ProximaNova-Regular.svg#ProximaNova-Regular') format('svg');
    font-weight: normal;
    font-style: normal;
}

* {
    margin: 0;
    padding: 0;
}

body {
    padding: 60px 0;
    background: #f2f2f2;
}

@media ( max-width: 768px) {
    body {
        padding: 40px 0;
    }
}

@media ( min-width: 555px){
    h1 {
    width:350px;
    height:70px;
    }
}

h2 {
    font-family: 'ProximaNova-Regular';
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    text-transform: uppercase;
    color: #2aa7f3;
    margin-bottom: 3px;
}

p {
    font-family: 'ProximaNova-Regular';
    font-weight: normal;
    font-style: normal;
    font-size: 16px;
    color: #6b6a6a;
    line-height: 1.4;
}


img {
    max-width: 100%;
}

.container {
    width: 900px;
    margin: 0 auto;
}

@media ( max-width: 768px) {
    .container {
        width: 100%;
        padding: 0 59px;
        box-sizing: border-box;
    }
}

@media ( max-width: 500px) {
    .container {
        width: 100%;
        padding: 0 20px;
        box-sizing: border-box;
    }
}

@media ( min-width: 768px) and (max-width:1200px) {
    .container {
        width: 100%;
        padding: 0 60px;
        box-sizing:border-box;
    }
}


header {
    width: 100%;
    margin-bottom: 34px;
}

@media ( max-width: 768px) {
    header {
        margin-bottom: 40px;
    }
}

.clearfix:after {
    content: " "; /* Older browser do not support empty content */
    visibility: hidden;
    display: block;
    height: 0;
    clear: both;
}

a {
    text-decoration: none;
    display: block;
}

#brand {
    float: left;
    margin-left: -18px;
}

@media (max-width: 768px) {
    #brand {
        margin-left: -20px;
    }
}

nav a {
    font-family: 'ProximaNova-Bold';
    font-weight: normal;
    font-style: normal;
    color: #6b6a6a;
    font-size: 14px;
    text-transform: uppercase;
    float: right;
}

@media (max-width: 768px) {
    nav {
        margin-bottom: 20px;
    }
}

.text-uppercase {
    text-transform: uppercase;
}

.main {
    margin-bottom: 66px;
}

section {
    margin-bottom: 40px;
}

@media ( max-width: 768px) {
    section {
        margin-bottom: 40px;
    }

    section#skills {
        margin-bottom: 13px;
    }
}

.sprite {
    background-image: url(../img/skills.png);
    background-repeat: no-repeat;
    display: inline-block;
}

.sprite-classic-advertising {
    width: 45px;
    height: 45px;
    background-position: 0 0;
    background-size: 700%;
}

.sprite-creative-strategy {
    width: 45px;
    height: 45px;
    background-position: -47px 0;
    background-size: 700%;
}

.sprite-digital-mobile {
    width: 45px;
    height: 45px;
    background-position: -91px 0;
    background-size: 700%;
}

.sprite-events {
    width: 45px;
    height: 45px;
    background-position: -134px 0;
    background-size: 700%;
}

.sprite-music-soundtracks {
    width: 45px;
    height: 45px;
    background-position: -179px 0;
    background-size: 700%;
}

.sprite-social-media {
    width: 45px;
    height: 45px;
    background-position: -226px 0;
    background-size: 700%;
}

.sprite-videogames {
    width: 45px;
    height: 45px;
    background-position: -269px 0;
    background-size: 700%;
}

#skills h2{
    margin-bottom: 15px;
}

#skills ul {
    list-style-type: none;
    margin-left: -1px;
}

#skills li {
    text-align: center;
    vertical-align: top;
    float: left;
    width: 14.2%;
    box-sizing: border-box;
    min-height: 91px;
}

#skills p {
    font-family: 'ProximaNova-Bold';
    font-weight: normal;
    font-style: normal;
    text-transform: uppercase;
    text-align: center;
    font-size: 12px;
    width: 100%;
}

@media (max-width: 590px) {
    #skills li {
        width: 50%;
        margin-bottom: 26px;
    }

    #skills li.last {
        width: 100%;
    }
}

@media (min-width: 590px) and (max-width: 768px) {
    #skills li {
        width: 25%;
        margin-bottom: 26px;
    }
}

@media (min-width: 768px) and (max-width: 1000px) {
    #skills li {
        width: 20%;
        margin-bottom: 26px;
    }
}

i {
    margin-bottom: 10px;
}



#awards h2{
    margin-bottom: 15px;
}

#awards ul {
    list-style-type: none;
}

#awards li {
    padding-right: 10px;
    float: left;
    width: 12%;
    box-sizing: border-box;
}

#awards li:nth-child(4), #awards li:nth-child(8) {
    margin-right: 0;
}

@media (max-width: 768px) {
    #awards li {
        margin: 0 0 30px 0;
        width:100%;
        text-align:center;
    }
    #awards li img {
        width:100%;
	max-width:100px;
    }
}

@media (min-width:500px) and (max-width: 900px) {
    #awards li {
        margin-bottom:20px;
    }

}

@media (max-width: 1000px) and (min-width: 900px) {
    #awards li {
        width: 12%;
        margin:0;
    }
}

a.btn {
    border: 2px solid #58595b;
    width: 110px;
    padding: 12px 0;
    text-align: center;
    color: #58595b;
    font-family: 'ProximaNova-Regular';
    font-weight: normal;
    font-style: normal;
    font-size: 13px;
}

ul.actions {
    list-style-type: none;
}

.actions li {
    float: left;
    margin-right: 40px;
}

.actions a.btn:hover {
    background: #58595b;
    color: #f2f2f2;
}

@media (max-width: 500px) {
    .actions li {
        margin-bottom: 30px;
        width: 100%;
    }
    .actions li a.btn {
        width: 100%;
    }
}

@media (min-width: 500px)and (max-width: 768px) {
    .actions li {
        width: 50%;
        box-sizing: border-box;
        margin: 0;
        padding-right:0;
        padding-left:15px;

    }

    .actions li:first-child {
        padding-left: 0;
        padding-right:15px ;

    }

    .actions li a.btn {
        width: 100%;
    }
}
