/* layout */
html, body {
    margin: 0;
    padding: 0;
    background-image: url("img/table.png");
    background-size: cover;
    font-family: "Exo 2", sans-serif;
    height: 100vh;
}

body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    color: white;
}

/* header */
div.top {
    display: flex;
    align-items: flex-start;
    align-self: flex-start;
}

div.top > p {
    margin:10px 5px;
}

h2 {
    margin: 10px;
}

/* button */
button {
    background-color: goldenrod;
    color:#016f32;
    font-weight: bold;
    cursor: pointer;
    border: none;
    padding:0.5em 1em;
    transition: all 0.5s;
}

button:hover{
    background-color: #016f32;
    box-shadow: 1px 1px 5px rgba(46, 56, 45, 0.5); 
    color:goldenrod;
}

button:disabled {
    cursor: not-allowed;
    opacity:0.5;
}

button#new-deck {
    align-self: flex-start;
    margin: 5px;
    border-radius:3px;
}

button.draw {
    font-size: 1.2em;
    align-self: stretch;
}

/* card slot */
div.card-slot {
    background-color:rgba(46, 56, 45, 0.5);
    border-radius: 5px;
    height: 120px;
    width: calc(120px * 5 / 7);
}

div.card-slot:nth-of-type(1) {
    margin-bottom: 15px;
}

img.card {
    width: 100%;
    height: 100%;
}

