*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body{
    background-color: white;
    color: #141619;
    font-family: Arial, sans-serif;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    margin: 0;
    /* overflow: hidden;
    /* nie działa poprawnie */
}

header{
    height: 10%;
    width: 100%;
    text-align: center;
    display: flex;
    flex-direction: row;
    padding: 1%;
    justify-content: space-between;
    align-items: center;
}

footer{
    /* height: 10%; */
    display: flex;
    justify-content: space-around;
    width: 100%;
    text-align: center;
    clear: both;
}

.content{
    display: flex;
    flex: 1;
    flex-direction: row;
}

.formularz{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex: 1;
    height: 100vh;
}

.tabela td {
    width: 33.33%;
}

td{
    padding: 1%;
}

select {
    width: 100%;
}

.tabela input[type="text"],
.tabela input[type="email"],
.tabela input[type="tel"],
.tabela textarea {
    width: 100%;
}

.przyciskwyslij,
.przyciskreset {
    margin-top: 10px;
}

.side{
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.napish1{
    width: 10%;
    font-weight: bold;
    color: #01aec2;
    text-align: center;
}

.przyciskhome{
    background-color: white;
    border: none;
    color: #01aec2;
    font-weight: bold;
    padding: 1% 1%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    transition-duration: 0.5s;
    cursor: pointer;
    width: 10%;
}

.przyciskhome:hover{
    background-color: #01aec2;
    color: white;
    transform: scale(1.05);
}

.kontakt{
    background-color: white;
    border: none;
    color: #01aec2;
    font-weight: bold;
    padding: 1% 1%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    transition-duration: 0.5s;
    cursor: pointer;
    margin: 0.4%;
    width: 10%;
}

.kontakt:hover{
    background-color: #01aec2;
    color: white;
    transform: scale(1.05);
}

.przyciskiwysylania{
    display: flex;
    justify-content: center;
    gap: 10%;
}

.g-recaptcha{
    display: flex;
    justify-content: center;
}

.przyciskwyslij{
    background-color: white;
    border: none;
    color: #3c6cfd;
    font-weight: bold;
    padding: 1% 1%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    transition-duration: 0.5s;
    cursor: pointer;
}

.przyciskwyslij:hover{
    background-color: #3c6cfd;
    color: white;
    transform: scale(1.05);
}

.przyciskreset{
    background-color: white;
    border: none;
    color: #ec0000;
    font-weight: bold;
    padding: 1% 1%;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 100%;
    transition-duration: 0.5s;
    cursor: pointer;
}

.przyciskreset:hover{
    background-color: #ec0000;
    color: white;
    transform: scale(1.05);
}

hr{
    width: 100%;
}

#menuleft{
    background-image: url('stronaglownalaboratoriaztekstem.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition-duration: 0.5s;
    margin: 1%;
    cursor: pointer;
}

#menuleft:hover{
    transform: scale(1.025);
}

#menuright{
    background-image: url('stonaglownahanit2ztekstem.jpg');
    transition-duration: 0.5s;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin: 1%;
    cursor: pointer;
}

#menuright:hover{
    transform: scale(1.025);
}

#bezrozwijanego {
    cursor: pointer;
}

.menu-item {
    position: relative;
}

.menu-item a {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    display: block;
    cursor: default;
}

.dropdown {
    display: none;
    position: absolute;
    background-color: white;
    z-index: 1;
    top: 100%;
    left: 0;
    min-width: 200px;
    box-shadow: 0px 10px 10px 0px rgba(0,0,0,0.4);
}

.dropdown a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown a:hover {
    color: #01aec2;
}

.menu-item:hover > .dropdown {
    display: block;
}

.menu-item .menu-item {
    position: relative;
}

.menu-item .menu-item .dropdown {
    top: 0;
    left: 100%;
}

.menu-item .menu-item:hover > .dropdown {
    display: block;
}

.tekstnastronie {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
    line-height: 1.6;
}

.tekstnastronie2 {
    display: flex;
    flex-direction: row;
    flex: 1;
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
    line-height: 1.6;
}

.tekstnastronie3 {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin-left: 10%;
    margin-right: 10%;
    text-align: left;
    line-height: 1.6;
}

.cienczymjesthanit{
    box-shadow: 10px 10px 10px 5px rgba(0,0,0,0.75);
}

.ul-margin-bottom li{
    margin-bottom: 2%;
}

.ul-margin-bottom li:last-child{
    margin-bottom: 0%;
}

.produkty1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
    gap: 5%;
}

.produkty1 .imgbuttonpowiekszenie {
    flex: 1;
}

.produkty1 .imgbuttonpowiekszenie img {
    width: 100% !important;
    height: auto;
}

.imgbutton {
    width: 48%;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.imgbutton img {
    width: 100%;
    height: auto;
    display: block;
    transition: filter 0.3s ease-in-out; /* Płynne przejście rozmycia */
}

.imgbutton:hover img {
    filter: blur(5px); /* Efekt lekkiego rozmycia obrazka */
}

.overlay-text {
    height: 0px; /* w razie czego do usunięcia */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    background-color: transparent; /* Przezroczyste tło dla tekstu */
    padding: 10px;
    font-size: 2em;
    font-weight: bold;
    text-align: center;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 2; /* Umieszcza tekst nad obrazkiem */
}

.imgbutton:hover .overlay-text {
    opacity: 1; /* Pojawienie się tekstu przy najechaniu */
}

.produkty2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 20px;
    box-sizing: border-box;
}

