.app {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-image: url('../img/_background-clean.png');
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-position: center; 
    overflow: hidden;
}
ul {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 8vw;
}
li {
    display: list-item;
    margin: 0;
    padding: 0;
}
img {
    height: 10vh;
}
.step-number {
    text-align: center;
    height: 8vw;
}
.BLANK {
    background-image: url('../img/_blank-1024.png');
    background-size: cover;
    background-color: #D3D3D3;
}
.WALK {
    background-image: url('../img/_planeswalk-1024.png');
    background-size: cover;
    background-color: #E0E0E0;
    color: blue;
}
.CHAOS {
    background-image: url('../img/_chaos-1024.png');
    background-size: cover;
    background-color: #BABABA;
    color: red;
}
.spinner {
    width: 100%;
    text-align: center;
    margin-left: 46.5vw;
    position: absolute;
    bottom: -1vw;
}
.plane {
    position: absolute;
    width: 60vw;
    height: 41.8vw;
    margin-left: 20vw;
    margin-top: 5vw;
    background-color: black;
    border-radius: 2.35vw;
    background-size: 100%;
    visibility: visible;
    transition: all .2s;
}
.fullscreen {
    margin-top: 0;
    border-radius: 4vw;
    margin-left: 9.125vw;
    width: 80.75vw;
    height: 100vh;
    transition: all .2s;
}
.front {
    background-image: url('../img/planecards/akoum.jpg');
    z-index: 2;
    transform: rotateY(0deg);
}
.back {
    background-image: url('../img/planecards/_planechase-back.jpg');
    transform: rotateY(180deg);
}
.front, .back {
    backface-visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
}
.hidden {
    visibility: hidden;
    opacity: 0;
    transition: visibility 0s, opacity 1s linear;
}
.purple {
    -webkit-box-shadow: 0 0 5vw 0 rgba(200,0,255,0.75);
    -moz-box-shadow: 0 0 5vw 0 rgba(200,0,255,0.75);
    box-shadow: 0 0 5vw 0 rgba(200,0,255,0.75);
    transition: all 2s ease-in;
}
.green {
    -webkit-box-shadow: 0 0 5vw 0 rgba(0,255,0,0.75);
    -moz-box-shadow: 0 0 5vw 0 rgba(0,255,0,0.75);
    box-shadow: 0 0 5vw 0 rgba(0,255,0,0.75);
    transition: all 2s ease-in;
}
.yellow {
    -webkit-box-shadow: 0 0 5vw 0 rgba(255,255,0,0.75);
    -moz-box-shadow: 0 0 5vw 0 rgba(255,255,0,0.75);
    box-shadow: 0 0 5vw 0 rgba(255,255,0,0.75);
    transition: all 2s ease-in;
}

.flip-container {
    perspective: 1000px;
}
.flip-container.flip .flipper {
    transform: rotateY(180deg);
}
.flip-container, .front, .back {
}
.flipper {
    transition: 0.6s;
    transform-style: preserve-3d;

    position: relative;
}


.top-bar {
    background-color: #3B3B3B;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 11vh;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    z-index: 10;
}

.planes-container {
    position: absolute;
    left: 4vw;
    right: 4vw;
    top: 9.9vh;
    bottom: 0;
    overflow-y: scroll;
    text-align: center;
}
.planes-container h3 {
    text-transform: uppercase;
    font-family: sans-serif;
    font-size: xx-large;
}
.plane-box {
    position: relative;
    display: inline-block;
    margin: 1vw;
    width: 200px;
    height: 200px;
    background-color: #e8e8e8;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2);
}
.plane-box:hover {
    -webkit-box-shadow: 0px 0px 25px 0px rgba(160,20,160,0.75);
    -moz-box-shadow: 0px 0px 25px 0px rgba(160,20,160,0.75);
    box-shadow: 0px 0px 25px 0px rgba(160,20,160,0.75);
}
.plane-name {
    position: absolute;
    bottom: 0;
    text-align: center;
    text-transform: uppercase;
    width: 100%;
    padding-bottom: 10px;
    padding-top: 10px;
    font-family: sans-serif;
    font-size: 11px;
    font-weight: bold;
}
.plane-image {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 35px;
    background-color: white;
    overflow: hidden;
}
.plane-image img {
    height: 250%;
    margin-top: -80px;
    margin-left: -100px;
    transition: all 0.4s ease-in;
}
.plane-image img:hover {
    -webkit-transform: rotate(-5deg);
    -moz-transform: rotate(-5deg);
    -ms-transform: rotate(-5deg);
    -o-transform: rotate(-5deg);
    transform: rotate(-5deg);
    height: 400%;
    margin-top: -180px;
    margin-left: -180px;
    transition: all 0.4s ease-in;
}
.plane-box-checked {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 38px;
    z-index: 1;
    padding-left: 4px;
    background-color: #46ca1f;
    padding-top: 10px;
    padding-right: 4px;
}

.plane-box-checked img {
    height: 26px;
    width: 26px;
}
.selected {
    background-color: #46ca1f;
    color: white;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 5px #46ca1f inset;
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 5px #46ca1f inset;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 5px #46ca1f inset;
}
.mysql {
    z-index: 100;
    position: absolute;
    top: 0;
    left: 0;
    padding: 8px;
    text-transform: uppercase;
    font-size: xx-small;
    font-family: sans-serif;
    color: white;
}
.connected {
    color: #00FF00;
}
.error {
    color: red;
}

