/* ====== Variables ====== */
:root {
  --black: #8b6f60;
  --white: #fdfbf9;
  --shad1: 0 1px var(--black), 1px 0 var(--black), 0 -1px var(--black), -1px 0 var(--black);
  --outline1: drop-shadow(0px 1px var(--black)) drop-shadow(0 -0.5px var(--black)) drop-shadow(1px 0 var(--black)) drop-shadow(-0.5px 0 var(--black));
}

body {
  background: url("graphics/backgrounds/LS-bg9.gif") repeat;
  background-size: 90px;
  font-family: "MS UI Gothic", sans-serif;
  color: var(--black);
  image-rendering: pixelated;
  margin: 0;
}

/* ====== Contenedor ====== */
#container {
  border-image-source: url("graphics/borders/SP-2.png");
  border-image-slice: 10;
  border-image-width: 10px;
  border-image-repeat: round;
  border-style: solid;
  border-radius: 5px;
  background: var(--white);
  max-width: 800px;
  margin: 20px auto;
  padding: 5px;
  background-image: url(graphics/backgrounds/te115.png);
}

/* ====== Encaje ====== */
.lace-top {

    display: flex;
    min-width: -webkit-fill-available;
    border-radius: 5px;
    height: 14px;
    align-items: center;
    gap: 7px;
    justify-content: space-between;
    align-content: center;
    background: url(/graphics/dividers/FL-lace1.gif);
    background-position: center;
    background-position-y: 14px;
    filter: var(--outline1);
}

.lace-bottom {

    display: flex;
    min-width: -webkit-fill-available;
    border-radius: 5px;
    height: 14px;
    align-items: center;
    gap: 7px;
    justify-content: space-between;
    align-content: center;
    background: url(/graphics/dividers/FL-lace1.gif);
    background-position: center;
    background-position-y: 35px;
    filter: var(--outline1);
}

/* ======buttons=======*/

/* ---- Botones verticales (side-buttons) - CSS corregido ---- */
.side-button {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px;
  height: 29px;
  width: 100%;
  border: 1px solid var(--black);
  border-radius: 5px;
  background: #faebe9; 
  box-shadow: 2px 2px 2px inset #ffffff, -1px -1px 1px inset #cfb3b3; 
  text-decoration: none;
  color: var(--black);
  font-size: 10px;
  letter-spacing: 5.6px;
  text-transform: uppercase;
  box-sizing: border-box;
}

.side-button:hover {
  box-shadow: -2px -2px 2px inset #ffffff, 1px 1px 1px inset #cfb3b3;
  transform: translate(0.7px, 0.5px);
}

.side-buttons {
  display: flex;
  flex-direction: column;
  gap: 7px; 
}

/* ====== Layout ====== */
#flex {
  display: flex;
  gap: 10px;
  padding: 10px;
}

aside {
  width: 200px;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 5px;
  padding: 10px;
}

main {
  flex: 1;
  background: var(--white);
  border: 1px solid var(--black);
  border-radius: 5px;
  padding: 10px;
  
}

/* ====== Títulos ====== */
h1, h2 {
  text-shadow: var(--shad1);
  letter-spacing: 2px;
  margin: 0 0 10px 0;
}

h1 {
  font-size: 20px;
  color: #fae0e4;
}

h2 {
  font-size: 16px;
  color: #d6e6c3;
}

/* ====== Caja ====== */
.box {
  border: 1px solid var(--black);
  border-radius: 3px;
  background: #f0f5e1;
  padding: 5px;
}

/* ====== Navegación ====== */
#navbar ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

#navbar li {
  margin: 5px 0;
}

#navbar a {
  display: block;
  padding: 5px;
  background: #faebe9;
  border: 1px dashed var(--black);
  border-radius: 3px;
  text-decoration: none;
  font-size: 12px;
}

#navbar a:hover {
  background: #f7dfe0;
  letter-spacing: 1px;
}

/* Divisor dentro del contenedor */

.lacescr {
border-width:8px;
border-style:solid;
border-image: url(graphics/borders/SP-1.png) 8 fill round;
width:98%;
height:100px;
overflow-y:auto;
} 

.box {
  border: 1px solid rgb(197, 163, 163); 
  border-radius: 4px;
  background: #fff;
  padding: 8px;
  margin: 15px 0;
  box-shadow: 2px 2px 0 #e5d9d9 inset; /* efecto de recuadro hundido */
}

