@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700;800&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@400;600;700;800&display=swap');
*,*::after,*::before{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}
html{
    font-family: Arial, Helvetica, sans-serif;
}
.wrapper{
    width: 100%;
    padding: 20px;
}
textarea{
    color: #36518E;
    width: 100%;
    height: 200px;
    font-size: 32px;
    font-weight: bold;
    padding: 20px;
}
body{
    display: flex;
    flex-direction: column;
    align-items: center;
}
.row{
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 10px;
}
button{
    font-size: 16px;
    padding: 5px;
    text-transform: capitalize;
    margin-left: 30px;
    cursor: pointer;
}
.space{
    max-width: 600px;
    width: 80%;
    margin: 5px;
}
.key-wrapper{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
}
.key{
    width: 60px;
    height: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    color: #36518E;
    background-color: #ececec;
    border: 1px solid #a7a7a7;
    border-radius: 5px;
    margin-left: 5px;
    margin-right: 5px;
    margin-top: 0px;
    transition: all .25s;
    caret-color: transparent;
    padding: 5px;
    font-family: Arial, Helvetica, sans-serif;

}
.key input{
    background-color: transparent; 
    border: none;
    cursor: pointer;
    font-size: 38px;
    color: #36518E;
}
@media only screen and (max-width:1400px) {
    .key{
        width: 40px;
        height: 40px;
    }
    .key input{
        font-size: 28px;
    }
}
@media only screen and (max-width:1000px) {
    .key{
        width: 30px;
        height: 30px;
        margin-left: 3px;
        margin-right: 3px;
    }
    .key input{
        font-size: 20px;
    }
}
@media only screen and (max-width:740px) {
    button{
        font-size: 12px;
    }
    .wrapper{
        padding: 10px;
    }
    .row{
    flex-wrap: wrap;
    }
    .key{
        margin: 5px;
    }
}

.ecp{
    width: 20px;
    height: 20px;
}

.key:active{
    transform: scale(.9);
}
.key:hover{
    background-color: #36508e31;
}
.key::selection{
    background-color: transparent;
}