@font-face {
    font-family: basic;
    src: url("../assets/open-sans-3/OpenSans-Regular.ttf");
}
@font-face {
    font-family: light;
    src: url("../assets/open-sans-3/OpenSans-Light.ttf");
}
body
{
    --textColor: #303030;
    --textFamily: basic;
    --textFamily2: light;
    --blockColor: rgb(245,245,245);
    font-family: 'Lato', sans-serif;
}

.overlay {
    height: 100%;
    width: 0;
    position: fixed;
    z-index: 1000;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0, 0.9);
    overflow-x: hidden;
    transition: 0.5s;
}

.overlay-content {
    position: relative;
    top: 25%;
    width: 100%;
    text-align: center;
    margin-top: 30px;
}
.overlay-content a{
    text-decoration: none !important;
}
.overlay a {
    padding: 8px;
    text-decoration: none !important;
    font-size: 36px;
    color: #818181;
    display: block;
    transition: 0.3s;
}

.overlay a:hover, .overlay a:focus {
    color: #f1f1f1;
}

.overlay .closebtn {
    position: absolute;
    top: -20px;
    right: 30px;
    font-size: 60px;
}

@media screen and (max-height: 450px) {
    .overlay a {font-size: 20px}
    .overlay .closebtn {
        font-size: 40px;
        top: 15px;
        right: 35px;
    }
}

/*MAIN CSS*/
.wrapper{
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}
.desktop{
    z-index: 999;
    position: fixed;
    width: 100%;
    height: 80px;
    background: white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.35);
}
#btn-mobile{
    display: none;
    left: 30px;
    position: absolute;
}
.desktop .wrapper{
    height: 100%;
    width: 80%;
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    align-items: center;
}
.desktop .wrapper ul{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0px;
}
.lang{
    margin-left: 80px !important;
}
.lang a{
    margin:0px !important;
    border-right: 1px solid #a0a0a0 !important;
}
.lang li{
    margin:0 5px !important;
    line-height: 15px !important;
    font-size: 15px !important;
    font-family: var(--textFamily) !important;
    color: #a0a0a0 !important;
}

.lang a:last-child{
    border-right: 0px solid var(--textColor) !important;
}
.logo-a{
    height: 100%;
    display: flex;
    align-items: center;
}
.lang .active {
    color: var(--textColor) !important;
}
.mobile-lang{
    display: flex;
    justify-content: center;
    align-items: center;
}
.mobile-lang a{
    width: max-content;
}

.desktop .wrapper ul a{
    margin-right: 30px;
    text-decoration: none;
    list-style-type: none;
}
.desktop .wrapper ul li{
    line-height: 30px;
    box-sizing: content-box;
    color: var(--textColor);
    font-family: var(--textFamily);
    font-size: 17px;
    margin:0 20px;
    cursor: pointer;
}
.desktop .wrapper ul li:hover{
    border-bottom: 2px solid var(--textColor);
}
.lang li:hover{
    border-bottom: 0px !important;
}
#baner{
    height: 90vh;
    width: 100%;

}
section{
    padding: 50px 0;
}
#o-nas .wrapper{
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    width: 80%;
}
#o-nas .wrapper .block{
    width: 25%;
    margin: 20px 30px ;
    min-width: 200px;
    min-height: 300px;
    background: var(--blockColor);
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.25);
}
#o-nas .wrapper .block:hover{

}
#o-nas .wrapper .block .img{
    height: 200px;
    width: 100%;
    display: block;

}
#o-nas .pierwszy .img{
    background: url("../images/arch.jpeg") center center no-repeat;
    background-size: cover;
}
#o-nas .drugi .img{
    background: url("../images/man.jpeg") center center no-repeat;
    background-size: cover;
}
#o-nas .trzeci .img{
    background: url("../images/stolarz.jpeg") center center no-repeat;
    background-size: cover;
}
#o-nas .wrapper .block .icon{
    width: 60px;
    height: 60px;
    background: var(--blockColor);
    border-radius: 50px;
    margin: 0 auto;
    margin-top: -30px;
}
#o-nas .wrapper .block .icon i{
    width: 60px;
    height: 60px;
    text-align: center;
    font-size: 30px;
    line-height: 60px;
    color: rgb(100,100,100);
}
#o-nas .wrapper .block .text{
    padding: 10px 20px;
    text-align: center;
    font-family: var(--textFamily2);
    color: var(--textColor);
}
#movie{
    width: 100%;
    height: 250px;
    background: url("../images/movie.jpg") no-repeat center center;
    background-size: cover;
  /*  opacity: 0.5; */
    display: flex;
    justify-content: center;
    align-items: center;
}
#movie .wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: nowrap;
}
#movie .title-line{
    text-align: center;
    color: var(--textColor);
    margin: 0 auto;
    padding: 0 30px;
    font-family: var(--textFamily);
    width: max-content;
}
#movie .line{
    height: 2px;
    background: var(--textColor);
    display: block;
    flex:1;
}
#movie a{
    width: max-content;
    margin: 0 auto;
    text-decoration: none !important;
    display: block;
}
#movie .download{
    padding: 5px 45px;
    margin: 0 auto;
    width: max-content;
    font-size: 20px;
    text-transform: uppercase;
    background: var(--textColor);
    border-radius: 40px;
    margin-top: 20px;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none !important;
}
#movie .download i{
    margin-right: 20px;
}
#gallery{
    padding: 80px 0 !important;
}
#gallery .container{
    width: 100% !important;
    padding: 0 !important;
}
#gallery .container .slider{
    padding: 0px 0 !important;
}
#gallery .container .slide{
    margin: 0px 10px;
    opacity: 0.6;
    transition: opacity 0.3s;
}
#gallery .container .slide:hover{
    opacity: 1;
}
#oferta{
    background-size:cover;
    background-position: center;
    -webkit-filter: grayscale(100%);
    filter: grayscale(100%);
    padding: 60px 0;
}
#oferta .wrapper{
    max-width: 900px;
}
#oferta h3{
text-align: center;
    padding-bottom: 15px;
    border-bottom:  2px solid white;
    color: white;
    margin: 0 auto;
    font-family: var(--textFamily);
    margin-bottom: 60px;

}
#oferta p{
    color: white;
    -webkit-column-count: 2; /* Chrome, Safari, Opera */
    -moz-column-count: 2; /* Firefox */
    column-count: 2;
    font-size: 18px;
    column-gap: 10%;
    -webkit-column-gap: 10%;
    -moz-column-gap: 10%;
    font-family: var(--textFamily2);

}
#kontakt{
    background-size: cover;
}
form {
    max-width: 330px;
}
.form{
     background: rgba(255,255,255,0.5);
    width: fit-content;
    padding: 30px 40px;
    margin-left: 50px;
    max-width: 410px;
 }
 .form input,.form textarea{
     border-radius: 10px;
     border: 1px solid rgba(0,0,0,0.4);
     padding: 0 20px;
     width: 100%;
     box-sizing: border-box;
     line-height: 35px;
     max-width: 100%;
     min-width: 100%;
     margin: 0 auto;
     background: rgba(255,255,255,0.7);

 }
 .form textarea{
     line-height: normal;
     padding: 10px 20px;
 }
 .form label{
     font-family: basic;
 }
 .form .wpcf7-submit{
     color: white;
     background: black;
     line-height: 30px;
 }
 .your-conditions{
     margin-bottom: 30px;
     display: block;
 }
 .screen-reader-response{
     display: none;
 }
