@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    display: flex;
    flex-direction: row;
    background-color: antiquewhite;
    align-items: center;
    justify-content: center;
    height: 100vh;
    margin: 0;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background-color: #fff;
    border: 0;
    min-height: 10rem;
    min-width: 10rem;
    margin: 0 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    transition: transform 0.9s ease; /* Smooth transition for scaling */
}

.card:hover {
    transform: scale(1.2); /* Scale up the card on hover */
}

.card h1 {
    background-color: rgb(85, 16, 16);
    color: white;
    padding: 10px 20px;
    margin: 0;
}

.card p {
    padding: 10px;
    color: rgb(2, 2, 2);
    font-size: 3rem;
    background-color: #fff; /* Keeps <p> white for keycode cards */
}

/* Styling for the initial card */
.card.initial {
    background-color: rgb(85, 16, 16);  /* Make entire card dark red */
}

.card.initial h1 {
    background-color: transparent;
    color: white;
}

.emphasis {
    color: wheat;  
    font-weight: bold;
    font-size: 2.5rem;
    text-transform: uppercase;
}
