/* CSS Document */
h1{
    font-family: Baskerville, "Palatino Linotype", Palatino, "Century Schoolbook L", "Times New Roman", "serif";
}
.cuadro{
    border-radius: 5px;
    background-color: #9d161b;
    display: grid;
}
.letra-tipo-1
{
    font-size: 20px;
}
table, th, td {
    border: 1px solid black;
    border-collapse: collapse; 
    font-size: 13px !important;
	margin: auto;
	text-align: center!important;
}
th{
	background-color: #9d161b;
	color: white;
	font-size: 18px!important;
}
th, td {
    padding: 8px; 
    text-align: left;
}
/*Galeria */
* {
      box-sizing: border-box;
    }
	.galeria {
      width: 100%;
      max-width: 600px;
      margin: auto;
      padding: 20px;
      background-color: white;
      border-radius: 12px;
      box-shadow: 0 5px 20px rgba(0, 0, 0, 0.15);
    }

    /* Imagen principal */
    .visor-principal {
      position: relative;
      width: 100%;
      height: 500px;
      overflow: hidden;
      border-radius: 10px;
      background-color: #111;
    }

    .visor-principal img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    /* Flechas */
    .flecha {
      position: absolute;
      top: 50%;
      z-index: 10;
      width: 45px;
      height: 45px;
      border: none;
      border-radius: 50%;
      color: white;
      background-color: rgba(0, 0, 0, 0.55);
      font-size: 28px;
      cursor: pointer;
      transform: translateY(-50%);
    }

    .flecha:hover {
      background-color: rgba(0, 0, 0, 0.85);
    }

    .anterior {
      left: 15px;
    }

    .siguiente {
      right: 15px;
    }

    /* Miniaturas */
    .contenedor-miniaturas {
      position: relative;
      margin-top: 18px;
      padding: 0 50px;
    }

    .miniaturas {
      display: flex;
      gap: 12px;
      overflow-x: auto;
      scroll-behavior: smooth;
      scrollbar-width: none;
    }

    .miniaturas::-webkit-scrollbar {
      display: none;
    }

    .miniatura {
      flex: 0 0 125px;
      height: 85px;
      padding: 0;
      overflow: hidden;
      border: 3px solid transparent;
      border-radius: 8px;
      background: none;
      cursor: pointer;
      opacity: 0.65;
    }

    .miniatura:hover,
    .miniatura.activa {
      opacity: 1;
    }

    .miniatura.activa {
      border-color: #1677ff;
    }

    .miniatura img {
      width: 100%;
      height: 100%;
      object-fit: cover;
    }

    .flecha-miniatura {
      width: 38px;
      height: 38px;
      font-size: 23px;
    }

    .flecha-miniatura.anterior {
      left: 5px;
    }

    .flecha-miniatura.siguiente {
      right: 5px;
    }
.btn-app{
	border-radius: 10px;
	background: black;
	color: white;
	padding: 15px;
	margin-bottom: 10px!important;
	margin-top: 20px;
}
.btn-app:hover{
	color: #527fed;
}

    @media (max-width: 600px) {
      body {
        padding: 10px;
      }

      .galeria {
        padding: 12px;
      }

      .visor-principal {
        height: 320px;
      }

      .miniatura {
        flex-basis: 95px;
        height: 65px;
      }
    }
