@font-face {
    font-family: 'Nunito Regular';
    src: url('./assets/fonts/Nunito-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Nunito Bold';
    src: url('./assets/fonts/Nunito-Bold.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

html {
    font-size: 10px;
}

body {
    font-family: 'Nunito Regular', Verdana, sans-serif;
    font-size: 1.6rem;
    margin: 0;
}

h1 {
    font-family: 'Nunito Bold', Verdana, sans-serif;
    font-size: 3.6rem;
    text-align: center;
}

.description {
    font-size: 2.4rem;
    width: 90%;
    margin: 0 5vw;
    text-align: center;
}
.input {
    margin: 10px auto;
    width: 60%;
}

textarea {
    font-family: 'Nunito Regular', Verdana, sans-serif;
    font-size: 1.6rem;
    width: 100%;
    padding: 0;
    resize: none;
}

.keyboard {
    background: #0e0c9452;
    border-radius: 10px;
    width: 90%;
    max-width: 830px;
    min-width: 600px;
    height: 40vh;
    margin: 0 5vw;
    margin: auto;
    box-shadow: 5px 5px 0 #000c4d70, inset -2px -2px 10px #131313;
}

.row {
    display: flex;
    padding: 0 4px;
    justify-content: space-between;
}

.key {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 5%;
    max-width: 40px;
    height: 40px;
    padding: 8px 10px;
    margin: 2px;
    font-size: 1.8rem;
    color: #ffffff;
    background-color: #000c4dad;
    border-radius: 10px;
    box-shadow: 5px 5px 0 #000c4d5e, inset -2px -2px 10px #131313;
    cursor: pointer;
    user-select: none;
}

.key:active {
    box-shadow: 3px 3px 0 #000c4dad, inset -7px -7px 10px #131313;
    transform: translate(2px, 2px);
    transition: 0.1s;
}
/* just for phisical keyboard press*/
.key-active {
    box-shadow: 3px 3px 0 #000c4dad, inset -7px -7px 10px #131313;
    transform: translate(2px, 2px);
    transition: 0.1s;
}
 
.caps-lock-on {
    text-transform: uppercase;
}

.functional-key {
    text-transform: none;
}
.wide-key {
    width: 10%;
    max-width: 80px;
}
.space-key {
    width: 45%;
    max-width: 360px;
}

