/* GENERAL */
/* region */

html {
    font-family: 'Lato', 'Montserrat', sans-serif;
    font-size: 16px;
}

body {
    margin: 0;
}

section {
    /*    border-top: 2px solid white;*/
    position: relative;
}

.scroll_offset {
    position: absolute;
    top: -5.5em;
    width: 10%;
    height: 5px;
    z-index: -100;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    /*    font-family: 'Source Code Pro', monospace;*/
}

h1 {
    font-size: 2.5em;
    /* 40 / 16 */
    padding-top: 8%;
}

a {
    color: black;
    text-decoration: none;
}

.arrow_wrapper {
    cursor: pointer;
    /*    background-color: rgba(0, 0, 0, 0.3);*/
    background-color: rgba(255, 255, 255, 0.3);
    /*    border: 1px solid white;*/
    width: 25px;
    padding-top: 1em;
    text-align: center;
}

.arrow {
    border: solid white;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 3px;
}

.arrow_left {
    transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
}

.arrow_right {
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.info_button {
/*    display: block;*/
    border: 1px solid rgba(255, 255, 255, 0.7);
    color: white;
    margin-top: 1em;
    padding: 1em;
    transition: all .1s;
}

.info_button:hover {
    border: 1px solid rgba(255,255,255, 0.4);
    background: rgba(255, 255, 255, 0.3);
    color: white;
}

/*@media screen and (max-width: 1000px) {*/
/*    .scroll_offset {*/
/*        top: 0;*/
/*    }*/
/*}*/
/* endregion */

/* NAVBAR */
/* region */
nav #top_bar,
nav #top_bar img {
    height: 5.5em;
    /* po zmianie height ustawić padding w
        nav #top_bar #menu_items li a */
}

nav #top_bar {
    background-color: white;
    opacity: 0.7;
    -webkit-transition: opacity .3s;
    -moz-transition: opacity .3s;
    -ms-transition: opacity .3s;
    transition: opacity .3s;
}

nav #top_bar:hover,
nav #top_bar:hover img {
    opacity: 1;
}

nav #top_bar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 5;
}

nav #top_bar img {
    box-sizing: border-box;
    position: fixed;
    top: 0;
    left: 0;
    padding: 0.5% 0;
    padding-left: 5%;
}

nav #top_bar #menu_items {
    display: table;
    width: 75%;
    float: right;
}

nav #top_bar #menu_items li {
    display: table-cell;
    width: 20%;
}

nav #top_bar #menu_items li a {
    border-bottom: 2px solid rgba(255, 255, 255, 0.0);
    -webkit-transition: border-bottom .3s;
    -moz-transition: border-bottom: .3s;
    -ms-transition: border-bottom: .3s;
    transition: border-bottom: .3s;
    padding: 2.2em 0;
    white-space: nowrap;
    cursor: pointer;
    text-align: center;
    display: block;
}

nav #top_bar #menu_items a:hover {
    opacity: 0.8;
    border-bottom-color: rgba(154, 193, 186, 1.0);
}

@media screen and (max-width: 1000px) {
    nav #top_bar {
/*        position: absolute;*/
        background-color: rgba(255, 255, 255, 0.5);
        box-shadow: none;
    }
    nav #top_bar img {
        display: none;
    }
    nav #top_bar #menu_items {
        box-sizing: border-box;
        width: 125%;
    }
    nav #top_bar #intro {
        visibility: hidden;
    }
}


/* endregion */

/* HOME */
/* region */
#home {
    height: 100vh;
}

@media screen and (max-width: 1000px) {
    #home {
        height: 95vh;
    }
}


/* endregion */

/* WARTOSCI_FIRMY */
/* region */

#wartosci_firmy {
    background-color: rgba(255, 255, 255, 0);
    /*    min-height: 70vh;*/
}

#wartosci_firmy,
#wartosci_firmy>.white_rectangle,
#wartosci_firmy>#background_no_scroll {
    min-height: 35em;
}

