@import url(https://fonts.googleapis.com/css?family=Lato:300,400,700|Sacramento|Abril+Fatface|Six+Caps|Cardo:400italic,700);
@font-face {
    font-family: 'codropsicons';
    src:url('../fonts/codropsicons/codropsicons.eot');
    src:url('../fonts/codropsicons/codropsicons.eot?#iefix') format('embedded-opentype'),
        url('../fonts/codropsicons/codropsicons.woff') format('woff'),
        url('../fonts/codropsicons/codropsicons.ttf') format('truetype'),
        url('../fonts/codropsicons/codropsicons.svg#codropsicons') format('svg');
    font-weight: normal;
    font-style: normal;
}

*, *:after, *:before { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; }

body {
    font-family: 'Lato', Arial, sans-serif;
    color: #64696a;
    background: #fff;
}

a {
    color: #ddd;
    text-decoration: none;
}

a:hover, a:focus {
    color: #fff;
}

.codrops-header {
    position: relative;
    margin: 0 auto;
    padding: 3em 1em;
    color: #fff;
    text-align: center;
    background: url(../img/bgheader.jpg) no-repeat center center;
    background-size: cover;
}

.codrops-header h1 {
    font-size: 2.625em;
    line-height: 1.3;
    margin: 0;
    font-weight: 300;
}

.codrops-header h1 span {
    display: block;
    font-size: 60%;
    opacity: 0.7;
    padding: 0 0 0.6em 0.1em;
}

/* To Navigation Style */
.codrops-top {
    position: absolute;
    top: 0;
    width: 100%;
    left: 0;
    text-transform: uppercase;
    font-size: 0.69em;
    line-height: 2.2;
    text-align: justify;
}

.codrops-top a {
    color: #f0f0f0;
    text-decoration: none;
    padding: 0 1em;
    letter-spacing: 0.1em;
    display: inline-block;
}

.codrops-top a:hover {
    color: #fff;
}

.codrops-top span.right {
    float: right;
}

.codrops-top span.right a {
    float: left;
    display: block;
}

.codrops-icon:before {
    font-family: 'codropsicons';
    margin: 0 4px;
    speak: none;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
}

.codrops-icon-drop:before {
    content: "\e001";
}

.codrops-icon-prev:before {
    content: "\e004";
}

.related {
    margin-top: 5em;
    color: #fff;
    background: #333;
    text-align: center;
    font-size: 1.25em;
    padding: 3em 0;
    overflow: hidden;
}

.related a {
    display: inline-block;
    text-align: left;
    margin: 20px auto;
    padding: 10px 20px;
    opacity: 0.8;
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    -webkit-backface-visibility: hidden;
}

.related a:hover,
.related a:active {
    opacity: 1;
}

.related a img {
    max-width: 100%;
}

.related a h3 {
    font-weight: 300;
    margin-top: 0.15em;
    color: #fff;
}

@media screen and (max-width: 40em) {

    .codrops-icon span {
        display: none;
    }

    .codrops-icon:before {
        font-size: 160%;
        line-height: 2;
    }

}