.card-preview-box img {
    width: 100%;
    height: auto;
    margin-bottom: 0;
}

.card-preview-box {
    border-radius: 2.75vw;
    overflow: hidden;
    z-index: 10;
    position: absolute;
    display: block;
    top: 125vh;
    left: 20vw;
    height: auto;
    width: 60vw;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    transition: all 0.2s;
}
.select, .dismiss {
    height: 8vw;
    width: 8vw;
    position: absolute;
    z-index: 10;
    top: 40%;
    background: white;
    border-radius: 100vh;
    border: 2px solid white;
    -webkit-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    -moz-box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
    box-shadow: 0px 0px 10px 0px rgba(0,0,0,0.5);
}
.select {
    right: 20%;
    background-image: url('../img/select.png');
    background-size: contain;
}
.dismiss {
    left: 20%;
    background-image: url('../img/dismiss.png');
    background-size: contain;
}
.showing {
    top: 12vh;
    transition: all 0.2s;
}
#deck-name {
    position: absolute;
    color: white;
    background-color: rgba(0,0,0,0);
    border: 0;
    height: 6vh;
    width: 25vw;
    font-size: 2vw;
    top: 2vh;
    left: 9vw;
    padding-left: 1vw;
}
#deck-name:hover {
    border: 1px dashed rgba(0,255,0,0.25);
    background-color: rgba(0,255,0,0.15);
    cursor: pointer;
}
#deck-name:focus {
    background-color: rgba(0,0,0,0.5);
    border: 1px dashed rgba(255,255,255,0.5);
    outline: none;
}
#deck-count {
    position: absolute;
    color: white;
    background-color: rgba(0,0,0,0);
    border: 0;
    height: 6vh;
    width: 10vw;
    font-size: 2vw;
    top: 3vh;
    left: 74vw;
    text-align: center;
}
.avatar-overlay {
    position: absolute;
    height: 10vw;
    width: 10vw;
    border-radius: 10vw;
    border: 1px solid black;
    right: 5px;
    top: 5px;
    background-image: url('../img/_avatar-lens.png');
    background-size: cover;
    overflow: hidden;
}
.avatar-overlay:hover {
	cursor: pointer;
    -webkit-box-shadow: 0px 0px 45px 0px rgba(0,255,0,0.5), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    -moz-box-shadow: 0px 0px 45px 0px rgba(0,255,0,0.5), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    box-shadow: 0px 0px 45px 0px rgba(0,255,0,0.5), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
}
#deck-avatar {
    position: absolute;
    height: 10vw;
    width: 10vw;
    border-radius: 10vw;
    right: 5px;
    top: 5px;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
}
.avatar-list-container {
    position: absolute;
    padding-top: 10vh;
    top: 100vh;
    height: 80vh;
    background-color: #3B3B3B;
    -webkit-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    -moz-box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    box-shadow: 0px 0px 40px 0px rgba(0,0,0,0.75);
    z-index: 1;
    overflow-y: scroll;
    transition: all 0.4s ease-in;
}
.visible {
    top: 10vh;
    transition: all 0.3s ease-in;
}
.avatar-list {
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100vw;
    text-align: center;
    padding-bottom: 4vh;
}
.avatar {
    display: inline-block;
    margin: 10px;
    height: 10vw;
    width: 10vw;
    border-radius: 10vw;
    overflow: hidden;
    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.2), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
}
.avatar:hover {
	cursor: pointer;
    -webkit-box-shadow: 0px 0px 45px 0px rgba(255,255,255,0.75), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    -moz-box-shadow: 0px 0px 45px 0px rgba(255,255,255,0.75), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
    box-shadow: 0px 0px 45px 0px rgba(255,255,255,0.75), 0px 0px 0px 1px rgba(0,0,0,0.5) inset;
}
.avatar-A1 { background-image: url('../img/avatars/avatar-A1.png'); background-size: cover; }
.avatar-A2 { background-image: url('../img/avatars/avatar-A2.png'); background-size: cover; }
.avatar-A3 { background-image: url('../img/avatars/avatar-A3.png'); background-size: cover; }
.avatar-A4 { background-image: url('../img/avatars/avatar-A4.png'); background-size: cover; }
.avatar-B1 { background-image: url('../img/avatars/avatar-B1.png'); background-size: cover; }
.avatar-B2 { background-image: url('../img/avatars/avatar-B2.png'); background-size: cover; }
.avatar-B3 { background-image: url('../img/avatars/avatar-B3.png'); background-size: cover; }
.avatar-B4 { background-image: url('../img/avatars/avatar-B4.png'); background-size: cover; }
.avatar-C1 { background-image: url('../img/avatars/avatar-C1.png'); background-size: cover; }
.avatar-C2 { background-image: url('../img/avatars/avatar-C2.png'); background-size: cover; }
.avatar-C3 { background-image: url('../img/avatars/avatar-C3.png'); background-size: cover; }
.avatar-C4 { background-image: url('../img/avatars/avatar-C4.png'); background-size: cover; }
.avatar-D1 { background-image: url('../img/avatars/avatar-D1.png'); background-size: cover; }
.avatar-D2 { background-image: url('../img/avatars/avatar-D2.png'); background-size: cover; }
.avatar-D3 { background-image: url('../img/avatars/avatar-D3.png'); background-size: cover; }
.avatar-D4 { background-image: url('../img/avatars/avatar-D4.png'); background-size: cover; }