@font-face {
    font-family: "Inter";
    src: url("InterAlia.otf");
    font-weight: normal;
    font-style: normal;
  }

:root {
    --key-width: 45px;
    --key-space: 3px;
    --key-border: 1px;
    --tab-width: 65px;
    --blue: #3d50cf;
    font-family: "Inter";
    background-color: #222222;
    color: #eeeeee;
}

#type_div {
    text-align: center;
}

#type_area {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 70%;
    max-width: 770px;
}

textarea {
    font-family: "Inter";
    font-size: 12pt;
    background-color: black;
    color: #cccccc;
    border-radius: 5px;
}

textarea:focus {
    outline: none !important;
    border: 2px solid var(--blue);
}

#title {
    width: 180px;
    margin-left: auto;
    margin-right: auto;
    border-bottom: 1px solid #cccccc;
    margin-bottom: 15px;
}

#links {
    text-align: center;
    margin-bottom: 5px;
}

.hidden .key {
    height: calc(var(--key-width) / 2);
}

#links a {
    padding: 10px;
    text-decoration: none;
    color: var(--blue);
}

#links a:hover {
    font-style: italic;
}

h1 {
    text-align: center;
    margin-bottom: 7px;
}

img {
    display: block;
    margin-left: auto;
    margin-right: auto;
    margin-top: 40px;
    margin-bottom: 40px;
}

#keyboard {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 10px;
}

.row {
    display: flex;
}

.key {
    user-select: none;
    width: var(--key-width);
    height: var(--key-width);
    margin: var(--key-space);
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #0f0f0f;
    border: var(--key-border) solid black;
    border-radius: 3px;
    font-size: 18px;
    position: relative;
}

.key_big {
    width: var(--tab-width);
}

.key_bigger {
    width: calc(var(--key-width) + var(--key-space) + var(--key-border) + var(--tab-width) / 2);
}

.key_biggest {
    width: calc(1.5 * var(--key-width) + 2 * var(--key-space) + 2 * var(--key-border) + var(--tab-width) / 2);
}

.actual_key {
    color: #444444;
    font-size: 8pt;
    position: absolute;
    top: 0;
    left: 0;
    padding-left: 5px;
    padding-top: 3px;
}

.shift_shav_key {
    color: var(--blue);
    font-size: 9pt;
    position: absolute;
    top: 0;
    right: 0;
    padding-right: 5px;
    padding-top: 1px;
}

#keyboard_selection {
    text-align: center;
}

.button {
    display: inline-block;
    margin-left: 10px;
    margin-right: 10px;
    padding: 3px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 10pt;
    color: #777777;
    border: 1px solid #777777;
    background-color: #111111;
}

.active_button {
    border-color: var(--blue);
    color: var(--blue);
}

#footer {
	font-size: 8pt;
    text-align: center;
    position: fixed;
    bottom: 0;
    width: 100%;
    padding-bottom: 10px;
	padding-top: 5px;
	background-color: #222222;
	border-top: 1px;
	border-left: 0px;
	border-right: 0px;
	border-bottom: 0px;
	border-style: solid;
}