#wartosci_firmy>.white_rectangle {
    /*    border-right: 2px solid white;*/
    box-sizing: border-box;
    /*    background-image: url(../assets/patterns/cross_black.png);*/
    background-size: 5px;
    display: flex;
    /*    justify-content: space-around;*/
    padding-left: 5%;
    float: left;
    width: 40%;
    position: relative;
}

#wartosci_firmy>.white_rectangle::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: -10vw;
    padding-left: 1px;
    border-style: solid;
    border-width: 35em 0 0 10vw;
    /*    background-image: url(../assets/patterns/cross_black.png);*/
    background-size: 5px;
    border-color: transparent transparent transparent white;
}

#wartosci_firmy .white_rectangle>.wrapper {
    white-space: nowrap;
    align-self: center;
}

#wartosci_firmy>.white_rectangle h1 {
    margin: 0 0 8%;
}

#wartosci_firmy>.white_rectangle figure>img {
    vertical-align: middle;
    padding: 2% 2%;
}

#wartosci_firmy>.white_rectangle figure>span {
    /*    font-size: 1.25em;*/
}

#wartosci_firmy>.white_rectangle figure>span::before {
    content: "Blank";
    color: transparent;
    background: url(../assets/images/values_icon.png) no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

#wartosci_firmy>#background_no_scroll {
    float: left;
    width: 60%;
    background-image: url(../assets/backgrounds/1.jpg);
    /*    background-attachment: fixed;*/
    /*    background-position: 50% 50%;*/
    background-size: cover;
}

@media screen and (min-width: 1367px) {
    #wartosci_firmy,
    #wartosci_firmy .white_rectangle,
    /*    #wartosci_firmy > #background_no_scroll {min-height: 40em;}*/
    /*    #wartosci_firmy > .white_rectangle::before {border-width: 40em 0 0 10vw;}*/
}

@media screen and (max-width: 1000px) {
    #wartosci_firmy,
    #wartosci_firmy .white_rectangle,
    #wartosci_firmy>#background_no_scroll {
        min-height: 45em;
    }
    #wartosci_firmy {
        padding: 0;
    }
    #wartosci_firmy>.white_rectangle::before {
        display: none;
    }
    #wartosci_firmy .white_rectangle {
        justify-content: space-around;
        padding: 0;
        width: 100%;
        border: 0;
    }
    #wartosci_firmy>#background_no_scroll {
        position: absolute;
        width: 100%;
        height: 100%;
        z-index: -1;
    }
}

@media screen and (max-width: 500px) {
    #wartosci_firmy,
    #wartosci_firmy .white_rectangle {
        min-height: 35em;
    }
}

@media screen and (max-width: 400px) {
    #wartosci_firmy,
    #wartosci_firmy .white_rectangle {
        min-height: 30em;
    }
}


/* endregion */

/* MIESZKANIA */
/* region */

#mieszkania {
    min-height: 840px;
    padding: 0% 5%;
}

#mieszkania>h1 {
/*    background-color: green;*/
/*    background-color: #009966;*/
    color: white;
    box-sizing: border-box;
    height: 200px;
    padding: 80px 0;
    width: 40%;
    position: relative;
}

#mieszkania>h1:before {
    position: absolute;
    top: 0;
/*    left: -17.5%;*/
    left: -6.4vw;
    content: "";
    width: 50vw;
    z-index: -1;
    height: 0;
    border-style: solid;
    border-width: 200px 200px 0 0;
    border-color: #009966 transparent transparent transparent;
}

