/* ===================================
    About
====================================== */

/*
    Theme Name: MegaOne
    Theme URI:
    Author: Themes Industry
    Author URI:
    Description: One Page Parallax Template
    Tags: one page, multipurpose, parallax, creative, html5
*/

/* ===================================
    Table of Content
====================================== */

/*  - Fonts
    - General
    - Social Icon Hover
    - Header And Navigation
    - Slider
    - About
    - Work
    - Clients
    - Price
    - Blog
    - Contact
    - Footer
    - Loader
    - Media Queries   */

/* ===================================
   About
====================================== */
.about{
    /*background-color: #191818;*/
   }
.main-title {
    position: relative;
    margin-bottom: 6rem;
    text-align: center;
}
.main-title h5 {
    font-family: "Source Sans Pro", sans-serif;
    font-weight: 400;
    margin-bottom: 1.1rem;
    color: #ffffff;
}
.main-title h2 {
    font-weight: 300;
    color: #ffffff;
    line-height: 1.2;
    max-width: 650px;
    margin-bottom: 1.5rem;
    margin-left: auto;
    margin-right: auto;
}
.main-title p {
    max-width: 720px;
    margin: 0 auto;
}

.main-title.style-two h5 {
    margin-bottom: 1.5rem;
}
.main-title.style-two h2 {
    text-transform: initial;
    font-size: 37px;
    font-weight: 500;
    max-width: 720px;
}
.main-title.style-two p {
    color: #ffffff;
    max-width: 720px;
}

.rare-box {
    height: 187px;
    width: 100%;
    background: #BB9F55;
    position: relative;
}
.about-img-small {
    margin-left: 30px;
    top: -155px;
    margin-bottom: -153px;
}
.about ul li {
    font-family: 'Source Sans Pro', sans-serif;
    font-size: 16px;
    display: flex;
    color: #fff;
    opacity: .8;
}
.about ul li:before{
    font-family: "Font Awesome 5 Free";
    padding-right: 15px;
    font-weight: 700;
    content: '\f061';
    color: #aac0e4;
}
@keyframes scale {
    from {
        transform: translateY(0);
    }
    to {
        transform: translateY(-10px)
    }
}
.about:before {    
    position: absolute;
    right: -10px;
    top: 200px;
    animation: scale .6s alternate infinite linear both;
}

/* about 3 boxes */
.about-box {
    transition: .5s linear;
    text-align: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.2);
    padding: 40px;
    max-width: 350px;
}
.about-box i {
    font-size: 30px;
    position: relative;
}
.about-box:hover  {
    transform: translate(0,-13px);
    transition: .5s linear;
}

/* buttons */
.btn:hover, .btn:active, .btn:focus {
    outline: none;
    box-shadow: none;
}
button {
    cursor: pointer;
}
button:hover, button:active, button:focus {
    outline: none;
}
.btn-setting {
    padding: 9px 34px;
    width: auto;
    display: inline-block;
    font-weight: 400;
    line-height: 25px;
    font-size: 15px;
    text-transform: capitalize;
    text-align: center;
    -webkit-border-radius: 36px;
    border-radius: .5rem;
    position: relative;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #acacac;
    -webkit-transition: all .5s ease;
    -o-transition: all .5s ease;
    transition: all .5s ease !important;
}
nav .btn-setting {
    font-size: 14px;
    font-weight: 600;
    padding: 5px 20px;
    text-transform: uppercase;
    width: 180px;
}
.btn-yellow {
    border-color: #f1c30f;
    background-color: #f1c30f;
    color: #ffffff;
}
.btn-pink {
    border-color: #e57bff;
    background-color: #e57bff;
    color: #ffffff;
}
.btn-blue {
    border-color: #150958;
    background-color: #150958;
    color: #ffffff;
}
.btn-white {
    background-color: #ffffff;
    color: #212622;
}
.btn-transparent2 {
    border: 1px solid #212622;
    color: #212622;
}
.btn-transparent3 {
    color: #ffffff;
}
.rev_slider .btn-setting {
    border: 2px solid #150958;
    /*box-shadow: 0 1px 4px rgba(221, 221, 221, 0.53) !important;*/
}

.btn-black {
    border-color: #202020;
    background-color: #202020;
    color: #ffffff;
}

.btn-transparent {
    border: 1px solid #ffffff;
    background: transparent;
}
.btn-white:hover, .btn-white:focus, .btn-transparent2:hover, .btn-transparent2:focus {
    color: #ffffff;
}
.btn-transparent3:hover, .btn-transparent3:focus {
    color: #212622;
}
.btn-white2:hover, .btn-white2:focus {
    color: #212622;
}

.btn-transparent-white {
    background: transparent;
    border: 1px solid !important;
    border-color: #ffffff;
}

.btn-hvr-up:after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 0;
    width: 100%;
    -webkit-transition: all .4s ease;
    transition: all .4s ease;
    z-index: -1;
}
.btn-hvr-up:hover:after, .btn-hvr-up:active:after, .btn-hvr-up:focus:after {
    height: 100%;
}
.btn-hvr-yellow:after {
    background-color: #BB9F55;
}
.btn-hvr-yellow:hover, .btn-hvr-yellow:focus {
    border-color: #BB9F55;
    color: #ffffff;
}
.btn-hvr-yellow:focus, .btn-hvr-pink:focus, .btn-hvr-blue:focus, .btn-hvr-whatsapp:focus {
    color: #BB9F55;
}
.btn-hvr-pink:after {
    background-color: #e57bff;
}
.btn-hvr-pink:hover, .btn-hvr-pink:focus {
    border-color: #e57bff;
    color: #ffffff;
}
.btn-hvr-blue:after {
    background-color: #150958;
}
.btn-hvr-blue:hover, .btn-hvr-blue:focus {
    border-color: #150958;
    color: #BB9F55!important;
}
.btn-hvr-white:after {
    background-color: #ffffff;
}
.btn-hvr-white:hover, .btn-hvr-white:focus {
    border-color: #ffffff;
}
.btn-hvr-whatsapp:after {
    background-color: #25d366;
}
.btn-hvr-whatsapp:hover, .btn-hvr-whatsapp:focus {
    border-color: #25d366;
    color: #ffffff;
}

/* parallax setting */
.parallax-setting {
    -webkit-background-size: cover;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    overflow: hidden;
    width: 100%;
}

/* ===================================
   Media Queries
====================================== */
@media (max-width: 1280px) and (min-width: 992px) {
    .about-img {
        height: 580px;
    }
    .image img.about-img {
        height: 580px;
    }
}

@media screen and (max-width: 1024px) {    
    .about-img {
        height: 480px;
    }
}

@media screen and (max-width: 991px) {
    .about-img, .image img.about-img {
        height: auto;
        width: 100%;
    }
    .about:before {
        display: none;
    }    
}
@media screen and (max-width: 767px) {
    
    .main-title {
        margin-bottom: 2.5rem;
    }
    .main-title h2,  .cbp-l-project-title {
        margin-bottom: 1.2rem;
    }
}
@media screen and (max-width: 575px) {
    .main-title h5 {
        line-height: 1;
        margin-bottom: 1rem;
    }    
}