* {
  box-sizing: border-box;
}

input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

body {
  font-family: "NanumGothic", sans-serif;
  background: #f6f7fb;
  color: #1f1f1f;
  display: flex;
  justify-content: center;
}

span,
p {
  font-size: 1.125rem;
}

button {
  width: 8rem;
  height: 2rem;
  color: #1f1f1f;
  font-size: 1.025rem;
  border: none;
  box-shadow: 0px 6px 0px rgba(0, 0, 0, 0.1);
  border-radius: 0.5rem;
  cursor: pointer;
  transform: 0.3s;
}

button:hover {
  transform: scale(0.97);
}

input {
  border-radius: 3px;
  font-size: 1.125rem;
  text-align: center;
}

.bold {
  font-weight: bold;
}

#left__top,
#left__middle,
#left__bottom,
#right {
  width: 540px;
  background: #fff;
  box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  margin: 30px;
}

#left__top .description {
  background: #f5f5f5;
  padding: 10px;
  line-height: 24px;
  font-weight: bold;
  text-align: center;
  border-radius: 5px;
}

#left__top .top_part {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 24px;
  margin: 15px;
}

#left__top .top_part p {
  text-align: left;
  width: 300px;
}

#left__top .top_wrapper {
  display: flex;
  align-items: center;
}

#left__top .union_total {
  margin: 0px 10px;
  width: 135px;
}

#left__top button {
  width: 4rem;
  height: 1.5rem;
}

#left__top .union_power {
  margin: 0px 10px;
  width: 200px;
}

#left__middle .middle_part {
  text-align: center;
  margin: 10px;
}

#left__middle .middle_wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

#left__middle .middle_wrapper .middle_part {
  width: 150px;
  justify-content: space-around;
}

#left__middle .middle_wrapper p {
  height: 24px;
}

#left__middle .middle_wrapper input {
  width: 80px;
  height: 24px;
}

#left__bottom .bottom_part {
  display: flex;
  margin-top: 20px;
}

#left__bottom .bottom_part:first-child {
  display: flex;
  margin-top: 0;
  justify-content: center;
}

#left__bottom .bottom_part {
  justify-content: space-between;
}

#right .right_part {
  display: flex;
  justify-content: center;
  align-items: center;
}

#right {
  display: flex;
}

#right p {
  text-align: center;
}

#right .right_part {
  height: 30px;
  margin-top: 10px;
}

#right .right_part:first-child {
  margin-top: 0px;
}

#right .right_part .character_part {
  width: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#right .right_part input {
  width: 100px;
  text-align: center;
}

@media screen and (max-width: 1260px) {
  body {
    display: block;
  }

  #left__top,
  #left__middle,
  #left__bottom,
  #right {
    margin: 20px auto;
  }
}
