html,
body {
    margin: 0;
    padding: 0;
    background-color: black;
    text-align: center;
    color: seagreen;
    font-family: sans-serif;
}

#body {
    min-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

header {
    height: 260px;
}

footer {
    height: 45px;
}

#title {
    margin: 0;
    padding: 1em 0;
}

#scores {
    display: inline-block;
    border: 3px solid seagreen;
    border-radius: 3px;
    padding: .5em;
    font-weight: bold;
}

#hands {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-grow: 1;
}

#hands .hand {
    background-color: black;
    padding: 1em;
    border: 3px solid seagreen;
    border-radius: 50%;
    margin: 0 1em;
    cursor: pointer;
    width: 200px;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
}

#dialog {
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

#dialog.hide {
    display: none;
}

#dialog #card {
    width: 250px;
    height: 250px;
    background: black;
    border: 3px solid seagreen;
    border-radius: 50px;
    height: 500px;
    width: 500px;
    font-size: 33px;
    cursor: pointer
}

#dialog #winLose {
    margin: 0;
}

.althome {
    font-size: 40px;
}

#dialog img {
    width: 350px;
    height: 350px;
}

.restart-btn {
    background: inherit;
    color: seagreen;
    padding: 0.4rem 1.3rem;
    font-size: 1rem;
    cursor: pointer;
    outline: none;
    border: none;
    margin-bottom: 1rem;
}
.restart-btn:hover {
    color: slateblue;
}

.restart-btn.hide {
    display: none;
}