html{
    font-size: 16px;
}
a, button{
    box-shadow: none !important;
    outline: none !important;
}
@media (min-width: 1920px){
    .fhd{
        max-width: 1920px !important;
    }
}

.navbar .flex-1 {
    -webkit-box-flex: 1;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-preferred-size: 100%;
    flex-basis: 100%;
}
.navbar .nav-link{
    font-family: 'Comfortaa', sans-serif;
    text-transform: uppercase;
    font-weight: 300;
    font-size: 1.5rem;
}
.navbar .nav-item{
    padding: 0.5rem 1rem 0;
}
.navbar-toggler{
    position: absolute;
    top: 1.5rem;
    border: none;
    background: transparent !important;
}
.icon-bar {
    width: 30px;
    height: 4px;
    background-color: #DCB169;
    display: block;
    transition: all 0.2s;
    margin-top: 4px
}
.navbar-toggler .top-bar {
    transform: rotate(45deg);
    transform-origin: 10% 10%;
}

.navbar-toggler .middle-bar {
    opacity: 0;
}

.navbar-toggler .bottom-bar {
    transform: rotate(-45deg);
    transform-origin: 10% 90%;
}

.navbar-toggler.collapsed .top-bar {
    transform: rotate(0);
}

.navbar-toggler.collapsed .middle-bar {
    opacity: 1;
}

.navbar-toggler.collapsed .bottom-bar {
    transform: rotate(0);
}
.nav-link{
    position: relative;
}
.nav-link::after{
    content: ' ';
    position: absolute;
    width: 0;
    transition: .2s;
    left: 50%;
    transform: translate(-50%, 0);
    bottom: 0;
    border-bottom: solid 2px #DCB169;
}
.nav-link.active::after, .nav-link:hover::after{
    width: 90%;
}

body{
    font-family: 'Raleway', sans-serif;
    background-color: #C5C5C5;
    overflow-x: hidden;
}

hr{
    border:0;
    width: 160px;
    height: 7px;
    background-color: #DCB169;
}
.btn-gold{
    background-color: #DCB169;
    color: white;
    border-radius: 0;
    cursor: pointer;
    font-weight: 600;
}
.bg-gold{
    background-color: #DCB169;
}
#intro{
    margin-top: 6rem;
    height: 850px;
    background-image: url('../img/slider.jpg');
    background-size: cover;
    background-position: center center;
    padding-top: 250px;
}
#intro-about{
    margin-top: 6rem;
    height: 979px;
    background-image: url('../img/intro-about.jpg');
    background-size: cover;
    background-position: center center;
    padding-top: 15rem;
}
#intro-about h1{
    font-size: 4.2rem;
    font-weight: 300;
    text-transform: uppercase;
}
#intro-about h1 span{
    font-size: 1.3em;
    font-weight: 500;
    width: 12rem;
    text-align: right;
    display: inline-block;
}
#intro-about h2{
    font-style: italic;
    font-weight: 300;
}
#intro-about h2 span{
    color: #DCB169;
    font-weight: 500;
}
.loader-bar{
    margin: 2rem auto;
    max-width: 790px;
    height: 6rem;
    border: solid 0.7rem white;
    border-radius: 3rem;
    padding: 0.7rem;
}
.loader-bar .inner{
    border-radius: 40px;
    background-color: white;
    height: 100%;
    width: 10%;
    transition: .1s;
}
#intro h1{
    font-size: 4.2rem;
    font-weight: 600;
}
#intro h2{
    font-size: 2.1rem;
    font-weight: 300;
    font-style: italic;
}
#intro a{
    left: 50%;
    bottom: 60px;
    -webkit-transform: translate(-18px, 0);
    -ms-transform: translate(-18px, 0);
    transform: translate(-18px, 0);
    z-index: 3;
}
.intro-arrow-down-mobile{
    display:none;
}
h1, .h1{
    font-size: 3.125rem;
}
.text-gray{
    color: #454545;
}
.bg-light-gray{
    background-color: #f5f5f5;
}

#content-about h2 span{
    font-size: 1.3em;
    font-weight: 600;
}

main a{
    color: #454545;
    text-decoration: none;
}

#section-1{
    background-image: url('../img/sekcja_2.jpg');
}

