* {
   font-family: Poppins;
   box-sizing: border-box;
}

body {
   margin: 0;
   background-color: #16171b;
   padding: 2rem;
}

.login-overlay {
   display: flex;
   align-items: center;
   justify-content: center;
   position: fixed;
   top: 0;
   left: 0;
   width: 100vw;
   width: 100dvw;
   height: 100vh;
   height: 100dvh;
   backdrop-filter: blur(.6rem) grayscale(100%);
   -webkit-backdrop-filter: blur(.6rem);
   z-index: 10000;
}

.login-box {
   min-width: 20rem;
   max-width: 90vw;
   background-color: #1f2125;
   padding: calc(100vh * .05) calc(100vw * .05);
   color: #b2b2b2;
   border: .15rem solid #666;
   border-radius: 2rem;
   box-shadow: 0 0 8rem 2rem #000;
}

.password-input {
   max-width: 80vw;
   text-align: center;
   height: calc(1.5em + .75rem + 2px);
   padding: .375rem .75rem;
   border: 1px solid #ced4da;
   border-radius: .5rem;
   transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
   outline: 0;
   border-color: #666;
   box-shadow: 0 0 2rem 0.2rem #5fafef;
}

.main-box {
   max-width: 1400px;
   margin: 0 auto;
   padding-bottom: 2rem;
   display: grid;
   gap: 2rem;
   grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.balance {
   font-size: 1.5rem;
   font-weight: 600;
   padding-top: 1.5rem;
   text-align: center;
}

.card {
   position: relative;
   background-color: #1f2125;
   padding: 2rem;
   color: #b2b2b2;
   border-radius: 1rem;
   text-decoration: none;
}

.logo-box>img {
   width: 100%;
   height: 100%;
   object-fit: contain;
   transition: all 0.65s;
}

.card-hover:hover>.logo-box>img {
   transition: all 0.65s;
   transform: rotateY(360deg);
}

.logo-box {
   width: 6rem;
   height: 6rem;
   background-color: #000;
   border-radius: 50%;
   padding: 1rem;
   margin: auto;
   transition: all 0.65s;
}

.card-hover:hover>.logo-box {
   transition: all 0.65s;
   transform: scale(1.1);
}

.card-hover:hover>.logo-box.red {
   box-shadow: 0 0 15px #e06c75;
}

.card-hover:hover>.logo-box.green {
   box-shadow: 0 0 15px #98c379;
}

.card-hover:hover>.logo-box.blue {
   box-shadow: 0 0 15px #5fafef;
}

.key {
   position: absolute;
   top: 1rem;
   right: 1rem;
}

::-webkit-scrollbar {
   width: .8rem;
 }
 
 ::-webkit-scrollbar-thumb {
   border-radius: .4rem;
   background-color: #1f2125;
 }