body {
  padding: 30px;
  display: flex;
  align-items: center;
  flex-direction: column;
  background-color: rgb(149, 221, 249);
  gap: 15px;
}

header {
  background-color: rgb(218, 243, 254);
  padding: 20px 80px;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

main {
  max-width: 1000px;
}

table {
  background-color: transparent;
  border-collapse: separate;
  border-spacing: 0 8px;
  width: 100%;
}

thead tr th{
  border-bottom: 1px solid white;
}

th {
  padding: 15px 15px;
  font-size: 15px;
}

tbody tr {
  background-color: rgb(149, 210, 234);
  border-radius: 10px;
}

tbody tr td {
  border: 1px solid white;
  padding: 10px 16px;
}

tbody tr td:first-child {
  border-radius: 10px 0 0 10px;
  border-right: none;
}

tbody tr td:last-child {
  border-radius: 0 10px 10px 0;
  border-left: none;
}

tbody tr td:not(:first-child):not(:last-child) {
  border-left: none;
  border-right: none;
}

td {
  padding: 15px 15px;
  font-size: 15px;
  color: black;
}

td img {
  width: 56px;
  height: 56px;
}

.details {
  display: none;
  background-color: white;
  border-radius: 10px;
  position: fixed;
  top: 20%;
  left: 40%;
  z-index: 3;
  width: 450px;
  height: 400px;
  border: 1px solid white;
}

.affichageHeader {
  background-color: rgb(149, 210, 234);
  border: 1px 1px 0 1px solid white;
  display: flex;
  flex-direction: column;
  position: relative;
  height: 150px;
  align-items: center;
  width: 100%;
  gap: 5px;
  border-radius: 10px 10px 0 0;
}

.affichageHeader img {
  width: 100px;
  height: 100px;
  position: absolute;
  left: 15px;
  top: 20px;

}

.affichageHeader a:nth-of-type(1){
  font-weight: bold;
  color: white;
  font-size: 18px;
  padding-top: 35px;
}

.affichageHeader a:nth-of-type(2){
  font-weight: bold;
  color: white;
  font-size: 25px;
}

.affichageHeader a:nth-of-type(3){
  color: white;
  font-size: 20px;
  background-color: rgb(90, 128, 143);
  padding: 5px;
  margin: 5px;
  border-radius: 15px;
}

.affichageStats {
  background-color: rgb(3, 124, 171);
  width: 100%;
  display: flex;
  flex-direction: row;
  gap: 10px;
  justify-content: center;
  padding: 10px 0px;
}

.affichageStats a {
  padding: 15px;
  background-color:rgb(1, 57, 80);
  border-radius: 15px;
  color: white;
}

.affichageAtk {
  background-color: rgb(3, 124, 171);
  width: 100%;
  border-radius: 0px 0px 10px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  border: 1px solid white;
}

.affichageAtk section {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 10px;
  color: white;
}

.affichageAtk a {
  border-radius: 10px;
  border: 1px solid white;
  padding: 5px;
  margin: 5px;
  font-weight: bold;
}

.visible {
  display: flex;
  flex-direction: column;
  align-items: center;

}

.det {
  cursor: pointer
}

header div {
  display: flex;
  flex-direction: row;
  gap: 30px ;
}


.btn-head {
  border: 0;
  line-height: 2;
  padding: 5px 20px;
  font-size: 15px;
  text-align: center;
  color: white;
  text-shadow: 1px 1px 1px black;
  border-radius: 10px;
  background-color: rgb(3, 124, 171);
  background-image: linear-gradient(
    to top left,
    rgb(0 0 0 / 0.2),
    rgb(0 0 0 / 0.2) 30%,
    transparent
  );
  box-shadow:
    inset 2px 2px 3px rgb(255 255 255 / 0.6),
    inset -2px -2px 3px rgb(0 0 0 / 0.6);
}

.btn-head:hover {
  background-color: rgb(113, 215, 255);
}

.btn-head:active {
  box-shadow:
    inset -2px -2px 3px rgb(255 255 255 / 0.6),
    inset 2px 2px 3px rgb(0 0 0 / 0.6);
}

.pages {
  background-color: rgb(3, 124, 171);
  color: white;
  border-radius: 20px;
  padding: 0 50px;
  align-items: center;
  font-size: 20px;
  word-spacing: 10px;
}

.filtre {
  padding: 15px;
  display: flex;
  flex-direction: row;
  gap: 25px;
}

.filtre > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
  flex: 1;
  min-width: 160px;
}

.filtre label {
  font-size: 15px;
}

.filtre input[type="text"],
.filtre select {
  height: 36px;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;

}

.filtre select {
  padding-right: 28px;
  cursor: pointer;
}

.filtre input[type="text"]:hover,
.filtre select:hover {
  border: 2px solid rgb(113, 215, 255);
}

.filtre input[type="text"],
.filtre select {
  border: 2px solid rgb(3, 124, 171);
  border-radius: 10px;
  box-shadow:
    inset -2px -2px 3px rgb(0 0 0 / 0.6);
}

.filtre input[type="text"]::placeholder {
  color: black;
  font-size: 13px;
}



.photo {
  display: none;
  background-color: white;
  border: 2px solid black;
  position: fixed;
  top: 20%;
  left: 40%;
  z-index: 2;
  width: auto;
  height: auto;
  padding: 10px;
  border-radius: 20px;
}

.photovisible {
  display: block;
}