/*
    Box-shadow: [inset] [top] [left] [blur] [size] [color];
  Tips:
    - setting all the blurs to 0 since we want a solid fill.
    - Add the inset keyword so the box-shadow is on the inside of the element
    - Animating the inset shadow on hover looks like the element is filling in from whatever side you specify ([top] and [left] accept negative values to become [bottom] and [right])
    - Multiple shadows can be stacked
    - Animating multiple shadows, be sure to keep the same number of shadows so the animation is smooth. Otherwise, you'll get something choppy.
*/
/* FILL set button color */
.fill {
  --color: #a972cb;
  --hover: #cb72aa;
}
.fill:hover, .fill:focus {  /* Animate the size, inside */
  -webkit-box-shadow: inset 0 0 0 2em #cb72aa;
          box-shadow: inset 0 0 0 2em #cb72aa;
}
 
    
/* PULSE button color */
.pulse {
  --color: #ef6eae;
  --hover: #ef8f6e;
}
.pulse:hover, .pulse:focus {  /* Animate the size, outside */
  -webkit-animation: pulse 1s;
  animation: pulse 1s;
  -webkit-box-shadow: 0 0 0 1em rgba(255, 255, 255, 0);
          box-shadow: 0 0 0 1em rgba(255, 255, 255, 0);
}
@-webkit-keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 #ef8f6e;
            box-shadow: 0 0 0 0 #ef8f6e;
  }
}
@keyframes pulse {
  0% {
    -webkit-box-shadow: 0 0 0 0 #ef8f6e;
            box-shadow: 0 0 0 0 #ef8f6e;
  }
}
    
/* SHUT set button color */
.shut {
  --color: #ff7f82;
  --hover: #ffa500 ;
}
.shut:hover, .shut:focus {  /* Stack multiple shadows, one from the left, the other from the right */
  -webkit-box-shadow: inset -3.5em 0 0 0 #ffa500, inset 3.5em 0 0 0 #ffa500;
          box-shadow: inset -3.5em 0 0 0 #ffa500, inset 3.5em 0 0 0 #ffa500;
}
  
/* RAISE set button color */
.raise {
  --color: #ffa260;
  --hover: #e5ff60;
}
    .raise:hover, .raise:focus { /* raise color */
  -webkit-box-shadow: 0 0.5em 0.5em -0.4em  #e5ff60;
          box-shadow: 0 0.5em 0.5em -0.4em  #e5ff60;
  -webkit-transform: translateY(-0.25em);
  -ms-transform: translateY(-0.25em);
      transform: translateY(-0.25em);
}
    
   
/* UP set button color */
.up {
  --color: #e4cb58;
  --hover: #94e458;
}
   .up:hover, .up:focus { /* up color */
  -webkit-box-shadow: inset 0 -3.25em 0 0 #94e458;
          box-shadow: inset 0 -3.25em 0 0 #94e458;
} 
    
/* SIDE set button color */
.slide {
  --color: #8fc866;
  --hover: #66c887;
}

    .slide:hover, .slide:focus { /* Slide color  */
  -webkit-box-shadow: inset 7em 0 0 0  #66c887;
          box-shadow: inset 7em 0 0 0  #66c887;
}
    
    
/* OFFset set button color */
.offset {
  --color: #19bc8b;
  --hover: #1973bc;
}
.offset { 
  -webkit-box-shadow: 0.3em 0.3em 0 0 #19bc8b, inset 0.3em 0.3em 0 0 #19bc8b; 
          box-shadow: 0.3em 0.3em 0 0 #19bc8b, inset 0.3em 0.3em 0 0 #19bc8b;
}
.offset:hover, .offset:focus { /* OFFset color */
  -webkit-box-shadow: 0 0 0 0 #1973bc, inset 6em 3.5em 0 0 #1973bc;
          box-shadow: 0 0 0 0 #1973bc, inset 6em 3.5em 0 0 #1973bc;
}
    
    
    /* set button color */
.bon {
  color: var(--color);
  -webkit-transition: 0.5s;
	-o-transition: 0.35;
	transition: 0.5s;
	
}

.bon:hover, .bon:focus {
  border-color: var(--hover);
  color: #fff;
}
.bon {
  background: none;
  border: 0.125em solid ;
  font: inherit;
  width: 6.3em;
  height: 2.3em;
  display: inline-block;
  margin: 20px 25px 20px 25px;
  line-height: 1.9em;
	padding: 0.2em 0.3em;
	align-items: center;
}
    

