/* Common styles */

.pricing {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-justify-content: center;
	justify-content: center;
	width: 100%;
	margin: 0 auto 3em;
}

.pricing--item {
	position: relative;
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-align-items: stretch;
	align-items: stretch;
	text-align: center;
	-webkit-flex: 0 1 330px;
	flex: 0 1 330px;
}

.pricing--feature-list {
	text-align: right;
}

.pricing--action {
	color: inherit;
	border: none;
	background: none;
}

.pricing--action:focus {
	outline: none;
}

/* Individual styles */
  
/* Pema */
.pricing--pema .pricing--item {
	font-family: 'Alegreya Sans', sans-serif;
	padding: 2em 1.8em;
	border-radius: 15px;
	transition: 0.5s ease;
	margin: 1em;
	color: #262b38;
	background: #fff;
	border: 2px solid #009fd6;
	cursor: default;
	overflow: hidden;
	box-shadow: 0 0 15px rgba(0,0,0,0.05);
}

.pricing--pema .pricing--item:hover {
	border: 3px solid #009fd6;
	box-shadow: 2px 1px 15px rgb(0 0 0 / 95%);
}
.pricing--item.pricing--item--featured > h3::after{
	background: url('/static/images/best.webp');
	opacity: 0.8;
	background-size: cover;
	content: '';
	position: absolute;
	top: 10px;
	left: 5px;
	width: 100px;
	height: 100px;
	pointer-events: none;
	transition: 0.5 ease-in-out;
}

.pricing--pema .pricing--anim {
	display: inline-block;
	position: relative;
}

.pricing--pema .pricing--item:hover .pricing--anim {
	-webkit-animation: moveUp 0.4s forwards;
	animation: moveUp 0.4s forwards;
	-webkit-animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
	animation-timing-function: cubic-bezier(0.7, 0, 0.3, 1);
}

.pricing--pema .pricing--item:hover .pricing--anim--2 {
	-webkit-animation-delay: 0.08s;
	animation-delay: 0.08s;
}

@-webkit-keyframes moveUp {
	50% { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	51% { opacity: 0; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	52% { opacity: 1; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
	100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
}

@keyframes moveUp {
	50% { -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	51% { opacity: 0; -webkit-transform: translate3d(0,-100%,0); transform: translate3d(0,-100%,0); }
	52% { opacity: 1; -webkit-transform: translate3d(0,100%,0); transform: translate3d(0,100%,0); }
	100% { -webkit-transform: translate3d(0,0,0); transform: translate3d(0,0,0); }
}

@media screen and (min-width: 66.250em) {
	.pricing--pema .pricing--item {
		margin: 1.5em 1em;
	}
	.pricing--pema .pricing--item--featured {
		z-index: 10;
		margin: 0;
		font-size: 1.15em;
	}
}

.pricing--pema .pricing--title {
	font-size: 2em;
	margin: 0.5em 0 0;
	color: #1d211f;
}

.pricing--pema .icon {
	display: inline-block;
	min-width: 2em;
	color: #198754;
	vertical-align: middle;
	top: 2px;
}

.pricing--pema .pricing--price {
	font-size: 3.3em;
	font-weight: 800;
	color: #009fd6;
	position: relative;
	z-index: 100;
}

.pricing--pema .pricing--currency {
	font-size: 0.5em;
	vertical-align: text-top;
}

.pricing--pema .pricing--period {
	font-size: 0.25em;
	display: inline-block;
	padding: 0 0 0 0.5em;
	color: #6c757d;
	margin-right: -40px;
}

.pricing--pema .pricing--sentence {
	font-weight: bold;
	margin: 0 0 1em 0;
	padding: 0 0 0.5em;
	color: #009fd6;
}

.pricing--pema .pricing--feature-list {
	font-size: 0.95em;
	margin: 0;
	padding: 1.5em 0.5em 2.5em;
	list-style: none;
}

.pricing--pema .pricing--feature {
	padding: 0.15em 0;
	
}

.pricing--pema .pricing--action {
	font-weight: bold;
	margin-top: auto;
	padding: 1em 2em;
	color: #fff;
	border-radius: 20px;
	background: #009fd6;
	-webkit-transition:  0.8s ease-in-out;
	transition: 0.8s ease-in-out;
	text-transform: uppercase;
}

.pricing--pema .pricing--action:hover,
.pricing--pema .pricing--action:focus {
	background-color: var(--bs-green);
	border-radius: 40px;
}
 