.your-conditions input{
    width: max-content;
    margin-right: 15px !important;
}
.wpcf7-not-valid-tip{
    display: block;
    text-align: center;
    color: darkred;
}
.wpcf7-validation-errors{
    text-align: center;
    color: darkred;
}
.wpcf7-mail-sent-ok{
    text-align: center;
    color: darkgreen;
}
footer{
    padding: 10px 20px;
    background: #b5b5b5;
}
footer .wrapper{
    color: white;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: center;
    max-width: 900px;
}
footer div{
    min-width: 80px;
    margin: 0 20px;
}
footer .wrapper a{
    color: white;
    text-decoration: none;
}
footer .wrapper h3{
    font-family: basic;
    color: black;
    font-size: 15px;
    margin-bottom: 10px;
}
footer .wrapper h4{
    font-family: light;
    font-size: 13px;
}

/*MODAL*/
#myImg {
    border-radius: 5px;
    cursor: pointer;
    transition: 0.3s;
}

#myImg:hover {opacity: 0.7;}

/* The Modal (background) */
.modal {
    display: none; /* Hidden by default */
    position: fixed; /* Stay in place */
    z-index: 1; /* Sit on top */
    padding-top: 100px; /* Location of the box */
    left: 0;
    top: 0;
    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgb(0,0,0); /* Fallback color */
    background-color: rgba(0,0,0,0.9); /* Black w/ opacity */
}

/* Modal Content (image) */
.modal-content {
    margin: auto;
    display: block;
    width: 90%;
    max-width: 900px;
}

/* Caption of Modal Image */
#caption {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
    text-align: center;
    color: #ccc;
    padding: 10px 0;
    height: 150px;
}

/* Add Animation */
.modal-content, #caption {
    -webkit-animation-name: zoom;
    -webkit-animation-duration: 0.6s;
    animation-name: zoom;
    animation-duration: 0.6s;
}

@-webkit-keyframes zoom {
    from {-webkit-transform:scale(0)}
    to {-webkit-transform:scale(1)}
}

@keyframes zoom {
    from {transform:scale(0)}
    to {transform:scale(1)}
}

/* The Close Button */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: white !important;
    font-size: 40px !important;
    font-weight: bold;
    transition: 0.3s;
    opacity: 1 !important;
}
.expand{
    right: 100px;
}
.next{
    right: 165px;
}
.prev{
    right: 230px;
}
.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

/* 100% Image Width on Smaller Screens */
@media only screen and (max-width: 700px){
    .modal-content {
        width: 100%;
    }
}

#cookies-message #accept-cookies-checkbox{
    background-color: var(--textColor) !important;
}