/* RESET-ish */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Arial", "Helvetica", sans-serif;
}

.scanlines {
    overflow: hidden;
    position: relative;
}
.scanlines:before,
.scanlines:after {
    display: block;
    pointer-events: none;
    content: "";
    position: absolute;
}
.scanlines:before {
    width: 100%;
    height: 2px;
    z-index: 2147483649;
    background: rgba(0, 0, 0, 0.3);
    opacity: 0.75;
    animation: scanline 6s linear infinite;
}
.scanlines:after {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 2147483648;
    background: linear-gradient(
        to bottom,
        transparent 50%,
        rgba(0, 0, 0, 0.3) 51%
    );
    background-size: 100% 4px;
    animation: scanlines 1s steps(60) infinite;
}

/* ANIMATE UNIQUE SCANLINE */
@keyframes scanline {
    0% {
        transform: translate3d(0, 200000%, 0);
    }
}
@keyframes scanlines {
    0% {
        background-position: 0 50%;
    }
}
div {
    margin: 0;
    padding: 0;
}
div.scanlines {
    position: absolute;
}
div .jpg {
    width: 100vw;
    height: 100vh;
    border: none;
}

body {
  background-color: #0b0b0b;
  color: #f2f2f2;
  padding: 30px;
}

/* Title */
h1 {
  color: #ff8c1a;
  letter-spacing: 3px;
  font-size: 20px;
  margin-bottom: 20px;
  font-family:"impact";
  text-transform: uppercase;
}

/* Main container */
.containerTodo {
  display: grid;
  grid-template-columns: 2fr 1fr;
  grid-template-rows: auto auto;
  gap: 15px;

  background-color: #111;
  border: 2px solid #ff8c1a;
  padding: 15px;
}


/* Image area */
.containerImagen {
  width: 100%;        /* puede ser relativo al contenedor padre */
  max-width: 600px;   /* opcional, tamaño máximo */
  height: 300px;      /* altura fija */
  overflow: hidden;   /* recorta exceso de imagen */
  border-radius: 8px; /* opcional, esquinas redondeadas */
  margin: 0 auto;     /* centra el contenedor si quieres */
}

.containerImagen img {
  width: 100%;
  height: 100%;
  object-position: center;  /* centra la imagen si se recorta */
  display: block;           /* elimina espacios extra debajo */
}



/* Text panel */
.containerTexto{
  background-color: #0e0e0e;
  border-left: 4px solid #ff8c1a;
  padding: 12px;
}

.containerTexto h2 {
  color: #ff8c1a;
  font-size: 18px;
  margin-bottom: 8px;
  text-transform: uppercase;
}

.containerTexto h3 {
  font-size: 14px;
  font-weight: normal;
  margin-bottom: 10px;
  color: #ddd;
}

.containerTexto h4{
  font-size: 12px;
  color: #aaa;
  letter-spacing: 1px;
  text-transform: uppercase;
}

li{
  list-style:none;
}

/* Controls */
.containerControles {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: space-between;

  background-color: #0e0e0e;
  border-top: 2px solid #ff8c1a;
  padding: 10px;
}

/* Buttons */
.containerControles button {
  background-color: #000;
  color: #ff8c1a;
  border: 1px solid #ff8c1a;
  padding: 6px 12px;
  font-size: 12px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.15s ease-in-out;
}

.containerControles button:hover {
  background-color: #ff8c1a;
  color: #000;
}

.containerControles button:active {
  transform: translateY(1px);
}
