@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: "Poppins", sans-serif;
    overflow-x: hidden;
    scroll-behavior: smooth;
}
a{
    text-decoration: none;
}
.none{
    display: none;
}
.dot{
    background: lime;
    padding: 5px;
    border-radius: 50%;
}

.alert{
    padding: 10px;
    text-align: center;
    width: 100%;
    background: rgba(20,20,20,1);
}

body{
    background: #0f0f0f;
    color: #fff;
}

body, nav, footer, main{
    overflow-x:hidden;
}


nav {
    background: rgba(20,20,20,1);
    height: fit-content;
    padding: 20px;
    border-bottom: 1px solid rgb(70, 69, 69);
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 100%;
}
footer {
    background: rgba(20,20,20,1);
    height: fit-content;
    padding: 10px;
    color: #cacaca;
    border-top: 1px solid rgb(70, 69, 69);
}

nav img {
    height: 50px;
    margin: 0 50px;
    transition: all 0.3s ease-in-out;
}
nav img:hover{
    transform: scale(1.1);
}


#thanks{
    font-weight: 800;
    margin-bottom: 1.5rem;
    font-size: 3rem;
    color: #fff;

}
nav ul{
    list-style: none;
    display: flex;
    flex-direction: row;
    align-items: center;
}

nav li a {
    text-decoration: none;
    color: #cacaca;
    transition: all 0.3s ease-in-out;
}

nav li a:hover {
    color: #fff;
}

nav li {
    margin: 0 30px;
    transition: all 0.3s ease-in-out;
}
#toggleMenuBtn{
    position: absolute;
    display: none;
    right: 20px;
    font-size: 30px;
    cursor: pointer;
}









main {
    background: #0f0f0f;
    display: flex;
    flex-direction: column;
    align-items: center;
}

header{
    margin: 30px 0;
    background: url(../shop/pokemonShop.png) center / cover no-repeat;
    height: 15rem;
    border-radius: 20px;
}


header a{
    color: #fff;
    position: relative;
    left: 20px;
    top: 20px;
    padding: 5px 10px;
    border-radius: 15px;
    background: rgba(208, 108, 179, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    width:fit-content;
    font-size: 1.5rem;
}
#main-shop {
    border-radius: 10px;
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: center;
    gap: 2%;
    margin-bottom: 30px;
}
#klucze, #rangi{
    margin-bottom: 25px;
}
header,#main-shop{
    width: 70vw;
}

section {
    height: 100%;
    overflow: hidden;
}

#main-shop #left{
    width: 74%;

}

#main-shop #right{
    width: 24%;
}

.category-name{
    font-weight: 700;
    padding: 10px 0;
    font-size: 1.5rem;
    margin-left: 15px;
    display: flex;
}
.items{
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    margin: 10px;
}
.item{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    padding: 20px 20px;
    border: 1px solid rgb(70, 69, 69);
    border-radius: 10px;
    transition: all 0.3s ease;
    margin: 10px 15px;
    text-align: center;
    cursor: pointer;
    background: #0f0f0f;
    flex: 0 0 calc(50% - 30px);
    box-sizing: border-box;
}

.item:hover{
    border: 1px solid rgb(102, 100, 100);
}
.item img{
    width: 10rem;
}
.item span{
    font-weight: 700;
    font-size: 1.2rem;
}

#player-nick{
    outline: none;
    padding: 10px 20px;
    border: 1px solid rgb(70, 69, 69);
    border-radius: 10px;
    margin: 5px 0;
    background: none;
    box-shadow: none;
    color: #fff;
    transition: all 0.3s ease;
}

.player-save{
    margin: 5px 0;
}

#player-nick:focus{
    border: 1px solid rgb(102, 100, 100);
}

.buy-button, .player-save{
    background: rgb(208, 108, 179);
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.buy-button:disabled{
    background: rgb(70, 69, 69) !important;
}

.buy-button:disabled:hover{
    box-shadow: none;
}



.buy-button:hover, .player-save:hover{
    box-shadow: 0 0 10px 1px rgb(208, 108, 179);
}

.success{
    background: rgb(36, 180, 0);
}

.success:hover{
    box-shadow: 0 0 10px 1px rgb(36, 180, 0);
}

.category{
    border: 1px solid rgb(70, 69, 69);
    border-radius: 10px;
    padding: 10px;
    background: rgb(20,20,20);
}
#last-buy, #player-profile{
    background: rgb(20,20,20);
    border-radius: 10px;
    padding: 10px;
    border: 1px solid rgb(70, 69, 69);
}

.section-title{
    font-weight: 700;
    padding: 10px 0;
    font-size: 1.5rem;
    margin-left: 15px;
}

.purchase-item, .player{
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 10px;
    background: #0f0f0f;
    margin: 15px 0;
    border-radius: 15px;
}
.purchase-info, #player-info{
    display: flex;
    flex-direction: column;
    margin: 0 15px;
}
#player-profile{
    margin-bottom: 25px;
}
.purchase-player{
    font-weight: 600;
}
.purchase-reward{
    color: #cacaca;
}
.purchase-item img{
    width: 3rem;
    height: auto;
    aspect-ratio: 1 / 1;
}









.font-bold {
    font-weight: 700 !important;
}
@media (max-width: 1300px) {
    #main-shop{
        flex-direction: column-reverse;
    }
    #left, #right{
        width: 100% !important;
    }
    header,#main-shop{
        width: 80vw;
    }
    .category{
        margin: 10px 0;
    }
    #klucze,#rangi{
        margin-bottom: 0;
    }
    #last-buy{
        margin: 10px 0;
    }
    #player-profile{
        margin-bottom: 5px;
    }
}

@media (max-width: 768px) {
    nav{
        flex-direction: column;
    }
    nav ul{
        flex-direction: column;
        gap: 10px;
        display: none;
        margin-top: 20px;
    }
    #toggleMenuBtn{
        display: block;
    }
    .menuEnabled{
        display:flex;
    }
    #main-shop{
        flex-direction: column-reverse;
    }
    #left, #right{
        width: 100% !important;
    }
    header,#main-shop{
        width: 80vw;
    }
    .items{
        flex-direction: column;
    }
}