body {
	font-size: 2rem;
	padding: 2vw;
    font-family: sans-serif;
	caret-color: #9C0C60;
}

.animated {
    caret-shape: block;
    caret-animation: manual;
	animation: color-transition 1s linear infinite;
}

.animated--shape {
    caret-shape: block;
    caret-animation: manual;
	animation: shape-transition 2s step-end infinite;
}

.scoped {
    caret-color: auto; /* reset navigation caret color */

    input {
        caret-color: #9C0C60;
    }
}

label {
    line-height: 1 ;
    display: flex;
    align-items: center;
    gap: .25em;
    margin-block-end: 1em;
}

input {
    font: inherit;
    border: 1px solid;
    padding: 0.1em .25em;

}

@keyframes color-transition {
	0% {
		caret-color: #9C0C60;
	}
	50% {
		caret-color: #175928;
	}
}

@keyframes shape-transition {
   0% { caret-shape: block; }
  50% { caret-shape: underscore; }
}
