@font-face {
    font-family: 'VCR OSD Mono';
    src: url('vcr-osd-mono.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

.inicio {
    margin: 0 auto;
    text-align: right;
}

.titulo p{
width:100%;
opacity: 0.34;
}

.Z16 {
    margin:0;
}

.aviso-movil {
   display:none;
   text-align: center;
}

.aviso-movil p{
  text-align: center;
  font-size: 1.5rem;
  color: #595959;
  padding: 1rem;
}

.image-container {
    position: relative;
    width: 49%;
}

.image-container p{
    width: 100%;
}

.original-image {
    display: block;
}

.hover-image {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.image-container:hover .hover-image {
    opacity: 0.65;
}

.parpadeo {
    position: relative;
    width: 49%;
    float: right;
    clear: both;
    margin-bottom: 2rem;
    margin-top:1rem;
}

.parpadeo p{
    width: 100%;
    margin:0;
}

.boton-apagado {
    display: block;
}

@keyframes blink-random {
    0% { opacity: 1; }
    10% { opacity: 0; }
    15% { opacity: 0; }
    16% { opacity: 1; }
    18% { opacity: 0; }
    30% { opacity: 0; }
    35% { opacity: 1; }
    50% { opacity: 0; }
    52% { opacity: 1; }
    70% { opacity: 0; }
    75% { opacity: 0; }
    80% { opacity: 0; }
    100% { opacity: 1; }
}

.boton-encendido {
    position: absolute;
    top: 0;
    left: 0;
    opacity: 0;
    animation: blink-random 5s infinite;
}

.slideshow {
    position: relative;
    width: 49%;
    float: right;
    clear: both;
}

.slideshow > p:first-child{
    margin-top:0;
    width: 100%;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.slide:first-child {
    position: relative;
    opacity: 1;
}

.slide:nth-child(1) { animation: show 6s infinite steps(1); }
.slide:nth-child(2) { animation: show 6s infinite 2s steps(1); }
.slide:nth-child(3) { animation: show 6s infinite 4s steps(1); }

@keyframes show {
    0%, 33.33% { opacity: 1; }   /* Visible durante 33.33% (2s) */
    33.34%, 100% { opacity: 0; } /* Oculto el resto */
}

.slideshow2 {
    position: relative;
    width: 49%;
    float: right;
    clear: both;
}

.slideshow2 > p:first-child {
    margin-top: 0;
    width: 100%;
}

.slide2 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
}

.slide2:first-child {
    position: relative;
    opacity: 1;
}

.slide2:nth-child(1) { animation: show2 12s infinite steps(1); }
.slide2:nth-child(2) { animation: show2 12s infinite 2s steps(1); }
.slide2:nth-child(3) { animation: show2 12s infinite 4s steps(1); }
.slide2:nth-child(4) { animation: show2 12s infinite 6s steps(1); }
.slide2:nth-child(5) { animation: show2 12s infinite 8s steps(1); }
.slide2:nth-child(6) { animation: show2 12s infinite 10s steps(1); }

@keyframes show2 {
    0%, 16.66% { opacity: 1; } 
    16.67%, 100% { opacity: 0; }
}

.sombra {
  filter: drop-shadow(10px 10px 3px #00000078);
  transition: transform 0.5s ease-out, filter 0.5s ease-out;
}

.sombra:hover {
  transform: scale(1.01);
  filter: drop-shadow(15px 15px 8px #00000078);
}

.tarjeta {
    margin-bottom: 2rem;
}

.intro {
  float:right;
  width: 49%;
  clear: both;
  margin-bottom: 2rem;
}

.artefactos .intro p{
  padding:3rem;
  width: 100%;
  text-align: right;
}

.artefacto p{
text-align: right;
}

.artefacto figcaption{
text-align: left;
}

.zine {
text-transform:uppercase;
display: block;
margin-bottom: 1rem;
font-size: 2.5rem;
}

.tienda {
width: 100%;
}

.ecwid p{
width: 100%;
}

.contenedor-video {
    position: relative;
    width: 49%;
    aspect-ratio: 1;
    display:none;
}

.mi-video {
    filter: grayscale(1);
    width: 100%;
}

.mi-video:hover {
    filter: grayscale(1);
}

audio {
  filter: contrast(1.2) grayscale(1);
  width: 100%;
  margin-bottom: 1rem;
}

video {
}

.boton {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 2px solid black;
    text-align: center;
    padding:1rem;
    margin-bottom: 1rem;
    font-weight: normal;
}

.boton:hover {
    background-color: lightgray;
}

.pixelado {
  display: flex;
  justify-content: right;
  align-items: right;
  text-align: right;
  margin-bottom: 1rem;
  font-weight: normal;
  font-family: 'VCR OSD Mono', monospace;
  font-size: 4rem;
}

#custom-buy-link:focus {
    outline: none;
    cursor: default;
    background-color: transparent;
    border: none;
}
        
#custom-buy-link:focus::before {
    content: "OUT OF STOCK!";
}

#custom-buy-link:focus span {
    display:none;
}

.artefactos {
  font-size: 1.5rem;
  line-height: normal;
  font-weight: lighter;
}

.artefactos p{
  text-align: left;
}

.artefactos a {
  justify-content: left;
  text-align: left;
  margin-top: -2rem;
}

.artefactos a:hover {
  background:none;
}

.artefactos figure a {
  justify-content: right;
  text-align: right;
}

.artefactos figure {
  margin-bottom: 2rem;
}

.caracteristicas ul {
list-style-position: inside;
list-style: none;
padding: 2rem;
border: 2px solid black;
margin-top: 1rem;
margin-bottom:2rem;
line-height: 2;
}

math {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 3rem;
}

h1:first-of-type {
  display:none;
}

.menu, .menu a {
  font-size: 2rem;
  font-weight: lighter;
  font-family: sans;
}

.menu {
    position: relative;
    width: 49%;
    float: right;
    padding: 2rem;
  border: 2px solid #b7b7b7;
  height: 640px;
  aspect-ratio: 1 / 1;
}

.menu a:hover{
  color: black;
  background:none;
}

.menu {
    max-width: 1350px;
    margin: 0 auto;
    padding: 1rem;
    color: black;
    line-height: 1.3;
}

.menu p{
    width: 100%;
}



img {
filter:grayscale(0);
}

img:hover {

}

.logo {
    position: relative;
    width: 49%;
    float: right;
    clear: both;
}

.proyecto {
width: 49%;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
    --fondo: #fff;
    --primario: #121212;
    --resaltado: lightgray;
}

::selection { 
    background: lightgray; /*#FFCC00*/
    color: black;
}

html {
  font-size: calc(14px + 0.390625vw);
  color: var(--primario);
}

body {
  line-height: 1.4rem;
  font-family: mono;
  background: white;
  display: grid;
  grid-template-rows: auto 1fr auto;
  height: 100vh;
  margin: 0;
}

.littlefoot p{
  width: 100%;
  text-align: left;
}

header {
    padding-top: 1rem;
    z-index:9;
    background:white;
}

main {
    position: relative;
    max-width: 1350px;
    margin: 0 auto;
    padding: 3rem;
    box-sizing: border-box;
    align-self: center;
    justify-self: center;
}

article {
position: relative;
  height: 100%;
}

#TOC {
  float: right;
  text-align: left;
  width: 40%;
  margin-bottom: 4rem;
  margin-top: 2rem;
  padding-left: 1rem;
  clear:both;
}

#TOC ul {
    list-style-type: decimal-leading-zero;
}

