@font-face {
    font-family: BaronNeue;
    src: url("fonts/Baron Neue.otf") format("opentype");
    src: url(../fonts/Baron Neue.otf ) format("opentype");
    /* IE */
}

@font-face {
    font-family: BaronNeueBold;
    font-weight: bold;
    src: url("../fonts/Baron Neue Bold.otf") format("opentype");
    src: url(../fonts/Baron Neue Bold.otf) format("opentype");
    /* IE */
}

@import url('https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700&subset=latin-ext');

* {
    color: #D9C2A0;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 18px;
    letter-spacing: .01em;
    line-height: 1.5em;
}

.black {
    color: black;
}

#pop-up {
    position: fixed;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10000;
display: none;
    transition: 0.4s;
}

.visible {
    display: block !important;
}
.pinned {
    width: calc(100% - 20px);
    margin: 10px;
}
#pop-up .pop-up-box {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    /*padding: 10px;*/
    background: #E7E3E0;
        width: calc(90vh + 40px);
    max-width: calc(100% - 40px);l
}

#pop-up .pop-up-box h1 {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 10px;
    font-size: 48px;
    margin-right: 30px;
    margin-left: 30px;
    line-height: 55px;

}

.close-but {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 40px;
cursor: pointer;
}

#pop-up .pop-up-box h3 {
    text-align: center;
    margin-top: 0px;
    margin-bottom: 20px;
    margin-right: 30px;
    margin-left: 30px;
}

body {
    background: #141311;
    margin: 0;
}

a {
    font-family: inherit;
    text-decoration: none;
    color: inherit;
}

.scroll {
    height: 70px;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translate(-50%, 0)
}

header {
    height: 165px;
}

.header-container {
    margin: 0 auto;
    height: 100%;
    max-width: 1900px;
    position: relative;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    justify-content: center;
    z-index: 80;
}

header::before {
    content: "";
    position: absolute;
    height: 165px;
    width: 100%;
    left: 0;
    top: 0;
    background: black;
    opacity: 0.6;
    z-index: 75;

}

.brand {
    width: 180px;
    margin: 35px 40px;
    height: auto;
}

brand-link {
    display: inherit;
}

footer {
    height: 170px;
    background: url(../img/background_footer.jpg);
    background-size: cover;

}

.block-container {
    display: block;
    text-align: center;
}

.footer-container {
    margin: 0 auto;
    height: 100%;
    max-width: 1900px;
    position: relative;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    justify-content: center;
}


h1 {
    font-family: BaronNeue, Arial, Helevetica, serif;
    font-weight: 900;
    font-size: 55px;
    margin-top: 90px;
}

h2 {
    font-family: BaronNeue, Arial, Helevetica, serif;
    font-weight: 900;
    font-size: 45px;
    margin-top: 90px;
}

h3 {
    font-size: 25px;
}

h1.center {
    text-align: center;
}

h1.section-title {

    margin-bottom: 20px;
}

div.center {
    margin: 0 auto;
}

article.center {
    text-align: center;
}

nav {}

nav ul {
    display: inline-flex;
    padding: 0;
}

nav ul li {
    list-style-type: none;
    margin: 15px;
    font-family: BaronNeue, Arial, Helevetica, serif;
    color: white;
    position: relative;
    transition: .4s;

}

nav ul li a:before {
    content: "";
    background: #D9C2A0;
    position: absolute;
    bottom: -2px;
    left: 1%;
    height: 2px;
    width: 0%;
    z-index: -100;
    transition: .4s;
}

nav ul li:hover a:before {
    width: 98%;
}

nav ul li:hover {
    color: inherit;

}



.flag {
    margin: 10px;
    width: 30px;
    height: 18.9px;
    background-size: cover;
    background-blend-mode: darken;
    transition: 0.3s;

}

.flag:hover {
    filter: brightness(50%);
    border: none;
}

.pl {
    background-image: url("../img/pl_flag.png");
    border: none;
}

.en {
    background-image: url("../img/en_flag.png");
    border: none;
}

div.translate-button-container {
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translate(0, -50%);
    float: right;
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translate(0, -50%);
    height: 100px;
}

.small-logo {
    position: absolute;
    left: 30px;
    top: 50%;
    transform: translate(0, -50%);
    height: 80px;
}

#slider {
    background: url(../img/background.jpg);
    height: 100vh;
    background-size: cover;
    background-clip: padding-box;
    background-position: center;
    position: relative;
    top: -165px;
    z-index: 70;
}

.hv-centered {
    position: absolute;
    left: 50%;
    top: calc(50% + 82.5px);
    transform: translate(-50%, -50%);
}

.slider-container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
    align-items: center;
    justify-content: center;
    height: 25vw;
    width: 80%;
    max-width: 1500px;
    min-width: 1000px;
    max-height: 500px;
    min-height: 320px;
    padding-left: 50px;
    background: rgba(0, 0, 0, 0.7);
}

.text-container {
    height: fit-content;
    width: 60%;
    align-self: center;
}

.no-top-margin {
    margin-top: 0 !important;
}

.slider-image {
    background: url(../img/photo_slider2.jpg);
    background-size: cover;
    background-position: center;
    height: 100%;
    width: 40%;
}

.decorative {
    background-image: url(../img/ozdobnik.svg);
    height: 71px;
    width: 400px;
    background-size: cover;
    margin-bottom: 50px !important;

}

article {
    padding-bottom: 90px;
}

.container {
    max-width: 1100px;
}

.big-container {
    max-width: 1900px;
}

.space-bottom {
    margin-bottom: 100px !important;
}

