/*******************************
    Section-313
*******************************/

.section-313 {
    min-height: 400px;
    position: relative;
}

.section-313 .section__bg {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center top;
    z-index: -1;
}

.section-313 .section__inner {
    max-width: 50%;
    flex: 0 0 50%;
    text-align: center;
    color: #2d2928;
}

.section-313 .section__inner h2 {
    font-size: 2.5rem;
    font-weight: 500;
}

.section-313 .section__inner p {
    font-weight: 500;
    font-size: 1.4rem;
}

.section-313 .section__inner a {
    text-transform: uppercase;
    padding: 0 20px;
    color: #fff;
    background: #2d2928;
    height: 35px;
    line-height: 35px;
    border-radius: 25px;
    font-weight: 500;
    letter-spacing: 1;
    box-shadow: 0 4px 8px 4px rgba(0, 0, 0, .4);
    font-size: 13px;
}

@media (min-width: 576px) {

    .section-313 {
        min-height: 450px;
    }
}

@media (min-width: 992px) {

    .section-313 {
        min-height: 700px;
    }

    .section-313 .section__bg {
        background-size: auto;
        background-attachment: fixed;
        background-repeat: no-repeat;
        background-position-y: 165px;
        background-position-x: center;
    }

    .section-313 .section__inner {
        text-align: left;
        flex: 1 1 auto;
    }

    .section-313 .section__inner a {
        height: 49px;
        line-height: 49px;
        padding: 0 35px;
        font-size: 16px;
    }
}

/* background position-y 100% on desktop */

@media (min-width: 991.92px) {
    .section-313.section--bg-position-y-100 .section__bg {
        background-position-y: 100%;
    }
}

/* background size cover on desktop */

@media (min-width: 991.92px) {
    .section-313.section--bg-size-cover .section__bg {
        background-size: cover;
    }
}

/* background position-x right on desktop */

@media (min-width: 991.92px) {
    .section-313.section--bg-position-x-left .section__bg {
        background-position-x: right;

    }
}
