@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@400;600&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500;600;700;800&display=swap');

body{
    font-family: "Open Sans";
    color:#333;
}


.animator {
    position: relative;
    z-index: 999;
    -webkit-transition: all .5s ease-in-out;
    -o-transition: all .5s ease-in-out;
    transition: all .5s ease-in-out;
    opacity: 0
}

.animator.load {
    -webkit-transition: all 1s ease-in-out;
    -o-transition: all 1s ease-in-out;
    transition: all 1s ease-in-out;
    opacity: 1
}

.loader-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    display: table;
    width: 100%;
    height: 100vh;
    z-index: 9999;
    background: #fff;
}

.loader-container .logo img {
    display: inline-block;
    vertical-align: middle;
    height: 100px;
    width: auto;
}

.loader-container div.title.logo {
    font-size: 1.5rem;
    font-weight: 700;
    text-align: center;
    top: 50%;
    left: 50%;
    -webkit-transform: translate(-50%, -50%);
    position: absolute
}

.loader-progress-bar {
    -webkit-transition: all .1s ease-in-out;
    -o-transition: all .1s ease-in-out;
    transition: all .1s ease-in-out;
    width: 0;
    height: 5px;
    opacity: 1;
    background:#714521;
    position: relative;
    left: 0;
    z-index: 0
}

header{
    position: absolute;
    top:0;
    left:0;
    right: 0;
    background:transparent;
    z-index: 10;
    padding: 4rem 0;
}

header .logo{
    height: 80px;
}

.slider{
    position: relative;
    overflow: hidden;
    margin:0;
    touch-action: auto;
    height: auto;
}

.owl-item .item:after {
    content: "";
    background: -webkit-linear-gradient(top, rgba(25, 10, 0,0.96) 0%, rgba(25, 10, 0, .6) 40%,rgba(255,255,255,0) 65%, rgba(255,255,255,1) 100%);
    z-index: 7;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    color: rgb(31, 24, 30);
}


section.slider .scroll-down{
    position: absolute;
    bottom: 0;
    height: 60px;
    width: 80px;
    left: 50%;
    -webkit-transform: translateX(-50%);
    z-index: 2;
    font-size: 32px;
    color: #714521;
    background: #ffffff;
    text-align: left;

}

section.slider .item .caption {
    position: absolute;
    z-index: 9;
    top: 45%;
    left: 50%;
    -webkit-transition: .5s;
    -webkit-transform: translate(-50%, 100%);
    opacity: 0;
    text-align: center;
}

section.slider .active .item .caption{
    -webkit-transform: translate(-50%,-50%);
    opacity: 1;
}

section.slider .item .caption h2{
    font-size: 60px;
    font-weight: 900;
    text-transform: uppercase;
    color: #F6D7B7;
    margin:0;
}

section.slider .item .caption h3{
    font-size: 30px;
    font-weight: 500;
    text-transform: uppercase;
    color: #fff;
    margin:0;
}

section.slider .item .caption .more{
    position: relative;
    display: inline-block;
    border:3px solid #fff;
    color:#fff;
    text-transform: uppercase;
    font-size:16px;
    padding: .5rem 3.5rem;
    margin-top: 2rem;
    overflow: hidden;
    -webkit-transition: .4s;
}

section.slider .item .caption .more i{
    vertical-align: baseline;
}

section.slider .item .caption .more:before{
    content:"";
    position: absolute;
    top:50%;
    left:100%;
    height: 0;
    width: 0;
    z-index: -1;
    -webkit-transition:.4s;
    -webkit-transform: translate(-50%,-50%);
}

section.slider .item .caption a.more:hover:before{
    height: 400px;
    width: 400px;
    background: #fff;
    border-radius: 999px;
}

section.slider .item .caption a.more:hover{
    color:#231206;
}


section.slider .scroll-down i{
    position: absolute;
    top:0;
    left:50%;
    opacity: 1;
}

section.slider .scroll-down i:nth-child(1){
    -webkit-animation: scrollFirst 1.5s linear infinite;
}

section.slider .scroll-down i:nth-child(2){
    -webkit-animation: scrollSecond 1.5s linear infinite;
}

