@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');


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

body {
    width: 100%;
    height: 100vh;
    font-size: 1rem;
    font-family: 'Inter', sans-serif;
    display: flex;
    background: #80558C;
    justify-content: center;
    color: whitesmoke;
    align-items: center;
}

.container {
    background: #AF7AB3;
    width: 25rem;
    padding: 1.25rem;
    margin: 10px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,.3);
}

h3 {
    margin-bottom: 1.25rem;
}

.textarea {
    resize: none;
    width: 100%;
    height: 6.25rem;
    font-family: inherit;
    padding: 0.625rem;
    margin-bottom: 1.25rem;
    border: 2px solid gray;
    outline: none;
    border-radius: 5px;
    font-size: 1rem;
}

.counter-container {
    display: flex;
    justify-content: space-between;
    padding-inline: 5px;
    margin-bottom: 1.25rem;
}

.counter-container p {
    font-size: 16px;
}

.total-counter {
    color: green;
    font-weight: bold;
}

.remaining-counter {
    color: orangered;
    font-weight: bold;
}