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

:root {
    --main-color: #1b2e4b;
    --body-color: #060818;
    --text-color: #bfc9d4;
    --btn-color: #009688;
    --text-fff: #ffffff;
    --box-color: #0e1726;
}

body {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    overflow-x: hidden;
    font-family: 'Poppins', sans-serif;
    background-color: var(--body-color);
}

header {
    background-color: var(--box-color);
    position: sticky;
    top: 0;
    z-index: 999;
}

footer {
    width: 100%;
    padding: 0 0 30px;
    color: #888ea8;
    font-size: 13px;
    letter-spacing: 1px;
}

section {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    width: 100%;
    position: relative;
}

.container {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
}

/*COL*/
.col-2 {
    width: 20%;
}
.col-8 {
    width: 80%;
}

/*MARGIN*/

.mt-2 {
    margin-top: 20px;
}
.mb-2 {
    margin-bottom: 20px;
}

/*HEADING*/

a{
    color: inherit;
    text-decoration: none;
}

.logo a {
    display: flex;
}

/*FLEX*/
.flex {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
}
.flex-between{
    justify-content: space-between;
}

.flex-v-center {
    align-items: center;
    align-content: center;
}

.flex-center{
    justify-content: center;
}

/*gap*/
.gap-15{
    gap:15px
}



/*COLOR*/
.color-fff{
    color: #fff;
}



/*TABLE*/

.tab-header,
.tab-footer {
    background-color: var(--main-color);
    font-weight: 600;
    letter-spacing: 1px;
    color: #d3d3d3;
}
.tab-footer{
    background-color: var(--box-color);
    color: #61b6cd;
    font-weight: 400;
}

.tab-row {
    background-color: var(--box-color);
    transition: all .3s;
}



.tab-row:not(:last-child){
    border-bottom: 1px solid #191e3a;
}


.tab-col {
    padding: 12px 15px;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    gap: 15px;
    width: 15%;
}

.post-id, .post-action{
    font-weight: 600;
}

.post-id {
    color: var(--btn-color);
}
.post-game {
    width: 27%;
}
.post-slug  {
    width: 25%;
}
.post-points {
    width: 12%;
}
.tab-footer .post-info {
    width: 100%;
}

.posts {
    border-radius: 6px;
    overflow: hidden;
    min-height: calc(100vh - 281px);
    align-content: flex-start;
    align-items: flex-start;
}

/*CONTENT*/
.content {
    padding: 30px 30px 0 30px;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-content: flex-start;
    align-items: flex-start;
    gap: 30px;
}

/*MENU*/
.menu {
    width: 270px;
    transform: translateX(-100%);
    z-index: 998;
    transition: all .3s;
    min-height: calc(100vh - 80px);
    border-right: 1px solid #191e3a;
}

nav i {
    margin: 0 15px 0 0;
    width: 15px;
}

nav ul ul {
    padding: 10px 0 0 0;
}

nav ul li.active > a,
nav ul li a:hover {
    background-color: #3b3f5c;
    color: #e0e6ed;
}

nav ul {
    padding: 30px; 
    color: #506690;
    gap: 15px;
    width: 100%;
}

nav ul li {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
}
nav ul li a {
    width: 100%;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 6px;
    transition: all .3s;
}

/*UL*/

ul {
    list-style: none;
    margin: 0;
    padding: 20px;
    gap: 20px;
    display: flex;
    flex-wrap: wrap;
}


/*scroll*/

::-webkit-scrollbar {
    width: 18px;
}
  
::-webkit-scrollbar-track {
    background-color: var(--main-color);
}
   
::-webkit-scrollbar-thumb {
    border: 5px solid transparent;
    background-clip: content-box;
    background-color: var(--btn-color);
}
  
/*FORM*/