#mieszkania #panel_lewy > h1,
#mieszkania #panel_prawy > h1 {
    color: white;
    padding: 2% 0;
    background-color: #009966;
    -webkit-background: linear-gradient(to right, #009966, transparent);
    -moz-background: linear-gradient(to right, #009966, transparent);
    -ms-background: linear-gradient(to right, #009966, transparent);
    background: linear-gradient(to right, #009966, transparent);
    position: relative;
}
#mieszkania #panel_lewy > h1:before {
    background-color: #009966;
    position: absolute;
    content: "";
    width: 200px;
    height: 100%;
    top: 0; left: -200px;
}

#mieszkania #panel_prawy > h1 {
    padding-left: 1%;
    background-color: #009966;
    -webkit-background: linear-gradient(to right, #009966, transparent);
    -moz-background: linear-gradient(to right, #009966, transparent);
    -ms-background: linear-gradient(to right, #009966, transparent);
    background: linear-gradient(to right, #009966, transparent);
}

#mieszkania #panel_lewy,
#mieszkania #panel_prawy {
    position: relative;
    box-sizing: border-box;
    padding: 1%;
    width: 50%;
    float: left;
}
#mieszkania #panel_lewy {
    padding-left: 0;
}
#mieszkania #panel_prawy {
    padding-right: 0;
}

#mieszkania>div>p {
    padding: 1% 0;
}

#mieszkania #panel_lewy img,
#mieszkania #panel_prawy img {
    width: 100%;
    height: 500px;
    object-fit: cover;
}

#mieszkania #panel_lewy .wrapper,
#mieszkania #panel_prawy .wrapper {
    position: absolute;
    width: 98%;
    bottom: 190px;
    display: flex;
    justify-content: space-between;
}

#mieszkania #panel_lewy .wrapper {
    justify-content: space-around;
}

#mieszkania .info_button {
    margin: 0;
}

@media screen and (max-width: 1000px) {
    #mieszkania {
        height: 1420px;
    }
    #mieszkania>h1 {
        padding: 40px 0;
        height: 150px;
    }
    #mieszkania>h1:before {
        border-width: 150px 20vw 0 0;
/*        border-width: 150px 0;*/
        width: 74vw;
    }
    #mieszkania #panel_prawy {
        padding: 0;
        padding-top: 140px;
    }
    #mieszkania #panel_lewy .wrapper,
    #mieszkania #panel_prawy .wrapper {
        width: 100%;
        bottom: 120px;
    }
    #mieszkania #panel_prawy .wrapper {
        bottom: -20px;
    }
    #mieszkania #panel_lewy,
    #mieszkania #panel_prawy,
    #mieszkania #panel_lewy img,
    #mieszkania #panel_prawy img {
        margin: 0;
        border: 0;
        width: 100%;
        height: 500px;
    }
}
/* endregion */

/* O FIRMIE */
/* region */
#o_firmie {
    padding: 0% 5% 4%;
}

#o_firmie_offset {
    
}

#o_firmie>article {
    color: white;
    float: left;
    width: 50%;
    height: 340px;
    position: relative;
}

#o_firmie>article:before {
    position: absolute;
    top: 0;
    left: -6.4vw;
    content: "";
    width: 50vw;
    z-index: -1;
    height: 0;
    border-style: solid;
    border-width: 18em 200px 0 0;
    border-color: #009966 transparent transparent transparent;
}

#o_firmie>article>p {
    padding-top: 4%;
    font-size: 1.5vmax;
    line-height: 1.25em;
    font-weight: 300;
}

#o_firmie>figure {
    float: left;
    width: 50%;
    display: flex;
    flex-flow: nowrap;
    justify-content: space-around;
}

#o_firmie>div {
    clear: both;
    padding: .5%;
    display: flex;
    flex-flow: row nowrap;
    justify-content: space-around;
    align-items: flex-start;
}

#o_firmie>div>aside {
    padding: .5%;
    flex-basis: 25%;
}

#o_firmie>div>aside>header {
    font-size: 1.25em;
    padding: 4% 0 2%;
}

#o_firmie>div>aside>p {
    line-height: 1.5em;
/*        text-align: justify;*/
}

#o_firmie>div>aside>header::before {
    content: "Blank";
    color: transparent;
    background: url(../assets/images/values_icon.png) no-repeat;
    background-position: 50% 50%;
    background-size: contain;
}

@media screen and (max-width: 1000px) {
    #o_firmie {
        text-align: center;
/*        padding-top: 15%;*/
        padding-bottom: 12%;
    }
    /*    #o_firmie > h1 {}*/
    #o_firmie>article {
        text-align: left;
        height: 260px;
        margin: 0;
        margin-bottom: 8%;
        width: 76%;
    }
    #o_firmie>article>p{ font-size: 1.25em;}
    #o_firmie>article:before {
        border-width: 300px 20vw 0 0;