@-webkit-keyframes scrollFirst{
    0%{
        -webkit-transform:translateY(0%) translateX(-50%);
        opacity: 1;
    }
    25%{
        -webkit-transform:translateY(50%) translateX(-50%) scale(.5);
        opacity: 0;
    }
    50%{
        -webkit-transform:translateY(100%) translateX(-50%);
        opacity: 1;
    }
    75%{
        -webkit-transform:translateY(50%) translateX(-50%) scale(1.1);
        opacity: 1;
    }
    100%{
        -webkit-transform:translateY(0%) translateX(-50%);
        opacity: 1;
    }
}

@-webkit-keyframes scrollSecond{
    0%{
        -webkit-transform:translateY(100%) translateX(-50%);
        opacity: 1;
    }
    25%{
        -webkit-transform:translateY(50%) translateX(-50%) scale(1.1);
        opacity: 1;
    }
    50%{
        -webkit-transform:translateY(0%) translateX(-50%);
        opacity: 1;
    }
    75%{
        -webkit-transform:translateY(50%) translateX(-50%) scale(.5);
        opacity: 0;
    }
    100%{
        -webkit-transform:translateY(100%) translateX(-50%);
        opacity: 1;
    }
}
small.error {
    color: red;
}


.content{
    padding:3rem 0;
    overflow: hidden;
    position: relative;
}

h1,h2,h3,h4,h5,h6{
    font-family: "Montserrat";
}
.h1,.h2,.h3,.h4,.h5,.h6{
    font-family: "Montserrat";
}

#main-menu{
    display: inline-block;
}

#main-menu a{
    font-family: "Montserrat";
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    background: -webkit-linear-gradient(right,#F6D7B7 50%,rgb(207, 73, 73) 50%);
    background-size: 200% 100%;
    background-position: 100%;
    -webkit-background-clip: text;
    -webkit-text-fill-color:transparent;
    -webkit-transition:.4s;
}

#main-menu a:hover{
    background-position: 0%;
}

#nav-icon{
    display: none;
    position: absolute;
    top:0;
    right: 0;
    padding:.5rem;
    margin:1rem;
    background: none;
    width: 54px;
    cursor: pointer;
    transition: all .3s ease-in-out;
    z-index: 2;
}

#nav-icon hr{
    display: block;
    background: #fff;
    height: 3px;
    position: relative;
    margin:8px 0;
    border-radius: 100px;
    opacity: 1;
    top:0;
    -webkit-transition:.3s;
}

#nav-icon.active{
    position: fixed;
}

#nav-icon.active hr:nth-child(1){
    top:14px;
    -webkit-transform: rotate(225deg);
}
#nav-icon.active hr:nth-child(2){
    opacity: 0;
    -webkit-transform: translateX(64px);
}
#nav-icon.active hr:nth-child(3){
    top:-10px;
    -webkit-transform: rotate(-225deg);
}


.logo-second{
    padding-left: 96px;
    padding-bottom: 3rem;
    overflow: hidden;
}

h1{
    text-transform: uppercase;
    font-weight: 800;
    font-size:34px;
    color:#231206;
    margin:2rem 0;
}

h2{
    display: inline-block;
    position: relative;
    text-transform: uppercase;
    font-weight: 600;
    font-size:26px;
    color:#714521;
    margin:2rem 0;
}
h3 {
    margin:2rem 0;
}

.logo-second h2:before{
    content:"";
    position: absolute;
    top:55%;
    -webkit-transform:translateX(-120%);
    background: #231206;
    height: 3px;
    width: 80px;
}

.logo-second h2:after{
    content:"";
    position: absolute;
    top:55%;
    right: 0;
    -webkit-transform:translateX(110%);
    background: #231206;
    height: 3px;
    width: 200px;
}