form {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.form-field {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    overflow: hidden;
}

.form-field label {
    width: 100%;
    padding: 0 15px 10px 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.form-field input,
.form-field textarea,
.form-field select {
    width: 100%;
    outline: none;
    padding: 10px 15px;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    -webkit-appearance: none;
    min-height: 37px;
    border: none;
    line-height: 1.5;
    border-radius: 6px;
    background-color: #1b2e4b;
    font-weight: 400;
    color: inherit;
    text-align: left;
    border: 1px solid #374856;
}

.form-field select .active {
    font-weight: 600;
}


.form-field textarea {
    resize: none;
    min-height: 120px;
}

.form-submit input,a.btn {
    -webkit-appearance: none;
    font-size: 18px;
    font-family: 'Poppins', sans-serif;
    border: none;
    background-color: var(--btn-color);
    color: #fff;
    padding: 7px 20px;
    border-radius: 6px;
    cursor: pointer;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 15%);
    font-weight: 700;
    line-height: 1.5;
    text-transform: uppercase;
    letter-spacing: 1px;
}

a.btn.btn-reset{
    background-color: var(--main-color);
} 

.post-form {
    background-color: var(--box-color);
    padding: 20px;
    border-radius: 6px;
}

/*notice*/
.notice {
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 6px;
    box-shadow: 3px 3px 10px rgb(0 0 0 / 15%);
    font-weight: 700;
    letter-spacing: 1px;
    font-size: 18px;
}

/*Header*/
.header {
    align-items: center;
}

.header h1 {
    display: flex;
    width: initial;
    margin: 0;
    font-size: 34px;
}

.header .btn-add-new {
    margin: 0 0 0 20px;
}

/*Filtry*/
.filters {
    overflow: hidden;
    position: fixed;
    width: 100%;
    left: 0;
    top: 0;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    background-color: rgba(0,0,0,.4);
    height: 100%;
    opacity: 0;
    visibility: hidden;
}
.filters.active{
    opacity: 1;
    z-index: 999;
    visibility: visible;
}

.filters form {
    max-width: 900px;
    background-color: var(--box-color);
    padding: 20px;
    max-height: 100%;
    overflow: auto;
    border-radius: 6px;
}
.filter {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    gap: 15px;
}

.filter-name {
    background-color: var(--main-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 15px;
    width: 100%;
    border-radius: 6px;
}

.filter label {
    padding: 0;
    display: flex;
    width: calc(25% - 12px);
}

.filter label span {
    display: flex;
    align-items: flex-start;
    user-select: none;
    cursor: pointer;
    position: relative;
    padding: 0 0 0 28px;
}

.filter label input {
    display: none;
}

.filter label span:before {
    content: '';
    width: 18px;
    height: 18px;
    display: flex;
    margin: 0;
    position: absolute;
    left: 0;
    box-sizing: border-box;
    border: 3px solid var(--main-color);
    background-color: var(--main-color);
    border-radius: 3px;
    top: 3px;
}


.filter label input:checked+span:before {
    background-color: var(--btn-color);
    transition: all .3s;
}


.filter-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: var(--btn-color);
    width: 60px;
    height: 60px;
    border-radius: 100%;
    cursor: pointer;
    z-index: 999;
}

.filter-btn i {
    color: var(--text-fff);
    font-size: 20px;
    transition: all .3s ease-in-out;
    position: absolute;
}
.filter-btn .filter-ico-close {
    font-size: 28px;
}
.filter-btn .filter-ico,
.filter-btn.active .filter-ico-close {
    opacity: 1;
    transform: scale(1);
}

.filter-btn .filter-ico-close,
.filter-btn.active .filter-ico  {
    opacity: 0;
    transform: scale(0.7);
}




/*paginacja*/
.pagination ul {
    margin: 0;
    padding: 0;
    gap: 20px 15px;
}
.pagination ul li {
    margin: 0;
}
.pagination ul li a {
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--main-color);
    border-radius: 100%;
    font-weight: 600;
}
.pagination ul li.active a {
    background-color: var(--btn-color);
    color: var(--text-fff);
}

@media only screen and (min-width: 1200px) and (max-width: 1440px)  {
    body {
        font-size: 14px;
    }
    .tab-col {
        padding: 10px;
        gap: 10px;
    }
}

@media only screen and (min-width: 1200px) {
    .content {
        width: calc(100% - 270px);
    }
    .menu {
        transform: translateX(0);
    }
   

    .tab-col {
        flex-wrap: nowrap;
    }

    .menu nav {
        position: sticky;
        top: 80px;
    }

    .tab-row:hover {
        background-color: rgba(3,3,5,.122);
    }

}

@media only screen and (max-width: 1199px) {
   
    #btn-menu {
        position: absolute;
        height: 70px;
        width: 70px;
        right: 15px;
    }

    .line-1, .line-2, .line-3 {
        position: absolute;
        left: 12px;
        top: 50%;
        width: 50px;
        height: 5px;
        background-color: var(--btn-color);
        transition: all 400ms cubic-bezier(.84,.06,.52,1.8);
    }
    .line-3 {
        transform: translateY(10px);
        animation-delay: 250ms;
    }
    .line-1 {
        transform: translateY(-10px);
        animation-delay: 100ms;
    }

    #btn-menu.active .line-1 {
        transform: rotate(40deg);
    }
    #btn-menu.active .line-2 {
        opacity: 0;
    }
    #btn-menu.active .line-3 {
        transform: rotate(-40deg);
    }

    .menu {
        position: fixed;
        height: 100%;
        background-color: var(--body-color);
    }

    .menu.active {
        transform: translateX(0%);
    }

}

@media only screen and (min-width: 769px) { 
    .tab-col .mobile-label {
        display: none;
    }
}

@media only screen and (max-width: 768px) { 
    .header h1 {
        width: 100%;
        font-size: 24px;
    }
    .header .btn-add-new {
        margin: 10px 0 0 0;
    }

    .posts .post.tab-row {
        padding: 45px 0 5px 0;
        position: relative;
    }
    
    .tab-col {
        width: 100%;
        padding: 7px 10px;
        flex-wrap: nowrap;
        justify-content: left;
    }

    .tab-col .mobile-label {
        width: 45%;
        margin: 0;
        font-weight: 600;
    }

    .tab-col .post-val {
        width: 55%;
    }

    .post-id {
        position: absolute;
        left: 10px;
        top: 10px;
        margin: 0;
    }

    .post-action {
        position: absolute;
        right: 10px;
        top: 10px;
        margin: 0;
    }

    .tab-header{
        display: none;
    }

}


@media only screen and (min-width: 600px) and (max-width: 980px) { 
    .filter label {
        width: calc(33.33% - 10px);
    }
}

@media only screen and (max-width: 600px) { 
    .filter label {
        width: calc(50% - 7.5px);
    }
    .filter-btn {
        bottom: 10px;
        right: 10px;
        width: 50px;
        height: 50px;
    }
    .content{
        padding: 20px 15px 0 15px;
        gap: 20px;
    }
    footer {
        padding: 0 0 20px;
    }
    
    form {
        gap: 15px;
    }

    .post-form {
        padding: 15px;
    }
}