@import url(https://fonts.googleapis.com/css2?family=Kanit:wght@500&display=swap);

*
{
    user-select: none;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Kanit', sans-serif;
    color: #FFF;
    font-size: 1vh;
    user-select: none;
}

body
{
    overflow: hidden;
    display: flex;
    justify-content: start;
    align-items: flex-end;
    min-height: 104vh;
}

/* - Dispear When Press ESC 
   - กดปุ่ม ESC แล้ว หยุดการโชว์ UI
*/

#content{
    visibility: hidden;
    transition: 0.5s;
}

/**********************************************/

/* - Size UI
   - ขนาดของ UI
*/

.box-size {
    transform: scale(90%); /* เพิ่มลด ขนาด ui */
}

/**********************************************/

/* - Posittion UI
   - ตำแหน่งของ UI
*/

.box {
    position: relative;
    display: flex;
    justify-content: end;
    align-items: flex-end;
    flex-direction: column;
    margin-left: -1vh;
    margin-bottom: 3.3vh;
    width: 50vh;
    height: 10vh;
}

.container-box {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    flex-direction: column;
}

.hud {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    left: 5vh;
    width: 35vh;
    height: 7.3vh;
    border-radius: 0 1vh 4vh 0;
    background: linear-gradient(90deg, rgb(3, 28, 43) , rgb(8, 82, 143));
}

.profile {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    left: -5vh;
    width: 8.5vh;
    height: 8.5vh;
    border-radius: 1vh;
    border-right: solid .1vh rgb(8, 82, 143);
    background-color:  rgb(3, 28, 43);
}

.profile::after {
    content: '';
    position: absolute;
    top: -.3vh;
    width: 60%;
    height: .5vh;
    border-radius: 15vh;
    background-color: rgb(8, 82, 143);
}

.profile img {
    width: 7vh;
    height: 7vh;
    border-radius: 1vh;
    border: solid .2vh rgb(8, 82, 143);
}

.box-id {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 6.5vh;
    height: 2.3vh;
    bottom: -.9vh;
    border-radius: .5vh;
    background-color:  rgb(3, 44, 70);
}

.box-id p {
    font-size: 1.3vh;
    color: rgb(8, 78, 143);
}

.box-id p span {
    font-size: 1.3vh;
    color: #ffffff;
}

.box-dt {
    position: absolute;
    justify-content: center;
    display: flex;
    align-items: center;
    top: -2.6vh;
    left: 14.3vh;
    width: 10vh;
    height: 2.3vh;
    border-radius: .5vh;
    background-color:  rgb(3, 28, 43);
}

.box-dt p {
    font-size: 1.1vh;
    color: rgb(8, 55, 143);
}

.box-dt span {
    font-size: 1.1vh;
    color: white;
}

.box-voice {
    position: absolute;
    display: flex;
    align-items: center;
    top: -2.6vh;
    left: 4vh;
    width: 10vh;
    height: 2.3vh;
    border-radius: .5vh;
    background-color:  rgba(3, 28, 43);
}

.text-voice {
    position: relative;
    justify-content: center ;
    display: flex;
    align-items: center;
    width: 5.2vh;
    height:100%;
}

.text-voice i {
    font-size: 1.1vh;
    margin-right: .4vh;
}
.text-voice span {
    font-size: 1.2vh;
}

.box-voice-circle {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    right: .5vh;
    width: 3.8vh;
    height: 1.5vh;
    border-radius: .5vh;
    background-color: rgb(8, 82, 143)38;
}

.box-voice-circle div {
    width: .45vh;
    height: .45vh;
    rotate: 45deg;
    margin: 0 .3vh;
    background-color:white;
}

.hp {
    position: absolute;
    display: flex;
    align-items: center;
    left: 4.3vh;
    top: .6vh;
    width: 30vh;
    height: 3vh;
    border-radius: .8vh;
    background-color:  rgb(2, 38, 59);
    overflow: hidden;
}

.hp img {
    position: absolute;
    right: 0;
    width: 14vh;
    opacity: .1;
}

.hp-text {
    position: absolute;
    display: flex;
    align-items: center;
    left: 1vh;
    width: 9vh;
    height: 100%;
}

.hp-text i {
    font-size: 1.3vh;
    margin-right: .5vh;
}

.hp-text p,
.hp-text span {
    font-size: 1.3vh;
}

.Hp {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 0 0 .3vh rgb(8, 82, 143);
    background: linear-gradient(0deg, rgb(8, 89, 143), #41c9ff);
    transition: 2s ease;
}

.sm {
    position: absolute;
    display: flex;
    align-items: center;
    left: 5.2vh;
    top: 3.9vh;
    width: 28vh;
    height: .25vh;
    border-radius: 15vh;
    background-color:  rgb(3, 39, 61)(27, 10, 0);
}

.Sm {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #00aeff, #00aeff);
    transition: 2s ease;
}

.am {
    position: absolute;
    display: flex;
    align-items: center;
    left: 4.3vh;
    bottom: .7vh;
    width: 29.22vh;
    height: 2.2vh;
    border-radius: .8vh .4vh 2vh .8vh;
    background-color:  rgb(2, 37, 58);
}

.Am {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 0 0 .2vh #b4b4b4;
    background: linear-gradient(0deg, #b4b4b4, #ffffff);
    transition: 2s ease;
}

.position-status {
    position: absolute;
    top: 1vh;
    right: -19vh;
}

.box-status {
    position: relative;
    display: flex;
    align-items: center;
    width: 18vh;
    height: 5vh;
}

.status {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 4.8vh;
    height: 4.8vh;
    margin-right: .6vh;
    border-radius: .5vh;
    background-color:  rgb(4, 34, 61);
}

.progress {
    position: absolute;
    display: flex;
    align-items: end;
    width: 3.9vh;
    height: 3.9vh;
    border-radius: .5vh;
    background-color:  rgb(0, 28, 46);
}

.prog {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: inherit;
    box-shadow: inset 0 0 0 .3vh rgb(8, 78, 143);
    background: linear-gradient(0deg, rgb(8, 94, 143), #00aeff);
}

.icon {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 2.3vh;
    height: 2.3vh;
    border-radius: 50%;
    background-color: rgb(3, 28, 43);
}

.icon i {
    font-size: 1.25vh;
}

.status-percent {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    bottom: -.8vh;
    width: 3.5vh;
    height: 1.5vh;
    border-radius: .5vh;
    background-color: rgb(3, 28, 43);
}
.status-percent span {
    color: white;
    font-size: 1vh;
}

.gem1 {
    position: absolute;
    top: -3.2vh;
    left: 23.4vh;
    width: 1.7vh;
    height: 1.7vh;
    rotate: 20deg;
}

.gem2 {
    position: absolute;
    top: -2.1vh;
    right: -1vh;
    width: 2.8vh;
    height: 2.8vh;
    rotate: 30deg;
}

.star {
    position: absolute;
    top: -2.3vh;
    left: -2.2vh;
    width: 3vh;
    height: 3vh;
}