body, html {
    margin: 0;
    padding: 0;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

body {
    font-family: courier;
    /* margin: 20px; */
    background-color: #FFABD9;
    /* background-image: url("IMG_0615.PNG");
    background-repeat: repeat;
    background-size: 15em; */
    color: #39393A;
}

h3 {
  color: #39393A
}

/* #encabezado {
  text-align: center;
  background-color: #FFF275;
} */

p {
  font-size: 1.25em;
}

#principal {
  text-align: center;
  background-color: #FFFFFF;
  padding: 1em;
  border: .15em solid #39393A;
  border-radius: 1.5em;
}

#fileInput {
  font-size: .9em;
  font-weight: bold;
  padding: 1em;
  display: none;
}

label {
  cursor: pointer;
}

.file label {
  display: block;
}

#fileLabel {
    display: inline-block;
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    margin-top: 5px;
}


#botones {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

#botonUno {
  padding: 1em;
  width: 14em;
  border: .15em solid #39393A;
  border-radius: 1.5em;
  background-color: #FFF275;
  color: #39393A;
  font-size: 1em;
  cursor: pointer;
}

#botonUno:hover {
  background-color: #2FC675;
  color: #FFFFFF;
}

#botonDos {
  padding-top: .5em;
}

#menu {
  margin-left: -2em;
  /* background-color: #2FC675; */
}

#menu li {
  list-style: none;
  display: inline;
}

#menu li a {
  font-size: 1.2em;
  text-decoration: none;
  color: #0A9DFF;
  font-weight: bold;
}

#instrucciones li a {
  text-decoration: none;
  color: #0A9DFF;
  font-weight: bold;
}

@keyframes arcoiris {
    0% { color: #0A9DFF; }
    25% { color: #5CBEFF; }
    50% { color: #ADDEFF; }
    75% { color: #5CBEFF; }
    100% { color: #0A9DFF; }
}

#menu li a:hover {
  animation: arcoiris 5s infinite;
}

#instrucciones li a:hover {
  animation: arcoiris 5s infinite;
}

#acercade {
  background: #FFFFFF;
  padding: 1em;
  border: .15em solid #39393A;
  border-radius: 1.5em;
  max-width: 100%;
  max-height: 100%;
  color: #36382E;
  text-align: left;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  display: none;
}

#instrucciones {
  background: #FFFFFF;
  padding: 1em;
  border: .15em solid #39393A;
  border-radius: 1.5em;
  max-width: 100%;
  max-height: 100%;
  color: #36382E;
  text-align: left;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  display: none;
}

/* #instrucciones p ol li {
  font-size: 20px;
  text-align: left;
} */

#creditos {
  background: #FFFFFF;
  padding: 1em;
  border: .15em solid #39393A;
  border-radius: 1.5em;
  max-width: 100%;
  max-height: 100%;
  color: #36382E;
  text-align: left;
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 400;
  display: none;
}

#creditos a {
  text-decoration: none;
  color: #36382E;
  font-weight: bold;
  text-align: left;
}

.iconoCerrar {
  height: 1em;
  width: 1em;
  opacity: 0.7;
  float: right;
  margin: .5em;
  position: relative;
}

@media screen and (max-width: 768px) {
  #acercade {
    padding: 0.5em;
    font-size: 0.7em; /* Reducir el tamaño de fuente en dispositivos móviles */
  }
}

@media screen and (max-width: 768px) {
  #instrucciones {
    max-width: 100%;
    max-height: 100%;
    padding: 0.5em;
    font-size: .8em; /* Reducir el tamaño de fuente en dispositivos móviles */
  }
}

@media screen and (max-width: 768px) {
  #creditos {
    padding: 0.5em;
    font-size: 0.7em; /* Reducir el tamaño de fuente en dispositivos móviles */
  }
}

input[type="file"] {
    color: #39393A;
    padding: 1em 1em;
    cursor: pointer;
}

button {
    padding: 1.3em 3.1em 1.3em 2.8em;
    background-color: #FFF275;
    color: #39393A;
    border: .15em solid #39393A;
    border-radius: 1.5em;
    font-size: 1em;
}

button:hover {
    background-color: #ED6A5E;
    color: #FFFFFF;
}
