@font-face {
  font-family: "GmarketSansMedium";
  src: url("https://fastly.jsdelivr.net/gh/projectnoonnu/noonfonts_2001@1.1/GmarketSansMedium.woff") format("woff");
  font-weight: normal;
  font-style: normal;
}
body {
  font-family: "GmarketSansMedium", sans-serif;
  margin: 0;
  padding: 0;
}

* {
  text-decoration: none;
  color: #333;
  margin: 0;
  padding: 0;
}

.container {
  margin: 0 auto;
  padding: 10px;
}

.header {
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
}
.header img {
  max-width: 100%;
  height: auto;
  max-height: 115px;
}

.search-box {
  margin-bottom: 20px;
  width: 100%;
}
.search-box input {
  width: calc(100% - 20px);
  padding: 10px;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.ranking-box,
.game-box {
  width: calc(100% - 28px);
  border: 4px solid orange;
  border-radius: 10px;
  position: fixed;
  overflow: auto;
}
.ranking-box.ranking-box,
.game-box.ranking-box {
  height: calc(100% - 212px);
  top: 191px;
}
.ranking-box.game-box,
.game-box.game-box {
  height: calc(100% - 280px);
  bottom: 0;
}
.ranking-box::-webkit-scrollbar,
.game-box::-webkit-scrollbar {
  width: 8px;
}
.ranking-box::-webkit-scrollbar-track,
.game-box::-webkit-scrollbar-track {
  background-color: transparent;
}
.ranking-box::-webkit-scrollbar-thumb,
.game-box::-webkit-scrollbar-thumb {
  background-color: rgba(200, 200, 200, 0.3);
  border-radius: 10px;
}

.ranking-table {
  width: 100%;
  border-bottom: 2px solid orange;
}

.ranking-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  background-color: #fff;
  border-bottom: 2px solid orange;
}
.ranking-header .header-item {
  flex: 1;
  text-align: center;
  font-size: min(4vw, 20px);
  font-weight: 400;
}
.ranking-header .m-rating {
  font-size: min(2.6vw, 20px);
}

.ranking-body {
  width: 100%;
}

.ranking-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 2px solid orange;
  transition: background-color 0.3s;
  cursor: pointer;
}
.ranking-row:hover {
  background-color: #f9f9f9;
}
.ranking-row:last-child {
  border-bottom: none;
}
.ranking-row .ranking-item {
  flex: 1;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 10px 0;
  font-size: min(4vw, 20px);
}
.ranking-row .ranking-item.rank-number {
  font-size: min(4vw, 20px);
}
.ranking-row .profile-pic {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
}

.profile-header {
  border: 1px solid orange;
  border-radius: 15px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 15px;
}
.profile-header .profile-pic-box {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 2px solid orange;
  margin-right: 20px;
}
.profile-header .profile-info {
  display: flex;
  justify-content: space-between;
  width: 100%;
  max-height: 115px;
}
.profile-header .profile-info > div {
  width: 50%;
  font-size: min(3.5vw, 12px);
}
.profile-header .profile-info h2 {
  margin: 0;
  font-size: min(6vw, 24px);
}
.profile-header .profile-info p {
  font-size: min(4vw, 20px);
}
.profile-header .profile-info .profile-info-text {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: space-between;
}
.profile-header .profile-info .profile-info-text > div {
  width: 100%;
}
.profile-header #toggle-stats-btn {
  padding: 10px 5px;
  font-size: min(3vw, 12px);
  text-align: center;
  background-color: transparent;
  border: 1px solid orange;
  border-radius: 4px;
  cursor: pointer;
  transition: max-height 0.5s ease-out, opacity 0.5s ease-out;
}

.rating-box {
  width: 33vw;
  text-align: center;
  background-color: orange;
  border-radius: 10px;
  padding: 5px;
}
.rating-box .rating-header {
  display: flex;
  background-color: orange;
  color: #FFF;
  padding: 5px 0;
  text-align: center;
  border-radius: 10px 10px 0 0;
}
.rating-box .rating-header > div {
  width: 50%;
  color: #FFF;
}
.rating-box .rating-values {
  display: flex;
  justify-content: space-evenly;
  padding: 10px 0;
  text-align: center;
  background-color: #FFF;
  border-radius: 0 0 10px 10px;
}
.rating-box .rating-values div {
  height: 50px;
  line-height: 50px;
  width: 50%;
  flex: 1;
  font-size: min(5vw, 18px);
  font-weight: 900;
}
.rating-box .rating-values div:nth-child(1) {
  border-right: 1px solid orange;
}

.statistics-row {
  display: none;
  justify-content: space-between;
  margin: 20px 0;
  gap: 5px;
}
.statistics-row .statistics-box {
  background-color: orange;
  color: #FFF;
  border-radius: 10px;
  padding: 2px;
  text-align: center;
  flex: 1;
} 
.statistics-row .statistics-box > div {
  border: 2px solid #FFF;
  border-radius: 10px;
  width: calc(100% - 10px);
  height: calc(100% - 10px);
  padding: 3px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}
.statistics-row .statistics-box > div p {
  font-size: min(4vw, 16px);
}
.statistics-row .statistics-box > div h2 {
  font-size: min(5vw, 18px);
}
.statistics-row .statistics-box > div h2, .statistics-row .statistics-box > div p {
  width: 100%;
  color: #FFF;
}

.rank-col {
  width: 50px;
  flex: 0.5 !important;
}

/*# sourceMappingURL=styles.css.map */
