@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow: hidden scroll;
    scrollbar-width: thin;
}

body {
    background-color: #ffedd5;
    color: tomato;
    font-family: 'Quicksand', sans-serif;
    min-height: 100vh;
    padding: 1rem 1rem 16rem;
    overflow: hidden;
}

.container {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
    gap: 1rem;
    max-width: 640px;
    margin: 0 auto;
}

.heading {
    align-self: center;
    font-size: 1.5rem;
    line-height: 2rem;
}

.target {
    font-size: 1.5rem;
    font-weight: 500;
    line-height: 2rem;
    padding: 0.75rem;
    caret-color: transparent;
    width: 100%;
    height: 100%;
    border: 2px solid rgba(253, 186, 116, .3);
}

.target:focus {
    outline: none;
    border: none;
    border: 2px solid rgba(253, 186, 116, .75);
}

.char-container {
    position: relative;
    display: inline-block;
    vertical-align: top;
}

.char {
    position: absolute;
    transition-property: all;
    transition-timing-function: ease-out;
}