#TOC ul ul{
    list-style-type: none;
}

#TOC li {
  margin-bottom: 2rem;
  padding-left: 1rem;
  border-left: 2px solid black;
}

#TOC ul ul li{
  margin-bottom: 0;
}

#TOC ul li ul li {
  border-left: 0px solid black;
  padding-left: 0rem;
  margin-top: 1rem;
}

#TOC a{
  font-family: 'Cutive mono';
  font-size: 1.8rem;
  line-height: 1.4rem;
}

#TOC a:hover{
  background: var(--resaltado);
  color: black;
}

a {
  text-decoration: none;
  color: inherit;
}

a:hover {
    color: black;
}

h1 {
  font-size: 3rem;
  line-height: 3rem;
  margin-bottom: 2rem;
  margin-top: 3rem;
}

h1:not(:first-child) {

}

h2 {
  margin-top: 3rem;
  font-size: 2.5rem;
  line-height: 2.5rem;
  margin-bottom: 2rem;
}

h3 {

}

hr {

}

main p {
  margin-top: 1rem;
  margin-bottom: 1rem;
}

figure {
  float:right;
  width: 49%;
  clear: both;
  margin-bottom: 2rem;
}

figure p{
  width: 100%;
}

article figure {
  float:right;
  width: 45%;
  clear: both;
  margin-bottom: 2rem;
}

