body {
    margin: 0;
    height: 100vh;
    font-family: Arial, sans-serif;
}

p {
    padding: 10px;
    background-color: rgba(40, 40, 40, 0.5);
    border: 1px solid rgba(35, 35, 35, 0.5);
    border-radius: 10px;
}

.statBoxBack {
    display: flex;
    background-color: rgb(27, 27, 27);
    width: 25%;
    height: calc(100vh - 97px);
    position: fixed;
    top: 97px;
    left: 0;
}

.statBox {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
    margin-left: 1vw;
    margin-top: 2vh;
    width: 22.5%;
    height: 96%;
    border-radius: 20px;
    background-color: rgb(36, 36, 36);
    position: fixed;
    top: calc(97px + 2vh);
    padding-top: 24px;
}

.statAvatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 12px;
    border: 2px solid rgb(75, 75, 75);
}

.statlogin1 {
    color: rgb(255, 255, 255);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0;
    margin: 0;
}

.statlogin2 {
    font-size: x-large;
    color: rgb(75, 75, 75);
}

.statscontent {
    width: 100%;
    height: 20%;
    font-size: 0.9em;
    border-bottom: 0.5px solid white;
}

.statscontent:hover {
    background-color: rgba(60, 60, 60, 0.5);
    border: 1px solid rgba(35, 35, 35, 0.5);
}

@media (max-width: 600px) {
  .statBoxBack {
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    width: 35%;
    z-index: 101;
  }

  .statBoxBack.open {
    transform: translateX(0);
  }

  .statBox {
    width: calc(100% - 4vw - 1rem);
    position: relative;
    top: unset;
    padding: 24px 2vw 0 2vw;
    font-size: 0.7rem;
  }

  .statBox p {
    font-size: 0.7rem;
    padding: 6px;
  }

  .statBox .statlogin1 {
    font-size: 0.7rem;
  }

  .statBox .statscontent {
    font-size: 0.7rem;
  }

  .statAvatar {
    width: 55px;
    height: 55px;
  }
}




