:root {
    --black: black;
    --white: white;
    --blue: hsla(212, 100%, 36%, 1);
    --blue-05: hsla(212, 100%, 36%, 0.5);
    --yellow: hsla(51, 100%, 50%, 1);
}

*, html, body {
    box-sizing: border-box;
    font: 16px/1 sans-serif;
    margin: 0;
    padding: 0;
}

html {
    background-color: var(--white);
}

body {
    align-items: center;
    background: linear-gradient(-45deg, var(--yellow), var(--blue));
    display: flex;
    flex-direction: column;
    height: 100vh;
    min-height: 600px;
    justify-content: center;
}

form {
    background: url(translit.svg) no-repeat center 24px / 40px auto, white;
    border-radius: 2vmin;
    margin: 0 auto;
    max-width: 960px;
    padding: 100px 50px 75px;
    position: relative;
    transition: 0.3s ease;
}

textarea {
    background: var(--white);
    border: none;
    border-radius: 1vmin;
    box-shadow: 0 0 0 2px var(--blue-05);
    outline: none;
    overflow: hidden;
    padding: 16px;
    resize: none;
    width: 100%;
}

#start {
    margin: 0 0 24px 0;
}

button {
    align-items: center;
    background: transparent;
    border: none;
    bottom: 35px;
    color: var(--yellow);
    cursor: pointer;
    display: flex;
    font-size: 50px;
    height: 50px;
    left: 50%;
    margin: 0 0 0 -25px;
    opacity: 0;
    justify-content: center;
    position: absolute;
    transition: 0.3s ease;
    width: 50px;
}

button:hover {
    color: var(--blue);
}

#copy {
    cursor: pointer;
    bottom: 72px;
    opacity: 0;
    position: absolute;
    right: 48px;
    transition: 0.3s ease;
}

#copy.open {
    bottom: 80px;
    opacity: 1;
    right: 56px;
}

.open {
    bottom: 25px;
    opacity: 1;
}

#incopy {
    bottom: 8px;
    color: var(--blue-05);
    font-size: 14px;
    left: 0;
    position: absolute;
    right: 0;
    text-align: center;
}

h1 {
    color: var(--blue);
    font-size: 30px;
    padding: 0 0 24px;
    text-align: center;
}

a.github {
    bottom: 24px;
    position: absolute;
    right: 24px;
    transform: scale(1);
    transition: 0.3s ease;
    width: 30px;
}

a.github:hover {
    transform: scale(1.1);
}

@media screen and (max-width: 1000px) {
    main {
        margin: 24px;
    }
    h1 {
        font-size: 20px;
    }
    a.github {
        bottom: -24px;
        margin: 0;
        position: relative;
        right: auto;
    }
}