.bg1 {
  background-image: url(../img/fondo01.png) !important;
  min-height: 100vh;
  background: no-repeat;
  background-size: cover;
  background-attachment: fixed; /* Fija la imagen de fondo para que cubra toda la página al hacer scroll */
}

.textWhite {
  color: white !important;
}

.cuadroSombreado { /* centrado */
  background-color: rgba(0, 0, 0, 0.75);
  border-radius: 6px;
  position: relative; /* Cambiado a fixed */
  /*top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);*/
  padding: 20px !important;
  margin: 20px !important;
  /*margin-top: 20px !important;
  margin-bottom: 20px !important;*/
  box-sizing: border-box;
  max-width: 90%;
  width: auto;
  height: auto;
  color: #fff;
  overflow: visible;
  margin-bottom: 56px !important;
}

@media (max-width: 768px) {
  .cuadroSombreado {
    width: 80%;
  }

  .form-links .btn {
    display: block;
    width: 100%;
    text-align: center;
  }

  .text-md-start{text-align:left!important}

  .text-md-end{text-align:right!important}
}

@media (max-width: 480px) {
  .cuadroSombreado {
    width: 90%;
  }

  .text-md-start{text-align:center!important}

  .text-md-end{text-align:center!important}
}

.cuadroSombreado, .cuadroinput  { color: #fff; }

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: auto;
}

body {
  display: flex;
  justify-content: center;
  /*align-items: center;*/
  align-items: flex-start;
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  min-height: 100vh;
}

.sectiontitle2 {
  font-size: 21px;
  padding: 6px 6px 6px 6px;
  display: flex;
  align-items: center;
  color: #ffffff;
  font-weight: 500;
  margin-left: 9px;
}

.disabled{
  opacity: .65 !important;
}

.carnet-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: calc(100vh - 56px); /* Ajusta según la altura del header */
  overflow: hidden;
}

.carnet {
  width: 100%;
  max-width: 600px;
  height: auto;
  transition: transform 0.5s ease;
}

.button-container {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}