@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    font-family: "DM Sans", sans-serif;
}

.heading {
    background: #0000004e url('img/baner.jpeg');
    background-repeat: no-repeat;
    background-size: cover;
    background-blend-mode: darken;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 300px 15px;
    gap: 20px;
}

.heading h1 {
    color: white;
    line-height: 90px;
    font-size: 64px;
    font-weight: 500;
    letter-spacing: 2px;
}

.heading h2 {
    width: 60%;
    color: white;
    font-weight: 300;
    font-size: 20px;
    letter-spacing: 0.5px;
}

.buttons {
    margin-top: 25px;
}

.button {
    padding: 15px 25px;
    color: white;
    background-color: #255C99;
    border-radius: 8px;
    text-decoration: none;
}

.button:hover {
    cursor: pointer;
}

.heading .button {
    margin: 15px;
}

.title h3 {
    text-align: center;
    font-size: 50px;
    font-weight: 500;
    letter-spacing: 2px;
}

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

.title h3 {
    text-align: center;
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 2px;
}

.title h4 {
    text-align: center;
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 60px;
}


.gallery .video {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 80px auto;
}

.gallery .frame {
    width: 49%;
}

.gallery .video iframe {
    width: 100%;
    height: 320px;
}

.gallery {
    padding: 100px 15px;
    max-width: 1300px;
    margin: 0 auto;
}

.title hr {
    margin: 20px auto;
}

.columns {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 70px;
    margin: 0 auto;
    /* padding: 100px 0px; */
}

.column {
    flex: 1;
}

.column h3 {
    font-size: 50px;
    font-weight: 600;
    letter-spacing: 3px;
}

.column p {
    font-size: 20px;
    margin-bottom: 40px;
}

.column hr {
    right: 1%;
    margin: 20px 0px;
}

.column img {
    width: 100%;
    border-radius: 8px;
}



.bg {
    background-color: #fbfbfb;
    width: 100%;
}

.about {
    padding: 50px 15px;
    max-width: 1300px;
    margin: 0 auto;
}



.services {
    padding: 100px 15px;
    background-color: #ffffff;
    max-width: 1300px;
    margin: 0 auto;
}

.services h4 {
    width: 50%;
    margin: 0 auto;
}

.services .offer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
}

.services .offer p {
    text-align: center;
    font-size: 24px;
    margin: 20px;
}

.services .offer i {
    color: #255C99;
    font-size: 28px;
    padding-right: 5px;
}

.services h5 {
    font-size: 32px;
    text-align: center;
    margin: 60px 0px 20px;
}

.services p {
    text-align: center;
    font-size: 20px;
}


.services .offers {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    padding: 50px 0px;
}

.services .offers .row {
    /* flex: 1; */
    width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0px;
}

.services .row-bg {
    background-blend-mode: darken;
    color: #ffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    /* padding: 50px; */
    transition: 0.5s transform ease;
}

.services .row-bg:hover {
    background-blend-mode: normal;
    color: transparent;
    transform: scale(1.1);
}

.services .offers .row h6 {
    font-size: 26px;
}

.services .offers .row p {
    font-size: 22px;
    width: 60%;
    margin-top: 15px;
}



#kontakt {
    padding: 100px 15px;
    background-color: #fbfbfb;
    max-width: 1300px;
    margin: 0 auto;
}

#kontakt h4 {
    width: 60%;
    margin: 0 auto;
}

#kontakt .cols {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    text-align: center;
    gap: 80px;
    padding-top: 50px;
}

#kontakt .col {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
}

#kontakt .cols h6 {
    font-size: 24px;
    margin-top: 30px;
    font-weight: 400;
    letter-spacing: 2px;
}

#kontakt .cols a,
h5 {
    margin-top: 30px;
    font-size: 32px;
    font-weight: 600;
    color: #000000;
    text-decoration: none;
}


#kontakt .social {
    text-align: center;
    margin-top: 30px;
}

#kontakt .social i {
    font-size: 65px;
    color: #255C99;
    margin-left: 25px;
    padding: 10px;
    border-radius: 8px;
    transition: transform 0.3s ease;
}

#kontakt .social i:hover {
    transform: scale(1.1);
}

#kontakt .social p {
    font-size: 22px;
    color: #000000;
    border-top: 2px solid #255C99;
    margin-top: 15px;
    padding-top: 10px;
}

hr {
    width: 20%;
    height: 4px;
    background-color: #255C99;
    border: none;
    border-radius: 8px;
}




@media only screen and (max-width: 1000px) {
    .heading {
        padding: 100px 15px;
    }

    .columns {
        flex-direction: column;
        gap: 40px;
    }

    .column {
        width: 100%;
    }

    .heading h1 {
        font-size: 32px;
        line-height: 48px;
    }

    .heading h2 {
        width: 80%;
        font-size: 16px;
    }

    .title h3 {
        font-size: 40px;
    }

    .title h4 {
        font-size: 16px;
        margin-bottom: 40px;
    }

    .gallery .frame {
        width: 100%;
    }

    .gallery .video iframe {
        height: 200px;
    }

    .services .offer p {
        font-size: 18px;
    }

    .services h5 {
        font-size: 24px;
    }

    #kontakt h4 {
        width: 80%;
    }

    #kontakt .cols {
        gap: 40px;
    }

    #kontakt .social i {
        font-size: 40px;
    }

    #kontakt .social p {
        font-size: 18px;
    }

    hr {
        width: 40%;
    }


    .offers {
        flex-direction: column;
    }

    .services .offers .row {
        width: 100%;
    }

    .row-bg {
        width: 100%;
        /* Dodanie 100% szerokości dla każdego row-bg */
        height: auto;
        margin-bottom: 20px;
        /* Dodatkowy odstęp między elementami na telefonie */
    }


    .buttons {
        display: flex;
        flex-direction: column;
    }


}