/* ......................... BUTTON PSEUDO-ELEMENT  ...........................................  */

a{
	text-decoration: none;
	font-family: serif;
	text-align: center;
}
a, span{
	font-size: 1.1em;
}
svg{
	width: 7em;
	height: 2em;
}

/* ROUND PSEUDO-ELEMENT HOVER STYLES */
.round{
	max-width: 50em;
	margin: 0 auto;
}

.round a{
	color: crimson;
	text-transform: uppercase;
	
}
.round .bt{
	display: inline-block;
	width: 6em;
	height: 2em;
	line-height: 2em;
	margin: 20px 25px 10px 25px;
	position: relative;
	overflow: hidden;
	border: .1em solid crimson;
	transition: color .5s;
}
.round .bt:before{
	content:'';
	position: absolute;
	z-index: -1;
	background: crimson;
	height: 9em;
	width: 12.5em;
	border-radius:50%;
}
.round .bt:hover{
	color:#fff;
}
.round .bt:nth-child(1):before{
	top:100%;
	left:100%;
	transition:all .7s;
}
.round .bt:nth-child(1):hover:before{
	top:-50%;
	left:-50%;
}
.round .bt:nth-child(2):before{
	left: -3.3em;
	bottom:100%;
	transition: all .7s;
}
.round .bt:nth-child(2):hover:before{
	bottom: -3.125em;
}
.round .bt:nth-child(3):before{
	top:100%;
	left:100%;
	transition:all .7s;
}
.round .bt:nth-child(3):hover:before{
	top:-50%;
	left:-50%;
}
/* .................................... THE SVG HOVER EFFECTS .......................................... */

.svg .bt{
	text-decoration: none;
	color: #fff;
	position: relative;
	display: inline-block;
	width: 6.3em;
	height: 2em;
	margin: 20px 25px 10px 25px;
	overflow: hidden;
	text-transform: uppercase;
	
}
.svg .bt rect {
		position: absolute;
		top: 0;
		left: 0;
		stroke-width: .14em;
		stroke-dashoffset: 20em;
		stroke: #66c887;
	    
}
.svg .bt span {
		color: #66c887;
		width: 6.3em;
		height: 2em;
		display: inline-block;
		text-align: center;
		position: absolute;
		left: -.17em;
		top: -.07em;
		line-height: 2em;
		transition: all .2s linear;
}
.svg .bt span:hover{
	color:whitesmoke;
	background: #66c887;
	transition: all 1s cubic-bezier(1.25s 0, 1.15, 1, 1);
	transition-delay: .5s;
}

.svg .bt:nth-child(1):hover rect {
		animation: child1 .75s linear forwards;
	
}
@keyframes child1 {
		0% {
				stroke-dasharray: 300;
				stroke-dashoffset: 700;
				stroke-width: .25em;
		}
		75% {
				stroke-dasharray: 900;
				stroke-width: .05em;
		}
		100% {
				stroke-dasharray: 900;
				stroke-width: .07em;
		}
}

.svg .bt:nth-child(2):hover rect {
		animation: child2 .75s linear forwards;
}
@keyframes child2 {
		0% {
				stroke-dashoffset: 350;
				stroke-dasharray: 350;
		}
		50% {
				stroke-dashoffset: 600;
				stroke-dasharray: 400;
				stroke-width: .05em;
		}
		100% {
				stroke-dashoffset: 900;
				stroke-dasharray: 400;
				stroke-width: .07em;
		}
}

.svg .bt:nth-child(3) {
		overflow: visible;
		position: relative;
		top: -.5em;
}
.svg .bt:nth-child(3) span {
	  border: none ; /* .09px solid yellow; */
		transform: scale(.9);
		width: 6.2em;
		height: 1.8em;
	  left: -.28em;
		line-height: 1.8em;
}
.svg .bt:nth-child(3):hover span {
		animation: child3 .55s linear forwards;
}
@keyframes child3 {
		100% {
				transform: scale(1.12);
		}
}

/* .......................................... HIGHLIGHT button ......................................... */
.highlight .bt {
		display: inline-block;
		color: #fff;
		background: darkred;
	 	width: 6.3em;
		height: 2.3em;
		line-height: 2em;
		border-radius: .3em;
		position: relative;
		overflow: hidden;
		font-size: 13px;
		padding: .2em;
		margin: 10px 25px 10px 25px;
}

