.root {
    background-color: rgb(240, 240, 252);
    margin: 0 auto;
    text-align: center;
    border: 4px solid blue;
    border-radius: 30PX;
    height: 100vh;
    padding: 10px;
    overflow-y: scroll;
}

.titr {
    border: 1px #ff1a8c;
    border-radius: 30px;
    background-color: #ff1a8c;
    text-align: center;
    padding: 8px;
    font-family: TITR;

}



.newname {
    text-align: center;
    direction: rtl;
    background-color: aquamarine;
}

.persondiv {

    text-align: center;
    margin: 2px;
}

#div-city {
    direction: rtl;
    border: 2px;
    background-color: #808080;
    border-radius: 8px;
    margin: 4px auto;
    font-size: 16px;
    padding: 12px;
}

#div-mafia {
    direction: rtl;
    border: 2px;
    background-color: #808080;
    border-radius: 8px;
    margin: 4px auto;
    font-size: 16px;
    padding: 12px;

}

#roles {
    margin:auto;
    text-align: center;
}




@font-face {
    font-family: TITR;
    src: url(../FONT/TITR.ttf);
}



input[type=checkbox] {
    transform: scale(1.8);
    margin: 6PX;

}
.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}