/* CSS Document */
body {
    width: 100vw;
    height: 100vh;
    max-width: 100%;
    font-family: 'Hind', sans-serif;
}
/* Layout */
#ss-inner-wrap {
    width: 100%;
    height: 100%;
    position: absolute;
    padding-top: 150px;
}
header {
    width: 100%;
    height: 100px;
    clear: both;
}
/* Typography */
h2 {
    margin-top: 10px;
    font-size: 200%;
    margin: 0;
}
.instructions p {
    font-size: 130%;
    line-height: 125%;
    margin: 0 10px 0 10px;
}
#actionArea p {
    font-size: 130%;
    line-height: 125%;
}
#key {
    height: 60px;
    padding: 0;
    margin: 0;
}
#key span, #repeatKey span {
    font-weight: 600;
}
footer {
    position: absolute !important;
    bottom: calc(100vmax + 100px) !important;
}
/* Switch */
#switch {
    width: auto;
    max-width: 250px;
    height: 40px;
    background-color: #910000;
    margin: auto;
    border-radius: 10px;
    clear: both;
}
#encrypt, #decrypt {
    font-size: 150%;
    margin: 5px;
    height: 31px;
    width: 110px;
    font-weight: 600;
    text-align: center;
    border-radius: 8px;
    overflow: hidden;
    color: #d44400;
}
#encrypt {
    float: left;
}
#decrypt {
    float: right;
}
#switch a {
    text-decoration: none;
    color: #fff;
}
#switch a:hover {
    text-shadow: 0 0 10px #fff;
}
.active {
    background-color: #FFFFFF;
    box-shadow: 0 0 5px #000;
}
.inactive {
    background-color: none;
}
.buttonWrap {
    z-index: 95;
    position: absolute;
    top: 750px;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    margin: 0;
}
button {
    text-align: center;
    font-size: 150%;
    font-weight: 600;
    background-color: #0013FF;
    color: #fff;
    border: none;
    border-radius: 20px;
    padding: 10px 50px 10px 50px;
    display: none;
}

button:hover {
    background-color: #fbb03b;
    color: #000;
    cursor: pointer;
}
/* Steps */
#step1, #step2 {
    width: 100%;
    height: 100%;
    margin: 5px auto 5px auto;
}
#step2, #step3, #step4, #step5 {
    display: none;
}
#step3 {
    position: absolute;
    margin-inline: auto;
    width: 300px;
    height: 300px;
    bottom: 20px;
    text-align: center;
    background-color: #fbb03b;
    left: 0;
    right: 0;
    z-index: 4;
    border-radius: 100%;
}
.instructions {
    color: #fff;
    text-align: center;
    width: 90%;
    max-width: 850px;
    margin: auto;
}
#actionBorder, #actionArea {
    border-radius: 20px;
    margin: auto;
}
#actionBorder {
    width: 100%;
    height: 625px;
    max-width: 850px;
    padding-top: 15px;
    box-shadow: 0 0 15px;
    margin: 15px auto 0 auto;
    background: rgba(255, 255, 255, 0.4);
}
#actionArea {
    width: 90%;
    height: 595px;
    margin: auto;
    padding: 10px 5% 0 5%;
    opacity: 1;
    background-color: #fff;
    filter: none;
}
#actionArea .instructions {
    text-align: left;
    color: #000;
}
#keyRepeat {
    font-size: 200%;
    margin-top: 20px;
}
#listBoxWrap {
    position: relative;
    width: 100%;
    height: 100px;
}
#listBoxLeft {
    width: 105px;
    float: left;
}
#listBoxLeft ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
#listBoxLeft li {
    height: 26px;
    font-weight: 600;
    text-align: left;
    padding: 0 0 0 5px;
    margin: 0;
    border: 1px solid #fff;
}
.lblue {
    border-top-left-radius: 15px;
    background-color: #a2eefb;
}
.lorange {
    border-bottom-left-radius: 15px;
    background-color: #fedfb5;
}
#listBoxRight {
    width: calc(100% - 110px);
    display: block;
    float: left;
    overflow: hidden;
}
#plainList, #cipherList {
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 27px;
    overflow: hidden;
}
#plainList ul, #cipherList ul {
    position: absolute;
    height: 29px;
}
#plainList li, #cipherList li {
    font-size: 120%;
    display: inline-table;
    width: 25px;
    height: 25px;
    border: 1px solid #fff;
    text-align: center;
}
#plainList li, .textRing {
    background-color: #16d4f4;
}
#cipherList li, .cipherRing {
    background-color: #fdb045;
}
.textRing, .cipherRing {
    padding: 0 3px 0 3px;
    border-radius: 10px;
}
#cipherList li {
    background-color: #fdb045;
}
#step4 {
    position: fixed;
    z-index: 90;
    top: 10px;
    border: #f00 1px dashed;
}
/* Wheels */
#wheelOuter, #wheelWrap {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
    position: relative;
}
#wheelOuter {
    width: calc(50% + 425px);
    height: 430px;
    overflow: hidden;
    margin-left: calc(50% - 400px);
    position: relative;
}
#wheelWrap {
    width: 800px;
    height: 430px;
    position: relative;
    overflow: hidden;
}
#textWheel, #cipherWheel, #flashSegment, #keySegment {
    position: absolute;
}
#textWheel, #flashSegment, #keySegment {
    top: 0;
    left: 0;
    width: 800px;
    height: 800px;
    transition: transform 1s ease-in-out;
}
#textWheel {
    /*z-index: 1;*/
}
#cipherWheel {
    top: 75px;
    left: 75px;
    width: 650px;
    height: 650px;
    transition: transform 1s ease-in-out;
    /*z-index: 2;*/
}
#flashSegment {
    z-index: 95;
    display: none;
}
#charList {
    display: none;
}
/* Portrait Phone */
@media only screen and (max-width: 414px) {
    footer {
        bottom: -220px !important;
    }
    .instructions {
        display: none;
    }
    .buttonWrap {
        top: 640px;
    }
}