body{
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-image: url(../img/background.webp);
  background-size: cover;
  background-position: center;
  overflow: hidden;
  font-family: "Roboto Flex", sans-serif;
  padding: 0;
  margin: 0;
}

#background-mask{
  width: 100%;
  height: 100vh;
  max-width: 100%;
  max-height: 100vh;
  position: absolute;
  left: 0;
  top: 0;
  background-color: RGBA(0,0,0,0.5);
  z-index: -1;
}

#arena{
  position: relative;
  background-color: RGBA(0,0,0,0.8);
  padding: 50px;
  border-radius: 10px;
  width: 50%;
  max-width: 700px;
}

#logo{
  position: absolute;
  max-width: 116px;
  height: auto;
  left: calc(50% - 58px);
  top: -50px;
}

.fightArea{
  display: flex;
  gap: 10%;
}

#playerOne, #playerTwo{
  flex: 1;
}

.lifeBar{
  height: 20px;
  border: 1px solid #333;
  border-radius: 50px;
}

.lifeBar .bar{
  height: inherit;
  background-color: firebrick;
  border-radius: inherit;
}

.name{
  color: #696969;
  display: flex;
  padding-left: 6px;
  width: 100%;
  height: 26px;
  align-items: end;
}

.type{
  color: #696969;
  display: flex;
  padding-left: 6px;
  width: 100%;
  height: 16px;
  align-items: end;
  font-size: 12px;
}

.hp{
  color: #696969;
  display: flex;
  padding-left: 6px;
  width: 100%;
  height: 26px;
  align-items: end;
}

.bar{
  width: 10%;
  transition: .5s;
}

.log{
  border: 1px dotted #CCC;
  height: 300px;
  overflow-y: auto;
  color: #CCC;
  list-style-type: none;
  padding: 10px 15px;
  border-radius: 5px;
  line-height: 25px;
}

.log::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

.log::-webkit-scrollbar-track {
  background: #696969; 
}

.log::-webkit-scrollbar-thumb {
  background: #888; 
  border-radius: 6px;
}

.log::-webkit-scrollbar-thumb:hover {
  background: #555; 
}

#btnStart{
  width: 100%;
    height: 60px;
    background: #000;
    border: 1px solid #CCC;
    border-radius: 10px;
    color: #CCC;
    font-size: 22px;
    font-family: 'Roboto Flex';
    letter-spacing: 2px;
    cursor: pointer;
}
#btnStart:disabled{
  background-color: firebrick;
  cursor: not-allowed;
}

#linkNew{
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: center;
  height: 34px;
  color: #FFF;
  text-decoration: underline;
  font-family: "Roboto Flex", sans-serif;
}

@media screen and (max-width: 1000px){

  #arena {
    width: 76%;
    max-height: 60vh;
    padding: 50px 25px;
  }

  .fightArea {
    display: block;
    padding-top: 10px;
  }
  
  #playerOne {
    margin-bottom: 12px;
  }
  
  .log {
    height: 70px;
    font-size: 12px;
  }

}