body {
    background-color: rgb(11,151, 100);
    font-family: Verdana, Geneva, Tahoma, sans-serif;
}

html, body{
    height: 100%;
    width: 100%;
    color: white;
}

h1 {
    text-align: center;
}

#container {
    width: 510px;
    margin: 0 auto 50px auto;
    padding: 0 15px;
}

#checks {
    padding: 10px 0;
}

#buttons1 {
    display: flex;
    justify-content: space-around;
}

#buttons2 {
    display: flex;
    justify-content: space-between;
}

#att4, #att3 {
    display: flex;
    flex-direction: column;
}

#terrain {
    background-color: rgb(214, 157, 92);
    width: 500px;
    height: 500px;
    border: solid 5px white;
    position: relative
}

#three {
    position: absolute;
    top: 33%;
    width: 100%;
    height: 0;
    border: solid 2.5px white;
}

.joueur {
    position: absolute;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: -25px;
    box-sizing: border-box;
}

.joueur>div {
  display: table;
  height: 100%;
  width: 100%;
}

.joueur>div>span {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    font-size: 25px;
    color: white;
}

.joueur>div>span>span {
    font-size: 70%;
  }

.att {
    background-color: blue;
}

.passeur {
    background-color: green;
}

.central {
    background-color: red;
}


.back {
    border: 3px solid white;
}

button.selected {
    background-color: orange;
    color: white;
}

button {
    border: transparent;
    border-radius: 3px;
    padding: 5px;
    margin: 3px;
    color: black;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
       
}

#legende .joueur {
    height: 30px;
    width: 30px;
    margin-left: 15px;
    display: inline-block;
    position:static;
    vertical-align: middle;
    margin-bottom: 5px;
    background-color: blue;
}