body {
  font-family: Arial, sans-serif;
  margin: 20px;
  display: flex;
  justify-content: center;
}

body {
  background-image:url(fondo.png);
  background-repeat: no-repeat;
  background-position:center center;
  background-attachment: fixed;
  background-size: cover;
}

.container {
  width: 60%;
  background-color: rgba(212, 209, 209, 0.842);/* Fondo blanco con 70% de transparencia */
  padding: 20px; /* Añade espacio interno */
  border-radius: 10px; /* Bordes redondeados */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2); /* Sombra suave */
  margin: auto; /* Centra el contenedor */
}

h1 {
  color: #0f0f0f;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
}

table, th, td {
  border: 1px solid #0f0f0f;
}

th, td {
  padding: 10px;
  text-align: center;
}

th {
  background-color: #18264b;
  color: rgb(199, 194, 194);
}

.totals {
  font-weight: bold;
  margin-top: 20px;
}

input[type="checkbox"] {
  width: 15px;  /* Ancho del checkbox */
  height: 15px; /* Altura del checkbox */
  transform: scale(1.5); /* Aumentar tamaño usando escala */
  -webkit-transform: scale(1.5); /* Para compatibilidad con navegadores antiguos */
  margin: 5px; /* Ajuste de espacio alrededor si es necesario */
}



/* Cambiar el estilo cuando el checkbox esté marcado */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #18264b; /* Cambia el fondo cuando esté marcado */
  border-color: #18264b; /* Cambia el color del borde */
}

/* Crear el símbolo de check (marca) */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

/* Estilo del símbolo de check */
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #18264b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* Ajustes para pantallas móviles */
@media (max-width: 768px) {
  body {
    margin: 10px;
    display: block;
    background-position: center top; /* Ajuste para mejorar en móviles */
    background-size: contain; /* Asegura que la imagen se ajuste sin distorsión */
      background-image:url(fondo.png);
  background-repeat: no-repeat;
  background-attachment: fixed;
  }

  .container {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  table, th, td {
    font-size: 12px;
    padding: 5px;
  }

  table {
    width: 100%;
  }

  th, td {
    word-wrap: break-word;
  }

  input[type="checkbox"] {
    width: 12px;
    height: 12px;
    transform: scale(1.2);
  }

  input[type="checkbox"] {
    width: 15px;  /* Ancho del checkbox */
    height: 15px; /* Altura del checkbox */
    transform: scale(2); /* Aumentar tamaño usando escala */
    -webkit-transform: scale(2); /* Para compatibilidad con navegadores antiguos */
    margin: 5px; /* Ajuste de espacio alrededor si es necesario */
  }

  /* Cambiar el estilo cuando el checkbox esté marcado */
.custom-checkbox input[type="checkbox"]:checked + .checkmark {
  background-color: #18264b; /* Cambia el fondo cuando esté marcado */
  border-color: #18264b; /* Cambia el color del borde */
}

/* Crear el símbolo de check (marca) */
.custom-checkbox .checkmark:after {
  content: "";
  position: absolute;
  display: none;
}

.custom-checkbox input[type="checkbox"]:checked + .checkmark:after {
  display: block;
}

/* Estilo del símbolo de check */
.custom-checkbox .checkmark:after {
  left: 7px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid #18264b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}
}