#section-1 .first {
    position: absolute;
    left: 50%;
    width: 50%;
    max-width: 800px;
    height: 310px;
    margin: 0;
    padding: 0 0.5rem;
}

#section-1 .second {
    position: absolute;
    top: 310px;
    left: 50%;
    -webkit-transform: translate(-400px, 0);
    -ms-transform: translate(-400px, 0);
    transform: translate(-400px, 0);
    width: 1000px;
    font-size: 2rem;
    font-weight: 300;
    height: 250px;
}
#section-1 .second .btn-lg{
    bottom: -25px;
    right: 0;
    position: absolute;
}
#section-1 .arrow-down{
    left: 50%;
    bottom: 45px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
    position: absolute;
}
#section-2 .first {
    margin: 0 auto;
    padding-top: 80px;
    width: 710px;
}

#section-2 .second {
    margin: 100px auto 0;
    width: 900px;
    font-size: 2rem;
}
#section-2 .arrow-down{
    left: 50%;
    bottom: 40px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
    position: absolute;
}
#section-3 .first {
    margin: 0 auto;
    padding-top: 80px;
    width: 710px;
}
#section-3 .second {
    margin: 100px auto 0;
    width: 900px;
    font-size: 2rem;
}
#section-3 .arrow-down{
    left: 50%;
    bottom: 42px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
    position: absolute;
}
#section-4 .first {
    top: 0;
    left: 50%;
    -webkit-transform: translate(-810px, 0);
    -ms-transform: translate(-810px, 0);
    transform: translate(-810px, 0);
    width: 610px;
    height: 335px;
    padding-bottom: 1.5rem;
    margin: 0 1.5rem 0 0;
    position: absolute;
}
#section-4 .second {
    position: absolute;
    top: 335px;
    left: 50%;
    -webkit-transform: translate(-465px, 0);
    -ms-transform: translate(-465px, 0);
    transform: translate(-465px, 0);
    width: 930px;
    height: 340px;
    padding: 4rem;
    margin: 0;
}
#section-4 .arrow-down{
    position: absolute;
    left: 50%;
    bottom: 42px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
}
#section-5 .first {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(165px, 0);
    -ms-transform: translate(165px, 0);
    transform: translate(165px, 0);
    width: 640px;
    height: 390px;
    margin-left: 1.5rem;
    padding-bottom: 1.5rem;
}
#section-5 .second {
    position: absolute;
    top: 335px;
    left: 50%;
    -webkit-transform: translate(-465px, 0);
    -ms-transform: translate(-465px, 0);
    transform: translate(-465px, 0);
    width: 930px;
    height: 340px;
    padding: 4rem;
    margin: 0;
}
#section-5 .arrow-down{
    position: absolute;
    left: 50%;
    bottom: 43px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
}
#section-6 .first {
    position: absolute;
    top: 0;
    left: 50%;
    -webkit-transform: translate(-810px, 0);
    -ms-transform: translate(-810px, 0);
    transform: translate(-810px, 0);
    width: 610px;
    height: 335px;
    padding-bottom: 1.5rem;
    margin: 0 1.5rem 0 0;
}
#section-6 .second {
    position: absolute;
    top: 335px;
    left: 50%;
    -webkit-transform: translate(-465px, 0);
    -ms-transform: translate(-465px, 0);
    transform: translate(-465px, 0);
    width: 930px;
    height: 340px;
    padding: 4rem;
    margin: 0;
}
#section-6 .arrow-down{
    position: absolute;
    left: 50%;
    bottom: 43px;
    -webkit-transform: translate(-36px, 0);
    -ms-transform: translate(-36px, 0);
    transform: translate(-36px, 0);
    z-index: 3;
}

