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

body {
    background-color: hotpink;
    font-family: Helvetica, sans-serif;
}

.count-container {
    margin: 100px auto;
    width: calc(100% - 700px);
    background: white;
    border-radius: 5px;
    padding: 20px;

    display: grid;
    justify-content: center;
    align-items: center;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 1fr);
    grid-gap: 20px;
    grid-template-areas: 
    'words characters'
    'counter counter'
    'counter counter';
}

.count-return {
    display: flex;
    flex-flow: column nowrap;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    padding: 10px;
    font-family: "Archivo", sans-serif;
    /* box-shadow: 15px 15px 0 0 rgb(255 20 147 / 0.2); */
}

.count-return h1 {
    letter-spacing: -3px;
    font-weight: bold;
}

.count-return.words {
    grid-area: words; 
    background-color: hotpink;
}

.count-return.characters {
    grid-area: characters;
    background: deeppink;
}

.count-window {
    grid-area: counter; 
}

textarea {
    width: 100%;
    height: 100%;
    border: none;
    padding: 20px;
    font-size: 13px;
    font-family: "Arial", sans-serif;
}

textarea:focus {
    outline: 2px solid hotpink;
    border-radius: 5px;
}

.count-container p {
    font-size: 12px;
    /* text-align: right; */
}

.empty-container,
.refill-container {
    border: none;
    background: deeppink;
    padding: 10px;
    border-radius: 5px;
    font-size: 20px;
    font-weight: bold;
    letter-spacing: -2px;
    width: 100px;
}

.refill-container {
    background: hotpink;
}
