/* .pracuje{
    margin-top: -40px;
} */

.margin{
    margin-top: 65px;
}

.pracuje{
    width: 85%;
}
img.logo-fajni {
    position: absolute;
    left: 5%;
    top: 12%;
    width: 10%;
    border: none;
    object-fit: contain;
    height: auto;
}

.fajni {
    position: relative;
}
img.logo-fajni2 {
    position: absolute;
   right: 5%;
    top: 12%;
    width: 10%;
    border: none;
    object-fit: contain;
    height: auto;
}

.film{
    width: 100%;
    height: 60vh;
    position: relative;
}

.film video{
    position: absolute;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.film .kontener {
    position: absolute;
    z-index: 3;
    background: #0000006e;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

h2.bialynagl {
    text-align: center;
    color: white;
    font-size: 3vw;
}

.projekt{
    width: 100%;
    background-color: #eaeaea;
    display: flex;
    justify-self: unset;
    justify-content: space-between;
    flex-direction: row-reverse;
    margin-top: 30px;
}


.projekt img {
    width: 40%;
}

model-viewer {
    width: 50%;
    height: 100%;
    padding: 2%;
}

/*.projekt .tekst{
    color: white;
}*/

.projekt .tekst{
    width: 50%;
    padding: 2%;
    height: fit-content;
    top: 5rem !important;
}
.projekt p{
    font-size: 1.1rem !important;
    color: black !important;
}
.projekt h2{
    margin-bottom: 20px;
}
.projekt:nth-child(2n+1) .img-projekt{
    display: flex;

}
.projekt:nth-child(2n+1) .img-projekt img{
    width: 50% !important;
    height: 80vh !important;
    object-fit: cover;
}
.projekt:nth-child(n+2) .img-projekt img:nth-child(1){
    margin-bottom: 40px !important;
}
.projekt:nth-child(2n+1) .img-projekt img:nth-child(1){
    padding-right: 20px !important;
}
.projekt:nth-child(2n+1) .img-projekt img:nth-child(2){
    padding-left: 20px !important;
}
.img-projekt{
    width: 80%;
    height: 100%;
    padding: 3%;
}
.img-projekt img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.kafle{
    width: 80%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    margin-bottom: 30px !important;
}

.kafel{
    width: 48%;
    background: #eaeaea;
    min-height: 40vh;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 3%;

}

.kafle-nagl{
    text-align: center;
    width: 100%;
    margin: auto;
    margin: 30px 0px;
}

.kafle-nagl h3{
font-size: 30px;
text-align: center;
margin-bottom: 20px;


}

.kafel .black{
    margin-top: 0px;
}
.kafel p {
    text-align: center;
}
.kafel h3{
    margin-bottom: 20px;
}

a:visited{color:white}

.stage {
    width: 23%;
   
}

.jak {
    margin-top: 32px;
    margin-bottom: 76px;
}
.jak h2 {
    font-size: 30px;
}

.number {
    background: black;

    color: white !important;
}

.number p {
    margin-top: -6px;
}

@media screen and (max-width: 911px){
    .projekt{
        flex-direction: column;
    }
    .projekt .tekst {
        width: 100%;
        padding: 2%;
    }
    model-viewer{
        width: 100%;
    }

    h2.bialynagl {
        text-align: center;
        color: white;
        font-size: 9vw;
    }
    .kafel {
        width: 100%;
        background: #eaeaea;
        min-height: 40vh;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        padding: 3%;
        margin-bottom: 30px;
    }

.kafle {
    flex-direction: column;
}
}