h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: 'sofia_problack';
}

.section {
    height: 100vh;
}

.container-fluid {
    width: 100%;
    max-width: 100%;
}

.section .sec-overlay {
    position: relative;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.45);
    display: none;
}

.about-sec-one-wrapper .about-sec-one-content {
    color: #ffffff;
    width: 100%;
    position: relative;
    z-index: 10;
    text-align: left;
}

.about-sec-one-wrapper .about-sec-one-content h2 {
    text-transform: capitalize;
    font-size: 36px;
}

.about-sec-one-wrapper .about-sec-one-content p {
    margin-top: 30px;
    font-size: 18px;
    line-height: 1.3;
    width: 50%;
    max-width: 350px;
}


/* end of section one */

.content {
    max-width: 100%;
    text-align: center;
    color: #ffffff;
    margin: auto;
}

.content h2 {
    text-transform: capitalize;
    font-size: 36px;
    margin-bottom: 20px;
}

.content h2 span {
    display: block;
}

.content p {
    margin-top: 10px;
    line-height: 1.3;
    font-size: 16px;
}


/* end of section two */

.about-sec-one-wrapper {
    background: url(../images/about/about-sec-one-bg.jpg);
    background-position: center center;
    background-size: cover;
}

.about-sec-two-wrapper {
    background: url(../images/about/about-sec-two-bg.jpg);
}

.about-sec-two-wrapper .content {
    position: relative;
    left: 0%;
    text-align: left;
}

.about-sec-three-wrapper {
    background: url(../images/about/about-sec-three-bg.jpg);
    background-attachment: fixed;
    background-size: cover;
}

.about-sec-three-wrapper .content {
    position: relative;
    text-align: right;
    top: 100px;
}

.about-sec-three-wrapper .content p {
    width: 35%;
    margin: 0px;
    text-align: right;
    float: right;
    padding-right: 10px;
}

.about-sec-three-wrapper .content p:after {
    content: "";
    position: relative;
    clear: both;
}

.about-sec-four-wrapper {
    background: url(../images/about/about-sec-four-bg.jpg);
}

.about-sec-four-wrapper .content {
    position: relative;
}

.about-sec-four-wrapper .content p {
    width: 60%;
    margin: 0px;
    text-align: center;
    padding-right: 6px;
    left: 50%;
    position: relative;
    transform: translateX(-50%);
}

.about-sec-four-wrapper .content p:after {
    content: "";
    position: relative;
    clear: both;
}

.about-sec-five-wrapper {
    background: url(../images/about/about-sec-five-bg.jpg);
}

.about-sec-five-wrapper .sec-overlay {
    display: block;
    position: absolute;
}

.about-sec-five-wrapper .content {
    position: relative;
    z-index: 10;
}

.about-sec-five-wrapper .content p {
    width: 50%;
    margin: auto;
}

.about-sec-five-wrapper .content p:after {
    content: "";
    position: relative;
    clear: both;
}

.about-sec-two-wrapper,
.about-sec-three-wrapper,
.about-sec-four-wrapper,
.about-sec-five-wrapper {
    background-attachment: fixed;
    background-size: cover;
    background-repeat: no-repeat;
}

.section>.sec-overlay>.content {
    display: none;
}

.visible-mobile {
    display: none;
}


/********************
    MEDIA QUERIES
***************************/

@media only screen and (min-width: 1025px) {
    .section .sec-overlay {
        background: rgba(0, 0, 0, .3);
        display: none;
    }
}

@media screen and (max-width: 1024px) {
    .about-sec-one-wrapper,
    .about-sec-two-wrapper,
    .about-sec-three-wrapper,
    .about-sec-four-wrapper,
    .about-sec-five-wrapper {
        background-attachment: inherit;
        background-size: cover;
        background-position: center center;
    }
}


/* 1024 End */

@media screen and (max-width: 800px) {
    .visible-desktop {
        display: none;
    }
    .visible-mobile {
        display: block;
    }
    .about-sec-one-wrapper .about-sec-one-content {
        text-align: center;
        position: absolute;
        bottom: 50px;
    }
    .about-sec-one-wrapper .about-sec-one-content h2 {
        font-size: 30px;
    }
    .about-sec-one-wrapper .about-sec-one-content p {
        margin-top: 10px;
        font-size: 16px;
        width: 60%;
        text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
        margin: auto;
    }
    .about-sec-three-wrapper .content,
    .about-sec-four-wrapper .content,
    .about-sec-five-wrapper .content {
        top: 0px;
        text-align: center;
    }
    .about-sec-three-wrapper .content p,
    .about-sec-four-wrapper .content p,
    .about-sec-five-wrapper .content p {
        width: 100%;
        margin: 0px;
        text-align: center;
        float: none;
    }
    .about-sec-two-wrapper>.container {
        width: 100%;
        z-index: 10;
        background: white;
        position: static;
        color: #000000;
    }
    .about-sec-two-wrapper .content,
    .about-sec-four-wrapper .content {
        position: relative;
        right: inherit;
        margin: -20px auto 40px;
        padding: 30px;
        box-sizing: border-box;
        text-align: center;
        background: #fff;
        box-shadow: 0px 0px 15px -5px rgba(0, 0, 0, 0.30);
    }
    .content {
        max-width: 100%;
        text-align: center;
        padding: 40px;
        margin: auto;
    }
    .content h2 {
        font-size: 28px;
    }
    .content p {
        font-size: 16px;
    }
    .about-sec-two-wrapper .content,
    .about-sec-three-wrapper .content,
    .about-sec-four-wrapper .content,
    .about-sec-five-wrapper .content {
        right: 0;
        color: #282828;
        padding: 15px;
    }
    .about-sec-four-wrapper .content {
        padding: 15px;
    }
    .about-sec-one-wrapper {
        background: none;
        height: auto;
        min-height: 0;
        padding: 54px 0 0;
        display: block;
    }
    .mobile-banner img {
        display: block;
        width: 100%;
        height: auto;
    }
    .section>.sec-overlay {
        position: relative;
        display: block;
    }
    /*
	.section > .sec-overlay > .content {
		width: 100%;
		position: absolute;
		display: block;
		height: 100%;
		background: rgba(0, 0, 0, .1);
		width: 100%;
	}
*/
    .section>.sec-overlay>.content h2 {
        position: absolute;
        top: 50%;
        -webkit-transform: translateY(-50%);
        transform: translateY(-50%);
        color: #ffffff;
        display: block;
        letter-spacing: 2px;
        margin: 0;
        width: 100%;
        left: 0;
        right: 0;
        margin: auto;
    }
    .section.about-sec-two-wrapper>.sec-overlay>.content h2 {
        top: 63%;
    }
    .about-sec-two-wrapper,
    .about-sec-three-wrapper,
    .about-sec-four-wrapper,
    .about-sec-five-wrapper {
        background-position: center center;
        height: auto;
        background: none;
        display: block;
        min-height: unset;
        padding: 0;
    }
    .about-sec-three-wrapper .content,
    .about-sec-five-wrapper .content {
        text-align: center;
        position: absolute;
        top: 90%;
        color: #ffffff;
        width: 100%;
        z-index: 999;
        transform: translateY(-90%);
    }
}


/* 800 End */

@media only screen and (max-width:767px) {
    .content h2 {
        font-size: 24px;
        margin-top: 0;
    }
    .about-sec-two-wrapper br {
        display: none;
    }
}
