@import url(https://fonts.googleapis.com/css2?family=Roboto+Flex:opsz,wght@8..144,200&display=swap);
* {
    box-sizing: border-box;
    user-select: none;
}
.wrapper {
    margin: 0 auto;
    width: 1060px;
    max-height: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-content: center;
    align-items: stretch;
    row-gap: 20px;
}

.textarea {
    padding: 23px;
    margin-top: 20px;
    -webkit-border-radius: 10px;
    -moz-border-radius: 10px;
    border-radius: 30px;
    font-size: 36px;
    resize: none;
    max-width: 100%;
}

.textarea:focus {
    outline: none !important;
}

.key {
    width: 60px;
    height: 59px;
    background: #343434;
    box-shadow: 0px 5px 4px rgb(0 0 0 / 80%);
    border-radius: 15px;

    display: flex;
    align-items: center;
    justify-content: center;

    font-family: "Roboto Flex";
    font-style: normal;
    font-weight: 200;
    font-size: 24px;
    line-height: 39px;
    color: #fff;

    transition: background-color 0.4s;
}
.key:hover {
    border: 1px solid white;
    cursor: pointer;
}

.ArrowUp {
    height: 27px;
}

.ArrowDown {
    height: 27px;
}

.keyboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    row-gap: 10px;
    background: #abbec6;
    border: 2px solid #898989;
    box-sizing: border-box;
    border-radius: 28px;
    padding: 68px 28px 103px;
}

.keyboard .key span.language {
    display: none;
}

.keyboard[data-lang="eng"] .key span.language.eng {
    display: block;
}
.keyboard[data-lang="rus"] .key span.language.rus {
    display: block;
}

.keyboard .key span > span {
    display: none;
}

.keyboard[data-caps-lock="true"][data-shift="true"] .key span > span.shiftCaps {
    display: block;
}
.keyboard[data-caps-lock="true"][data-shift="false"] .key span > span.caps {
    display: block;
}
.keyboard[data-caps-lock="false"][data-shift="true"] .key span > span.caseUp {
    display: block;
}
.keyboard[data-caps-lock="false"][data-shift="false"] .key span > span.caseDown {
    display: block;
}

.keyboard-row {
    display: flex;
    column-gap: 7px;
}

.keyboard-group {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

body {
    background-image: linear-gradient(to right, #c0392b, #8e44ad);
    background-size: cover;
    backdrop-filter: blur(15px);
    height: 100vh;
    margin: 0;
}

.Backspace {
    width: 133px;
    height: 59px;
}
.Tab {
    width: 68px;
    height: 59px;
}
.CapsLock {
    width: 133px;
    height: 59px;
}
.Enter {
    width: 133px;
}

.ShiftLeft {
    width: 163px;
}

.ShiftRight {
    width: 170px;
}

.Space {
    width: 475px;
}

.active {
    background-color: #688c99;
    box-shadow: inset 0px 11px 4px rgba(0, 0, 0, 0.25);
}
.wrapper > div p {
    color: white;
    font-size: 30px;
    text-align: center;
    font-family: "Roboto Flex", sans-serif;
    font-weight: 100;
    margin: 2px;
}