section.main{
    position: relative;
    padding-top: 4rem;
    background-image: url("/images/box.jpg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 50%;
}

section.main h3{
    position: relative;
    margin-bottom:2rem;
}

section.main h3:before{
    content: "";
    display: inline-block;
    position: absolute;
    top:50%;
    left:-48px;
    -webkit-transform:translateY(-50%);
    width: 3px;
    height: 80%;
    background: #714521;
}


section.main a.more{
    position: relative;
    font-family: "Montserrat";
    font-weight: 500;
    font-size:14px;
    text-transform: uppercase;
    display: inline-block;
    border:3px solid #f2f2f2;
    padding: .5rem 2.75rem;
    margin-top:1rem;
    color:#231206;
    -webkit-transition:.4s;
    overflow: hidden;
}

section.main a.more:before{
    content:"";
    position: absolute;
    top:50%;
    left:100%;
    height: 0;
    width: 0;
    z-index: -1;
    -webkit-transition:.4s;
    -webkit-transform: translate(-50%,-50%);
}

section.main a.more:hover:before{
    height: 400px;
    width: 400px;
    background: #231206;
    border-radius: 999px;
}

section.main a.more:hover{
    color:#fff;
}

section.main a.more i{
    padding-left: .25rem;
}

section.main .wood{
    position: absolute;
    top:25%;
    left:25%;
    width: 580px;
    z-index: -1;
}


.frame{
    position: relative;
    display: inline-block;
    padding: 2rem 4rem;
    width: 468px;
    background: #fff;
    -webkit-box-shadow: 0px 12px 16px rgba(0,0,0,.25);
}

.frame a{
    position: absolute;
    top:2rem;
    right: 2rem;
    font-size:40px;
    color:rgba(0, 0, 0, .15);
}

.frame p{
    margin-top:1rem;
    font-family: "Montserrat";
    font-weight: 600;
    color: #908781;
    font-size:16px !important;
}

.logo-container .h1{
    display: block;
    text-transform: uppercase;
    font-weight: 800;
    font-size:32px;
    color:#231206;
    margin:0;
}
.click {
    cursor: pointer;
}
.logo-container .h2{
    text-transform: uppercase;
    font-weight: 600;
    font-size:24px;
    color:#714521;
}
.relative {
    position: relative;
}
.gallery-container {
    padding:1.5rem 1rem;
    position: relative;
}
.gallery-container:after {
    background-image: url(../images/wood.png);
    content: "";
    z-index: -1;
    background-repeat: no-repeat;
    width:500px;
    height:500px;
    background-repeat: no-repeat;
    background-size: cover;
    position: absolute;
    right:-50px;
    bottom:-50px;
}
#content h1:before {
    content: "";
    position: absolute;
    transform: translateX(-100px) translateY(-100px);
    width: 500px;
    height: 500px;
    z-index: -1;
    background-image: url(../images/wood.png);
    background-repeat: no-repeat;
    background-size: cover;

}

.logo-second h1, .logo-second h2, .logo-second h3 {
    margin:0;
}
.wood-holder {
    position: relative;
    top:-50px;
}
footer{
    position: relative;
    background-image:-webkit-linear-gradient(top,rgba(0,0,0,.8) -10%,rgba(0,0,0,.2) 80%,#fff 95%), url(../images/footer.png);
    background-size: cover;
    background-repeat: no-repeat;
    margin: 5rem 0;
}

footer .frame{
    margin-top:-3rem;
}

footer img.footer-wood{
    border: 4px solid #fff;
    width: 520px;
    margin-top:-4rem;
    z-index: 1;
    position: relative;
}

footer .contact-container{
    position: absolute;
    top:40%;
    left:0;
    right: 0;
}

footer .contact-container .grid-container{
    position: relative;
    z-index: 2;
}

footer .contact-container:before{
    content: "";
    position: absolute;
    left: 0;
    top:0;
    bottom:0;
    width: 82%;
    background: #fff;
    z-index: 1;
}

footer .contact-container a{
    font-size: 38px;
    color:#231206;
}

footer .contact-container .bg-white{
    background: #fff;
}

footer .contact-container a.mobile{
    font-family: "Montserrat";
    font-weight: 600;
    font-size:32px;
}

footer .contact-container a.mobile i{
    padding-right: 2rem;
}

footer .footer-logo{
    display: inline-block;
    vertical-align: middle;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 48px;
    margin:0;
}

footer .arrow{
    display: inline-block;
    vertical-align: middle;
    font-size:48px;
    padding-left: 1.5rem;
    color:rgba(0, 0, 0, .15);
}

footer .vertical-logo{
    position: absolute;
    right:0;
    top:-1rem;
    width: 260px;
    z-index: 0;
}


.footer{
    background: -webkit-linear-gradient(top,#fff 50%,transparent),url(/images/wood.png);
    background-size: 25%;
    font-weight: 600;
    font-size:14px;
}

.footer .dpt-logo{
    width: 100px;
}






/* Formularz kontaktowy */
.contact-container h1{
    font-size:32px;
    margin:0;
}

.contact-container .h5{
    margin-top:1rem;
}

.contact-link{
    display: inline-block;
    margin:.25rem 0;
    color:#231206;
}
.contact-link i{
    display: inline-block;
    width: 32px;
    text-align: center;
    font-size: 26px;
    padding-right: .5rem;
    color: #714521;
    vertical-align: middle;
}

a.contact-link:hover{
    opacity: .7;
    color:#231206;
}

.button {
    position: relative;
    font-family: "Montserrat";
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    display: inline-block;
    border: 3px solid #f2f2f2;
    padding: 1rem 2.75rem;
    margin-top: 2rem;
    color: #231206;
    -webkit-transition: .4s;
    background: none;
    overflow: hidden;
}

.button:hover{
    color:#fff;
    background: #231206;
}


#cookie{
    position: fixed;
    left:0;
    right: 0;
    bottom: 0;
    background: #fff;
    z-index: 20;
    padding: 1.5rem 4rem 1.5rem 2rem;
    -webkit-box-shadow:0 0 16px rgba(0,0,0,.15)
}

#cookie .close-cookie-button{
    color:#714521;
    position: absolute;
    top:0;
    right: 0;
    font-size: 2rem;
    padding: 0 .5rem;
}

