
*{
  padding: 0;
  margin: 0; 
  font-family: 'Roboto', sans-serif;
}

body {
  font-size: 2.8Vw;
  font-weight: 350; 
  overflow: hidden;
  box-sizing: border-box;
  user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  text-transform: uppercase;
}
section{
  width: 100Vw;
  height: 100Vh;
  display: flex;
  justify-content: space-around;
}
.red{
  color: white;
  display: flex;
  width: 50%;
  background-color: #B50003;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
}
#red{
 margin-right: 12Vw;
}
.blue{
  display: flex;
  width: 50Vw;
  color: white;
  background-color: #01164F;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border: 1px solid black;
  border-left: none;
}
#blue{
  margin-left: 12Vw;
}
.center{
  position: absolute;
  height: 80Vh;
  width: 30Vw;
  top: 10Vh;
  left: 35Vw;
  background-color: black;
  color: white;
  border-radius: 8px;
}
.content{
  text-align: center;
  display: flex;
  justify-content: center;
  flex-direction: column;
}
p{
  margin: 5px 0 5px 0;
}
.element{
  margin: 5px 5Vw;
  padding: 8px 35px 3Vh 35px;
  border: 3px solid white;
  border-radius: 5px;
}
.center_content{
  display: flex;
  flex-direction: column;
  margin-top: 2vh;
}
.center_class{}
.btn_plus{
  position: relative;
  left: 4vw;
  border: solid 1px white;
  cursor: pointer;
  padding: 2px 1vw;
  border-radius: 5px;
}
.btn_minus{
  position: relative;
  right: 4vw;
  border: solid 1px white;
  cursor: pointer;
  padding: 2px 1.3vw;
  border-radius: 5px;
}
.btn_minus:hover{
  background-color: white;
  color: black;
}
.btn_plus:hover{
  background-color: white;
  color: black;
}
.btn_minus1{
  position: relative;
  right: 1vw;
  border: solid 1px white;
  cursor: pointer;
  padding: 2px 1.3vw;
  border-radius: 5px;
}
#bminus{
  position: relative;
  margin-right: 3Vw;
}
#bplus{
  position: relative;
  margin-left: 3vw;
}
.btn_plus1{
  position: relative;
  left: 1vw;
  border: solid 1px white;
  cursor: pointer;
  padding: 2px 1vw;
  border-radius: 5px;
}
.btn_minus1:hover{
  background-color: white;
  color: black;
}
.btn_plus1:hover{
  background-color: white;
  color: black;
}
.input{
  position: relative;
  top: 1Vw;
  background-color: transparent;
  border: 0;
  text-align: center;
  color: white;
  height: 6vh;
  width: 25vw;
  font-size: 3.2vw;
  font-weight: 400;
  text-transform: uppercase;
}
::-webkit-input-placeholder{
  color: white;
}
.mass{
  width: 10vw;
  height: 6vh;
  top: 0;
}
.pic{
  display: block;
  width: 100%;
}
.bl{
  top: 0;
  height: 5vh;
  width: 10vw;
}
.btn_menu{
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 2px;
  right: 47px;
  width: 40px;
  height: 40px;
  border: solid 1px white;
  border-radius: 5px;
  opacity: 0.2;
}
.btn_menu:hover{
  opacity: 0.8;
  cursor: pointer;
}
.menu{
  display: flex;
  right: -100%;
  position: absolute;
  background-color: #2B2B2B;
  z-index: 2;
  top: 0;
  opacity: 0.99;
  height: 100vh;
  width: 100vw;
  flex-direction: column;
  align-items: center;
  color: white;
  transition: all 2s;
  border-left: solid 1px black;
  border-bottom-left-radius: 10px;
}
#save{
  position:absolute;
  right: 12px;
  top: 5px;
  border: 1px solid white;
  border-radius: 5px;
  padding: 0 12px;
  transition: all 100ms;
  cursor: pointer;
}
#save:hover{
  transform:  scale(1.01);
}
.active{
  right: 0;
}
.menu input{
  width: 1.6vw;
  font-weight: 100;
}
.time-of-battle{
  white-space: nowrap;
  margin-top: 2vh;
  width: 60%;
  display: flex;
  color: white;
  font-size: 3vh;
  padding: 0 1vh;
  border: 1px solid white;
  height: 10vh;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
}
.input-time-battle{
  top: -0.03vh;
  font-size: 3.2vh;
}
#weight{
  top: 0.2vh;
  min-width: 50px;
}
#rcity, #bcity{
  min-width: 300px;
}
.close{
  display: flex;
  justify-content: center;
  align-items: center;
  height: 50px;
  width: 50px ;
  margin-top: 30px;
  color: white;
  border: 1px solid white;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.1s;
  transition-timing-function: ease-out;
}
.close:hover{
  transform: scale(1.05);
}
.desk{
  display: inline-block;
  width: 25px;
  height: 3px;
  background-color: white;
  position: relative;
  transform: rotate(45deg);
  left: 13px;
}
.desk2{
  display: inline-block;
  width: 25px;
  height: 3px;
  background-color: white;
  position: relative;
  transform: rotate(-45deg);
  right: 12px;
}
.rerun{
  position: fixed;
  right: 2px;
  top: 2px;
  height: 2vw;
  width: 40px;
  height: 40px;
  border: solid 1px white;
  border-radius: 5px;
  color: white;
  opacity: 0.2;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.rerun:hover{
  opacity: 0.8;
}
.rerun_none{
  display: none;
}
.warning{
  display: flex;
  width: 100%;
  height: 60%;
  justify-content: center;
  align-items: center;
}
.warn{
  margin-right: 10px;
  height: 3.8vw;
  width: 3.8vw;
  border: solid 1px white;
  border-radius: 10px;
  background-color: white;
  opacity: 0.2;
}
/*.warn:hover{ для нажатия на замечания
  background-color: green;
  opacity: 0.8;
  cursor: pointer;
}
*/
.lamp{
  background-color: green;
  opacity: 1;
}
.red_painful, .blue_painful ,.red_holding, .blue_holding {
  position: relative;
}
.time_red, .time_blue, .time_red_h, .time_blue_h:hover{
  cursor: pointer;
}
.rubber{
  position: absolute;
  opacity: 0.3;
  top: 0;
  right: 20px;
  width: 30px;
  height: 30px;
  cursor: pointer;
}
.main_timer:hover{
  cursor:pointer;
}
.center_class{
  position: relative;
}
#main_rub{
  position: absolute;
  top: 3%;
  right: 3%;
  opacity: 0.1;
  cursor: pointer;
}
#main_rub:hover{
  opacity: 1;
}
#time_start{
  width: 80px;
}
.rubber{
  opacity: 0.1;
  border: 1px solid white;
  border-radius: 5px;
  padding:5px;
  width: 30px;
  height: 30px;
  margin-top: 1vh;
}
.rubber:hover{
  opacity: 1;
}