/* HTML: <div class="loader"></div> */
.loader {
  width: 15px;
  aspect-ratio: 1;
  border-radius: 50%;
  animation: l5 1s infinite linear alternate;
  margin: 0 auto;
}
@keyframes l5 {
  0% {
    box-shadow: 20px 0 #fff, -20px 0 #fff2;
    background: #fff;
  }
  33% {
    box-shadow: 20px 0 #fff, -20px 0 #fff2;
    background: #fff2;
  }
  66% {
    box-shadow: 20px 0 #fff2, -20px 0 #fff;
    background: #fff2;
  }
  100% {
    box-shadow: 20px 0 #fff2, -20px 0 #fff;
    background: #fff;
  }
}
.driver {
  display: flex;
  flex-flow: row nowrap;
  gap: 24px;
  margin: 12px 0;
}
.driver:hover {
  cursor: pointer;
  background-color: #111514;
  transition: background-color 0.3s ease-in-out;
}
.driver:hover .actions {
  visibility: visible;
}
.driver .driver-images {
  width: 320px;
}
.driver .information {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.driver .information .name {
  font-size: 32px;
}
.driver button {
  background-color: transparent;
  outline: none;
  border: none;
}
.driver .actions {
  align-self: center;
  visibility: hidden;
}

.driver .actions .button-edit::before {
  font-size: 24px;
  color: #b0b0b0;
}
.button-add {
  background-color: #2d8d6d;
  color: #ffffff;
  border-radius: 20px;
  border: none;
  padding: 12px 24px;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out;
  position: fixed;
  z-index: 1000;
  bottom: 24px;
  right: 24px;
}
.button-add:hover {
  background-color: #21664f;
}
.driver-editcreate label {
  display: block;
}
.fotos-driver {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  grid-column-gap: 12px;
  grid-row-gap: 12px;
}
.fotos-driver div img {
  width: 100%;
}
.driver-images button {
  background-color: transparent;
  outline: none;
  border: none;
}
