*{
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing:border-box; 
}

html{
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
    font-display: auto;
}

hr{
    margin-top: 20px;
    margin-bottom: 20px;
    border: 0;
    border-top: 1px solid #eee;
}

body{
    background-color: #ccc;
    margin: 0;
    font-family: 'Roboto', sans-serif;
    font-weight: 300;
    font-size: 14px;
}

/* header */

.god{
    background-image: linear-gradient( rgba(0,0,0,0.5), rgba(0, 0, 0, 0.5) ),url('nav.avif');
    background-position: center center;
    background-size: cover;
    color: #fff;
    height: 400px;
    
}


.head{
    padding-top: 30px;
    margin: 0 auto;
    text-align: center;
    height: 120px;




}



.logo img{
    transition: all .5s ease-in-out; 
}


.logo{
    margin-left: -20px;
    transition: all .5s ease-in-out;
    height: 100px;
    width: fit-content;
    display: flex;
    align-items: center;
    float: left;


}

#logo{
    margin-top: 80px;
    margin-left: auto;
    margin-right: auto;
    width: fit-content;
}

.nav{
    float: right;
    margin-right: -20px;



}

.icon{
    display: none;
    color: #fff;
    margin-left: 100px;
    position: absolute;
    right: 50px;
    top: 35px;
    font-size: 30px !important;
}

ol{
    display: table-cell;
    vertical-align: middle;
    height: 100px;
    list-style-type: none;
}

.nav li{
    font-size: 18px;
    display: inline-block;
    margin: 20px;
    font-size: 1.2em;
    text-align: center;
    width: fit-content;
    text-transform: uppercase;

}





a.active{
    color:#007dff;
    opacity: 1 !important;
}

a{
    text-decoration: none;
    color: #fff;
    opacity: 1;
    transition: all .1s ease-in-out;
    font-weight: 400;


}

a:hover{
    opacity: 0.7;

}


#close{
    display: none;
}



@media screen and (max-width: 1100px) {
    #close{
        display: block;
    }
    
    
    .head{
        height: 140px;


    }
    .nav{
        display: block;
        margin-left: 0;
        width: 60%;
        height: 100%;
        transform: scaleX(0); /* zwijamy cały element */
        transform-origin: center right; /* ustawiamy punkt zwijania względem środka górnej krawędzi */
        transition: 200ms; /* wydłużamy wykonywanie stylów */
        visibility: hidden;
        float: none;
        position: fixed;
        top: 0;
        right: 0;
        margin: 0;
        margin-bottom: 30px;


    }
    .icon{
        border: 0 !important;
        position: absolute;
        top: 0;
        padding-top: 20px;
        right: 30px;
        height: 140px;
        display: flex;
        align-items: center;
    }
    .logo{
        font-size: 2em;
        height: 140px;
        text-align: center;
        width: auto;
        margin: 0 auto;
        float: none;
        width: fit-content;
        
    }
    .logo img{
        width: 150px;
        height: 100px;
    }
    
}

@media screen and (max-width: 1100px) {
    .god{
        height: 250px;
    }
    .head{
        display: block;
        width: 100%;
    }
    .nav.responsive{
        visibility: visible;
        transform: scaleX(1); /* rozwijamy element do całej jego wysokości */
        width: 60%;
        height: 100%;
        background-color:#232323;
        margin: 0;
        margin-bottom: 30px;
        padding-bottom: 5px;
        position: fixed;
        top: 0;
        right: 0;
        z-index: 2030;
    }
   

    
    .nav li{
        display: block;
        text-align: center;
        line-height: 55px;
        margin: 0;
        width: 100%;
        font-size: 1.4em;

        
    }
    .nav li:first-child a{
        font-size: 2em;
        border-bottom: none ;
    }
    .nav ol{
        display: block;
        text-align: center;
        width: 100% !important;
        margin: 0;
        padding: 0;
        background-color:#232323;
        height: 100%;
    }
}

