html, body {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    line-height: 22px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    font-smoothing: antialiased;
    color: #848484;
    background-color: #000;
    background-position: center center;
    background-size: 100% auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Podkova', serif;
    color: #fff;
    font-weight: normal;
    letter-spacing: 1px;
}

h1 {
    font-size: 63px;
    line-height: 70px;
    padding: 0;
    margin: 0 0 0 0;
}

h5 {
    font-size: 28px;
    line-height: 35px;
    padding: 0;
    color: #b7b7b7;
    margin: 0 0 16px 0;
}

a {
    color: #b7b7b7;
    text-decoration: none;
    font-weight: normal;
}

p {
    margin: 16px 0;
}

a:hover {
    text-decoration: underline;
}

.gradient {
    left: 0;
    height: 100%;
    position: absolute;
    top: 0;
    width: 100%;
    z-index: 998;
    background: -moz-linear-gradient(left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.05) 100%); /* FF3.6-15 */
    background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.05) 100%); /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, rgba(0, 0, 0, 0.6) 0%, rgba(0, 0, 0, 0.6) 1%, rgba(0, 0, 0, 0.5) 49%, rgba(0, 0, 0, 0.1) 88%, rgba(0, 0, 0, 0.05) 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#e6000000', endColorstr='#26000000', GradientType=1); /* IE6-9 */
}

.show {
    display: block;
}

.hide {
    opacity: 0;
}

.hidden {
    display: none;
}

#wrapper {
    min-height: 100%;
    position: relative;
    z-index: 999;
    padding: 0 40px;
}

.content {
    padding-top: 100px;
    padding-bottom: 150px;
    width: 650px;
    z-index: 9999;
    -webkit-font-smoothing: antialiased;
}

#footer {
    height: 100px;
    margin-top: -100px;
    padding: 0 40px;
    display: flex;
    position: relative;
    align-items: center;
    z-index: 9999;
}

#logo {
    font-family: 'Podkova', serif;
    font-size: 49px;
    line-height: 1.3;
    z-index: 1000;
    color: #fff;
    height: 65px;
    position: relative;
    top: -4px;
}

.main-nav ul {
    display: flex;
    margin: 0;
    padding: 0 0 0 15px;
}

.main-nav ul li {
    list-style: none;
    display: inline;
    padding-right: 10px;
    padding-left: 10px;
    border-left: 1px solid #b7b7b7;
}

.main-nav ul li a {
    height: 65px;
}

.main-nav ul li a.active {
    color: #ffa800;
}

.snav ul {
    margin: 0;
    padding: 0;
    display: flex;
}

.snav ul li {
    list-style: none;
    display: block;
    background: #282828;
    margin: 1px;
    opacity: .5;
}

.snav ul li a {
    display: block;
    padding: 100px 10px 5px 10px;
}

.snav ul li .icon {
    width: 26px;
    height: 26px;
    fill: white;
}

.snav ul li:hover {
    opacity: 1;
}

@media only screen and (max-width: 480px) {

    body {
        background-image: url("../images/backgrounds/bg-480.jpg");
    }

    #wrapper {
        padding: 0 20px;
    }

    .content {
        width: auto;
        padding-top: 50px;
    }

    #footer {
        flex-direction: column;
        align-items: flex-start;
        padding: 0 20px;
    }

    .main-nav {
        order: 1
    }

    #logo {
        order: 2;
        margin: 20px 0;
    }

    .main-nav ul {
        padding: 0;
    }

}

@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (max-width: 480px), only screen and (   min--moz-device-pixel-ratio: 2)      and (max-width: 480px), only screen and (     -o-min-device-pixel-ratio: 2/1)    and (max-width: 480px), only screen and (        min-device-pixel-ratio: 2)      and (max-width: 480px), only screen and (                min-resolution: 192dpi) and (max-width: 480px), only screen and (                min-resolution: 2dppx)  and (max-width: 480px) {

    body {
        background-image: url("../images/backgrounds/bg-480@2x.jpg");
    }

}

@media only screen and (min-width: 481px) and (max-width: 768px) {

    body {
        background-image: url("../images/backgrounds/bg-768.jpg");
    }

    .content {
        width: auto;
    }

    #footer {
        flex-direction: column;
        align-items: flex-start;
    }

    .main-nav ul {
        padding: 0;
    }

}

@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (min-width: 481px) and (max-width: 768px), only screen and (   min--moz-device-pixel-ratio: 2)      and (min-width: 481px) and (max-width: 768px), only screen and (     -o-min-device-pixel-ratio: 2/1)    and (min-width: 481px) and (max-width: 768px), only screen and (        min-device-pixel-ratio: 2)      and (min-width: 481px) and (max-width: 768px), only screen and (                min-resolution: 192dpi) and (min-width: 481px) and (max-width: 768px), only screen and (                min-resolution: 2dppx)  and (min-width: 481px) and (max-width: 768px) {

    body {
        background-image: url("../images/backgrounds/bg-768@2x.jpg");
    }

}

@media only screen and (min-width: 769px) and (max-width: 1024px) {

    body {
        background-image: url("../images/backgrounds/bg-1024.jpg");
    }

}

@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (min-width: 769px) and (max-width: 1024px), only screen and (   min--moz-device-pixel-ratio: 2)      and (min-width: 769px) and (max-width: 1024px), only screen and (     -o-min-device-pixel-ratio: 2/1)    and (min-width: 769px) and (max-width: 1024px), only screen and (        min-device-pixel-ratio: 2)      and (min-width: 769px) and (max-width: 1024px), only screen and (                min-resolution: 192dpi) and (min-width: 769px) and (max-width: 1024px), only screen and (                min-resolution: 2dppx)  and (min-width: 769px) and (max-width: 1024px) {

    body {
        background-image: url("../images/backgrounds/bg-1024@2x.jpg");
    }

}

@media only screen and (min-width: 1025px) {

    body {
        background-image: url("../images/backgrounds/bg-1920.jpg");
    }

}

@media only screen and (-webkit-min-device-pixel-ratio: 2)      and (min-width: 1025px), only screen and (   min--moz-device-pixel-ratio: 2)      and (min-width: 1025px), only screen and (     -o-min-device-pixel-ratio: 2/1)    and (min-width: 1025px), only screen and (        min-device-pixel-ratio: 2)      and (min-width: 1025px), only screen and (                min-resolution: 192dpi) and (min-width: 1025px), only screen and (                min-resolution: 2dppx)  and (min-width: 1025px) {

    body {
        background-image: url("../images/backgrounds/bg-1920@2x.jpg");
    }

}
