@import url('https://fonts.googleapis.com/css2?family=Yanone+Kaffeesatz:wght@300;400;500&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Exo+2&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rubik+Mono+One&display=swap');

@font-face {
    font-family: "Helvetica Neue bold";
    src: url(../fonts/HN_bold.ttf);
}

.nav-item{
    margin-right: 2rem;
    /*font-family: 'Yanone Kaffeesatz', sans-serif;*/
    font-family: 'Exo 2', sans-serif;
    font-size: 1.4rem;
}

.nav-link{
    color: #f8f9fa !important;
}

.navbar{
    background: transparent !important;
    position: absolute;
    z-index: 10;
    top: 0;
    right: 0;
    left: 0;
    padding: 3rem;
}

.navbar-toggler{
    border: none;
}

.navbar-toggler img{
    width: 3rem;
}

.container-fluid{
    padding-left: 0 !important;
    padding-right: 0 !important;
    background-color: #f8f9fa;
}

.parallax {
    /* The image used */
    background-image: url("../img/parx1.jpg");

    /* Set a specific height */
    /*min-height: 500px;*/
    min-height: 100vh;
    /*width: 100%;*/

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    margin-left: 0;
}

.parx{
    color: #f8f9fa;
}

.parx, .whywe, .price{
    margin-right: 0;
    margin-left: 0;
    padding-left: 0;
    padding-right: 0;
}

.parallax h1{
    text-align: center;
    /*font-family: 'Rubik Mono One', sans-serif;*/
    font-family: "Helvetica Neue bold", sans-serif;
    width: 80%;
    font-size: 7rem;
}

.services{
    padding-right: 0 !important;
    margin-right: 0 !important;
}

.services h4, .whywe h4, .portfolio h4, .price h4, .contacts h4{
    text-align: center;
    font-family: "Helvetica Neue bold", sans-serif;
    font-size: 6rem;
    margin-top: 2rem;
    margin-bottom: 2rem;
}

.services .card{
    border-radius: 0;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-bottom: 3px solid #f08158;
    margin-bottom: 2rem;
    font-family: 'Exo 2', sans-serif;
}

.services .card img{
    height: 8rem;
    width: auto;
}

.services .card-text{
    color: #818182;
    font-size: 0.95rem;
}

.services .card-title{
    font-size: 1.8rem;
    font-family: "Helvetica Neue bold", sans-serif;
}

.services .card:hover{
    /*margin: 0.5rem;*/
    /*transform: scale(1.05)*/
    transform: scale(.95);
}

* {
    -webkit-transition: all .2s;
    -moz-transition: all .2s;
    -ms-transition: all .2s;
    -o-transition: all .2s;
    transition: all .2s;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.nav-link:hover{
    transform: scale(1.1);
    color: #f08158 !important;
}

.whywe{
    background-color: #191919;
    color: #f8f9fa;
    padding-bottom: 4rem;
    padding-top: 2rem;
    /*text-align: center;*/
}

.whywe p{
    font-size: 2rem;
    font-family: 'Exo 2', sans-serif;
    /*text-align: center;*/
}

.whywe {
    /* The image used */
    background-image: url("../img/parx2.jpg");

    /* Set a specific height */
    /*min-height: 500px;*/
    min-height: 30rem;
    /*width: 100%;*/

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.price {
    /* The image used */
    background-image: url("../img/parx3.jpg");

    /* Set a specific height */
    /*min-height: 500px;*/
    min-height: 10rem;
    /*width: 100%;*/

    /* Create the parallax scrolling effect */
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;

    padding-bottom: 4rem;
}

.headf{
    border-left: 7px solid #f08158;
    border-right: 7px solid #f08158;
    padding: 0 1.5rem;
    text-transform: uppercase;
}

.headf-black{
    color: rgb(74, 74, 74);
}

.headf-light{
    color: #ffffff;
}

.whywe svg{
    color: #f08158;
}

.navbar-collapse.show div ul{
    background-color: #000000;
    border-left: 7px solid #f08158;
    padding: 2rem;
}

.navbar-collapse.show div ul li a{
    font-size: 4rem !important;
}

.testd{
    min-height: 15rem;
    padding: 1rem;
}

.p-card{
    background-color: #aa2aa2;
    height: 100%;
}

#bani{
    background-image: url("../img/p1.png");
    background-size: contain;
}

#bani:hover{

}

/*--------------------------------*/
/***** Portfolio Common style *****/
/*--------------------------------*/

.grid {
    position: relative;
    clear: both;
    margin: 0 auto;
    padding: 1em 0 4em;
    max-width: 100%;
    list-style: none;
    text-align: center;
}

.grid h2{
    font-size: 20px;
}