.logo:hover{
    transform: rotate(360deg);
    cursor: pointer;
}

/* strona glowna */

.container{
    margin: -60px 30px 0;
    border-radius: 6px;
    box-shadow: rgba(0, 0, 0, 0.3) 0px 19px 38px 0px, rgba(0, 0, 0, 0.3) 0px 15px 12px 0px;
    z-index: 999;
    padding: 0 20px 20px;
    background-color: #fff;
    margin-bottom: 76px;
}


@media(max-width: 768px) {

    .news {
        margin-left: 10px;
        margin-right: 10px
    }

}


@media (min-width: 768px) {
    .wrapper  {
        width:750px;
    }

}

@media (min-width: 992px) {
    .wrapper {
        width:970px;
    }
}

@media (min-width: 1200px) {
    .wrapper {
        width:1170px;
    }
}




h3{
    font-weight: 400;
    font-size: 1.825em;
    line-height: 1.4em;
    padding: 20px 0 10px;
    margin: 0;
}

.post{
    box-shadow: 0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);
    padding: 20px;
    float: left;
}

.row{
    margin-left: -15px;
    margin-right: -15px;
    padding-left: 10px;
    padding-right: 10px;
}


.post img{
    width: 100%;
    height: 50%;
}

.post p{
    margin: 15px;
}

.cube{
    width: 30%;
    margin-left: 2%;
    height: 80px;
    float: left;
    margin: 20px;
    text-align: center;
    padding: 20px 15px;
    color: #fff;
    box-shadow: 0 16px 38px -12px rgba(0,0,0,.56),0 4px 25px 0 rgba(0,0,0,.12),0 8px 10px -5px rgba(0,0,0,.2);
    margin-bottom: 10px;    
}

.cube a{
    border-bottom: none !important;

}

.cube p{
    margin-bottom: 10px;
    margin-top: 0;
}




@media screen and (max-width: 1200px) {

    .cube{
        width: auto;
        float: none;
    }
    .post{
        width: auto;
        float: none;
    }
    .info{
        display: none !important;
    }


}

.wrapper {
    margin-right: auto;
    margin-left: auto;
    padding-left: 15px;
    padding-right: 15px
}

.stopka{
    position: relative;
    bottom: 0;
    left: 0;
    background-color: #232323;
    height: 130px;
    width: 100%;
    color: #aaa;
    box-shadow: 0 10px 20px 12px rgba(0, 0, 0, 0.42), 0 3px 20px 0px rgba(0, 0, 0, 0.12), 0 8px 10px 5px rgba(0, 0, 0, 0.2);
}

.stopka .logo{
    height: 130px;
    transform: none;
    margin: 0 auto;
}

.stopka .logo:hover > .autorzy{
    display: block;
    font-size: 14px;
}
.stopka .logo:hover img{
    display: none;
}


.autorzy{
    display: none;
}

.info{
    margin-right: -15px;
    float: right;
    height: 130px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
}

.autorzy strong{
    color: #fff;
}

/* rangi */



table{
    color: #000;
    box-shadow: 0 16px 38px -12px rgba(0, 0, 0, 0.56), 0 4px 25px 0px rgba(0, 0, 0, 0.12), 0 8px 10px -5px rgba(0, 0, 0, 0.2);
    margin-bottom: 20px;
}
th{
    text-align: center;
    padding: 8px;
    color: #fff;
}
th h3{
    padding: 0;
}

.imgresponsive{
    max-width: 100%;
}

.przywilej{
    padding-left: 10px !important;
    color: #000;
}

.icon-ok{
    color: #7e9513;
}




/* regulamin */

.regulamin{
    padding: 15px 100px;
}

.regulamin ul{
    margin: 0;
}

.regulamin ul li{
    line-height: 1.5em;
    padding-bottom: 10px;
}

.regulamin a{
    color: #000;
}

@media screen and (max-width: 1200px) {
    .regulamin{
        padding: 15px 10px;
    }
    
}