.highlight .bt:before {
		content: "";
		position: absolute;
		top: -1.87em;
		left: -5em;
		width: 4.37em;
		height: 6.25em;
		background: rgba(255, 255, 255, .7);
		transform: rotate(20deg);
}

.highlight .bt:hover:before {
		left: 9.37em;
		transition: all .7s;
}
 

/* .......................................... Shiny Semi-Transparent Colored Buttons  ......................................... */
.pin {
	min-height: .7em;
	min-width: 4.5em;
	display: inline-block;
	padding: 12px 30px;
	margin: 20px 25px 10px 25px;
	cursor: pointer;
	opacity: 0.9;
	color: #FFF;
	font-size: 1em;
	letter-spacing: 1px;
	text-shadow: rgba(0,0,0,0.9) 0px 1px 2px;
	background: #434343;
	border: 1px solid #242424;
	text-transform: uppercase;
	font-size: 75%;
	text-align: center;
	border-radius: .3em;
	box-shadow: rgba(255,255,255,0.25) 0px 0px 0px, inset rgba(255,255,255,0.25) 0px 1px 0px, inset rgba(0,0,0,0.25) 0px 0px 0px, inset rgba(255,255,255,0.03) 0px 20px 0px, inset rgba(0,0,0,0.15) 0px -20px 20px, inset rgba(255,255,255,0.05) 0px 20px 20px;
	transition: all 0.1s linear;
}
.pin:hover {
 	box-shadow: rgba(0,0,0,0.5) 0px 2px 5px, inset rgba(255,255,255,0.25) 0px 1px 0px, inset rgba(0,0,0,0.25) 0px 0px 0px, inset rgba(255,255,255,0.03) 0px 20px 0px, inset rgba(0,0,0,0.15) 0px -20px 20px, inset rgba(255,255,255,0.05) 0px 20px 20px;
}
.pin:active {
	box-shadow: rgba(255,255,255,0.25) 0px 1px 0px, inset rgba(255,255,255,0) 0px 1px 0px, inset rgba(0,0,0,0.5) 0px 0px 5px, inset rgba(255,255,255,0.03) 0px 20px 0px, inset rgba(0,0,0,0.15) 0px -20px 20px, inset rgba(255,255,255,0.05) 0px 20px 20px;
}
.shine {
	display: block;
	position: relative;
	background: -moz-linear-gradient(left, rgba(255,255,255,0) 0%, rgba(255,255,255,1) 50%, rgba(255,255,255,0) 100%);
	background: -webkit-gradient(linear, left top, right top, color-stop(0%,rgba(255,255,255,0)), color-stop(50%,rgba(255,255,255,1)), color-stop(100%,rgba(255,255,255,0)));
	background: -webkit-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
	background: -o-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
	background: -ms-linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
	filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00ffffff', endColorstr='#00ffffff',GradientType=1 );
	background: linear-gradient(left, rgba(255,255,255,0) 0%,rgba(255,255,255,1) 50%,rgba(255,255,255,0) 100%);
	padding: 0px 12px;
	top: -12px;
	left: -24px;
	height: 1px;
	-webkit-box-shadow: rgba(255,255,255,0.2) 0px 1px 5px;
	 -khtml-box-shadow: rgba(255,255,255,0.2) 0px 1px 5px;
		 -moz-box-shadow: rgba(255,255,255,0.2) 0px 1px 5px;
			 -o-box-shadow: rgba(255,255,255,0.2) 0px 1px 5px;
					box-shadow: rgba(255,255,255,0.2) 0px 1px 5px;
	-webkit-transition: all 0.3s ease-in-out;
	 -khtml-transition: all 0.3s ease-in-out;
		 -moz-transition: all 0.3s ease-in-out;
			 -o-transition: all 0.3s ease-in-out;
					transition: all 0.3s ease-in-out;
}
.pin:hover .shine {left: 25px;}
.pin:active .shine {opacity: 0;}

.pin.gray {background: #555;}
.pin.blue {background: #3a617e;}
.pin.green {background: #477343;}
.pin.red {background: #723131;}
.pin.purple {background: #4b3f5e;}
.pin.orange {background: #624529;}
