body {
  margin: 0;
  font-family: Arial, sans-serif;
}

.carrusel {
  display: flex;
  overflow: hidden;
  width: 100vw;
  height: 100vh;
}

.imagen {
  flex-shrink: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

.logo {
  position: fixed;
  width: 300px;
  height: auto;
  top: 1%; /* Puedes ajustar este valor según cuánto quieres que esté fuera de la vista */
  right: 1%; /* Lo mismo aquí */
  z-index: 99999;
  filter: invert(1);
}

.black-overlay {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 15%;
  background-color: rgba(0, 0, 0, 0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
}

.png-image {
  width: auto;
  height: auto;
  max-width: 95%;
  max-height: 95%;
  pointer-events: none;
}

/* Estilos para dispositivos móviles */
@media (max-width: 768px) {
  .black-overlay {
    height: 20%; /* Cambia esto al valor deseado para dispositivos móviles */
  }
  .png-image {
    content: url('static/media/controls-mob-es.png');
  }

  .logo {
    position: fixed;
    width: 200px;
    height: auto;
    top: 1%; /* Puedes ajustar este valor según cuánto quieres que esté fuera de la vista */
    right: 1%; /* Lo mismo aquí */
    z-index: 99999;
    filter: invert(1);
  }

}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#spinner {
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgb(222, 226, 241);
  z-index: 9999;
}

.spinner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 40%;
  height: 40%;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.spinner-external {
  width: 100%;
  height: auto;
  object-fit: contain;
  position: relative;
  animation: spinner-animation-external 1s linear infinite;
}

.spinner-internal {
  width: 100%;
  height: auto;
  animation: spinner-animation-internal 1s linear infinite;
}

.spinner-logo {
  width: 100%;
  height: auto;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#carrusel {
  display: none;
}

#carrusel.loaded {
  display: flex;
}

#carrusel.loaded + #spinner {
  display: none;
}
