html, body {
    background: #142436;
    color: #20B2AA;
    margin:0;
    padding: 0;
    font-family: 'Press Start 2P', cursive;
    text-align: center;
}

body {
    font-weight: 400;
}

#root {
    position: relative;
}

.container {
    max-width: 780px;
    margin: 0 auto;
}

button {
    font-family: 'Press Start 2P', cursive;
    display: block;
    margin: 0 auto 25px;
    border: 3px outset #eee;
    background: #20B2AA;
    padding: 10px 20px;
    text-transform: uppercase;
    cursor: pointer;
}

button:disabled {
    cursor: not-allowed;
}

h1 {
    font-size: 20px;
}

h2 {
    font-size: 19px;
}

p, textarea {
    font-family: 'Ubuntu Mono', monospace;
    color: #fff;
    letter-spacing: 1px;
    line-height: 1.3;
    width: 90%;
}

p {
    font-size: 20px;
    margin: 0 auto 15px;
}

textarea {
    font-size: 18.5px;
    border: 3px solid transparent;
    margin: 0 auto;
    outline: none;
    height: 170px;
    background: #20B2AA;
    padding: 15px;
    caret-color: #fff;
    box-sizing: border-box;
}

textarea:disabled {
    background-color: #a5a2a2;
}

[data-title] {
    position: relative;
}

[data-title]::after {
    content: attr(data-title);
    position: absolute;
    bottom: 10px;
    left: 69%;
    font-size: small;
    color: chocolate;
    letter-spacing: 1px;
    opacity: 0;
    visibility: hidden;
    z-index: 99;
    transition: all .7s;
}

[data-title]:hover::after {
    opacity: 1;
    visibility: visible;
}

.toggle_wrapper {
    position: absolute;
    top: 10px;
    right: 75px;
}

.toggle_wrapper input {
    position: absolute;
    left: -99em;
}
  
.toggle {
    display: inline-block;
    position: relative;
    width: 65px;
    height: 30px;
    background-color: #d2d3d2;
    border-radius: 25px;
    cursor: pointer;
}

.toggle:before {
    content: "EN";
    position: absolute;
    left: -50px;
    top: 8px;
    font-size: 18px;
    cursor: auto;
}
  
.toggle:after {
    content: "UA";
    position: absolute;
    right: -50px;
    top: 8px;
    font-size: 18px;
    color: gold;
    cursor: auto;
}
  
.toggle__handler {
    display: inline-block;
    position: relative;
    z-index: 1;
    top: 2px;
    left: -17px;
    width: 26px;
    height: 26px;
    background-color: #20B2AA;
    border-radius: 50px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
    transition: all 400ms cubic-bezier(0.68, -0.55, 0.265, 1.05);
    transform: rotate(-45deg);
}

input:checked + .toggle .toggle__handler {
    background-color: gold;
    transform: translate(34px, 0) rotate(0);
}

@media (max-width: 1280px) {
    .toggle_wrapper {
        pointer-events: none;
    }

    .toggle_wrapper input {
        left: 0;
        width: 100%;
        height: 100%;
        pointer-events: auto;
        opacity: 0;
    }

}