.treecounter {
	align-items: center;
	display: flex;
	height: 400px;
	justify-content: center;
	position: relative;
}

.treecounter img,
.treecounter svg {
	height: 400px;
	position: absolute;
}

.treecounter .background {
	transform: scale(0.89);
}

.treecounter .tree {
	animation-duration: 1.3s;
	animation-name: grow-tree;
	animation-timing-function: ease-in-out;
	transform-origin: bottom;
	transform: scale(0.89) translateY(-1px);
}

.treecounter .circular-progress {
	animation: progress 1.3s ease-in-out forwards;
	fill: none;
	stroke-linecap: round;
	stroke: #95c11f;
}

.treecounter.ener .circular-progress {
	stroke: #cedf00;
}

.treecounter .text {
	animation-duration: 2.6s;
	animation-name: show-text;
	animation-timing-function: ease-in-out;
	color: #fff;
	font-size: 1.4rem;
	line-height: 1.2;
	text-align: center;
	transform: translateY(-50%);
	z-index: 1;
}

.treecounter .text span {
	display: block;
}

.treecounter .text .big {
	font-size: 1.8rem;
}

@keyframes grow-tree {
	0% {
		transform: scale(0.3) translateY(-1px);
	}
	100% {
		transform: scale(0.89) translateY(-1px);
	}
}

@keyframes progress {
	0% {
		stroke-dasharray: 0 1444.73049679;
	}
}

@keyframes show-text {
	0% {
		opacity: 0;
		transform: scale(0.8) translateY(-50%);
	}
	50% {
		opacity: 0;
		transform: scale(0.8) translateY(-50%);
	}
	100% {
		opacity: 1;
		transform: scale(1) translateY(-50%);
	}
}
