body {
    margin: 0px;
    font-family: "Museo Slab 300";
    color: black;
    font-size: 12px;
}

div,
input,
textarea {
    box-sizing: border-box;
}

.main {
    text-align: center;
}

.cover .banner {
    padding: 30px;
    border: 5px solid crimson;
    border-radius: 30px;
    background: palegreen;
    font-size: 7.5vw;
    font-family: "Sigmar One";
    color: white;
    -webkit-text-stroke: 1px black;
    text-shadow: 0px 3px 10px grey;
}

.shadow-card {
    box-shadow: 0px 4px 6px rgba(0,0,0,0.30);
}

.screen {
    padding: 20px 20px 100px 20px;
    background: #3E9EFD;
    min-height: 100vh;
    width: 100%;
    position: absolute;
    color: white;
}

.title {
    font-size: 20px;
}

.instr {
    padding: 20px 0px;
}

.table-type1 {
    border-collapse: collapse;
    display: inline-block;
}

.chess-square {
    width: 11vw;
    height: 11vw;
    border: 1px solid black;
    background: crimson;
    position: relative;
}

.chess-square.alternate {
    background: white;
}

.chess-square .house {
    font-size: 30px;
    color: white;
    opacity: 0.1;
}

.chess-square.alternate .house {
    color: black;
    opacity: 0.03;
}

.queen {
    color: forestgreen;
    font-size: 30px;
    text-shadow: 0px 10px 20px black;
}

.chess-square.captured .queen {
    color: cornflowerblue;
}

.xy-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.chess-code-square {
    position: relative;
    height: 100px;
}

.chess-code-square .digit {
    font-size: 20px;
    padding: 10px;
    border-bottom: 3px solid black;
}

.light-grid-square {
    width: 10vw;
    height: 10vw;
    position: relative;
    border-bottom: 1px solid #555;
    color: #555;
}

.light-grid-square .light {
    position: absolute;
    top: 38%;
    transform: translateY(-50%);
    width: 100%;
    font-size: 20px;
    color: #BBB;
}

.light-grid-square .number {
    position: absolute;
    bottom: 0px;
    width: 100%;
}

.input-cont input {
    padding: 20px;
    font-size: 30px;
    width: 100%;
    margin: 20px 0px;
    text-align: center;
}

.table-type2 {
    border-collapse: collapse;
    width: 100%;
    color: transparent;
    table-layout: fixed;
}

.table-type2 td {
    height: 10.5vh;
}

.table-type2 .solid {
    background: black;
    border-left: 2px solid black;
    border-right: 2px solid black;
}

.table-type2 .left {
    border-left: 2px solid black;
}

.table-type2 .right {
    border-right: 2px solid black;
}

.table-type2 td.blank {
    width: 2px;
}

.small-chest {
    position: absolute;
    top: 0px;
    left: 0px;
    font-size: 30px;
    color: burlywood;
    padding: 14px 20px;
    z-index: 100;
}

.big-chest {
    font-size: 75vw;
    color: burlywood;
    text-shadow: 0px 6px 10px black;
}

.locks {
    position: absolute;
    top: 18%;
    width: 100%;
    transform: translateY(-50%);
}

.lock {
    display: inline-block;
    margin: 20px;
    color: crimson;
    font-size: 50px;
    position: relative;
}

.lock.unlocked {
    color: lawngreen;
}

.lock .number {
    position: absolute;
    top: 64%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: burlywood;
    font-size: 20px;
}

.lock.unlocked .number {
    left: 36%;
}

.chess-code.solved .digit {
    box-shadow: 0px 0px 20px 10px lawngreen;
}

.try-btn {
    padding: 20px;
    border-radius: 20px;
    margin: 20px;
    background: yellow;
    color: #555;
    font-size: 20px;
}

.popup .curtain {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    background: rgba(0,0,0,0.8);
    z-index: 900;
}

.popup .content {
    border: 5px solid lawngreen;
    border-radius: 30px;
    background: crimson;
    padding: 20px;
    color: white;
    text-align: center;
}

.popup .chest {
    font-size: 50px;
    color: burlywood;
}

.real-combo {
    font-size: 12vw;
    font-family: "Sigmar One";
    color: white;
    -webkit-text-stroke: 1px black;
    text-shadow: 0px 3px 10px grey;
    position: absolute;
    width: 100%;
    top: 66%;
    transform: translateY(-50%);
}

.snow {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
}

.flake {
    position: absolute;
    opacity: 0.5;
}

.final-msg {
    position: absolute;
    top: 16%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 30px;
    text-shadow: 3px 10px 5px black;
    width: 100%;
    font-family: 'Dancing Script', cursive;
}

.alert .curtain {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0px;
    left: 0px;
    z-index: 950;
    background: rgba(0,0,0,0.30);
}

.alert .content {
    border: 1px solid #3E9EFD;
    border-radius: 10px;
    background: white;
    color: black;
    text-align: center;
    width: 90%;
    overflow: hidden;
}

.alert .content .ok {
    background: #3E9EFD;
    color: white;
    padding: 20px;
}

.alert .content .text {
    padding: 20px;
    color: #3E9EFD;
}


















