/* josefin-sans-300 - latin */
@font-face {
    font-family: 'Josefin Sans';
    font-style: normal;
    font-weight: 300;
    src: url('fonts/josefin-sans-v23-latin-300.eot');
    /* IE9 Compat Modes */
    src: local(''),
        url('fonts/josefin-sans-v23-latin-300.eot?#iefix') format('embedded-opentype'),
        /* IE6-IE8 */
        url('fonts/josefin-sans-v23-latin-300.woff2') format('woff2'),
        /* Super Modern Browsers */
        url('fonts/josefin-sans-v23-latin-300.woff') format('woff'),
        /* Modern Browsers */
        url('fonts/josefin-sans-v23-latin-300.ttf') format('truetype'),
        /* Safari, Android, iOS */
        url('fonts/josefin-sans-v23-latin-300.svg#JosefinSans') format('svg');
    /* Legacy iOS */
}

body {
    font-family: 'Josefin Sans';
    font-size: 20px;
    line-height: 1.5;
    /* Permalink - use to edit and share this gradient: https://colorzilla.com/gradient-editor/#ececec+0,c6c6c6+100 */
    overflow-x: hidden;

    margin: 0;
}

* {
    box-sizing: border-box;
}

.content {
    max-width: 100%;
    width: 660px;
    position: relative;
    margin: 4em auto 2em;
    text-align: center;
    padding: 10em 6em;
}

.content:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../img/bg-content.png) no-repeat;
    background-size: 100%;
    z-index: 0;
}

.content p,
.content div,
.content h1 {
    position: relative;
    z-index: 100;
}

img {
    max-width: 100%
}

.content p img {
    margin-top: 2.52em;
}

.logo {
    margin: 0 0 3em
}

.bg {
    overflow-x: hidden;
    width: 100vw;
    position: absolute;
    min-height: 100vh;


}

.bg:before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background: url(../img/bg-transparent.png) center top no-repeat;
    background-size: cover;
    z-index: 10
}

.bg:after {
    position: absolute;
    content: '';
    width: 100%;
    height: 100%;
    background: #ececec;
    /* Old browsers */
    background: -moz-linear-gradient(left, #ececec 0%, #c6c6c6 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(left, #ececec 0%, #c6c6c6 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to right, #ececec 0%, #c6c6c6 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ececec', endColorstr='#c6c6c6', GradientType=1);
    /* IE6-9 */
    left: 0;
    top: 0;
    z-index: -1;
}

.email {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    margin-left: 260px;
    width: 320px;
    z-index: 1000;
}

.email img {
    max-width: 100%
}

@media (max-width: 840px) {}

@media (max-width: 767px) {
    .content {
        padding: 10em 2em
    }

    .content:before {
        background-size: 100% 90%;
        background-position: center top;
    }

    .email {
        margin-left: 0;
        left: auto;
        transform: none;
        right: -70px;
    }
}

@media (max-width: 480px) {
    .content {
        padding: 10em 1em;
        margin-bottom: 2em;
    }

    .bg::before {
        display: none;
    }
}
