@import url("https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap");

/* Seccion Principal */
body {
  background: #f3f0e9;
  display: block;
  font: 400 12px/18px "Press Start 2P", cursive, "Source Code Pro", Inconsolata,
    "Lucida Console", Terminal, "Courier New", Courier;
  padding: 24px 15px;
  border: 10px solid #f3f0e9;
  box-sizing: border-box;
}
header,
section,
aside,
footer {
  margin: 10px 1.5% 24px 1.5%;
  background-color: #2a4f6e;
}

.bg-insidetabs {
  background-color: #f5f5f5 !important;
}

section {
  float: left;
  width: 30%;
}

footer {
  clear: both;
  margin-bottom: 0;
}

.align-right {
  text-align: right;
}

.no-border-left {
  border-left: none;
}

.no-border-right {
  border-right: none;
}

.custom {
  background-color: #f3f0e9;
  padding: 10px;
  border: 20px solid #2a4f6e;
  box-sizing: border-box;
}

/* Bordes tabla */
.border-estilo {
  border: 0px solid #2a4f6e;
}

/* Imagenes chiquitas */
#floatleft {
  float: left;
  margin-right: 10px;
  margin-bottom: 10px;
}

#floatright {
  float: right;
  margin-right: 10px;
  margin-bottom: 10px;
}

/* Esconder */
.hidden {
  display: none;
}

/* Inputs filtros */
.filtros {
  height: 30px;
}

/* Pie chart */
#myChart {
  width: 50%;
}

/* Input text */
.cs-text {
  font-size: 12px;
}

/* Paginas */
/* Pagina de inicio monitor viejo */
#screen {
  position: relative;
  background-color: #f3f0e9;
  height: 330px;
  overflow: hidden;
  border: 5px solid #333;
}

#scanlines,
#monitor,
#ruido,
#tablon,
#static {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: 1;
  pointer-events: none;
}

#scanlines {
  opacity: 0.4;
}

#ruido {
  background-size: cover;
  opacity: 0.2;
  animation: static-animation 0.15s steps(5) infinite;
}

@keyframes static-animation {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(-15px, -15px);
  }
}

@keyframes screen-shake {
  0%,
  100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(1px, -1px);
  }
  50% {
    transform: translate(-1px, 1px);
  }
  75% {
    transform: translate(1px, 1px);
  }
}

#wakeup {
  position: relative;
  padding-left: 50px;
  padding-top: 40px;
  color: blue;
  text-shadow: 1px 1px 2px rgba(0, 47, 255, 0.8), 0 0 10px rgba(0, 47, 255, 0.6),
    0 0 15px rgba(18, 1, 248, 0.4);
  /* animation: screen-shake 0.1s infinite; */
  z-index: 2;
}

.cursor {
  display: inline-block;
  width: 10px;
  height: 1.2em;
  background-color: blue;
  margin-left: 2px;
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  0%,
  50% {
    opacity: 1;
  }
  50%,
  100% {
    opacity: 0;
  }
}

/* Heat map Enero */
.heatmap {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 5px;
}

.day {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  border-radius: 4px;
  cursor: pointer;
}

/* Heat map anual */
.month-name {
  text-align: left;
  padding-right: 10px !important;
  width: 100px;
}

.week {
  width: 30px;
  height: 30px;
  padding: 0 !important;
  cursor: pointer;
}

/* Errores */
.error-text {
  word-wrap: break-word;
  word-break: break-all;
  white-space: normal;
}

.week.future {
  background-color: #f0f0f0;
  cursor: default;
}

/** Carrusel **/
.object-fit-cover {
  object-fit: cover;
  object-position: center;
}

.carousel-small {
  max-width: 450px;
  margin: 0 auto;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

/* Perfil */
.bg-alterno {
  background-color: #eaeaea;
}

/* Archivo */
.archivo-card {
  background-color: #ffffff; /* Color claro de fondo */
  border: 1px solid #000; /* Borde gris claro */
  border-radius: 0; /* Quita el borde redondeado */
  height: 260px; /* Altura fija para todas las tarjetas */
}

.archivo-card img {
  max-height: 180px; /* Establecer una altura máxima */
  width: auto; /* Mantener la proporción de aspecto */
  object-fit: cover; /* Asegurar que la imagen se ajuste correctamente */
}

/* .archivo-info {
  font-size: 10px;
} */

/* Usuarios */
.user-card {
  background-color: #ffffff; /* Color claro de fondo */
  border: 1px solid #000; /* Borde gris claro */
  border-radius: 0; /* Quita el borde redondeado */
}

.blur-text-s {
  filter: blur(1px);
  opacity: 0.6;
}

.blur-text-m {
  filter: blur(2px);
  opacity: 0.4;
}

.blur-text {
  filter: blur(4px);
  opacity: 0.2;
}
/* .user-info .username {
  font-weight: bold;
  color: #000;
} */

/* 
.user-info .details p {
  margin: 0;
  color: #555;
} */

/* Pantallas chiquitas */
/* Media query para fuentes del pagination */
@media (max-width: 767px) {
  .custom {
    background-color: #f3f0e9;
    padding: 8px;
    border: 18px solid #2a4f6e;
    box-sizing: border-box;
  }
  body {
    padding: 22px 12px;
    border: 8px solid #f3f0e9;
    box-sizing: border-box;
  }
  .custom-h7 {
    font-size: 8px;
  }
  h6 {
    font-size: 12px;
    text-decoration: none;
  }
  .pagination .page-link {
    font-size: 12px;
  }
  #screen {
    height: 250px;
  }
  #wakeup {
    padding-left: 20px;
  }
}

/* Inputs filtros */
@media (max-width: 767px) {
  .filtros {
    width: 100%;
    box-sizing: border-box;
    padding: 5px;
  }
  .paginacion-custom .page-link {
    font-size: 10px;
    padding: 3px 5px;
  }
}

/* Image */
@media (max-width: 768px) {
  #game-image {
    width: 50%;
  }
}