.imgbuttonpowiekszenie {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}

.imgbuttonpowiekszenie:hover {
    transform: scale(1.05); /* Powiększenie całego kontenera */
    z-index: 10;
}

.image-container {
    position: relative;
}

.image-container img {
    width: 100%;
    height: auto;
    transition: filter 0.3s ease-in-out;
}

.image-container:hover img {
    filter: blur(4px); /* Rozmycie obrazu po najechaniu */
}

.overlay-text {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    color: white;
    text-shadow: 
        -1px -1px 0 #000,  
        1px -1px 0 #000,  
        -1px 1px 0 #000,  
        1px 1px 0 #000; /* Czarne obramowanie wokół tekstu */
    padding: 5px 10px;
    font-size: 18px;
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.image-container:hover .overlay-text {
    opacity: 1; /* Pokaż nazwę produktu po najechaniu */
}

.single-centered {
    width: 30%; /* Zwiększona szerokość do 50% */
    margin-left: auto;
    margin-right: auto; /* Wyśrodkowanie elementu */
}


.produkty2 > .imgbuttonpowiekszenie {
    width: 45%; /* Dodanie szerokości bezpośrednio do elementu w kontenerze */
    max-width: 45%;
}

.przycisk-pobierz {
    background-color: #01aec2;
    color: white;
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 5px;
    transition: background-color 0.3s;
    border-color: white;
}

.przycisk-pobierz:hover {
    background-color: white;
    color: #01aec2;
    border-color: #01aec2;
}

.pliki-do-pobrania ul {
    list-style-type: none; /* Usuwa punktory */
    padding-left: 0;       /* Usuwa domyślne wcięcie */
}

.pliki-do-pobrania ul li {
    margin-bottom: 45px; /* Dodaje odstęp poniżej każdego elementu */
}

.pliki-do-pobrania ul li:last-child {
    margin-bottom: 0; /* Usuwa odstęp poniżej ostatniego elementu */
}

.wkrotce {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 40px;
    height: 100vh; /* Ustawienie wysokości na 100% widoku */
}

.doprawej{
    display: flex;
    justify-content: center;
    align-items: normal;
    flex: 1;
    flex-direction: row;
}

.doprawejsrodek{
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex: 1;
    flex-direction: row;
}

.podpis{
    font-weight: bolder;
}

@media (max-width: 800px) {
    footer {
        display: block;
        text-align: left;
    }
    .dropdown {
        transform: translateX(10%);
    }
    .menu-item {
        display: none;
    }
    header {
        justify-content: center;
    }
    .tekstnastronie2 {
        flex-direction: column;
    }
    
    .doprawej{
        flex-direction: column;
    }

    .doprawej div:first-child{
        margin-bottom: 60px;
    }

    .zdjencie40 {
        width: 100% important;
        margin-bottom: 40px;
        margin-top: 10px;
    }

    .logo{
        width: auto;
    }

    .zdjencie40kolarz {
        width: 100% important;
        margin-bottom: 40px;
        margin-top: 75px;
    }

    .blueangel {
        margin-top: 60px;
    }

    .znika {
        display: none;
    }

    .produktynasrodku {
        display: flex;
        flex-direction: column;
        /*flex: 1;*/
        text-align: center;
        line-height: 1.6;
    }

    .menu-item .dropdown .menu-item .dropdown:last-child {
        transform: translateX(-40%);
    }

    .solo {
        width: 80%;
    }

    iframe {
        width: 80%;
    }
}

@media (min-width: 801px) {
    .hamburger-button {
        display: none;
    }

    .zdjencie40 {
        width: 40%;
    }

    .logo{
        width: 10%;
    }

    .zdjencie40kolarz {
        width: 40%;
    }

    .znika{
        display: block;
    }

    .produktynasrodku {
        display: flex;
        flex-direction: column;
        /*flex: 1;*/
        margin-left: 10%;
        margin-right: 10%;
        text-align: center;
        line-height: 1.6;
    }

    .solo {
        width: 40%;
    }

    iframe {
        width: 560px;
        height: 315px;
    }
}

.hamburger-button {
    cursor: pointer;
    margin: 5px 15px;
    transition: 0.25s;
}
.hamburger-button:hover {
    filter: brightness(250%);
}

table{
    width: 100%; /* Dopasowuje tabelę do szerokości kontenera */
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
    text-align: left;
    table-layout: fixed; /* Pozwala na zawijanie tekstu w komórkach */
}
th, td{
    border: 1px solid hsl(0, 0%, 87%);
    padding: 8px;
    word-wrap: break-word; /* Zawijanie tekstu */
    white-space: normal; /* Zawijanie długiego tekstu */
}
th{
    background-color: #c4c4c4;
    font-weight: bold;
    text-transform: uppercase;
}
th[colspan]{
    background-color: #a8a8a8;
    text-align: center;
}
tr:nth-child(even){
    background-color: #f9f9f9;
}
tr:hover{
    background-color: #f1f1f1;
}