
html,body {
	background: #eee;
}

.form-group {
	position: static;
}

.form {
	width: 100%;
	max-width: 300px;
	background: #fff;
	border-radius: 4px;
	border: 1px solid #ddd;
	padding: 8px 24px;
	margin: 24px auto;
}

.input-wrapper {
	position: relative;
}

.mouth {
	z-index: 1;
	position: relative;
}

.mouth::after {
	content: '';
    background:#eb6667 ;
    width: 80px;
    height: 4px;
    border-radius: 90px;
    /* margin-left: 40%; */
    bottom: 15px;
    left: 30%;
    z-index: 1;
    display: block;
    position: absolute;
}

input.form-control {
	text-align: center;
	background: transparent;
	border: 10px solid red;
	border-radius: 6px 6px 40px 40px;
	z-index: 1;
	position: relative;
	height: 45px;
	background: #761f20;
	multiline: true;
	color: transparent;
	white-space: pre-wrap;
	word-wrap: break-word;
    word-break: break-all;
	transition: height linear .2s;
}

input.form-control:focus, mouth.open input.form-control {
	height: 90px;
	color: #fff;
	outline: none;
}

.mouth.closed input.form-control {
	height: 30px;
}

.teeth {
	display: flex;
	position: absolute;
    left: 10px;
    z-index: 2;
    justify-content: center;
    right: 10px;
}

.teeth.top-teeth {
	display: flex;
	align-items: flex-start;
	top: 10px;
}

.teeth.bottom-teeth {
	display: flex;
	align-items: flex-end;
	bottom: 10px;
}

.teeth.bottom-teeth *:first-child,.teeth.bottom-teeth *:last-child, {
	opacity: 0;
}

.tooth {
	width: 15px;
	height: 8px;
	background: #fff;
	border: 1px solid #000;
}