#section-2{
    background-image: url('../img/sekcja_3.jpg');
}
#section-3{
    background-image: url('../img/sekcja_4.jpg');
}
#section-4{
    background-image: url('../img/sekcja_5.jpg');
}
#section-5{
    background-image: url('../img/sekcja_6.jpg');
}
#section-6{
    background-image: url('../img/sekcja_7.jpg');
}
.content-section .inner{
    z-index: 20;

}
.content-overlay{
    z-index: 2;
    position: absolute;
    top: -310px;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    background-image: url('../img/linie.png');
    background-repeat: no-repeat;
    background-size: 100% auto;
    width: 1270px;
    height: 5680px;
    overflow: hidden;
}
.content-section{
    padding: 0 60px;
}
.content-section>div{
    background-size: cover;
    background-position: center center;
    height: 846px;
    margin: 60px auto 0;
    width: 100%;
    /*max-width: 1806px !important;*/
    /*max-width: 2300px;*/
}
.numbers>div{
    max-width: 1920px;
}
.numbers .row div p{
    color: #454545;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    margin:0;
}
.numbers .row div p:first-child{
    font-size: 2.8rem;
}
.numbers .row div p:last-child{
    font-size: 1.5rem;
}
#Kontakt{
    height: 1200px;
    background: #f5f5f5;

}
#Kontakt.contact-form-hidden{
    height: 950px;
}
#Kontakt.contact-form-hidden .contact-content{
    width: 520px;
}
#Kontakt.contact-form-hidden .contact-content .right{
    min-height: 300px;
}
.company-identifiers span + span{
    margin-top: 0.5rem;
}
.contact-content{
    overflow-x: hidden;
    position: absolute;
    z-index: 20;
    font-family: 'Montserrat', sans-serif;
    left: 50%;
    -webkit-transform: translate(-50%, 0);
    -ms-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    top: 460px;
    max-width: 100%;
    width: 1260px;
    -webkit-box-shadow: 0 0 166px 0 rgba(24, 24, 24, 0.43);
    box-shadow: 0 0 166px 0 rgba(24, 24, 24, 0.43);
}
.contact-content .left{
    z-index: 20;
    background: white;
    padding: 3.5rem 2.5rem;

}
.contact-content .left textarea{
    height: 150px;
    resize: none;
}
.contact-content .left .send-icon{
    right: 3.5rem;
    top: 3.75rem;
}
.contact-content .left button{
    right: -3rem;
    bottom: -4.5rem;
    width: 9.5rem;
}
.contact-content .right{
    z-index: 20;
    background-color: #DCB169;
    background-image: url('../img/logo_stopka.png');
    background-repeat: no-repeat;
    background-position: 85% 70%;
    padding: 3.5rem 2.5rem;
    -webkit-box-shadow: 0 0 103px 0 rgba(24, 24, 24, 0.17);
    box-shadow: 0 0 103px 0 rgba(24, 24, 24, 0.17);

}
#Wyniki, #wyniki-szczegoly{
    z-index: 20;
}
.text-orange{
    color: #ffb737;
}

/* Map */
.contact-map-wrapper{
    height: 60vh;
    max-height: 800px;
    overflow: hidden;
}
.contact-map{
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
    filter: grayscale(100%);
}


/* inputs /*

/* form starting stylings ------------------------------- */
.form-group 			  {
    position:relative;
    padding-bottom:2rem;
}
input 				{
    font-size: 1.2rem;
    padding:10px 10px 10px 5px;
    display:block;
    border:none;
    width: 100%;
    border-bottom:1px solid #757575;
}
input:focus 		{ outline:none; }
input, textarea {
    box-shadow:none;
}

input:-moz-placeholder,
input:focus,
textarea:focus {
    box-shadow:none !important;
}

input:invalid,
textarea:invalid {
    box-shadow:none;
}

textarea 				{
    font-size:1rem;
    padding:10px 10px 10px 5px;
    display:block;
    border:none;
    width: 100%;
    border-bottom:1px solid #757575;
}
textarea:focus 		{ outline:none; }


/* LABEL ======================================= */
label 				 {
    color:#999;
    font-size:1rem;
    font-weight:normal;
    position:absolute;
    pointer-events:none;
    left:5px;
    top:10px;
    -o-transition:0.2s ease all;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}

/* active state */
input:focus ~ label, input:valid ~ label 		{
    top:-20px;
    font-size:1rem;
    color:#ffb737;
}
textarea:focus ~ label, textarea:valid ~ label 		{
    top:-20px;
    font-size:1rem;
    color:#ffb737;
}

/* BOTTOM BARS ================================= */
.bar 	{ position:relative; display:block; width: 100%; }
.bar:before, .bar:after 	{
    content:'';
    height:2px;
    width:0;
    bottom:1px;
    position:absolute;
    background:#ffb737;
    -o-transition:0.2s ease all;
    transition:0.2s ease all;
    -moz-transition:0.2s ease all;
    -webkit-transition:0.2s ease all;
}
.bar:before {
    left:50%;
}
.bar:after {
    right:50%;
}

