.certybaner{
    width: 95%;
    margin: auto;
    height: 50vh;
    display: flex;
    flex-direction: row;
    margin-top: 5vh !important;
}
.certybaner .tekst {
    width: 50%;
    height: 100%;
    padding-right: 5%;
    color: black;
    font-size: 18px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.certybaner .tekst h2{
    color:  black;
    font-size: 36px;
}

.certybaner .zdj{
    width: 50%;
    height: 100%;
}
.certybaner .zdj img{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.certy{
    width: 95%;
    margin-top: 5vh !important;
    margin: auto;
    margin-bottom: 5vh;
}
.certy h2{
    font-size: 36px;
    color: black;
}
.certy .certykafle{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: 100%;
    align-items: center;
    justify-content: center;
}
.certy .cert {
    width: 32%;
    height: 30vh;
    padding: 20px;
    background-color: black;
    margin: 2vh 1vh;
    margin-bottom: 0px !important;
}
.certy .cert p {
    text-align: center;
    font-size: 24px;
    color: var(--zolty);
    font-weight: bold;
}
.certy .cert img{
    width: 100%;
    height: 90%;
    object-fit: cover;
}

#przercert .farsz h2 {
    font-size: 50px;
    font-weight: bold;
    margin: 0px !important;
    color: black;
    margin-bottom: 10px !important;
}
#przercert .farsz p {
    font-size: 26px;
    margin: -16px !important;
    text-align: left;
    width: 100%;
    color: black;
    margin-top: -10px !important;
    font-weight: bold;
}
#przercert .tloprzerywnik {
    background-color: var(--zolty);
    width: 100% !important;
    height: 75% !important;
    transform: rotate(5deg);
    position: absolute;
    z-index: 8;
}
#przercert {
    margin-top: 0px !important;
     height: 37vh !important;
}



@media screen and (max-width: 911px){
    #przercert .farsz h2 {
        font-size: 3vh !important;
        margin-bottom: 0px !important;
    }
    #przercert .farsz p {
        margin: 0px !important;
        margin-top: -50px !important;
    }
    #przercert .tloprzerywnik {
        height: 50% !important;
    }
    .certybaner {
        flex-direction: column;
        height: auto;
    }
    .certybaner .tekst {
        width: 100% !important;
        padding: 0px !important;
        text-align: center;
        font-size: 14px;
    }
    .certybaner .tekst h2{
        font-size: 26px;
    }
    .certybaner .zdj{
        width: 100%;
    }
    .certy h2 {
        font-size: 26px;
    }
    .certy .cert {
        width: 100%;
        height: 35vh;
    }
}