/* Teams - mobile*/

body{
    background-color: white;
}

.teams_container{
    width: 20em;
    margin: 0 auto;
}

.teams a{
    color: black;
}

figure{
    margin: 0;
}

/* Wspólne marginesy */

.teams, .teams_list{
    margin-top: 3em;
}


/* Wspólne style header-ów */

.teams_header{
    text-align: center;
}

/* Wspólne style list ul i li*/

.teams_list_item, .teams_list_item a{
    color: black;
}

/* Wspólne paragrafy */

.text p{
    text-align: justify;
    text-indent: 2em;
    line-height: 1.5em;
}

/* Wspólne img */
figure{
    display: flex;
    flex-direction: column;
    align-items: center;
}

.figcaption_text{
    text-align: center;
    font-weight: bold;
    margin-top: 1em;
    letter-spacing: 0.05em;
}

/* Sekcja zespoły */

.teams_list_item{
    margin-bottom: 3em;
}

/* Sponsorzy */
.sponsors{
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-top: 5rem ;
}

.sponsors_header_wrapper{
    display: flex;
    justify-content: center;
    padding: 10px;
}

.sponsors_header{
    font-size: 2rem;
    font-style: italic;
    letter-spacing: 0.05em;
}

.sponsors_logos_wrapper{   
    position: relative;
    background-color: white;
    white-space: nowrap;
    overflow: hidden;
}

.slider{
    display: inline-block;
    padding: 20px 0;
    animation: 15s slide infinite linear;    
}

.sponsors_logos_wrapper > .slider:hover{
    cursor: pointer;
}


.sponsors_logos_wrapper:before, .sponsors_logos_wrapper:after{
    position: absolute;
    content: "";
    width: 10%;
    height: 100%;
    top: 0;
    z-index: 1000;
}

.sponsors_logos_wrapper:before{
    left: 0;
    background: linear-gradient( to left, rgba(255,255,255,0), rgba(255,255,255,1));        
}
.sponsors_logos_wrapper:after{
    right: 0;
    background: linear-gradient( to right, rgba(255,255,255,0), rgba(255,255,255,1)); 
}

.sponsor_link_logo{
    display: inline-block;
    margin: 0 50px;
}

.slider_picture{
    height: 100px;
}

/* teams - tablet */

@media (min-width: 640px){

    section{
        scroll-margin-top: 15em;
    }
    
    .teams_container{
        width: 40em;
    }
    

}

/* Klub - laptop */

@media (min-width: 1024px){

    .teams_container{
        width: 55em;
    }

    .teams_list{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-evenly;
        align-items: center;
    }
}

/* Desktop */

@media (min-width: 1440px){

    .teams_container{
        width: 65em;
    }

    .club_info_wrapper{
        padding-bottom: 9em;
    }
}