.grid figure {
    position: relative;
    float: left;
    overflow: hidden;
    margin: 10px 1%;
    min-width: 100%;
    max-width: 100%;
    height: auto;
    background: #3085a3;
    text-align: center;
    cursor: pointer;
}

.grid figure img {
    position: relative;
    display: block;
    min-height: auto;
    max-width: 100%;
    opacity: 0.8;
}

.grid figure figcaption {
    padding: 2em;
    color: #fff;
    text-transform: uppercase;
    font-size: 1.25em;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.grid figure figcaption::before,
.grid figure figcaption::after {
    pointer-events: none;
}

.grid figure figcaption,
.grid figure figcaption > a {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Anchor will cover the whole item by default */
/* For some effects it will show as a button */
.grid figure figcaption > a {
    z-index: 1000;
    text-indent: 200%;
    white-space: nowrap;
    font-size: 0;
    opacity: 0;
}

.grid figure h2 {
    /*word-spacing: -0.15em;*/
    font-size: 1.5rem;
    font-family: "Helvetica Neue bold", sans-serif;
}

.grid figure h2,
.grid figure p {
    margin: 0;
}

.grid figure p {
    letter-spacing: 1px;
    font-size: 68.5%;
}


/*---------------*/
/***** Bubba *****/
/*---------------*/

/*figure.effect-bubba {*/
    /*background: #9e5406;*/
/*}*/

#sth div figure{
    background-color: #9e5406;
}
#str div figure{
    background-color: #8cc152;
}
#stm div figure{
    background-color: #feca40;
}
#stt div figure{
    background-color: #0f6bb7;
}
#stf div figure{
    background-color: #93fdd3;
}
#sto div figure{
    background-color: #eb373b;
}

figure.effect-bubba img {
    /*TODO*/
    opacity: 0.95;
    -webkit-transition: opacity 0.35s;
    transition: opacity 0.35s;
    width: 100%;
}

figure.effect-bubba:hover img {
    opacity: 0.4;
}

figure.effect-bubba figcaption::before,
figure.effect-bubba figcaption::after {
    position: absolute;
    top: 30px;
    right: 30px;
    bottom: 30px;
    left: 30px;
    content: '';
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
}

figure.effect-bubba figcaption::before {
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0,1);
    transform: scale(0,1);
}

figure.effect-bubba figcaption::after {
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1,0);
    transform: scale(1,0);
}

figure.effect-bubba h2 {
    padding-top: 5%;
    opacity: 0;
    -webkit-transition:opacity 0.35s,  -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,-20px,0);
    transform: translate3d(0,-20px,0);
    color: #fff;
}

figure.effect-bubba p {
    padding: 10px 2.5em;
    opacity: 0;
    -webkit-transition: opacity 0.35s, -webkit-transform 0.35s;
    transition: opacity 0.35s, transform 0.35s;
    -webkit-transform: translate3d(0,20px,0);
    transform: translate3d(0,20px,0);
}

figure.effect-bubba:hover figcaption::before,
figure.effect-bubba:hover figcaption::after {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}

figure.effect-bubba:hover h2,
figure.effect-bubba:hover p {
    opacity: 1;
    -webkit-transform: translate3d(0,0,0);
    transform: translate3d(0,0,0);
}

.portfolio{
    padding-bottom: 4rem;
}

.price .pCard{
    /*background: transparent;*/
    min-height: 24rem;
    border-left: 3px solid #f08158;
    margin: 2rem 0;
    padding: 1rem 0;
    color: #f8f9fa;
}

.price .col-10{
    background-color: rgba(0, 0, 0, 0.72);
}

.price .pCard h3{
    font-family: "Helvetica Neue bold", sans-serif;
    font-size: 2.7rem;
    padding-left: 1rem;
}

.price .pCard p{
    font-family: 'Exo 2', sans-serif;
    font-size: 1.2rem;
    padding: 1rem;

}

.price .pCard h5{
    font-family: "Helvetica Neue bold", sans-serif;
    font-size: 2.5rem;
    margin-bottom: 0;
    text-align: left;
    padding-left: 1rem;
}

.price .pCard h6{
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    text-align: left;
    padding-left: 1rem;
}

.price .pCard div{
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: center;
}

.price .pCard h5 span{
    color: #f08158;
}


.price .pCard#fc{
    border-left: none;
}


/*   КОНТАКТЫ   */

.contacts{
    /*padding-top: 3rem;*/
    padding-bottom: 7rem;
}

.contactFields{
    text-align: right;
}

.main-contact{
    font-family: "Helvetica Neue bold", sans-serif;
    font-size: 3.5rem;
    text-transform: uppercase;
    margin-top: 2rem;
}

