body {
    margin: 0;
    padding: 20px;
    display: flex;
    justify-content: center;
    font-family: sans-serif;
    
}

h1{
    color: aliceblue;
}

#container{
    position: relative;
    align-items: center;
    justify-content: center;
    align-content: center;
    justify-items: center;
    background-color: rgba(48, 48, 48, 0.281);
    min-width: 70%;
    min-height: auto;
    
}


#keyboardButton {
    background-color: rgb(59, 59, 59);
    border: none;
    color: white;
    padding: 15px 32px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
    cursor: pointer;
    border: 2px solid black;
    
    justify-items: center;
    align-items: center;
}

.center {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100px;
}


#text{
    text-align: center
}

#keyboardButton:hover{
    background-color: rgb(255, 255, 255);
    color: rgb(59, 59, 59);
    transition: 0.2s;
}

#alphabet {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.row {
    display: grid;
    gap: 8px;
    justify-content: center; 
}

.row-1 {
    grid-template-columns: repeat(10, 44px);
}

.row-2 {
    margin-top: 10px;
    grid-template-columns: repeat(9, 44px);
}

.row-3 {
    margin-top: 10px;
    grid-template-columns: repeat(7, 44px);
}

.box {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e0e0e0;
    cursor: pointer;
    user-select: none;
    border-radius: 6px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.2s ease;
}

.box:hover {
    background: #bdbdbd;
}

@media (max-width: 480px) {
    .box {
        width: 27px;
        height: 27px;
        font-size: 14px;
    }

    .row-1 {
        grid-template-columns: repeat(10, 27px);
    }

    .row-2 {
        grid-template-columns: repeat(9, 27px);
    }

    .row-3 {
        grid-template-columns: repeat(7, 27px);
    }
}