body {
    margin: 0;
    width: 100%;
    height: 100%;
    background-image: url(Imagenes/Cypher.jpg);
    /* align-self: center; */
}

header {
    text-align: center;
    padding-top: 20px;
    padding-bottom: 5px;
    font-weight: bold;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 35px;
    color: rgb(209, 245, 245);
    background-color: rgba(71, 28, 224, 0.86);
}

nav {
    padding: 10px;
}

.form {
    /* alinea el form al centro del doc */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-49%, -49%);
    /* props del form */
    width: 400px;
    background-color:  rgb(101, 91, 240);
    padding: 20px 35px;
    margin: auto;
    border-radius: 12px; 
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 14px;
    color:  rgb(250, 250, 250); /*Color texto form*/
}

h2 {
    text-align: center;
    margin-bottom: 30px;
}

section {
    background:  rgb(101, 91, 240);
    padding: 4px;
    border-radius: 4px; /* Borde mensaje de texto*/
    font-size: 14px;
}

#msgacifrar {
    text-transform: uppercase;
    color: rgb(21, 121, 121);  
    height: 90px;
    width: 95%;
    padding: 10px;
    font-size: 14px;
}

.msgcifrado {   /*Estilo Texto y caja texto a cifrar/descifrar */
    text-transform: uppercase;
    background-color: rgb(21, 121, 121);
    padding: 10px;
    color: #87eeee;
    width: 95%;   /* Ancho del contenedor*/
    height: 90px;  /* Alto total del contenedor*/
    font-size: 14px;
}

#rango { /* Estilo indicador de rango */
    width: 280px;
    margin: 15px 15px 15px;
    padding: 5px 0px;
}

#posiciones {     /*Estilo rango mostrada en numero */
    color: #1a4242;
    background-color: rgb(21, 121, 121);
    font-style: bold;
    font-size: 18px;
    height: 30px; 
    margin: 5px 5px 5px;
    padding: 5px 10px 5px;
}

.buttons {  /*Estilo Bottones*/
    background: rgb(178, 245, 236);
    font-weight: bold;
    font-size: larger;
    color: #0a2239c4;
    height: 45px;
    width: 150px;
    margin: 15px 18px;
    padding: 8px;
    border-style: dashed;
    border-color: rgb(95, 11, 95);
    cursor: pointer;
}

.buttons:hover { /*Estilo sobre los Bottones */
    background: rgb(108, 74, 233);
    font-size: larger;
    color: rgb(178, 245, 236);
    height: 45px;
    width: 150px;
    /* border-radius: var(--borde-redondo); */
    margin: 15px 18px;
    padding: 8px;
    border-style: solid;
}

footer{
    position: fixed;
    bottom: 0;
    width:100%;
    height:55px;
    color: rgb(209, 245, 245);
    background-color: rgba(71, 28, 224, 0.86);
    content: center;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: smaller;
}