.bold600 {
    font-weight: 600;
}

.flex-container {
    display: -webkit-box;
    /* OLD - iOS 6-, Safari 3.1-6 */
    display: -moz-box;
    /* OLD - Firefox 19- (buggy but mostly works) */
    display: -ms-flexbox;
    /* TWEENER - IE 10 */
    display: -webkit-flex;
    /* NEW - Chrome */
    display: flex;
    /* NEW, Spec - Opera 12.1, Firefox 20+ */
}

.flex-wrap-center {
    flex-wrap: wrap;
    justify-content: center;
}

.lighter-background {
    background: #1E1C1A;
}

.col1-2 {
    width: 50%;

}

.col1-3 {
    width: 33.33%;

}

.col2-5 {
    width: 40%;

}

.col3-5 {
    width: 60%;

}

main {
    scroll-behavior: smooth;
}

.col2-3 {
    width: 66.66%;

}

.clock-background {
    background: url(../img/clock2.jpg);
    background-size: cover;
    background-position: center;
}

.building-background {
    background: url(../img/building_pinned.jpg);
    background-size: cover;
    background-position: center;
}

#map {
    width: 100%;
    height: 100%;
}

.no-padding {
    padding: 0 !important;
}

.min-height500 {
    min-height: 500px;
}

.single-padding {
    padding: 0 80px 100px 100px;
}

.text-center {
    text-align: center;
}

.center-under1200 {
    text-align: inherit;
}

.padding-left {
    padding-left: 100px;
}

#menu {
    visibility: hidden;
    font-size: 40px;
    position: absolute;
    left: 25px;
    top: 50%px;
    color: white;
    cursor: pointer;
    transition: .4s;
}

#menu:hover {
    color: #D9C2A0;
}

#drawer {
    position: fixed;
    height: 100%;
    width: 350px;
    left: -350px;
    top: 0;
    background: #1E1C1A;
    z-index: 100;
    transition: .4s;

}

#drawer ul {
    padding: 0;
}

#drawer ul li:first-child {
    padding-top: 10px;
}

#drawer ul li {
    list-style-type: none;
    margin: 15px;
    font-family: BaronNeue, Arial, Helevetica, serif;
    color: white;
    position: relative;
    transition: .4s;
    padding-top: 30px;
}

#drawer ul li a {
    font-size: 25px;
}

#drawer ul li a:before {
    content: "";
    background: #D9C2A0;
    position: absolute;
    bottom: -20px;
    left: 1%;
    height: 2px;
    width: 98%;
    z-index: -100;
    transition: .4s;

}


#drawer ul li:hover {
    color: inherit;

}

#background {
    position: fixed;
    height: 100vh;
    width: 100vw;
    left: -100vw;
    top: 0;
    background: black;
    z-index: 100;
    opacity: 0.0;
    display: inherit;
    transition: .8s;

}

.ul-fix {
    text-align: inherit;
}

.ul-fix li {
    text-align: left;
}

.open {
    left: 0 !important;
}

.show {
    left: 0 !important;
    opacity: .5 !important;

}

#about {
    margin-top: -165px;
}

#back-arrow {
    background: url("../img/arrow.png");
    background-size: cover;
    height: 70px;
    width: 70px;
    opacity: .8;
    position: fixed;
    bottom: -100px;
    right: -100px;
    z-index: 200;
    transition: .7s;

}

.top-link {
    position: relative;
}

@media only screen and (max-width: 1200px) {

    .ul-fix {
        text-align: inherit;
    }

    header::before {
        height: 100px;

    }

    #back-arrow {
        position: static;
    }

    #about {
        margin-top: -100px;
    }
    .hv-centered {
        top: calc(50% + 20px);
    }
    #menu {
        visibility: visible;
    }

    #slider {
        top: -100px;
    }

    .logo {
        height: 70px;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    header {
        height: 100px;
    }

    .clock-background {
        min-height: 500px;
    }

    .flex-container {
        flex-wrap: wrap;

    }

    .slider-container {
        min-width: 0;
    }

    .reverse {
        flex-direction: column-reverse;
    }

    .col1-2 {
        width: 100%;
    }

    .col1-3 {
        width: 100%;
    }
.col2-5 {
    width: 100%;

}

.col3-5 {
    width: 100%;

}
    .col2-3 {
        width: 100%;
    }

    .center-under1200 {
        text-align: center;
    }

    .padding-left {
        padding-left: 30px;
        padding-right: 30px;

    }

    .slider-container {
        display: block;
        max-width: 600px;
        min-width: 0;
        min-height: 0;
        max-height: 1500px;
        padding: 0;
        width: 60%;

        height: auto;
    }

    .text-container {
        width: calc(100% - 60px);
        text-align: center;
        padding: 60px 30px;

    }

    .slider-image {
        width: 100%;
        height: 45vw;
    }

    nav {
        display: none;
    }

    .single-padding {
        padding: 0 30px 100px 30px;
    }
}

@media only screen and (max-width: 600px) {

    .slider-container {
        width: 80%;
    }


    h1 {
        font-size: 45px;
    }

    h2 {
        font-size: 40px;
    }

    .text-container {
        width: calc(100% - 50px);
        padding: 35px 25px;
    }

    .brand {
        width: 220px;
    }


}


/*IE Hack*/

@media screen and (-ms-high-contrast: active),
(-ms-high-contrast: none) {
    .brand {
        height: 100%;
    }
}

@media only screen and (max-height: 100vw) and (max-width: 1200px) {
    .slider-image {
        display: none;
    }

    .text-container {
        padding: 20px 30px;
    }

}
