
*{
    font-family: Vazir;
}

main{
    padding: 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

#game_screen{
    display: flex;
    visibility: hidden;
    flex-direction: column;
    justify-content: center;
}

.letter_container{
    display: inline-block;
    width: 70px;
    margin: 0px 5px;
}

.letter_slot{
    border-bottom: .5px solid black;
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    justify-content: center;
}

.chances{
    margin-top: 20px;
    font-size: 1.5rem;
    display: flex;
    font-weight: bold;
    position: relative;
    justify-content: center;
}

#char_reader{
    margin: 0 auto;
    font-size: 2rem;
    display: block;
    width: 50px;
    margin-top: 60px;
    padding: 10px;
    border: .5px solid black;
    text-align: center;
    border-radius: 10px;
}

.noborder{
    border: none;
}

.x_chance{
    width: 40%;
    position: absolute;
    opacity: .8;
}

.word_container{
    display: inline-flex;
    flex-direction: row;
    flex-wrap: wrap;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
    /* border: 1px solid black; */
}

#blank_container{
    display: flex;
    width: 100vw;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
} 

#alert-background{
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    display: flex;
    background-color: rgba(0, 0, 0, .3);
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(3px);
}

#alert-container{
    display: flex;
    direction: ltr;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    min-width: 200px;
    /* min-height: 250px; */
    max-width: 90%;
    padding-top: 15px;
    padding-bottom: 15px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0px 4px 10px 5px rgba(0, 0, 0, .2);
}

#alert-title{
    display: flex;
    justify-content: start;
}

#alert-content{
    display: flex;
    justify-content: start;
    flex: 1;
    margin-top: 20px;
    margin-bottom: 20px;
    height: 100%;
}

#alert-actions{
    display: flex;
    justify-content: start;
    bottom: 0px;
}

#alert-actions button{
    background-color: transparent;
    border: 1.5px solid rgb(57, 153, 253);
    padding-top: 7px;
    padding-bottom: 7px;
    padding-left: 17px;
    padding-right: 17px;
    border-radius: 5px;
    outline: none;
}

#alert-actions button:focus{
    outline: 1.5px solid rgb(57, 153, 253);
}

hr{
    width: 100%;
}

