@font-face {
    font-family: 'Momcake';
    src: url(Momcake-Bold.otf);
}



body {
    background-color: #f9faf5;
    margin:0;
    padding:0;
}

.welcomeModal{
    background-color:rgb(253, 245, 236);
    width:100vw;
    height:100vh;
    position: absolute;
    display:flex;
    align-items: center;
    flex-direction: column;
    justify-content: center;
}
.welcomeContainer{
    display:flex;
    flex-direction: column;
    user-select: none;
    display: flex;
    flex-direction: column;
    align-items: center;   /* center content inside */
    justify-content: center;
    text-align: center;
}
.wordleLogo img{
    height:300px;
    border-radius: 30px;
}
.wordlePlay{
    display:flex;
    justify-content: center;
}
.wordlePlay button{
    margin-top: 10px;
    height:70px;
    width:250px;
    font-size: 25px;
    background-color: goldenrod ;
    color:rgb(255, 255, 255);
    border:none;
    font-family: 'Momcake';
    border-radius: 35px;
    transition: transform 0.1s ease-in;
}

.wordlePlay button:hover{
    cursor: pointer;
    transform: scale(1.03);
}
.wordleDescription{
    font-size: 23px;
    width:700px;
    margin-top: 15px;
    user-select: none;
}
.wordleCredits{
    font-size: 20px;
    font-family:'Courier New', Courier, monospace;
    font-weight: bold;
    text-align: center;
    user-select:text;
    margin-top: 25px;
}

.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);
}
.hidden{
    display:none;
}

.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%;
    font-size: 25px;
}
.kb-key:hover{
    cursor: pointer;
}
.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;
    }
}