#cookie a{
    color:#231206;
    font-weight: 600;
}

#cookie .cookie-icon{
    color:rgb(94, 59, 22);
}

/* Small only */
@media screen and (max-width: 39.9375em) {
    .logo-second{
        padding-left:32px;
    }

    #cookie{
        padding: 1.25rem;
        overflow: hidden;
    }
}

/* Medium and up */
@media screen and (min-width: 40em) {}

/* Medium and down */
@media screen and (max-width: 63.9375em) {
    section.slider .item .caption h2 {
        font-size: 30px;
    }
    header{
        position: absolute;
        background: -webkit-linear-gradient(top,#1e1004,transparent);

        padding-bottom: 0;
        padding:1rem 0;
    }

    header .grid-container{
        padding: 0;
    }

    #main-menu{
        text-align: left;
        position: fixed;
        top:0;
        bottom: 0;
        left: 0;
        right: 0;
        padding-top: 6rem;
        padding-left: 4rem;
        display: block;
        background: #1f1f1f;
        -webkit-transform: translateX(-100%);
        -webkit-box-shadow:0 16px 16px rgba(0,0,0,.15);
        -webkit-transition:.3s;
    }

    #main-menu ul#main{
        padding: 0;
    }

    #main-menu.active{
        -webkit-transform: translateX(0%);
    }

    #main-menu a{
        font-size: 20px;
        padding: 1rem 1rem;
        -webkit-transition:.6s;
    }

    #nav-icon{
        display: inline-block;
    }

    .slider{
        height: auto;
    }

    .slider img{
        width: auto !important;
        min-width: 100% !important;
        max-width: none !important;
        height: 100vh !important;
    }
    .slider .slider-description{
        left:4%;
        right:4%;
        width: 92%;
        top:25%;
        -webkit-transform: translateY(-25%);
    }
    .slider .gradient{
        background: -webkit-linear-gradient(top,#fff,transparent,#fff), -webkit-linear-gradient(left,#fff,transparent,#fff);
    }
    .slider h2{
        font-size: 24px;
    }



    section.main{
        background: none;
    }

    section.main .wood{
        left:auto;
        right:0;
    }

    footer .contact-container{
        position: relative;
        background: #fff;
    }

    footer img.footer-wood{
        margin:0;
    }

    .frame{
        width: 100%;
    }
}

/* Medium only */
@media screen and (min-width: 40em) and (max-width: 63.9375em) {}

/* Large and up */
@media screen and (min-width: 64em) {}

/* Large only */
@media screen and (min-width: 64em) and (max-width: 74.9375em) {}