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

body
{
    background: rgb(255, 255, 255);
    min-height: 100vh;
    font-size: 22px;
    font-family: "Lato", sans-serif;
}


#linki a
{
    text-decoration: none;
    color: black;
    text-align: center;
    font-size: xx-large;
    padding: 5px;
    transition: 0.5s;
}

#linki a:after
{
    content: "";
    background-color: #0076fd;
    height: 3px;
    width: 0;
    position: absolute;
    left: 0;
    bottom: 0;
    transition: 0.3s ease-out;
}

#linki a:hover
{
    scale: 1.1;
}

#linki a:hover:after
{
    width: 100%;
}

header
{
    height: 150px;
    width: 100%;
    display: flex;
    align-items: center;
    background: white;
}

header div
{
    display: flex;
    justify-content: space-around;
    flex-grow: 1;
}

header img
{
    margin-right: auto;
    height: 150px;
}

.powrot{
    position: fixed;
    bottom: 50px;
    right: 50px;
    height: 50px;
    width: 50px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.1), rgba(112, 120, 243, 0)) ;
    backdrop-filter: blur(2px);
    border: solid black 5px;
    border-radius: 25px;
    transition: 0.5s;
    z-index: 4;

    display: flex;
    align-items: center;
    justify-content:end;
    flex-direction: column;
   
}

.powrot:hover
{
    scale: 1.1;
}

.powrot i
{
    border: solid black;
    border-width: 0 3px 3px 0;
    display: inline-block;
    padding: 7px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}



.dropdown
{
    display: none;
}

main
{
    display: flex;
    flex-direction: column;
    align-items: center;
    /* 
    background-image: url(grafiki/kolejne_tlo.jpg);
    background-attachment: fixed;
    background-size: cover; */
}


article
{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(81, 81, 81);
    margin-bottom: 5vh;
}

article h1
{
    color: #394AE8;
    font-size: 50px;
    text-align: center;
}

.podzial1
{
    background-color: #0076fd;
    width: 100%;
    height: 20vh;
}
.podzial2
{
    background-color: #0f4aef;
    width: 100%;
    height: 20vh;
    clip-path: polygon(0% 0%, 13.61% 20.43%, 51.37% -0.5%, 75.2% 30.45%, 100% 0%, 100% 100%, 82.88% 64.29%, 80.29% 85.65%, 59.82% 95.74%, 56.49% 78.32%, 34.52% 48.85%, 20.82% 98.05%, 0% 100%)
}

#informacje
{
    width: 100%;
    height: 500px;
    position: relative;
}

#informacje h1{
    font-size: 120px;
    color: white;
    text-shadow: -5px 5px rgba(1, 1, 1, 0.2);
}

.slider
{
    width: 100%;
    height: 100%;
    overflow: hidden;
    position: relative;
}

.slides
{
    width: 100%;
    height: 100%;
    display: flex;
    
}

.slides input
{
    display: none;
}

.slide
{
    width: 100%;
    height: 100%;
    flex-shrink: 0;
    transition: margin-left 2s ease-in-out;
}

.slide img
{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

#radio1:checked ~ .pierwszy{
    margin-left: 0;
}

#radio2:checked ~ .pierwszy{
    margin-left: -100%;
}
#radio3:checked ~ .pierwszy{
    margin-left: -200%;
}

.naglowek
{
    position: absolute;
    margin-left: 50%;
    margin-top: 10%;
    transform: translateX(-50%);
    z-index: 2;

}

.kontener
{
    display: flex;
    box-sizing: content-box;
    padding: 10px;
    height: 100px;
}

.teksty
{
    overflow: hidden;
}

.teksty span
{
    color: white;
    display: block;
    animation: spin_words 6s infinite;
    font-size: 40px;
    height: 90%;
    padding: 10px;
    text-align: center;
    text-shadow: 5px 5px 2px rgba(0, 0, 0, .3);
}


@keyframes spin_words
{
    10%
    {
        transform: translateY(-112%);
    }

    25%
    {
        transform: translateY(-107%);
    }

    35%
    {
        transform: translateY(-212%);
    }

    50%
    {
        transform: translateY(-207%);
    }

    60%
    {
        transform: translateY(-312%);
    }

    75%
    {
        transform: translateY(-307%);
    }
}

.animowany
{
    opacity: 0;
    transition: 1s;
    transform: translateX(-100%);
    filter: blur(1px);
}

.animuj
{
    opacity: 1;
    transform: translateX(0);
    filter: blur(0px);
}


iframe
{
    width: 400px;
    height: 300px;
}


#oNas
{
    background: white;
    text-align: center;
}

#oNas div
{
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: center;
    width: 90%;
    margin: 10px 0px;
}

#oNas img
{
    flex-basis: 30%; 
    max-width: 30%; 
    min-width: 200px; 
    margin: 0;
    box-shadow: -6px 6px 10px rgba(0, 0, 0, .3);
}