img {
  width: 100%;
}

figcaption {
  text-align: right;
  padding-right: 0.5rem;
  margin-top: 1rem;
}

p, h1, h2, h3, .artefactos ul, .caracteristicas {
    width: 49%;
    box-sizing: border-box;
}

h1, h2, h3 {
  font-family: 'VCR OSD Mono';
  text-transform: uppercase;
}

figcaption {
  font-family: sans;
}

footer {
   padding-bottom: 1rem;
   margin-top: 3rem;
   z-index:9;
   background:white;
    text-align: center;
    font-weight: bold;
}

.footnotes {
  margin-top: 3rem;
}

.footnotes p{
  margin: 0.5rem;
}

.footnotes ol{
  margin-top: 2rem;
}

/* Resoluciones para teléfono: */

@media only screen and (max-width: 799px) {
  
header {
padding:0;
}

.caracteristicas {
width:100%;
}

.artefacto p{
  text-align: left;
}

.aviso-movil {
   display:block;
}

.aviso-movil p{
  text-align: center;
}

body{display:block;}

.intro {
  margin:0;
  float: none;
  width: 100%;
  clear: none;
  text-align: left;
}


.contenedor-video {
    width: 100%;
}

.artefactos p {
text-align: left;
}

.Z16 {
padding: 1rem;
}

.image-container {
  width: 100%;
}

.parpadeo {
  width: 100%;
}

.parpadeo p{
  margin-bottom: 1rem;
}

.logo{
  margin-bottom: 0;
  padding: 0;
}

main {
    margin-left:0.5rem;
    margin-right: 0.5rem;
    padding:0;
  }

.menu {
    flex-direction: column;
    align-items: left;
}

.menu a{

}

.menu p{
  width: 100%;
}
  
#TOC, figure, p, h1, h2, .artefactos ul {
    width: 100%;
    float:inherit;
}

#TOC {
    padding-left: 2.5rem;
}

#stl_cont {
    width: 100%;
    float:inherit;
    aspect-ratio:1/1;
    margin-bottom:0;
    pointer-events:none;
}

.garabato { /* Anulo el centrado del garabato */
    position: static;
    top: auto;
    right: auto;
    transform: none;  
}

audio {
  width: 100%;
  float: none;
}

h1:first-of-type {
  display:inherit;
}

.slideshow {
    width: 100%;
}

.slideshow2 {
    width: 100%;
}

.artefactos p{
  text-align: left;
  padding-left: 3rem;
  padding-right: 3rem;
}

.artefactos a {
  justify-content: center;
text-align: right;
}

.artefactos figure a {
  justify-content: center;
}

.artefactos figcaption {
  text-align: right;
  padding-left: 3rem;
  padding-right: 3rem;
}

.artefactos .intro p {
  text-align: left;
display:none;
}

  
}


