@import url('https://fonts.googleapis.com/css?family=Cabin:400,600,700');

html {
    width: 100%;
    height: 100%;
}

body {
    width: 100%;
    min-height: 100%;
}

body {
    font-family: 'Cabin', sans-serif;
    color: #262223;
    display: table;
    background: url('../images/bg.jpg') 50% 50% no-repeat;
}

@media
only screen and (-webkit-min-device-pixel-ratio: 2),
only screen and (   min--moz-device-pixel-ratio: 2),
only screen and (     -o-min-device-pixel-ratio: 2/1),
only screen and (        min-device-pixel-ratio: 2),
only screen and (                min-resolution: 192dpi),
only screen and (                min-resolution: 2dppx) {
    body {
        background-size: 3120px 1250px;
        background-image: url('../images/bg@2.jpg');
    }
}

#wrapper {
    display: table-cell;
    vertical-align: middle;
    padding: 3.75rem 0 5rem 0;
}

#header #logo {
    width: 160px;
    height: 50px;
    background: url('../images/logo.svg') 0 0 no-repeat;
    overflow: hidden;
    margin: 0px;
}

#content {
    padding-top: 2rem;
}

#content h2 {
    font-size: 4rem;
    font-weight: 700;
    line-height: 4.125rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

#content p {
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

#content .button {
    color: #fff;
    display: inline-block;
    font-size: 1.375rem;
    background-color: #e74725;
    opacity: 0.9;
    line-height: 4.75rem;
    height: 4.75rem;
    border-radius: 4.75rem;
    padding: 0px 2.25rem;
    transition: 0.5s ease;
}

#content .button:hover {
    text-decoration: none;
    opacity: 1;
}

#content ul {
    position: relative;
    top: -47px;
    padding-left: 384px;
    list-style: none;
    margin-bottom: 0;
    text-align: center;
}

#content ul li {
    display: inline-block;
    line-height: 3.125rem;
    height: 3.125rem;
    border-radius: 3.125rem;
    padding: 0px 1.5rem;
    background: #fdfdfd;
    text-transform: uppercase;
    margin: 0 0.2rem 0.625rem 0.2rem;
}

@media (max-width: 320px) { /* iPhone SE */
    #content h2 {
        font-size: 2.5rem;
        line-height: 2.8rem;
    }
    #content .button {
        line-height: 3.5rem;
        height: 3.5rem;
        border-radius: 3.5rem;
        padding: 0px 1.5rem;
        font-size: 1.25rem;
    }
    body {
        background-position-y: 33%;
        background-position-x: 0%;
    }
}

@media (min-width: 321px) and (max-width: 575.98px) { /* iPhone 7 */
    #content h2 {
        font-size: 3rem;
        line-height: 3.3rem;
    }
    body {
        background-position-y: 45%;
        background-position-x: -1%;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    body {
        background-position-y: 51%;
        background-position-x: -6%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    body {
        background-position-y: 52%;
        background-position-x: -8%;
    }

    #content h2 {
        padding-right: 150px;
    }
}

@media (max-width: 991.98px) {
    #content ul {
        top: 0px;
        padding-left: 0px;
        padding-top: 5rem;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    #content ul {
        padding-left: 278px;
    }
}
