* {
    box-sizing: border-box;
}

.clear {
    clear: both;
}

/* Style all font awesome icons */
.fa {
    font-size: 30px;
    text-align: center;
    text-decoration: none;
    color: white;
    padding: 0.3vw;
}

/* Add a hover effect if you want */
.fa:hover {
    opacity: 0.7;
}


#myBtn {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 30px;
    z-index: 99;
    font-size: 18px;
    border: none;
    outline: none;
    background-color: red;
    color: white;
    cursor: pointer;
    padding: 15px;
    border-radius: 4px;
}


#myBtn:hover {
    background-color: #555;
}


body {
    font-family: 'Hind', sans-serif;
}

#first_page {
    background-image: url("../img/glownagora.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center top;
    padding-bottom: 15px;
    min-height: 100vh;
}

#kontynuuj {
    text-align: center;
}

#kontynuuj button, .more button {
    display: none;
    background-color: #EC9A9D;
    color: white;
    border: 1px solid #EC9A9D;
    padding: 1em 2em;
    border-radius: 2em 2em 2em 2em;
}

.more button {
    display: inline-block;
}

#main_article {
    display: block;
}

.topnav {
    padding: 2% 3%;
    overflow: hidden;
    text-transform: uppercase;
    font-family: 'Montserrat', sans-serif;

}

.flagi {
    width: 8%;
    float: right;
    padding-top: 2%;
    margin-right: 1%;
}

.flagi img {
    width: 40%;
    min-width: 40px;
}

.topnav a {
    float: right;
    display: block;
    color: black;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-size: 1.2vw;
    font-weight: bold;
}

.topnav a:hover {
    color: #8E8E8E;
}

.logo {
    text-decoration: none;
    font-weight: bold;
    color: black;
    text-transform: uppercase;
}


.topnav .logo, .topnav a.logo {
    font-size: 2em;
    float: left;
    display: block;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;

}

.glowny_tytul {
    text-align: center;
    font-size: 4em;
    font-family: 'Hind', sans-serif;
    margin: 5% 0% 1% 0%;
    text-transform: uppercase;
    margin-top: 10vw;
}


.glowny_podtytul {
    text-align: center;
    font-size: 1em;
    margin: 0% 10%;
}

footer {
    margin-top: 5%;
    padding: 5% 0% 6% 0%;
    background-color: #878E9C;
    color: white;
}

footer .logo {
    text-align: center;
    font-size: 2em;
    font-weight: bold;
    color: white;

}

footer .copy {
    /*padding-top: 1.5%;*/
    color: black;
    text-align: center;
    text-transform: capitalize;
}


.tytul {
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
    padding-bottom: 3vw;
    font-size: 2.5em;
    color: black;
}

.podtytul {
    font-size: 1em;
    padding-bottom: 1vw;
    font-family: 'Hind', sans-serif;
}


#realizacja, #polacy_w_luksemburgu, #historia_emigracji {
    color: #8E8E8E;
    margin: 10vw 0%;
    overflow: hidden;
    line-height: 200%;

}

#historia_emigracji {
    background-color: #ECEBEC;
    padding-top: 5vw;
}

#historia_emigracji .tytul, .image_container .tytul {
    text-transform: uppercase;
    line-height: normal;
    padding-bottom: 2vw;
    padding-top: 1vw;
}

#polacy_w_luksemburgu {
    margin: 5vw 0%;
}

#realizacja .funkcja, #realizacja .nazwa {
    padding-top: 2vh;
    padding-bottom: 2vh;
    color: black;
    font-size: 14px;
    text-align: center;
    font-family: 'Montserrat', sans-serif;
    font-weight: bold;
}

#realizacja .funkcja {
    text-transform: uppercase;
}

#realizacja .tekst {
    line-height: normal;
}

#historia_emigracji .opis {
    width: 50%;
    padding: 1% 1% 10% 5%;
    float: left;
}

#realizacja .image img {
    float: left;
    width: 50%;
}


#historia_emigracji .image img {
    float: right;
    width: 50%;
}

.row {
    display: flex;
    flex-direction: row;
    width: 100%;
    padding: 0;
}

.row .column {
    padding: 0 1.0rem;
    display: block;
    flex: 1 1 auto;
    margin-left: 0;
    max-width: 100%;
    width: 100%

}


.litery {
    text-align: center;
    padding-bottom: 3vw;
    padding-top: 2vw;
}


.litery a, .litery a:visited, .litery span {
    text-decoration: none;
    display: inline-block;
    width: 2.5vw;
    font-size: 2vw;
    color: black;
}


.litery span {
    font-size: 2vw;
    color: #95989A;
}

