/*start global rules*/
:root {
  --blue-color: #0075ff;
  --blue-alt-color: #0d69d5;
  --orange-color: #f59e0b;
  --green-color: #22c55e;
  --red-color: #f44336;
  --grey-color: #888;
  --widget-radius: 10px;
}
/*end global rules*/

/*start grid settings*/
.friends {
  display: -ms-grid;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
  padding: 20px;
}
@media (max-width: 768px) {
  .friends {
    -ms-grid-columns: minmax(200px, 1fr);
    grid-template-columns: minmax(200px, 1fr);
    gap: 10px;
    padding: 10px;
  }
}
/*end grid settings*/

.box {
  background-color: white;
  border-radius: var(--widget-radius);
  padding: 20px;
  position: relative;
}
.box div.abs {
  position: absolute;
  top: 10px;
  left: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
.box div.abs a {
  width: 30px;
  height: 30px;
  color: var(--grey-color);
  background-color: #eee;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  border-radius: 50%;
  font-size: 14px;
  -webkit-transition-duration: 0.3s;
       -o-transition-duration: 0.3s;
          transition-duration: 0.3s;
}
.box div.abs a:hover {
  background-color: var(--blue-color);
  color: white;
}
.box .image {
  text-align: center;
  margin-top: 10px;
}
.box img {
  width: 100px;
  border-radius: 50%;
}
.box h3 {
  text-align: center;
  font-size: 16px;
  margin-top: 10px;
  margin-bottom: 5px;
}
.box > p.c-grey {
  text-align: center;
  font-size: 13px;
}
.box .stats {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  padding: 15px 0;
  margin-top: 15px;
  margin-bottom: 15px;
  line-height: 2;
  position: relative;
  font-size: 14px;
}
.box .stats i {
  margin-right: 5px;
}
.box .vip::after {
  content: "VIP";
  font-weight: bold;
  color: #f59e0b;
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  right: 0;
  font-size: 40px;
  opacity: 0.2;
}
.box .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.box .info p {
  font-size: 13px;
}
.box .info .buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 5px;
}
.box .btn {
  display: block;
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 13px;
  -webkit-transition: background-color 0.3s;
  -o-transition: background-color 0.3s;
  transition: background-color 0.3s;
  color: white;
}
