* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: "Segoe UI", sans-serif;
}

.ocultar {
  display: none;
}
html {
  background-image: url(../img/FondoPantalla/fondo3.jpg);
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}

body {
  background: linear-gradient(135deg, #000000, #2453ee);
  min-height: 100vh;
  margin: 0;
  background: #00000050;
}

header h1 {
  text-align: center;
  padding: 5px 0px;
  margin-top: 0px;
  color: rgb(255, 255, 255);
  text-transform: uppercase;
  width: 100%;
}

header {
  width: 100%;
  background: linear-gradient(135deg, #ff0000, #ffc402);
  box-shadow: 0 0 10px 5px rgba(255, 255, 255, 0.3);
}

nav {
  width: 100%;
}

.ulDerecha a,
.ulIzquierda a {
  text-decoration: none;
  color: rgb(0, 0, 0);
}

.ulDerecha {
  position: absolute;
  top: 0;
  right: 0;
  list-style: none;
  padding: 5px;
  display: flex;
  gap: 20px;
}

.ulDerecha p {
  color: rgb(0, 0, 0);
}

.ulIzquierda {
  position: absolute;
  top: 0;
  left: 0;
  list-style: none;
  padding: 5px;
}

.ulIzquierda i {
  font-size: 35px;
  color: rgb(0, 0, 0);
}
.ulIzquierda i:hover,
.ulDerecha a:hover {
  color: #3b97ff;
}

.filtros {
  display: flex;
  flex-direction: row;
  gap: 10px;
  padding: 10px;
}

.filtros select,
.filtros input,
.filtros button,
.filtros p {
  padding: 8px;
  font-size: 18px;
  border-radius: 5px;
  max-width: 300px;
  margin: 5px auto;
  flex: 1;
}

.filtros select:hover,
.filtros input:hover,
header p:hover {
  box-shadow: 0 0 3px 1px blue;
}

.filtros p {
  color: rgb(255, 255, 255);
  text-align: center;
  font-size: x-large;
}

.loader {
  position: fixed;
  top: 50%;
  left: 45%;
  border: 8px solid #f3f3f3;
  border-radius: 50%;
  border-top: 8px solid #3498db;
  width: 40px;
  height: 40px;
  animation: spin 2s linear infinite;
}

#cambiarContrasena {
  cursor: pointer;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

#loader {
  position: fixed;
  top: 0;

  background-color: rgba(255, 255, 255, 0);
  width: 100%;
  height: 100%;
}

.transicionCarga {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 1.5s ease-out, transform 1.5s ease-out;
}

.transicionCarga.visible {
  opacity: 1.5;
  transform: translateY(0);
}

.formExcel {
  display: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.63);
}

.formExcel form {
  width: 350px;
  margin: 10% auto;
  padding: 12px 16px;
  background: linear-gradient(135deg, #fff6cc, #ffc402);
  border-radius: 15px;
}

.formExcel form input,
.formExcel form button,
.formExcel form h3 {
  width: 100%;
  padding: 12px 16px;
  box-sizing: border-box;
  margin-bottom: 30px;
  border-radius: 15px;
}

.formExcel form button {
  background: linear-gradient(135deg, #fff6cc, #ffc402);
  color: #333;
  padding: 10px 20px;
  border: none;
  border-radius: 8px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

.formExcel form button:hover {
  background: linear-gradient(135deg, #47b300, #2c6e00);
  transform: scale(1.05);
  color: white;
}

.formExcel form p {
  float: right;
  cursor: pointer;
}

@media screen and (max-width: 900px) {
  .ocultarMovil {
    display: none;
  }
  header h1 {
    margin-top: 40px;
    font-size: 25px;
  }
  .liDescarga {
    display: none;
  }
  .filtros {
    flex-wrap: wrap;
  }
  .filtros select,
  .filtros input,
  .filtros button,
  .filtros p {
    padding: 8px;
    font-size: 12px;
    border-radius: 5px;
  }

  .ulDerecha a,
  .ulIzquierda a {
    color: rgb(255, 255, 255);
  }

  .ulDerecha p {
    color: rgb(255, 255, 255);
  }

  .ulIzquierda i {
    color: rgb(255, 255, 255);
  }

  /*////////////////Tel Horizontal//////////////////////////*/
  @media screen and (orientation: landscape) {
  }
  /*////////////////Tel Vertical//////////////////////////*/
  @media screen and (orientation: portrait) {
  }
}