#intro {
    margin-bottom: 5vw;
}


.black {
    color: black;
}

.bold {
    font-weight: bold;
}

.image_container {
    padding: 2vw 3vw 0px 3vw;
}

.grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;

}

.grid .gallery-item {
    width: 17vw;
    margin-bottom: 5vh;
    margin-top: 5vh;
    position: relative;
    min-width: 200px;
}


.grid.projects .gallery-item {
    width: 28vw;
    min-width: 350px;
}

.gallery-item img {
    position: absolute;
    width: 100%;
}

.gallery-item .opis {
    padding-top: 2vh;
    color: black;
    font-size: 1.3em;
    display: block;
    text-align: center;

}


.grid img.wrapper {
    transition: all 0.8s ease;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #fff;
    filter: grayscale(100%);
}

.grid .wrapper:hover {
    transition: all 0.8s ease;
    background: rgba(0, 0, 0, 0.6);
    filter: grayscale(0%);
}


.one {
    margin: 0% 5%;
    overflow: hidden;
}

.one .container {
    overflow: hidden;
}

.one .main_image {
    display: block;
    /*float: left;*/
    width: 80%;
    padding-right: 2%;
    text-align: center;
    padding-bottom: 2%;
    margin: auto;
}

.one.person .main_image {
    float: left;
    width: 50%;
}

.one .opis_one {
    float: right;
    width: 100%;
    padding-left: 2%;
    text-align: left;
    overflow: hidden;
}


.one.person .opis_one {
    width: 50%;

}

.one .opis_one .nazwa {
    /*font-family: 'Playfair Display', serif;*/
    font-size: 3em;
    padding-bottom: 5%;
    font-weight: bold;
    text-align: center;

}

.one .opis_one .intro {
    font-size: 1.5em;
    padding-bottom: 5%;
    font-weight: 600;
    text-align: right;

}


.one .opis_one article {
    line-height: 150%;
    column-count: 2;
    column-gap: 40px;
}

.one .opis_one article div {
    margin-bottom: 10px;
    orphans: 2;
    widows: 2;
}

.one .opis_one .projects-container {
    width: 100%;
}

.one .opis_one .projects-container .project-item {
    float: right;
    width: 60%;
}

.one .opis_one .projects-container .project-item img {
    width: 100%;
}

.one .opis_one .projects-container .opis {
    padding-top: 2vh;
    padding-bottom: 3vh;
    color: black;
    font-size: 1.2em;
    display: block;
    text-align: center;
}


.one .images_bottom {
    margin-top: 5%;
    overflow: hidden;
}


.one .images_bottom img {
    width: 100%;
}


.container_history {
    margin: 0% 5%;
}

.left {
    float: left;
    padding-right: 1%;
}

.right {
    float: right;
    padding-left: 1%;
}

.hidden {
    display: none;
}

.main {
    margin-bottom: 10%;
}


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

    .glowny_podtytul {
        margin: 0% 2px;
    }

    .litery {
        display: none;
    }
}

@media only screen and (max-width: 720px) {
    .topnav a {
        display: none;
    }


}


@media only screen and (max-width: 860px) {
    .row {
        text-align: center;
        flex-direction: column;
        width: 100%
    }

    .row .column {
        display: inline-block;
        padding: 1rem;
    }


    #historia_emigracji .opis {
        width: 100%;
        padding: 10% 10% 10% 10%;
        float: none;
    }

    .glowny_tytul {
        font-size: 3em;
    }


    .glowny_podtytul {
        font-size: 1em;
    }

    .one .main_image {
        width: 100%;
    }

    .one .opis_one {
        margin-top: 5vh;
        width: 100%;
    }

    .one .opis_one .nazwa {
        font-size: 2em;
    }

    .one .opis_one .intro {
        font-size: 1.3em;
        text-align: right;
    }


    .one .images_bottom {
        margin-top: 5%;
        overflow: hidden;
    }

    .grid-container-realizacja {
        grid-template-columns: auto;
    }

    .grid-realizacja-tytul {
        text-align: left;
    }

}


@media only screen and (max-width: 1200px) {
    .one .opis_one article {
        column-count: unset;
        column-gap: 0px;
    }


}

.text_right {
    text-align: right;
}

.text_center {
    text-align: center;
}

footer .finansowanie {
    padding-top: 1.5%;
    color: white;
    text-align: center;
}

a {
    text-decoration: underline;
    text-decoration-color: #00A3E0;
    color: black;
    text-decoration-thickness: 2px;
}

.niebieski{
    color: #00A3E0;
}

span.indent{
    padding-left: 30px;
    display: inline-block;
}
