body,
html {
    margin: 0;
    padding: 0;
    overflow: hidden;
    height: 100vh;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 5px;
    height: 7px;
}

::-webkit-scrollbar-thumb {
    background-color: #a18b6e;
    border-radius: 2px;
}

::-webkit-scrollbar-track {
    box-shadow: none;
    background-color: #22211d;
}

@-moz-document url-prefix() {
    .scroller {
        scrollbar-width: thin;
        scrollbar-color: #22211d;
    }
}

.bg-dark {
    background-color: #22211d !important;
}

.navbar-dark .navbar-toggler {
    border: none;
}

.sm-icons {
    flex-direction: row;
    justify-content: center;
}

.sm-icons img {
    max-height: 18px;
    padding-left: 2px;
    padding-right: 2px
}

.sm-icons span {
    display: block;
    font-family: 'Playfair Display', serif;
    font-weight: 300;
    font-size: 1rem;
    color: #dfc6a8;
    padding-top: .3rem;
    padding-right: .7rem
}

@media only screen and (max-width: 960px) {
    .sm-icons .nav-item {
        padding-right: .5em;
        padding-left: .5em;
    }

    .sm-icons span {
        display: none
    }
}

.navbar {
    padding-top: 0;
    padding-bottom: 0
}

.navbar-nav .nav-link {
    text-align: center
}

.navbar-brand {
    padding-bottom: 0;
    padding-top: 0
}

.navbar-brand img {
    max-width: 85px;
    padding-bottom: 3px;
    padding-top: 3px;
}

.navbar-toggler:focus {
    box-shadow: none
}

.nav-link {
    font-family: 'Comfortaa';
    font-size: .8rem;
    padding: .7em .3em;
}

.main {
    height: 100vh;
    overflow-x: hidden;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
    margin: 0;
    padding: 0;
    scroll-padding-top: 0;
}

.main section {
    height: 100vh;
    scroll-snap-align: start;
    text-align: center;
    position: relative;
    padding-left: 15px;
    padding-right: 15px;
}


.section1 {
    background-color: #22211d;
    background-image: url('../img/bg1.jpg');
    background-size: cover;
}

.section2,
.section2a,
.section1a {
    background-color: #22211d;
}

.section3 {
    background-color: #ffffff;

}

.section4 a,
.section4 a:active,
.section4 a:hover {
    color: #ffffff;
    text-decoration: none
}

.section4 {
    background-color: #22211d;
    background-image: url('../img/bg2.jpg');
    background-size: cover;
}

section .div {
    font-family: 'Comfortaa';
    font-style: normal;
    text-align: center;
    position: relative;
    top: 50%;
    transform: translateY(-50%);
}


.section2a img {
    margin-top: .7rem;
    margin-bottom: .7rem;
    max-width: 100%;
    height: auto;
}

span {
    font-size: .9em;
    font-style: normal;
    color: #fff;
    line-height: 150%;
}

.lewa {
    text-align: left;
    padding-left: 20px;
    padding-right: 20px
}

.lewsza {
    text-align: left;
    padding-left: 6rem;
    color: #fff
}


h3 {
    color: #d2b286
}

.section3 span {
    color: #22211d;
}

.section4 span {
    text-transform: uppercase;
    letter-spacing: .3rem;
    line-height: 200%;
    color: #fff;
}

.section4 span p {
    color: #fff;
}

.section4 img {
    padding-left: .6em;
    padding-right: .6em;
    padding-bottom: 1rem;
    padding-top: 3rem;
}

.miasto {
    margin-right: 0;
    max-width: 80%;
    padding: .6rem !important;
    float: right
}

.section2 {
    color: #fff;
}

.section2 span {
    font-style: italic
}

.section2 ul {
    list-style-type: none;
    font-weight: 600;
}

.section2 img {
    padding-top: 1rem;
    padding-bottom: 2rem;
}

.h1 {
    font-family: 'Playfair Display', serif;
    font-weight: 500;
    font-size: 4rem;
    color: #d2b286;
    background-color: #d2b286;
    background-image: linear-gradient(90deg, #dfc6a8, #c5a06f);
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    line-height: 150%;
    text-align: left;
    margin-bottom: 1rem;
    margin-left: 6rem;
}


.section2 .h1,
.section2a .h1 {
    margin-left: 0;
    text-align: center;
}

.section3 .h1 {
    text-align: left;
    color: #000;
    background-color: #000;
    background-image: none;
    background-size: 100%;
    -webkit-background-clip: text;
    -moz-background-clip: text;
    -webkit-text-fill-color: transparent;
    -moz-text-fill-color: transparent;
    margin-left: 0px;
}


.navbar-dark .navbar-nav .nav-link {
    font-size: .8rem;
}



a {
    color: #000;
    text-decoration: underline
}

a:active,
a:focus,
a:hover {
    color: #000;
    text-decoration: underline
}


.logo {
    width: 550px;
    max-width: 100%;
    margin-bottom: 4rem;
}

.logo_small {
    margin-bottom: 5rem;
}

#tresc {
    color: #000000
}

#tresc div {
    padding-top: 1rem;
}

#tresc p {
    margin-bottom: .2rem;
}

#cnt {
    color: #000000
}


h4 {
    font-weight: 800
}

h5 {
    color: #ffffff;
    font-size: 1rem;
}

.holder {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    /* vertical */
    justify-content: center;
    /* horizontal */
}

.holder .image,
.holder .text {
    transition: opacity 0.5s ease-in-out;
}

.holder .text {
    opacity: 0;
    color: #ffffff;
    position: absolute;
    opacity: 0;
    font-style: italic;
}

.holder:hover .image {
    opacity: 0;
}

.holder:hover .text {
    opacity: 1;
}


.jakub p {
    color: #fff
}



@media(max-width:60em) {



    .logo_small {
        display: none
    }

    .miasto {
        float: none
    }

    p,
    span,
    li {
        font-size: .8rem;
    }

    p {
        margin-bottom: .6rem;
    }

    .holder .text {
        font-size: .6rem;
    }

    .h1 {
        font-size: 2rem;
        text-align: center;
        margin-left: 0;
    }

    h4 {
        font-size: 1rem;
        font-weight: 800
    }

    h3 {
        font-size: 1rem;
    }

    .lewa,
    .lewsza {
        text-align: center;
        padding-left: 0;
    }

    .lewsza .h1 {
        text-align: center
    }



    .section3 svg {
        width: 90%
    }

    .flip-card {
        font-size: .7rem
    }

    .section2 span {
        display: none
    }

    .jakub img {
        width: 150px;
    }
}

ul {
    padding-left: 0
}


.legenda {
    font-size: .8rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding-bottom: 1rem;
}

.legenda .leg {
    text-align: left;
    display: flex;
    flex-wrap: wrap;
    margin: 3px;
}




#circle1 {
    width: 16px;
    height: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #c2b298;
    border: 2px solid #000000;
    margin-right: 4px;
}

#circle2 {
    width: 16px;
    height: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #6d5e4b;
    border: 2px solid #000000;
    margin-right: 4px;
}


#circle3 {
    width: 16px;
    height: 16px;
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #8ab716;
    border: 2px solid #000000;
    margin-right: 4px;
}
