*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Default Config */
.brilho{
    position: relative;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.658);
    height: 100dvh;
}

body{
    background: url(../assets/images/Designer\ \(2\).jpeg) no-repeat center;
    background-size: cover;
    height: 100dvh;
    font-family: "Roboto", sans-serif;
    overflow: hidden;
}

/* Layou Fight Area */
.fightarea{
    display: inline-flex;
    justify-content: center;
    align-items: center;
    position: relative;
    background-color: rgba(0, 0, 0, 0.671);
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    padding: 50px;
    border-radius: 20px;
}

.fightarea .logo{
    position: absolute;
    top: -70px;
}

.fightarea .logo img{
    width: 150px;
}

/* LAYOUT CHAR HERO AND MONSTER*/
.fightarea .char .lifebar,
.fightarea .char .lifebar > .bar{
    border-radius: 10px;
}

.fightarea .char .lifebar{
    height: 20px;
    border: 1px solid rgba(255, 255, 255, 0.37);
    overflow: hidden;
}

.fightarea .char .lifebar > .bar{
    height: inherit;
    width: 10%;
    background-color: rgba(255, 0, 0, 0.877);
}

.fightarea .char .health{
    text-align: center;
    color: white;
}

.fightarea .char .name{
    margin: 15px 0px;
    text-align: center;
    color: rgba(179, 179, 179, 0.979);
}

.fightarea .char img{
    width: 300px;
    margin-bottom: 20px;
}

.fightarea #monster.char img{
    margin-left: 20px;
    margin-top: 70px;
    width: 260px;
    
}

.fightarea .attackChar{
    display: flex;
    justify-content: center;
    align-items: center;
}

.fightarea .attackButton{
    position: absolute;
    bottom: 20px;
    border: 1px dotted white;
    color: white;
    background-color: transparent;
    padding: 20px 50px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 10px;
    font-weight: bold;
}

/* LOG AREA */
.fightarea #log{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 15px;
    border-radius: 20px;
    color: rgba(179, 179, 179, 0.979);
    line-height: 30px;
    font-size: 14px;
    letter-spacing: 1px;
}

.fightarea #log .areaLog{
    width: 400px;
    height: 400px;
    backdrop-filter: blur(4px);
    border: 1px solid rgba(255, 255, 255, 0.253);
    border-radius: 10px;
    overflow-y: auto;
    padding: 5px 15px;
}



::-webkit-scrollbar {
    width: 5px; /* largura da barra de rolagem */
  }
  
  /* Estilizando o fundo da barra de rolagem */
  ::-webkit-scrollbar-track {
    background-color: #cacaca; /* cor do fundo da barra */
  }
  
  /* Estilizando o "polegar" da barra de rolagem (parte que se move) */
  ::-webkit-scrollbar-thumb {
    background-color: #646464; /* cor do polegar */
    border-radius: 10px; /* borda arredondada */
  }
  
  /* Efeito ao passar o mouse no polegar */
  ::-webkit-scrollbar-thumb:hover {
    background-color: #555; /* cor ao passar o mouse */
  }

.fightarea #log .areaLog .info{
    list-style: none;
}