/* hide on default, then once everything has loaded,
fadeIn() our content using jquery */
#container { display: none; border: none; }


/* ----------------------------------------
	Helpers
---------------------------------------- */
/*div { border: solid blue 1px; }*/
body { background-color: black; }

/* ----------------------------------------
	Character Defaults
---------------------------------------- */

/* any shared qualities between your two characters */
.character { 
	width: 150px;
	height: 150px;
	border-radius: 50%;

}

#thing-1 { 
	
	/* position your character however you'd like within the container */
	bottom: 40%; 
	right: 5%;
	background-color: #fc50f3;
	position: absolute;
	animation-name: circle-one-jl;
	animation-duration: 5s;
	animation-direction: alternate;
	animation-iteration-count: infinite;
	animation-timing-function: ease-out;
}

#thing-2 { 
	background: yellow;
	/* position your character however you'd like within the container */
	bottom: 40%;
	left: 5%;
}


/* ----------------------------------------
	Character States
	for each character, there are 5 states ... 

	1. default : what we see when we land on the page
	2. hover : when our cursor is over the character
	3. click : when we click on the character
	4. hover-response : how character responds to its partner being hovered on
	5. click-response : how character responds to its partner being clicked on;
---------------------------------------- */

/* THING 1 */
#thing-1 {}
#thing-1.hover {
	animation: thing1-hover .5s infinite;
}
#thing-1.click {
	animation: thing-1-click 5s infinite;
  	animation-iteration-count: 5;
  	transform-origin: 50% 50%
}

/* THING 1 responding to thing 2 */
#thing-1.hover-response {
	animation: thing-1-hover-response 3s infinite;
	animation-fill-mode: forwards;
}
#thing-1.click-response {}


/* THING 2 */
#thing-2 {}
#thing-2.hover {
	animation: thing2-hover 5s infinite;
}
#thing-2.click {}

/* THING 2 responding to thing 1 */
#thing-2.hover-response {
	animation: thing-2-hover-response;
	animation-duration: 3s;
	animation-iteration-count: infinite;
	
}
#thing-2.click-response {
	animation: thing-2-click-response 3s;
}


@keyframes thing-1-hover-response {
	0% { transform: scale(.5); }
	25% { transform: scale(1); }
	50% { transform: scale(.5);}
	75% { transform: scale(1); }
	100% { transform: scale(.5); }

	
}

@keyframes thing1-hover {
	0% { transform: scale(1); background-color: red;}
	25% { transform: scale(.5); }
	50% { transform: scale(1); }
	75% { transform: scale(.5); background-color: red;  }
	100% { transform: scale(1); }
}

@keyframes thing-2-hover-response {
	0% { transform: scale(1); left: 10%; }
	25% { transform: scale(.5); left: 15%; }
	50% { transform: scale(.5); left: 20%; }
	75% { transform: scale(.5); left: 25%; }
	100% { transform: scale(0); left: 30%; }
	
}

@keyframes thing2-hover {
	20% { background-color: blue; }
	50% { background-color: #3661a5; }
	75% { background-color: #171070; }
	100% {background-color: blue;}
	 
} 

@keyframes thing-1-click {
  0%   {height: 100px};
  20% {width: 150px; }
  100% { height: 100px; }
}

@keyframes thing-2-click-response {

	100% {transform: scale(0);}
	
}


















