﻿@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";

*,
*:before,
*:after {
	-webkit-box-sizing: inherit;
	box-sizing: inherit;
}

/*html {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	font-size: 62.5%;
}*/

.btn,
a.btn,
button.btn {
	font-size: 1.2rem;
	font-weight: 600;
	line-height: 1.5;
	position: relative;
	display: inline-block;
	padding: 1rem 4rem;
	cursor: pointer;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-transition: all 0.3s;
	transition: all 0.3s;
	text-align: center;
	vertical-align: middle;
	text-decoration: none;
	letter-spacing: 0.1em;
	color: #212529;
	border-radius: 1rem;
}

.btn-parent {
	position: relative;
}

.btn-child {
	top: 0;
	position: absolute;
	z-index: -1;
}

	.btn-child img {
		width: 80px;
		height: 80px;
	}

.btn-wrap {
	margin: 60px 0;
}

a.btn-c {
	font-size: 2rem;
	position: relative;
	padding: 2rem 2rem 2rem 3.5rem;
	/*padding: 2.5rem 2rem 2rem 3.5rem;*/
	color: #fff;
	background: #8DC985;
	-webkit-box-shadow: 10px 8px 0 #5BB250;
	box-shadow: 10px 8px 0 #5BB250;
	width: 450px;
}

	a.btn-c span {
		font-size: 1rem;
		position: absolute;
		top: -30px;
		left: calc(50% - 200px);
		display: block;
		width: 400px;
		padding: 0.5rem 0;
		color: #8DBE87; 
		border: 4px solid #8DBE87;
		border-radius: 0.5rem;
		background: #fff;
		-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	a.btn-c:hover {
		-webkit-transform: translate(0, 3px);
		transform: translate(0, 3px);
		color: #fff;
		background: #8DC985;
		-webkit-box-shadow: 0 2px 0 #5BB250;
		box-shadow: 0 2px 0 #5BB250;
	}

		a.btn-c:hover:before {
			left: 2rem;
		}

a.btn-d {
	font-size: 2rem;
	position: relative;
	padding: 3.1rem 2rem 2.5rem 3.5rem;
	color: #fff;
	background: #51A1A0;
	-webkit-box-shadow: 10px 8px 0 #2D535E;
	box-shadow: 10px 8px 0 #2D535E;
	width: 450px;
}

	a.btn-d span {
		font-size: 1rem;
		position: absolute;
		top: -30px;
		left: calc(50% - 200px);
		display: block;
		width: 400px;
		padding: 0.5rem 0;
		color: #51A1A0; /*#FFC000;*/
		border: 4px solid #51A1A0; /*#FFC000;*/
		border-radius: 0.5rem;
		background: #fff;
		-webkit-box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
		box-shadow: 0 3px 3px rgba(0, 0, 0, 0.2);
	}

	a.btn-d img {
		width: 50px;
		height: 50px;
		margin-right: 8px
	}

	a.btn-d:hover {
		-webkit-transform: translate(0, 3px);
		transform: translate(0, 3px);
		color: #fff;
		background: #51A1A0;
		-webkit-box-shadow: 0 2px 0 #2D535E;
		box-shadow: 0 2px 0 #2D535E;
	}

		a.btn-d:hover:before {
			left: 2rem;
		}

a.btn-e {
	font-size: 1.2rem;
	position: relative;
	padding: 1rem 2rem 1rem 3.5rem;
	color: #EBAF9B;
	background: #FFF;
	width: 450px;
	text-align: center;
	border: 2px solid #EBAF9B;
	border-radius: 50px;
}

	a.btn-e:hover {
		color: #EBAF9B;
	}

	a.btn-e:before {
		content: "";
		position: absolute;
		bottom: 0;
		left: 65%;
		border-style: solid;
		border-width: 20px 20px 0 0;
		border-color: #EBAF9B transparent transparent;
		translate: -50% 100%;
		transform: skew(-25deg);
		transform-origin: top;
	}

	a.btn-e:after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 65%;
		border-style: solid;
		border-width: 15.2px 15.2px 0 0;
		border-color: #FFF transparent transparent;
		translate: calc(-50% - 0.4px) 100%;
		transform: skew(-25deg);
		transform-origin: top;
	}

