@font-face {
  font-family: "DungGeunMo";
  src: url("font/DungGeunMo.ttf");
}

body {
  margin: 0px;
  width: 100vw;
  height: 100vh;
}

body img {
  z-index: 0;
  width: 100%;
  height: 100%;
}

/* ---- user ------ */

#user {
  display: flexbox;
  height: 200px;
  width: 15%;
  position: absolute;
  left: 6%;
  top: 30px;
  margin-bottom: 20px;
  padding: 10px;
  border: 3px solid gray;
  font-family: DungGeunMo;
  background-color: rgba(0, 0, 0, 0.705);
  color: rgba(255, 245, 189, 0.829);
}

#user_name {
  margin-bottom: 20px;
}

#user_name input {
  display: flexbox;
  margin-top: 10px;
  width: 120px;
}

#user_container_result {
  top: 60px;
  margin-top: 45px;
}

#user_result {
  display: flexbox;
  flex-direction: column;
}

#user_result input {
  margin-top: 10px;
  width: 18px;
  height: 20px;
}

/* ---- pc ------ */

#pc {
  display: flexbox;
  position: absolute;
  right: 5%;
  top: 30px;
  height: 200px;
  width: 15%;
  padding: 10px;
  border: 3px solid gray;
  font-family: DungGeunMo;
  background-color: rgba(0, 0, 0, 0.705);
  color: rgba(255, 245, 189, 0.829);
}

#pc div {
  display: flexbox;
  writing-mode: sideways-rl;
  text-orientation: sideways-right;
  right: 50px;
}

#pc_name {
  top: 30px;

  margin-bottom: 20px;
}

#pc_name input {
  display: flexbox;
  margin-top: 10px;
  width: 120px;
}

#pc_container {
  top: 60px;
  margin-top: 45px;
}

#pc_result {
  margin-top: 10px;
  font-size: 25px;
}

/*------- score ------*/

#score {
  z-index: 1;
  display: flexbox;
  position: absolute;
  left: 27.3%;
  top: 30px;
  height: 200px;
  width: 45%;
  padding: 10px 0px;
  padding-left: 15px;
  font-size: 18px;
  border: 3px solid gray;
  font-family: DungGeunMo;
  background-color: rgba(0, 0, 0, 0.705);
  color: rgba(255, 245, 189, 0.829);
}

#score_board {
  font-size: 20px;
  margin-bottom: 15px;
}

#score_user {
  margin-bottom: 10px;
  font-size: 25px;
  padding-bottom: 10px;
}

#score_user_result,
#score_pc_result {
  display: inline;
  position: fixed;
  padding-left: 15%;
  font-size: 30px;
}

#score_pc {
  font-size: 25px;
  margin-bottom: 15px;
}

#score_result {
  position: absolute;
  display: -webkit-flex;
  display: flexbox;
  flex-direction: row;
  z-index: 4;
  width: 80%;
  margin-left: 100px;
  height: 50px;
  top: 48px;
  opacity: 0.5;
}

#score_result div {
  margin-left: 0.7%;
  z-index: 7;
  width: 25px;
  height: 30px;
  opacity: 0.7;
  border-radius: 3px;
  font-size: 20px;
}

#score_result :first-child {
  margin-left: 40.1%;
}

#score_calculate {
  margin-top: 9px;
  font-size: 20px;
}

#score_sum {
  margin-top: 9px;
  font-size: 20px;
}

#score_count {
  padding-left: 25%;
  font-size: 20px;
}

#score_math {
  padding-left: 25%;
  font-size: 20px;
}

/* ---- button ----*/

#user_throw {
  z-index: 1;
  position: absolute;
  margin-left: 9%;
  left: 0px;
  top: 26%;
  width: 10%;
  height: 35px;
  border-radius: 15px;
  border: 3px solid gray;
  font-size: 22px;
  background-color: black;
  font-family: DungGeunMo;
  color: rgba(255, 245, 189, 0.829);
}

#user_throw:hover {
  color: black;
  background-color: rgba(255, 245, 189, 1);
  border: 3px solid silver;
}
