body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  background-color: black;
}

.logo {
  display: flex;
  justify-content: center;
  margin: 1rem;
}
.logo img {
  width: 20rem;
}

.contenedor {
        width: 100%; /* Ancho del div */
        height: 50rem; /* Alto del div */
        position: relative; /* Para que los elementos internos se posicionen correctamente */
        overflow: hidden; /* Para ocultar el contenido que se extienda más allá del div */
    }

    .contenedor::before,
    .contenedor::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 50%;
        left: 0;
        background: linear-gradient(to bottom, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    .contenedor::after {
        top: 50%;
        background: linear-gradient(to top, rgba(0, 0, 0, 1), rgba(0, 0, 0, 0));
    }

    .imagen {
        width: 100%;
        height: 100%;
        background-image: url('/izincalum-7.jpg');
        background-size: cover;
        background-position: center;
    }

h1 {
  font-size: 3rem;
  text-align: center;
  color: antiquewhite;
  position: absolute;
  bottom: 25rem;
}

.intro {
  padding-top: 0.5rem;
}

.expli{
  width: 98%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

}
.expli img {
  width: 20rem;
  z-index: 200;
}
.imgex {
  max-width: 40rem;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative; /* Añadimos posición relativa */
  overflow: hidden; /* Ocultamos el contenido que se desborde */
}

.imgex::before,
.imgex::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 50%; /* Ajusta el ancho del área transparente según sea necesario */
  background-color: #202020; /* Color del fondo */
}

.imgex::before {
  left: 0;
}

.imgex::after {
  right: 0;
}

.imgex::before,
.imgex::after {
  z-index: 1; /* Asegura que los pseudo-elementos estén detrás del contenido */
}

.imgex::before {
  z-index: 2; /* Asegura que el pseudo-elemento antes esté detrás del contenido */
  background: linear-gradient(to right, transparent, #202020); /* Degradado desde transparente hacia el color de fondo */
}

.imgex::after {
  z-index: 2; /* Asegura que el pseudo-elemento después esté detrás del contenido */
  background: linear-gradient(to left, transparent, #202020); /* Degradado desde transparente hacia el color de fondo */
}


form {
  max-width: 300px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: #f9f9f9;
  color: antiquewhite;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

form div {
  margin-bottom: 10px;
  background-color: black;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

label {
  display: block;
  margin-bottom: 5px;
  background-color: black;
  color: antiquewhite;
  text-align: center;
}

input[type="number"],
select {
  width: 50%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  color: antiquewhite;
  background-color: black;
}
input[type="text"],
select {
  width: 50%;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 3px;
  box-sizing: border-box;
  color: antiquewhite;
  background-color: black;
}

button {
  width: 50%;
  padding: 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: background-color 0.3s;
  align-items: center;
}

button:hover {
  background-color: #324961;
}

#resultados {
  max-width: 300px;
  margin: 20px auto;
  padding: 20px;
  border: 1px solid #ccc;
  border-radius: 5px;
  background-color: black;
  color: antiquewhite;
}

.segun{
  font-size: 1.5em;
  margin-top: 10rem;
}
P{
  color: antiquewhite;
  text-align: center;
}
#inputTableContainer {
    display: flex;
    justify-content: center;
    color: antiquewhite;
    background-color: black;
}

#outputTableContainer {
    display: flex;
    justify-content: center;
    color: antiquewhite;
    background-color: black;
}

table {
  border-collapse: collapse;
  width: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2rem;
  color: antiquewhite;
  background-color: black;
}

table, th, td {
  color: antiquewhite;
  background-color: black;
}


th, td {
  padding: 8px;
  text-align: center;
  align-items: center;
  color: antiquewhite;
  background-color: black;
  border: 1px solid #ddd;
}

tr:nth-child(even) {
  background-color: #f2f2f2;
}

button {
  margin-top: 10px;
  width: 15rem;
  background-color: #3b3b3b;
}

.botones {
    display: flex;
    flex-direction: column;
}

.boton1{
margin: 1rem auto;
background-color: #3b3b3b;
}

.boton2 {
    margin: 0 auto;
    margin-top: 5rem;
    background-color: #3b3b3b;
}
h2{
    text-align: center;
    padding: 0 1rem;
    color: antiquewhite;
}

.titulo2 {
    padding-top: 1rem;
}
footer{
  text-align: center;
}
h3{
  color: antiquewhite;
}

@media (min-width: 768px) {
  form {
    max-width: 400px;
  }

  h1 {
  font-size: 4rem;
  text-align: center;
  color: antiquewhite;
  position: absolute;
  bottom: 25rem;
}
}
