* {
    font-family: 'Poppins', sans-serif;
    text-align: center;
    font-weight: bold;
    font-size: 30px;
    margin: 0px;
    color: #dfe6e9;
}



body{
    background-color: #2d3436;
}

.logo-front{
    width: 30%;
    
}

.logo-small{
    height: 1em;
}

nav{
    width: auto;
    padding: 10px;
    margin: 0px;
    background-color: #464649;
}

nav>ul{
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #464649;
}

nav>ul>li{
    display: inline;
    float: right;
}

nav>ul>li a{
    display: block;
    color: white;
    text-align: center;
    padding: 14px 16px;
    text-decoration: none;
}

.user-bal{
    background-color: #2e2e30;
    border-radius: 0.2em;
    width: auto;
}

.bal{
    padding-top: 0.35em;
    padding-right: 0.25em;
    float: right;
}

.deposit{
    background-color: #6c5ce7;
    border-radius: 0.2em;
    margin: 0.2em;
    padding: 0.1em;
    width: 1em;
    float: left;
}

.deposit:hover{
    background-color: #a29bfe;
}

main{

    background-image: linear-gradient(200deg, #6c5ce7 0%, #2d3436 100%);
    background-position: center;
    min-height: 900px;
}

button{
    background-color:#6c5ce7;
    border-radius: 0.2em;
    border-style: none;
    padding-left: 1rem;
    padding-right: 1rem;
}

button:hover{
    cursor: pointer;
    background-color:#a29bfe;
}

.buttons-to-open-pack{
    margin-top: 0.5em;
}

.pack-container{
    padding: 2rem;
    display: flex;
    flex-wrap: wrap;
    overflow-y: auto;
    max-height: 100%;
}

.pack-container>*{
    flex: 1;
}

.template-pack{
    padding: 1em;
    background-color: rgba(240, 255, 255, 0.466);
    max-width: 300px;
    margin: 10px;
    border-radius: 0.2em;
}

.pack-logo{
    width: 250px;
}

.open-pack{
    border-style: none;
}

.open-pack:hover{
    cursor: pointer;
}

.pack-flex{
    
    display: flex;
    height: 40em;
}

.pack-flex-child {
    border-color: #2d3436;
    border-style:solid;
    box-shadow: 0 4px #1a1d22, 0 20px 50px #00000073, inset 0 1px #252a30;
    margin: 0.5rem;
    padding: 0.7rem;
    border-radius: 0.4rem;
}

.pack-flex-child:first-child{
    flex:2;
}

.pack-flex-child:last-child{
    flex: 1;
}

.card-list{
    display: flex;
    flex-wrap: wrap;
    overflow-y: scroll;
    overflow-x: hidden;
    max-height:90%;
    min-height: 90%;
    margin-top: 1rem;
}

.card-list::-webkit-scrollbar{
    width: 0.5em;
}

.card-list::-webkit-scrollbar-track{
    background:#2d3436;
    border-radius: 1em;
}

.card-list::-webkit-scrollbar-thumb{
    background:#6c5ce7;
    border-radius: 1em;
}

.card{
    background-color: rgba(41, 41, 41, 0.096);
    border-width: 1px;
    padding: 1rem;
    max-height: 6.5rem;
    min-height: fit-content;
    width: 18%;
    margin: 0.4rem;
    border-radius: 0.5rem;
}


.card-name{
    font-size: 0.5rem;
}

.card-small{
    width: 100%;
}

.card-small:hover{
    width: 105%;
    margin-left: -2px;
}

.card-rarity{
    font-size: 0.5rem;
}

.card-price{
    font-size: 0.6rem;
    color: #ffeaa7;
    
}

.prev-opened{
    width: 100%;
    max-width: 100%;
    height: 10em;
    overflow-x: scroll;
    white-space: nowrap;
}

.recently-opened-card{
    width: 20%;
    display: inline-block;
    padding-bottom: 0%;
    margin-bottom: 0%;
}

.card-prev{
    width: 50%;
}

.pack-opening-section{
    box-shadow: 0 4px #1a1d22, 0 20px 50px #00000073, inset 0 1px #252a30;
    border-radius: 0.3em;
    min-height: 20rem;
    max-height: 20rem;
    margin-top: 1rem;
    display: flex;
    flex-wrap: wrap;
}

.prev-opened{
    background-color: rgba(41, 41, 41, 0.096);
    border-radius: 0.5rem;
    padding-top: 1em;
    padding-bottom: 0%;
    max-height: 9em;
    
}

.prev-opened::-webkit-scrollbar{
    width: 1em;
}

.prev-opened::-webkit-scrollbar-track{
    background:#2d3436;
    border-radius: 1em;
}

.prev-opened::-webkit-scrollbar-thumb{
    background:#6c5ce7;
    border-radius: 1em;
}

.card-pack{
    border-color: #1C0C5B;
    background-color: rgba(41, 41, 41, 0.096);
    padding: 1rem;
    max-height: 6.5rem;
    min-height: fit-content;
    width: 12.5%;
    margin: 0.4rem;
    border-radius: 0.5rem;
}

footer{
    background-color: #2d3436;
    padding:0.5rem;
    font-size: 0.3em;
    
}