#oNas p 
{   
    padding: 10px;
    min-width: 200px;
    flex: 1;
}

#oferta
{
    background: white;
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: baseline;
    row-gap: 30px;
}

#oferta h1
{
    min-width: 90%;
}

#oferta h2
{
    color: rgb(17, 108, 255);
}

#oferta div
{
    min-width: 300px;
    width: 45%;
    padding: 15px 10px;
}


#statystyki
{
    width: 90%;
}

#statystyki h1
{
    padding: 30px 0;
}

.statystykiKontener
{
    min-width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    flex-wrap: wrap;    
}

.karta
{
    height: 200px;
    width: 200px;
    border: solid black 2px;
    border-radius: 5px;
    text-align: center;

    padding: 5px;
    margin:20px 10px;

    background: linear-gradient(90deg, rgb(220, 220, 220), rgb(204, 204, 204)) ;
    box-shadow: -20px 20px 20px rgba(0, 0, 0, .3);

    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.karta p
{
    margin-bottom: 10px;
}

.statystyka
{
    font-size: 1.25em;
    font-weight: 200;
}

.karta:nth-child(2)
{
    transition-delay: 100ms;
}

.karta:nth-child(3)
{
    transition-delay: 200ms;
}

.karta:nth-child(4)
{
    transition-delay: 300ms;
}

.karta:nth-child(5)
{
    transition-delay: 400ms;
}

#kontakt
{
    width: 100%;
}

.kontaktDiv
{
    width: 90%;
    display: flex;
    flex-direction: row;
    align-items: center;
    flex-wrap: wrap;
    justify-content: center;
    padding: 10px 0;
}

#kontakt img{
	padding-right: 20px;
}

.wyrownaj
{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
}

.ikona
{
    height: 100%;
}

.kontaktDiv div
{
    padding: 20px;
}


#kontakt ul
{
    list-style: none;
    height: 200px;
    padding: 10px;
}

#kontakt li
{
    padding: 10px;
    height: 33%;
}

#kontakt li:nth-child(2)
{
    transition-delay: 100ms;
}

#kontakt li:nth-child(3)
{
    transition-delay: 200ms;
}

#partnerzy
{
    width: 90%;
    padding: 10px 0;
    margin: 0;
}

#partnerzy p
{
    padding-top: 30px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
    gap: 20px;
    
}

#partnerzy span
{
    padding-right: 5px;
    border-right: solid #0076fd 2px;
}

footer
{
    padding-top: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-evenly;
    font-size: medium;
    gap: 5px;
    background-color: rgb(245, 245, 245);
}

@media screen and (max-width: 950px) {
    #linki
    {
        display: none;
    }

    header
    {
        justify-content: center;
        background-color: white;
	    flex-direction: column;
        margin: 30px 0;
    }

    header img{
        margin-right: 0px;
    }

    .powrot
    {
        bottom: 10px;
        right: 10px;
    }

    
    .dropdown
    {
        display: block;
        position: relative;
        width: 100%;
        z-index: 5;
        padding: 5px;
    }


    .menu
    {
        position: absolute;
        left: 0px;
        padding: 5px;
        box-shadow: 0 2px 5px rgba(0, 0, 0, .1);
        opacity: 0;
        pointer-events: none;
        transform: translateY(-10px);
        transition: opacity 155ms ease-in-out, transform 155ms ease-in-out;
        text-align: center;
        background-color: white;
        width: 100%;
        display: flex;
        flex-direction: column;
    }

    .dropdown.aktywny > .nav + .menu
    {
        opacity: 1;
        transform: translateY(0px);
        pointer-events: auto;
    }

    .menu a
    {
        text-decoration: none;
        color: black;
        text-align: center;
        padding: 5px;
        border-bottom: #0076fd solid 1px;
        
        width: 100%;
        display: flex;  
        align-items: center;
        justify-content: center;
        height: 60px;
        font-size: x-large;
    }

    .nav
    {
        background-color: transparent;
    }


    .pasek
    {
        width: 40px;
        height: 5px;
        background-color: black;
        margin: 6px 0;
    }

    .teksty span
    {
        font-size: 30px;
    }

    #oNas p
    {
        flex: 100%;
    }

    #oNas img
    {
        width: 600px;
        min-width: 100%;
    }

    #foto2{
        display: none;
    }

    #oferta
    {
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        row-gap: 30px;
    }

    #oferta div
    {
        width: 80%;
        padding: 5px;
        text-align: center;
    }

    #kontakt li
    {
        padding-bottom: 30px;
    }

    #partnerzy p
    {
        display: block;
        columns: 2;
    }

    #partnerzy span
    {
        display: block;
        padding-top: 10px;
    }
    
}

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


    .dropdown
    {
        margin: 0;
        height: 50px;
    }

    iframe
    {
        max-width: 100%;
    }

    #partnerzy p
    {
        display:inline;
        columns: 1;
    }

}