/* active state */
input:focus ~ .bar:before, input:focus ~ .bar:after {
    width:50%;
}
textarea:focus ~ .bar:before, textarea:focus ~ .bar:after {
    width:50%;
}


@media (max-width: 1900px) {
    .content-section{
        padding: 0 20px;
    }
    html{
        font-size: 15px;
    }
    h1, .h1{
        font-size: 3rem;
    }
    #section-5 .first {
        width: 580px;
    }
}
@media (max-width: 1600px){
    html{
        font-size: 13px;
    }
    h1, .h1{
        font-size: 2.8rem;
    }
    #section-4 .first {
        text-align: center;
        left: 20px;
        right: auto;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 33%;
    }
    #section-5 .first {
        text-align: center;
        right: 20px;
        left: auto;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 33%;
    }
    #section-6 .first {
        text-align: center;
        left: 20px;
        right: auto;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        width: 33%;
    }
    .content-section{
        padding: 0 0;
    }
}
@media (max-width: 1275px){
    html{
        font-size: 12px;
    }
    #intro-about{
        height: 700px;
    }
    #intro{
        height: 650px;
        padding-top: 200px;
    }
    #intro h1{
        font-size: 3.5rem;
    }
    #intro h2{
        font-size: 2rem;

    }
    #intro a{
        left: 50%;
        bottom: 60px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    h1, .h1{
        font-size: 2.5rem;
    }
    .content-overlay{
        z-index: 2;
        position: absolute;
        top: -210px;
        left: 50%;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        background-image: url('../img/linie_1024.png');
        background-repeat: no-repeat;
        background-size: 100% auto;
        width: 825px;
        height: 3900px;
        overflow: hidden;
    }
    #section-1, #section-2, #section-3, #section-4, #section-5, #section-6{
        height: 590px;
        margin-top: 30px;
    }
    #section-1 .first {
        left: 50%;
        width: 50%;
        height: 235px;
        margin: 0;
        padding: 0 0.5rem;
    }
    #section-1 .second {
        top: 238px;
        left: 50%;
        -webkit-transform: translate(-220px, 0);
        -ms-transform: translate(-220px, 0);
        transform: translate(-220px, 0);
        width: 600px;
        font-size: 2rem;
        font-weight: 300;
        height: 185px;
    }
    #section-1 .arrow-down{
        left: 50%;
        bottom: 35px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    .arrow-down img{
        width: 50px;
        height: 50px;
    }
    #section-2 .first {
        margin: 0 auto;
        padding-top: 80px;
        width: 440px;
    }
    #section-2 .second {
        margin: 50px auto 0;
        width: 650px;
        font-size: 2rem;
    }
    #section-2 .arrow-down{
        left: 50%;
        bottom: 33px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    #section-3 .first {
        margin: 0 auto;
        padding-top: 100px;
        width: 80%;
    }
    #section-3 .second {
        margin: 100px auto 0;
        width: 850px;
        font-size: 2rem;
    }
    #section-3 .arrow-down{
        left: 50%;
        bottom: 30px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    #section-4 .first {
        top: 0;
        left: 50%;
        -webkit-transform: translate(-100%, 0);
        -ms-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
        width: 400px;
        height: 275px;
        padding-bottom: 2em;
        padding-right: 4rem;
        margin: 0;
    }
    #section-4 .second {
        top: 245px;
        left: 50%;
        -webkit-transform: translate(-285px, 0);
        -ms-transform: translate(-285px, 0);
        transform: translate(-285px, 0);
        width: 750px;
        height: 200px;
        padding: 2rem;
        margin: 0;
    }
    #section-4 .arrow-down{
        left: 50%;
        bottom: 28px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    #section-5 .first {
        top: 0;
        left: 50%;
        -webkit-transform: translate(60px, 0);
        -ms-transform: translate(60px, 0);
        transform: translate(60px, 0);
        width: 380px;
        height: 245px;
        margin-left: 1.5rem;
        padding-bottom: 1.5rem;
    }
    #section-5 .second {
        top: 245px;
        left: 50%;
        -webkit-transform: translate(-300px, 0);
        -ms-transform: translate(-300px, 0);
        transform: translate(-300px, 0);
        width: 580px;
        height: 220px;
        padding: 2rem;
        margin: 0;
    }
    #section-5 .arrow-down{
        left: 50%;
        bottom: 27px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
    #section-6 .first {
        top: 0;
        left: 50%;
        -webkit-transform: translate(-100%, 0);
        -ms-transform: translate(-100%, 0);
        transform: translate(-100%, 0);
        width: 400px;
        margin: 0;
        height: 275px;
        padding-bottom: 2em;
        padding-right: 4rem;
    }
    #section-6 .second {
        top: 245px;
        left: 50%;
        -webkit-transform: translate(-220px, 0);
        -ms-transform: translate(-220px, 0);
        transform: translate(-220px, 0);
        width: 650px;
        height: 200px;
        padding: 2rem;
        margin: 0;
    }
    #section-6 .arrow-down{
        left: 50%;
        bottom: 25px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        z-index: 3;
    }
}
@media (max-width: 859px){
    html{
        font-size: 11px;
    }
    .navbar img{
        height: 27px;
    }
    .nav-link::after{
        right: 0;
        left: auto;
        transform: translate(0,0);
        max-width: 40%;
    }
    .nav-link.active::after, .nav-link:hover::after{
        width: 40%;
    }
    #intro-about{
        height: 600px;
    }
    #intro{
        height: 500px;
        padding-top: 9rem;
    }
    #intro h1 {
        font-size: 3rem;
    }
    .intro-arrow-down{
        display:none;
    }
    .intro-arrow-down-mobile{
        display: initial;
        width: 3.5rem;
        height: 3.5rem;
    }
    #intro a{
        bottom: 2rem !important;
    }

    #section-1, #section-2, #section-3, #section-4, #section-5, #section-6 {
        height: auto;
        margin-top: 45px;
        position: relative;
        padding-bottom: 9rem;
        padding-top: 5rem;
    }
    #section-1 .first, #section-2 .first, #section-3 .first, #section-4 .first, #section-5 .first, #section-6 .first,
    #section-1 .second, #section-2 .second, #section-3 .second, #section-4 .second, #section-5 .second, #section-6 .second{
        text-align: center !important;
        width: 100% !important;
        position: initial !important;
        -webkit-transform: translate(0, 0) !important;
        -ms-transform: translate(0, 0) !important;
        transform: translate(0, 0) !important;
        height: auto !important;
        left: auto;
        top: auto;
        right: auto;
        bottom: auto;
        margin: 0 auto;
        padding: 3rem 1.5rem 0;
    }
    .inner{
        position: initial !important;
    }
    .contact-map-wrapper{
        height: 30vh;
        min-height: 250px;
    }
    .content-section .arrow-down{
        bottom: 2rem !important;
    }
    .arrow-down img{
        width: 3.5rem;
        height: 3.5rem;
    }
    .content-section .text-left, .content-section .text-right{
        text-align: center !important;
        margin: 0 auto !important;
    }
    .content-section hr{
        margin: 1rem auto !important;
        height: 4px;
    }
    .content-overlay{
        display: none;
    }
    .contact-content{
        position: initial !important;
        -webkit-transform: translate(0, 0);
        -ms-transform: translate(0, 0);
        transform: translate(0, 0);
        height: auto;
    }
    #Kontakt.contact-form-hidden{
        height: auto;
    }
    #Kontakt.contact-form-hidden .contact-content{
        width: 100%;
    }
    #section-1 .second .btn-lg{
        position: initial;
        left: auto;
        right: auto;
        top: auto;
        bottom: auto;
        margin: 0 auto;
    }
    .contact-content .left .send-icon {
        width: 3rem;
        right: 2rem;
        top: 3.75rem;
    }
    #wyniki-szczegoly img{
        height: 7rem;
    }
    .h-100{
        height: auto !important;
    }
    #intro:after, #section-1:after, #section-2:after, #section-3:after, #section-4:after, #section-5:after {
        position: absolute;
        width: 24px;
        height: 111px;
        z-index: 2;
        left: 50%;
        bottom: -88px;
        -webkit-transform: translate(-50%, 0);
        -ms-transform: translate(-50%, 0);
        transform: translate(-50%, 0);
        content: ' ';
        background-image: url('../img/linia-mobile.png');
    }

}
@media (max-width: 320px){
    html{
        font-size: 10px;
    }
}
