html {
    background-color: #e8eaed;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    text-align: center;
    display: flex;
    justify-content: space-around;
    height: 100vh;
    user-select: none;
    margin: 2px 0px 0px 0px; 
    background-color: #e8eaed;
}

.app {
    margin: auto;
    width: 475px;
    border-radius: 10px;
    background-color: white;
    box-shadow: 0px 3px 5px 1px #DDD;
}

.title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
    font-size: 22px;
    font-weight: bold;
    border-bottom: 1px solid #DDD;
}
span {padding-right: 8px;}
#cc {color:#00B8F0}
#cb {color: #E1288E}
#wr {color: #939498}
#x2 {color: #000000}

.cube_noborder {border: none;}
.cube1_border {border: 1px solid #00B8F0;}
.cube2_border {border: 1px solid #E1288E;}
.cube1_bg {background-color: #d4e9f0;}
.cube2_bg {background-color: #ecd8e3;}

    

button {
    margin: 10px;
    cursor: pointer;
    border-radius: 10px;
    transition: filter 0.3s;
    box-shadow: 0px 1px 4px 0px #AAA;
    border: none
}
button:active {
    filter: brightness(0.7);
}

.controls {
    display: flex;
    border-bottom: 1px solid #DDD;
    padding: 5px 5px 5px 0px;
}
.control-btns {
    display: flex;
    width: 50%; 
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    border-radius: 20px;
    border: 1px solid lightgrey;
    flex-direction: column;
}
.control-btns button {
    font-family: "Inter", Calibri;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    padding: 5px;
    color: #555;
    width: 70px;
    height: 40px;
    margin: 5px;
}

.actions {
    display: flex;
    margin: 5px;
    border-radius: 15px;
    border: 1px solid lightgrey;
    padding: 3px;
}
.actions button {
    font-size: 11px;
    width: 102px;
    padding: 10px 10px 10px 30px;
    text-align: center;
    margin: 5px;
    background-position: left 10% bottom 55%;
    background-repeat: no-repeat;
    background-size: 25px;
}

.clientConnectButton {
    background-image:url(./images/circuit_cubes_bluetooth_28.png);
}
#remoteConnectButton {
    background-image:url(./images/lego_remote_28.png);
}
#settingsButton {
    background-image:url(./images/gear_28.png);
}

#settings {
    display: none;
    padding: 0px 10px 10px 10px;
    text-align: left;
    font-size: 11px;
}
.group {
    display: none;
    padding: 5px;
    text-align: center;
    font-size: 11px;
}
.set {
    border-radius: 10px;
    border: 1px solid lightgrey;
    padding: 5px;
    margin: 0px;
}
input {
    font-size: inherit;
}
input:disabled {
    color: black;
}
.value_speed, #interval {
    width: 20px;
    border: none;
    text-align: right;
}
#terminal {
    display: none;
}


.about {
    padding: 5px;
    font-size: 10px;
    border-top: 1px solid #DDD;
}

a {
    color: inherit;
}
a:link  {
    text-decoration: none;
}
a:hover  {
    text-decoration: underline;
}
a:visited {
    color: inherit;
}


/* setting buttons */

#speed-btn {
    width: 18px;
    height: 18px;
    background-color: #ddd;
    padding: 3px 5px;
    font-family: sans-serif, Arial;
    font-size: 10px;
    border: 1px solid lightgrey;
    border-radius: 4px;
    margin: 1px
}

#speed-btn:hover {
  background-color: #7bb3d8;
  border-color: #3498db;
}


.radio-toolbar {
  margin: 0px;
}

.radio-toolbar input[type="radio"] {
  opacity: 0;
  position: fixed;
  width: 0;
}

.radio-toolbar label {
    display: inline-block;
    background-color: #ddd;
    padding: 3px 5px;
    font-family: sans-serif, Arial;
    font-size: 10px;
    border: 1px solid lightgrey;
    border-radius: 4px;
    margin: 1px;
    box-shadow: 0px 1px 4px 0px #AAA;
}

.radio-toolbar label:hover {
  background-color: #ddd;
}

.radio-toolbar input[type="radio"]:checked + label {
    background-color: #7bb3d8;
    border-color: #3498db;
}

input[type="checkbox"] {
  vertical-align: middle;
}

.btn-checkbox {
  display: block;
}

.btn-checkbox input {
  display: none;
}

.btn-checkbox span {
  display: inline-block;
  padding: 1px;
  width: 70px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  background: #f5f5f5;
  user-select: none;
  margin: 2px;
}

.btn-checkbox input:checked + span {
  background: #7bb3d8;
  color: white;
  border-color: #007bff;
}
