* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    height: 100vh;
    flex-direction: column;
    display: flex;
    justify-content: center;
    align-items: center;
}

#remaining-cards {
    margin-bottom: 1em;
}

#new-deck, #new-cards, #card-container {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
}

#new-deck, #new-cards {
    font-family: 'Roboto', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 1.2px;
    display: block;
    background-color: #fff23e;
    border: 2px solid black;
    padding: 1em;
    transition: all 400ms ease-in-out;
    cursor: pointer;
}

#new-deck:hover, #new-cards:hover {
    background-color: #fff898;
}

.wrapper {
    width: 100%;
    max-width: 800px;
    padding-block: 2em;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: url(/img/table.png);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    font-family: 'Roboto', sans-serif;
    color: white;
    font-weight: 300;
}


#card-container {
    width: 100%;
    height: 500px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    align-items: center;
}

.card-placeholder {
    border: 3px solid black;
    width: 130px;
    height: 197px;
    border-radius: 0.7em;
}

.card-image {
    display: block;
    width: 130px;
    margin: 0 auto;
}

#hidden {
    display: none;
}