.sub-text{
    font-family: 'Exo 2', sans-serif;
    font-size: 1.1rem;
    color: #818182;
    margin-top: -2rem;
}

.formTop{
    font-family: "Helvetica Neue bold", sans-serif;
    font-size: 3rem;
    text-transform: uppercase;
    margin-top: 2.5rem;
    margin-bottom: 0;
}

.contactForm input[name="inputName"]{
    margin-top: 0;
}

.contactForm input, .contactForm textarea{
    background-color: transparent;
    border: 0;
    border-bottom: 3px solid #f08158;
    border-radius: 0;
    font-size: 1.5rem;
    padding: 0;
    margin-top: 2.5rem;
}

.contactForm input:focus, .contactForm textarea:focus{
    background-color: transparent;
    border: 0;
    border-bottom: 3px solid #f08158;
    /*border-left: 3px solid #f08158;*/
    box-shadow: none;
    outline: none;
}

.contactForm input.btn-lg, button{
    background-color: transparent;
    border: 0;
    /*border-bottom: 3px solid #f08158;*/
    border-radius: 0;
    font-size: 1.5rem;
    padding: 2rem;
    margin-top: 0;
    /*-webkit-transition: all .8s;*/
    /*-moz-transition: all .8s;*/
    /*-ms-transition: all .8s;*/
    /*-o-transition: all .8s;*/
    /*transition: all .8s;*/
    text-align: right;
}

/*.contactForm input.btn-lg:hover{*/
    /*background-color: transparent;*/
    /*border: 0;*/
    /*border-bottom: 3px solid #f08158;*/
    /*!*border-left: 3px solid #f08158;*!*/
    /*box-shadow: none;*/
    /*outline: none;*/
    /*!*-webkit-transition: all .8s;*!*/
    /*!*-moz-transition: all .8s;*!*/
    /*!*-ms-transition: all .8s;*!*/
    /*!*-o-transition: all .8s;*!*/
    /*!*transition: all .8s;*!*/
/*}*/

.contactForm textarea{
    width: 100%;
}

.contactForm input::placeholder, .contactForm textarea::placeholder{color: #818182;}
.contactForm input::-webkit-input-placeholder, .contactForm textarea::-webkit-input-placeholder{color: #818182;}
.contactForm input::-moz-placeholder, .contactForm textarea::-moz-placeholder{color: #818182;}
.contactForm input:-moz-placeholder, .contactForm textarea:-moz-placeholder{color: #818182;}
.contactForm input:-ms-input-placeholder, .contactForm textarea:-ms-input-placeholder{color: #818182;}



#submit {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    margin: 10px;
    /*padding: 20px;*/
    padding-bottom: 1.5rem;
    /*border: 2px solid #f08158;*/
    text-align: center;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    -webkit-transition: .3s;
    transition: .3s;
}
#submit:after {
    position: absolute;
    -webkit-transition: .3s;
    transition: .3s;
    content: '';
    width: 0;
    bottom: 0;
    height: 3px;
    background: #f08158;
    right: 0;
    left: auto;
}
#submit:hover {
    /*cursor: pointer;*/
}
#submit:hover:after {
    width: 100%;
    left: 0;
}

/*   MEDIA   */

@media (max-width: 991px) {
    .services .card-text{
        font-size: 1.8rem;
    }
    .services .card-title{
        font-size: 2.5rem;
    }
    .services .card img{
         height: 13rem;
         width: auto;
     }
    .whywe p{
        font-size: 2.5rem;
    }
    .pCard:nth-of-type(1){
        /*border-right: 3px solid #f08158;*/
        border-bottom: 3px solid #f08158;
        margin-bottom: 0;
        /*border-color: #f08158;*/
        /*border-width: 3px 3px 0 3px;*/
    }
    .pCard:nth-of-type(2){
        border-bottom: 3px solid #f08158;
        margin-bottom: 0;
    }
    .pCard:nth-of-type(3){
        border-left: 0;
        margin-top: 0;
    }
    .pCard:nth-of-type(4){
        border-left: 3px solid #f08158;
        margin-top: 0;
    }
    .pCard:nth-of-type(1) div, .pCard:nth-of-type(2) div{
        bottom: 1rem;
    }
    .contactFields{
        padding-top: 2rem;
    }
    .main-contact:nth-of-type(1){
        /*padding-top: rem;*/
    }
}

@media (min-width: 992px) and (max-width: 1400px) {
    .card-body{
        min-height: 12rem;
    }
}

@media (max-width: 767px) {
    .services .card-text{
        font-size: 1.8rem;
    }
    .services .card-title{
        font-size: 2.5rem;
    }
}