.box h2 {
  background: #6b1313;
  border-bottom: 1px dashed rgb(115, 132, 54);
  padding: 5px;
  font-size: 14px;
  margin: -8px -8px 10px -8px; /* que el título se vea como franja */
}

/* Recuadro exterior */
.outer-box {
  border: 1.5px solid #8f6f64;         /* borde exterior */
  border-radius: 10px;            /* esquinas redondeadas */
  background: url(graphics/backgrounds/SK-3.gif);            /* color verde claro de fondo */
  padding: 10px;
  margin: 0px;
  max-height: 500px; /* altura máxima del contenedor */
  overflow-y: auto;  /* activa scroll vertical cuando el contenido exceda */
  overflow-x: hidden; /* evita scroll horizontal */
  max-width: 100%;
}

/* Título */
.box-title {
  display: flex;
  align-items: left;
  justify-content: left;
  margin-top: 10px;
  border: 1px solid #8f6f64;
  border-radius: 8px;
  padding: 6px 12px;
  margin-bottom: 10px;

  

  background: linear-gradient(
    to bottom,
    rgb(252, 250, 250) 0%, rgb(248, 231, 230) 50%, rgb(246, 221, 220) 51%, rgb(253, 244, 243) 100%);
  

  text-transform: uppercase;
  font-weight: bold;
  letter-spacing: 2px;
  font-size: 14px;
  color: #ffffff;
  
}

/* Recuadro interior */
.inner-box {
  border: 1px solid #1c1919;
  border-radius: 6px;
  background: #fff;
  padding: 0px 6px;
  display: flex;
  align-items: center; /* centra el texto verticalmente con el icono */
  margin-top: 10px;
  max-height: 250px;   /* ajusta a lo que desees */
  overflow-y: auto;
  overflow-x: hidden;
}

.inner-box img.icon {
  margin-right: 6px; /* espacio entre icono y texto */
}

.box img.me-img {
  display: block;       /* que se comporte como bloque */
  width: 100%;          /* que la imagen ocupe todo el ancho del recuadro */
  height: auto;         /* mantiene proporción */
  border-radius: 6px;   /* opcional: esquinas redondeadas */
}

/*cliques*/

.carrusel {
  width: 100%;
  height: 25px;             /* alto fijo */
  overflow: hidden;
  border: 0px solid #ffffff;    
  position: relative;
}

.carrusel-track {
  display: flex;
  width: max-content;        /* 🔹 asegura que las imágenes se coloquen en fila */
  animation: scroll 20s linear infinite;
}

.carrusel img {
  height: 24px;              /* o el tamaño que quieras */
  width: auto;               /* mantiene proporción */
  image-rendering: pixelated; /* mantiene la nitidez retro */
}

@keyframes scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* musica */

.music-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: linear-gradient(to bottom, #fdf4d7 0%,#fde795 50%,#ffdd61 51%,#fdefbd 100%); 
  border: 1px solid #906f67;
  border-radius: 6px;
  padding: 5px 10px;
  font-family: "Courier New", monospace;
  font-size: 14px;
  color: #5a3d1e;
  width: 100%; 
  max-width: 800px;
  margin: 10px auto;
  box-sizing: border-box;
}

.music-text {
  font-style: italic;
  margin-right: 5px;
}

.music-song {
  font-weight: bold;
  flex-grow: 1;
  text-align: center;
}

.music-controls {
  display: flex;
  gap: 5px;
}

.music-controls button {
  background: linear-gradient(to bottom, #fff8dc, #e3ca6a, #fff8dc);
  border: 1px solid #d2a679;
  border-radius: 4px;
  padding: 2px 8px;
  font-size: 13px;
  font-weight: bold;
  color: #5a3d1e;
  cursor: pointer;
  box-shadow: 1px 1px 0 #d2a679;
}

.music-controls button:hover {
  background: linear-gradient(to bottom, #fff8dc, #f5dc78, #fff8dc);
}

.review-container {
  display: flex;
  gap: 20px; /* espacio entre texto y videos */
  align-items: flex-start; /* alinea arriba */
}

.review-videos {
  flex: 0; /* ocupa menos espacio */
  display: flex;
  flex-direction: column;
  gap: 0px; /* espacio entre videos */  
}

.review-videos video {
  width: 500px;   /* ocupa todo el ancho de la caja */
  height: auto;  /* mantiene proporción */
}

