@font-face {
    font-family: 'Momcake';
    src: url(Momcake-Bold.otf);
}

body {
    background-color: #f9faf5;
}

.grid-item {
    background-color: #ffffff;
    aspect-ratio: 1/1;
    flex: 1;
    border-radius: 8px;
    border: solid 2px rgb(177, 177, 177);
    box-sizing: border-box;
    font-family: 'Momcake';
    font-size: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgb(30, 29, 29);
}

.row {
    display: flex;
    flex-direction: row;
    gap: 7px;
    flex: 1;

}

.container {
    display: flex;
    flex-direction: column;
    gap: 7px;
    min-width: 300px;
    width: 25vw;
}

.container {
    background-color: rgb(255, 255, 255);
    margin: auto;
}

.activeItem {
    border-color: rgb(102, 102, 102);

}

.scaledItem {
    transform: scale(1.1);
    /* Slight zoom effect */
    transition: transform 0.1s ease;
}

.wrongPos,
.keyboard .wrongPos {
    background-color: rgb(228, 190, 0);
    border-width: 0px;
    color: white;
}

.correctPos,
.keyboard .correctPos {
    background-color: #48d158;
    color: white;
    border-width: 0px;
}

.wrongLet {
    background-color: rgb(191, 191, 191);
    color: white;
    border-width: 0px;
}

.normalScale {
    transform: scale(1);
    transition: transform 0.2s ease;
}

.title-div {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-bottom: 30px;
    margin-top: 100px;
}

.ner-align {
    display: flex;
    font-size: 50px;
    justify-content: space-around;
    width: 200px;
}

.main-container {
    display: flex;
    justify-content: center;
}

.keyboard {
    display: flex;
    flex-direction: column;
    width: 90vw;
    height: 240px;
    margin: auto;
    margin-top: 20px;
}

.kb-row {
    display: flex;
    gap: 4px;
    margin-bottom: 4px;
    flex: 1;
}


.kb-key {
    font-family: 'Momcake';
    flex: 1;
    background-color: #bbbbbb;
    height: 40px;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 15px;
    user-select: none;
    padding-left: 5px;
    padding-right: 5px;
    box-sizing: border-box;
    height: 100%;
}

.usedLet,
.keyboard .usedLet {
    background-color: #626161;
    color: white;
}

@media (max-width: 400px) {
    .keyboard {
        width: 100%;
    }

    .kb-key {
        height: 70px;
    }
}

@media(min-width: 1000px) {
    .keyboard {
        width: 60vw;
    }
}

@media (max-height: 620px) {
    .keyboard {
        height: 170px;
    }
}