html {
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background-image: url("bg2.jpg");
    background-size: cover;
    background-position: center center;
    color: #333;
    height: 100%;
    margin: 0;
    padding: 0;
    font-family: Arial;
}

* {
    box-sizing: border-box;
}

.main {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.upper {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.lower {
    flex: 1;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
}

.middle {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.trench {
    height: 3px;
    flex: 1;
    background: rgba(50,50,50,.5);
    margin: 1vh;
}

.done {
    background: #4CAF50;
    color: #FFF;
    border-radius: 3px;
    box-shadow: 0 5px 12px -5px #222;
    border: none;
    width: 100px;
    padding: 10px 15px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all .3s;
    margin-right: 1vh;
}

.done:hover {
    transform: scale(1.1, 1.1);
}

.board {
    display: flex;
    justify-content: center;
    padding: 3vh;
}

.card {
    height: 18vh;
    width: 12vh;
    background: #555;
    border-radius: 3px;
    box-shadow: 0 5px 20px -4px #000;
    margin: 10px;
    cursor: pointer;
    position: relative;
    transition: all .3s;
}

.card-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-position: center center;
    background-size: cover;
}

.card-title {
    position: absolute;
    bottom: 10%;
    width: 110%;
    background: #333;
    color: #DDD;
    padding: 2px 0 3px;
    margin-left: -5%;
    box-shadow: 0 5px 12px -5px #000;
}

.card:hover {
    background: #777;
    transform: scale(1.5, 1.5);
    z-index: 1;
}