*{
    box-sizing: border-box;
    margin: 0;
    border: 0;
    padding: 0;
}

html{
    font-family:'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
    font-size: 16px;
}

main{
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: #ffffff;

}

h1{
    text-align: center;
    margin: 20px 15px 40px;
    color:#3b25a2;
}

h1.titulo{
    text-align: center;
    margin: 20px 15px 0;
}

h2{
    text-align: center;
    margin: 40px 0 20px;
}

table{
    width: 80%;
    overflow-x:auto;
}

td{
    text-align: left;
    padding:  5px 5px 5px 15px;
    background-color: #e4daf9;
}


.contenedor{
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    padding: 50px 0;
    background-color: #ffffff;
}

.contenedor-cupones{
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin: 30px 0;
    padding: 50px 0;
    background-color: #ffffff;
}

#mensaje-subida,#mensaje-leer,#mensaje-subiendo,#mensaje-volver{    
    padding-top: 10px;
    border-top: 1px solid black;
}

input[type=submit]{
    font-weight: 700;
    height: 50px;
    font-size: 20px;
    background-color:#3b25a2;
    cursor: pointer;
    color: #ffffff;
    border-radius: 32px;
    padding: 0px 30px;
}

input.btn-volver{
    margin-top: 25px;
    font-size: 14px;
    height: 30px;
    color: black;
    background-color:rgb(255, 255, 255);
    border: 2px solid black;
}

input[type=submit]:hover{
    background-color:rgb(255, 255, 255);
    color:#3b25a2;
    border: 2px solid #3b25a2;
}

input.btn-volver:hover{
    background-color:black;
    color:#ffffff;
    border: 2px solid black;
}

input[type=submit]:disabled{
    display:none;
}

input[type=file]{
    margin: 30px 0;
    cursor: pointer;
    width: 100%;
    padding: 20px;
    background-color: #D1C2F1; 
    border-radius: 5px;
}

.formulario{
    width: 20%;
    min-width: 300px;
}

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

@keyframes loading {
    0% {
      left: -100%;
    }
  
    100% {
      left: 100%;
    }
}
  
.wrapper {
    border: 3px solid #3b25a2;
    padding: 4px;
    width: 160px;
    height: 24px;
    display: none;
}
  
.space {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
  
.loading {
    position: absolute;
    background-color: #3b25a2;
    width: 100%;
    height: 100%;
    animation: loading 5s steps(40) infinite;
}