body{
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.container {
    margin-left: auto;
    margin-right: auto;
    width: 65%;
    height: 70%;
    border-radius: 3vmin;
    
}

header {
    width: 100%;
    height: 12%;
    display: flex;
    align-items: center;
}

.header {
    width: 20%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.header .logo {
    width: 5vmin;
    height: 5vmin;
}

.header h3 {
    margin-left: 5%;
    text-transform: uppercase;
    font-size: 2.2vmin;
}

.avatar-box {
    width: 5vmin;
    height: 5vmin;
    border-radius: 0.5vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 100%;
    height: 100%;
}

.icon-edit {
    position: absolute;
    width: 5vmin;
    height: 5vmin;
    display: flex;
    align-items: flex-end;
    justify-content: end;
}

.fa-pen-to-square {
    font-size: 1.4vmin;
    position: relative;
    bottom: 6%;
    right: 4%;
}

.category-box {
    margin-left: 5%;
    width: 65%;
    height: 100%;
    display: flex;
    align-items: center;
}

.category {
    width: 16%;
    margin-right: 1%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5vmin;
}

.category:hover {
    border-radius: 1vmin;
}

.category-active {
    border-radius: 1vmin;
}

.category .fa-solid {
    margin-right: 6%;
}

.icon-weapon {
    width: 2vmin;
    margin-right: 3%;
}

.create-room-box {
    margin-left: auto;
    margin-right: auto;
    width: 25%;
    height: 6%;
    border-radius: 1vmin 1vmin 0 0;
    display: flex;
}

.room-count {
    width: 33.3%;
    height: 100%;
    
}

.room-count .title {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 1vmin;
}

.room-count .count {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 1.4vmin;
}

.room-join {
    width: 33.3%;
    height: 100%;
}

.room-join .title {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 1vmin;
}

.room-join .text {
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    text-align: center;
    font-size: 1.3vmin;
}

.room-create {
    width: 33.3%;
    height: 100%;
}

.room-create:hover {
    border-radius: 0 1vmin 0 0;
}

.room-create .title {
    width: 100%;
    height: 100%;
    text-align: center;
    font-size: 1.4vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-right-to-bracket, .fa-plus {
    margin-right: 5%;
}

.my-info-board {
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    height: 15%;
    border-radius: 1vmin;
    display: flex;
}

.kill-death-box {
    width: 25%;
    height: 100%;
    transform: skewx( -30deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kill-death-box div {
    transform: skewx( 30deg);
    font-size: 4vmin;
    font-weight: 800;
    position: relative;
    bottom: 10%;
}

.kill-death-box .kill-death {
    opacity: 0.3;
    font-weight: 500;
}

.kill-death-box .text-description {
    position: absolute;
    top: 60%;
    left: 46%;
    font-size: 1.4vmin;
    font-weight: 500;
    opacity: 0.8;
}

.kd-box {
    width: 20%;
    height: 100%;
    transform: skewx( -30deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.kd-box div {
    transform: skewx( 30deg);
    font-size: 4vmin;
    font-weight: 800;
    position: relative;
    bottom: 10%;
}

.kd-box .kd {
    position: relative;
    right: 2%;
}


.kd-box .text-description {
    position: absolute;
    top: 60%;
    left: 50%;
    font-size: 1.4vmin;
    font-weight: 500;
    opacity: 0.8;
}


.round-box {
    width: 20%;
    height: 100%;
    transform: skewx( -30deg);
    display: flex;
    align-items: center;
    justify-content: center;
}

.round-box div {
    transform: skewx( 30deg);
    font-size: 4vmin;
    font-weight: 800;
    position: relative;
    bottom: 10%;
}

.round-box .round {
    position: relative;
    right: 2%;
}


.round-box .text-description {
    position: absolute;
    top: 60%;
    left: 40%;
    font-size: 1.4vmin;
    font-weight: 500;
    opacity: 0.8;
}




.money-box {
    width: 35%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    
}

.money-box div {
    font-size: 3vmin;
    font-weight: 800;
    position: relative;
}

.money-icon {
    width: 5vmin;
    position: relative;
    margin-right: 2%;
}

.money-box #money {
    position: relative;
    bottom: 10%;
}

.money-box .money-icon {
    position: relative;
    bottom: 10%;
}

.money-box .description1 {
    position: absolute;
    margin-top: 2.5%;
    margin-right: 8%;
    font-size: 1.4vmin;
    font-weight: 500;
    opacity: 0.5;
}

.money-box .description2 {
    position: absolute;
    margin-top: 2.5%;
    margin-left: 5%;
    font-size: 1.4vmin;
    font-weight: 500;
}

.room-board {
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    width: 95%;
    height: 55%;
    overflow-y: scroll;
}

.room {
    float: left;
    margin-left: 7%;
    margin-right: 7%;
    margin-bottom: 4%;
    width: 36%;
    height: 39%;
    border-radius: 1vmin;
    transform: skewx( -15deg);
}

.weapon-icon-box {
    float: left;
    position: relative;
    right: 8%;
    top: 9.5%;
    border-radius: 1vmin;
    width: 11vmin;
    height: 11vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: skewx( 5deg);
}

.weapon-icon {
    width: 100%;
    height: 100%;
    border-radius: 1vmin;
}

.middle {
    float: left;
    position: relative;
    right: 5%;
    width: 60%;
    height: 100%;
    transform: skewx( 5deg);
}

.btn-box {
    position: absolute;
    right: 0%;
    width: 10vmin;
    height: 100%;
    font-size: 1.2vmin;
}

.room-id {
    margin-right: 2%;
}

.room-name {
    margin-top: 5%;
    font-size: 1.6vmin;
}

.hostname-typeWeapon {
    width: 100%;
    height: 20%;
    display: flex;
    align-items: center;
}

.need-players {
    
    width: 30%;
    font-size: 1.3vmin;
}

.hostname {
    width: 70%;
    font-size: 1.2vmin;
}

.fa-ranking-star, .fa-crown {
    font-size: 1.1vmin;
    margin-right: 2%;
    
}

.iconweapon {
    width: 15%;
    margin-right: 3%;
}

.btn1 {
    margin-top: 23%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 20%;
    border-radius: 0.5vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn3 {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 20%;
    border-radius: 0.5vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn2 {
    margin-top: 5%;
    margin-left: auto;
    margin-right: auto;
    width: 80%;
    height: 20%;
    border-radius: 1vmin;
    border-radius: 0.5vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.fa-play, .fa-eye {
    margin-right: 4%;
}

.kd-score {
    width: 30%;
    height: 100%;
}

.reward-box {
    width: 70%;
    height: 100%;
}

.reward-box-kd {
    width: 85%;
    height: 50%;
    transform: skewx( -2deg);
    display: flex;
}

.score {
    margin-left: auto;
    margin-right: auto;  
    width: 100%;
    height: 60%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 2vmin;
}

.reward {
    margin-left: auto;
    margin-right: auto;  
    width: 100%;
    height: 60%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    font-size: 2vmin;
}


.text-kd {
    width: 100%;
    font-size: 1vmin;
    text-align: center;
}
.room-board::-webkit-scrollbar-track {
    background-color: none;
    border: none;
    width: 0px;
    height: 0;
}

.room-board::-webkit-scrollbar {
   width: 5px;
   height: 0;
   background-color: rgba(20, 20, 20, 0);
}

.room-board::-webkit-scrollbar-thumb {
    width: 0px;
    height: 0;
    border-radius: 8px;
}

.footer {
    margin-left: auto;
    margin-right: auto;  
    width: 50%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vmin;
    opacity: 0.5;
}



/* create room  */
.container-create {
    position: absolute;
    /* left: 20%; */
    width: 23%;
    height: 55%;
    border-radius: 1vmin;
}

.close-create {
    float: right;
    position: relative;
    right: 1%;
    top: 1%;
    width: 2.6vmin;
    height: 2.6vmin;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 500;
}

.fa-xmark {
    font-size: 1.4vmin;
}

/* .fa-xmark:hover {
    color: rgb(255, 17, 0);
} */

.header-create {
    margin-left: auto;
    margin-right: auto;
    margin-top: 9%;
    border-radius: 1vmin;
    width: 90%;
    height: 30%;
}

.logo-create {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    top: 5%;
    width: 8vmin;
    height: 8vmin;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#logo-create {
    width: 92%;
    border-radius: 50%;
}

.create-title {
    margin-top: 4%;
    width: 100%;
    text-align: center;
    font-size: 1.6vmin;
}

.create-info-box {
    margin-top: 2%;
    margin-left: auto;
    margin-right: auto;
    width: 70%;
    height: 20%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.create-text {
    font-size: 1.3vmin;
    opacity: 0.5;
    width: 48%;
    text-align: center;
}

.create-text .fa-solid {
    margin-right: 5%;
}

.create-setting-box {
    margin-left: auto;
    margin-right: auto;
    margin-top: 4%;
    border-radius: 1vmin;
    width: 85%;
    height: 55%;
}

.setting-title {
    font-size: 1.4vmin;
}

.create-setting-box input {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    left: 0%;
    width: 100%;
    height: 10%;
    border: none;
    border-radius: 0.4vmin;
}



.player-count-selector-box {
    width: 100%;
    height: 10%;
    display: flex;
    align-items: center;
    /* justify-content: space-between; */
}

.player-count-selector {
    width: 18%;
    height: 100%;
    margin-left: 0.5%;
    margin-right: 0.5%;
    border-radius: 0.4vmin;
    opacity: 0.4;
    font-size: 1.2vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-count-selector:hover {
    opacity: 1.0;
}

.player-count-selector-active {
    opacity: 1.0;
}

.player-count-selector img {
    width: 30%;
}

.check-money-box {
    width: 40%;
    height: 10%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.check-money {
    width: 49.4%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2vmin;
    opacity: 0.4;
    transform: skewx( -30deg);
}

.check-money-active {
    opacity: 1.0;
}

.check-money:hover {
    opacity: 1.0;
}

.check-money span {
    transform: skewx( 30deg);
}

#create-bet {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    margin-top: 2%;
    width: 100%;
    height: 10%;
    border: none;
    border-radius: 0.4vmin;
    display: none;
}

#submit-create {
    position: absolute;
    bottom: 5%;
    right: 7%;
    width: 25%;
    height: 6.5%;
    border: none;
    border-radius: 0.5vmin;
    font-size: 1.4vmin;
    font-weight: 700;
}


/* input data  */

.container-input-roomid {
    position: absolute;
    top: 40%;
    width: 25%;
    height: 8%;
    border-radius: 1vmin;
}


.container-input-avatar-url {
    position: absolute;
    top: 40%;
    width: 25%;
    height: 8%;
    border-radius: 1vmin;
}

.avatar-url-text-header {
    margin-top: 2%;
    width: 100%;
    font-size: 1.4vmin;
    text-align: center;
}


.room-text-header {
    margin-top: 2%;
    width: 100%;
    font-size: 1.4vmin;
    text-align: center;
}


input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input {
    position: relative;
    left: 5%;
    margin-top: 1%;
    width: 80%;
    height: 42%;
    text-align: center;
    font-size: 1.3vmin;
}

#url-submit, #join-submit {
    margin-left: 6%;
    width: 7%;
    height: 42%;
    border: none;
    border-radius: 0.4vmin;
    font-size: 1.4vmin;
}

*:focus {
    outline: none;
}

#room-code, #avatar-url {
    border: none;
    border-radius: 0.4vmin;
}

.confirm-container {
    position: absolute;
    width: 15%;
    height: 15%;
    border-radius: 8px;
}

.confirm-header {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5%;
    width: 95%;
    height: 25%;
    border-radius: 0.8vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

#confirm-text {
    font-size: 1.3vmin;
}

.btn-action {
    margin-left: auto;
    margin-right: auto;
    margin-top: 2.5%;
    width: 95%;
    height: 50%;
    display: flex;
    align-items: center;
    justify-content: space-around;
}

.btn-action-confirm {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10%;
    width: 45%;
    height: 50%;
    border-radius: 1vmin;
}


.profile-container {
    position: absolute;
    width: 14%;
    height: 34%;
    border-radius: 1vmin;
}

.profile-header {
    margin-left: auto;
    margin-right: auto;
    width: 84%;
    height: 16%;
    display: flex;
    align-items: center;
}

#profile-name {
    font-size: 1.4vmin;
    font-weight: 600;
}

.profile-avatar-box {
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 83%;
    height: 60%;
    border-radius: 1vmin;
}

#profile-avatar {
    width: 100%;
    height: 100%;
    border-radius: 1vmin;
}

#exit-profile {
    position: absolute;
    right: 1%;
    top: 1%;
    width: 3vmin;
    height: 3vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

#exit-profile .fa-xmark {
    font-size: 1.4vmin;
}

.profile-description-box {
    width: 100%;
    height: 24%;
}

.profile-description-icon {
    float: left;
    width: 20%;
    height: 60%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.profile-description-icon img {
    width: 75%;
}

.profile-winlose-box {
    float: left;
    width: 40%;
    height: 60%;
}

.profile-winlose-text {
    margin-top: 8%;
    font-size: 1.2vmin;
    font-weight: 600;
}

#profile-winlose {
    font-size: 1.2vmin;
}

.profile-allmatch-box {
    float: left;
    width: 40%;
    height: 60%;
}

.profile-allmatch-text {
    margin-top: 8%;
    font-size: 1.2vmin;
    font-weight: 600;
}

#profile-allmatch {
    font-size: 1.2vmin;
}

.container-wait-room {
    position: absolute;
    width: 50%;
    height: 30%;
    border-radius: 3vmin;
}

.wait-room-header {
    margin-left: auto;
    margin-right: auto;
    width: 30%;
    height: 14%;
    border-radius: 0 0 1vmin 1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.wait-room-timer {
    margin-left: auto;
    margin-right: auto;
    width: 15%;
    height: 18%;
    border-radius: 0 0 1vmin 1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team_1_player {
    position: absolute;
    top: 3%;
    left: 9%;
    width: 22%;
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.team_2_player {
    position: absolute;
    top: 3%;
    right: 9%;
    width: 22%;
    height: 12%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.other-player-box {
    width: 3.6vmin;
    height: 3.6vmin;
    margin-left: 1%;
    margin-right: 1%;
}

.other-player-box img {
    width: 100%;
    height: 100%;
    border-radius: 0.4vmin;
}

.fa-infinity {
    margin-right: 2%;
}

.wait-room-header h3 {
    text-align: center;
    width: 100%;
}

.player-box {
    position: absolute;
    top: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.player-box-2 {
    position: absolute;
    top: 0;
    right: 0;
    width: 40%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-text {
    width: 20%;
    height: 50%;
    margin-top: 1%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vs-icon {
    width: 100%;
}

.player-1-box, .player-2-box {
    width: 20vmin;
    height: 20vmin;
    border-radius: 1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-wait-room {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 3vmin;
}

.text-processing {
    position: relative;
    top: 4%;
    text-align: center;
    width: 20%;
    margin-left: auto;
    margin-right: auto;
    font-size: 1.8vmin;
}


.player-profile-room {
    width: 95%;
    height: 95%;
}

.player-2-name, .player-1-name {
    position: absolute;
    bottom: 5%;
}

.cancel-wait-room {
    position: relative;
    left: 32%;
    top: 10%;
    width: 16%;
    height: 14%;
    font-size: 1.8vmin;
    border: none;
    border-radius: 0.5vmin;
}

.enter-duel {
    position: relative;
    left: 35%;
    top: 10%;
    width: 16%;
    height: 14%;
    font-size: 1.8vmin;
    border: none;
    border-radius: 0.5vmin;
}

.exit-duel {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    top: 10%;
    width: 16%;
    height: 14%;
    font-size: 1.8vmin;
    border: none;
    border-radius: 0.5vmin;
    display: none;
}

.progress-percent {
    display: none;
    position: absolute;
    /* left: 30%; */
    font-size: 4vmin;
    font-weight: 600;
    z-index: 500;
}

.container-blur {
    filter: blur(0.5rem);
}

.container-score {
    position: absolute;
    top: 1%;
    width: 30%;
    height: 10%;
}

.bg-score-1 {
    position: absolute;
    top: 35%;
    width: 100%;
    height: 55%;
    opacity: 0.8;
    clip-path: polygon(0 0, 100% 0, 96% 100%, 4% 100%);
}

.circle-duel {
    margin-left: auto;
    margin-right: auto;
    width: 8vmin;
    height: 8vmin;
    border-radius: 50%;
    font-size: 1.2vmin;
    font-weight: bold;
    text-align: center;
}

.circle-duel p {
    position: relative;
    top: 6%;
    opacity: 0.7;
}

.score-left-box {
    position: absolute;
    left: 5%;
    top: 16%;
    width: 38%;
    height: 50%;
    border-radius: 0 2vmin 1vmin 2vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.score-right-box {
    position: absolute;
    right: 5%;
    top: 16%;
    width: 38%;
    height: 50%;
    border-radius: 2vmin 0 2vmin 1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bg-score-2 {
    position: absolute;
    left: 39%;
    top: 22%;
    height: 48%;
    width: 22%;
}

.bg-score-3 {
    position: absolute;
    left: 40.5%;
    top: 22%;
    height: 48%;
    width: 19%;
    border-radius: 1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3vmin;
    font-weight: bold;
}

.round-score-box {
    position: absolute;
    top: 72%;
    width: 15%;
    height: 25%;
    left: 42.5%;
    font-size: 1.1vmin;
    display: flex;
    align-items: center;
    justify-content: center;
    clip-path: polygon(0 0, 100% 0, 93% 100%, 8% 100%);

}

#player-1-name-score, #player-2-name-score {
    font-size: 1.6vmin;
    font-weight: bold;
}

#player-1-name-score {
    position: relative;
    right: 5%;
}

#player-2-name-score {
    position: relative;
    left: 5%;
}

.bar-score-left {
    position: absolute;
    top: 78%;
    left: 7%;
    width: 33%;
    height: 15%;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    display: flex;
    align-items: center;

}

.bar-score-right {
    position: absolute;
    top: 78%;
    right: 7%;
    width: 33%;
    height: 15%;
    clip-path: polygon(6% 0, 100% 0%, 95% 100%, 0% 100%);
    transform: rotateX(180deg);
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.dot-status-player1 {
    width: 0.8vmin;
    height: 0.8vmin;
    border-radius: 50%;
    margin-left: 3%;
}

.dot-status-player2 {
    width: 0.8vmin;
    height: 0.8vmin;
    border-radius: 50%;
    margin-right: 3%;
}

#countdown {
    display: none;
    font-size: 12vmin;
    font-weight: bold;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 1;
}

.container-team-selector {
    position: absolute;
    width: 20%;
    height: 10%;
    border-radius: 0.4vmin;

    display: none;
    align-items: center;
    justify-content: space-around;
    z-index: 600;
}

.team-selector {
    width: 48%;
    height: 90%;
    border-radius: 0.6vmin;
    font-size: 2vmin;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
}