/*        border-width: 300px 0px;*/
        width: 74vw;
    }
    #o_firmie>figure {
        width: 100%;
    }
    #o_firmie>div {
        flex-flow: column nowrap;
    }
    #o_firmie>div>aside {
        width: 100%;
    }
    #o_firmie>div>aside>header {
        margin-right: 9%;
        padding: 12% 0 2%;
    }
}
@media screen and (max-width: 400px) {
    #o_firmie>article {
        height: 400px;
        height: 25em;
    }
    #o_firmie>article:before {
        border-width: 400px 20vw 0 0;
        border-width: 25em 20vw 0 0;
    }
    #o_firmie>article>p{
        padding-top: 10%;
    }
}
/* endregion */

/* KONTAKT */
/* region */
#kontakt {
    /*    min-height: 600px;*/
    line-height: 2.5em;
}

#kontakt #dane_firmy,
#kontakt #formularz {
    box-sizing: border-box;
    height: 35em;
    width: 50%;
}

#kontakt #dane_firmy {
    background-color: black;
    color: white;
    float: left;
    padding-left: 5%;
    position: relative;
}

#kontakt #dane_firmy::before {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    right: -10vw;
    /*    padding-left: 1px;*/
    border-style: solid;
    border-width: 35em 0 0 10vw;
    border-color: transparent transparent transparent black;
}

#kontakt #formularz {
    background-color: white;
    color: black;
    border-left: 1px solid black;
    text-align: center;
    float: right;
    padding-left: 5%;
}

#kontakt #formularz form * {
    margin: auto;
    padding-top: .2em;
    padding-bottom: .2em;
}

#kontakt #formularz form input,
#kontakt #formularz form textarea {
    border: 1px solid silver;
    box-sizing: border-box;
    padding-left: 3px;
    font-family: inherit;
    font-size: 1em;
}

#kontakt #formularz form input,
#kontakt #formularz form textarea {
    width: 100%;
    display: block;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 0;
}

#kontakt a {
    color: inherit;
    border-bottom: 1px solid rgba(255, 255, 255, 0.0);
    -webkit-transition: border-bottom-color .3s;
    transition: border-bottom-color: .3s;
}

#kontakt a:hover {
    border-bottom-color: rgba(154, 193, 186, 1.0);
}

@media screen and (max-width: 1000px) {
    #kontakt {
    }
    #kontakt #dane_firmy,
    #kontakt #formularz {
        background-color: #009966;
        color: white;
        padding: 0;
        width: 100%;
        border: 0;
        height: 30em;
    }
    #kontakt #dane_firmy::before {
        display: none;
    }
    #kontakt #dane_firmy {
        padding-top: 4%;
        text-align: center;
    }
    #kontakt #dane_firmy h1,
    #kontakt #formularz h1 {
        padding-top: 4%;
        text-align: center;
    }
    #kontakt #formularz form table {
        margin: auto;
    }
}
/* endregion */

/* COOKIES */
/* region */
#cookies_div {
    background-color: ghostwhite;
    text-align: center;
    line-height: 2em;
    opacity: 0.7;
    padding: 10px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

#cookies_div #accept_cookies_button {
    white-space: nowrap;
}

#cookies_div:hover {
    opacity: 1.0;
}

#cookies_div #know_more {
    text-decoration: underline;
    padding-right: .2em;
    color: inherit;
}

#cookies_div #accept_cookies_button {
    background-color: orange;
    opacity: 0.8;
    color: black;
    border: 2px solid inherit;
    padding: .4em;
    border-radius: 5px;
    -webkit-transition: opacity .3s;
    transition: opacity .3s;
}

#cookies_div #accept_cookies_button:hover {
    opacity: 1.0;
}

@media screen and (max-width: 1000px) {
    #cookies_div {
        opacity: 1.0;
    }
}
/* endregion */