a.btn-f {
	font-size: 1.2rem;
	position: relative;
	padding: 2rem 1rem;
	margin: 1rem 0 2rem 0;
	color: #8DC985;
	background: #FFF;
	width: 450px;
	text-align: center;
	border: 2px solid #8DC985;
	border-radius: 20px;
}

	a.btn-f:hover {
		color: #8DC985;
	}
	/*.btn-e:before {
		position: absolute;
		top: 100%;
		right: 40px;
		height: 0;
		width: 0;
		border-style: solid;
		border-color: #EBAF9B;
		border-top-color: #FFF;
		border-width: 8px;
		content: "";
	}*/

	
/*@media screen and (max-width: 1366px) {
	a.btn-c {
		font-size: 1.5rem;
		padding: 1.4rem 2rem 1rem 3.5rem;*/
/*width: 400px;*/
/*}

		a.btn-c span {
			font-size: 1rem;
			top: -30px;
			left: calc(50% - 150px);
			display: block;*/
/*width: 350px;*/
/*padding: 0.3rem 0;
		}

	a.btn-d {
		font-size: 1.5rem;
		padding: 1.4rem 2rem 1rem 3.5rem;
		width: 400px;
	}
}*/

@media screen and (max-width: 1024px) {
}

@media screen and (max-width: 768px) {
	a.btn-c span {
		position: absolute;
		top: -30px;
		left: calc(50% - 180px);
		display: block;
		width: 360px;
	}

	a.btn-f {
		width: 300px;
		padding: 1rem;
		border-radius: 15px;
		margin-bottom: 1.5rem;
	}
}

@media screen and (max-width: 480px) {
	a.btn-c {
		font-size: 1.5rem;
		width: 300px;
	}

		a.btn-c span {
			top: -30px;
			left: calc(50% - 140px);
			display: block;
			width: 280px;
		}

	a.btn-d {
		font-size: 1.5rem;
		width: 330px;
		padding: 2.3rem 2rem 2rem 3.5rem;
	}

		a.btn-d span {
			top: -30px;
			left: calc(50% - 140px);
			display: block;
			width: 280px;
		}

	a.btn-e {
		font-size: 1.1rem;
		padding: 1rem;
		width: 200px;
	}

		a.btn-e:before {
			left: calc(200px - 35%);
		}

		a.btn-e:after {
			left: calc(200px - 35%);
		}

	a.btn-f {
		width: 270px;
		font-size: 1.1rem;
		padding: 1rem 0.75rem;
		border-radius: 10px;
	}
}


@media screen and (max-width: 360px) {
	a.btn-c {
		width: 250px;
	}

	a.btn-f {
		width: 250px;
	}

	a.btn-f {
		width: 250px;
		font-size: 1.1rem;
		padding: 15px 0px;
	}
}


@media screen and (max-width: 320px) {
	a.btn-c {
		font-size: 1.2rem;
		width: 230px;
	}

		a.btn-c span {
			font-size: 0.8rem;
			top: -20px;
			left: calc(50% - 115px);
			display: block;
			width: 230px;
		}

	a.btn-d {
		font-size: 1.2rem;
		width: 250px;		
	}

		a.btn-d span {
			font-size: 0.8rem;
			top: -20px;
			left: calc(50% - 115px);
			display: block;
			width: 230px;
		}

	a.btn-e {
		font-size: 1rem;
		padding: 0.8rem;
		width: 150px;
	}

		a.btn-e:before {
			left: calc(150px - 35%);
		}

		a.btn-e:after {
			left: calc(150px - 35%);
		}

	a.btn-f {
		width: 230px;
	}
}
