body {
    margin: 0 auto;
    padding: 20px;
    max-width: 600px;
    max-height: 500px;
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
    cursor: default;
}
h1, h2, h6 {
    text-align: center;
    padding: 0;
    margin: 0;
}
.title {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding-bottom: 20px;
}
h6 {
    font-weight: 300;
    font-size: 12px;
    font-style: italic;
}
#grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
    margin-top: 20px;
}
.cell {
    width: 100%;
    padding-top: 100%;
    position: relative;
    border: 1px solid #999;
    text-transform: uppercase;
}
.cell > span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5em;
}
.correct { background: #4CAF50; color: white; }
.present { background: #FFC107; color: white; }
.absent { background: #999; color: white; }
button{
    border: none;
}
#keyboard {
    margin-top: 20px;
    text-align: center;
}
#keyboard button {
    margin: 2px;
    min-width: 2em;
    height: 2em;
    text-transform: uppercase;
}
#keyboard button:hover {
    border: 1px solid #999;
    cursor: pointer;
}
.button{
    display: flex;
    justify-content: center;
    padding-top: 20px;
}
#restartBtn {
    padding: 10px 15px;
    background: rgb(64, 136, 245);
    color: white;
    cursor: pointer
}
#restartBtn:hover {
    background: rgb(10, 100, 245);
}
#message {
    margin-top: 20px;
    text-align: center;
    font-size: 1.2em;
    color: red;
}
#keyboard button.correct { background: #4CAF50; color: white; }
#keyboard button.present { background: #FFC107; color: white; }
#keyboard button.absent { background: #555; color: white; }
