.loader-body {
  width: 100%;
  height: 100vh;
  background-color: #000;
  position: fixed;
  z-index: 10000;
  visibility: visible;
  top: 0;
  left: 0;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 0.5s all;
  background-color: #000;
}

.loader-body::before {
  content: "";
  background: url(../images/LOGO_OFICIAL.png) no-repeat center;
  background-size: 20%; /* Tamaño por defecto (escritorio) */
  background-position: center 30%; /* Ajusta la posición vertical */
  width: 100%;
  height: 100%;
  position: absolute;
  z-index: 1;
}

.loader {
  width: 50px;
  height: 50px;
  border: 3px #fff solid;
  border-radius: 50%;
  position: absolute;
  border-top-color: #c28400;
  transform: translate(-50%, -50%);
  top: 65%;
  left: 50%;
  animation: 1s spin infinite linear;
}

.loader-body.done {
  visibility: hidden;
  opacity: 0;
}

@keyframes spin {
  from {
    transform: translate(-50%, -50%) rotate(0);
  }
  to {
    transform: translate(-50%, -50%) rotate(360deg);
  }
}

/* Ajustes para pantallas pequeñas (dispositivos móviles) */
@media (max-width: 768px) {
  .loader-body::before {
    background-size: 50%; /* Incrementa el tamaño de la imagen al 50% en móviles */
    background-position: center 40%; /* Ajusta la posición para móviles */
  }
}
