	/* GRID BEHAVIORS 	.auto-grid
	{
		display: grid;
		grid-template-columns: repeat(auto-fill, minmax(16rem, 1fr));
		grid-gap: 1rem;
	}
	
	.auto-grid > *
	{
		max-width: 18rem;
		margin-left: auto;
		margin-right: auto;
	}
	
	.auto-grid > * + *
	{
		margin-top: 1rem;
	}
	
	@supports (display: grid)
	{
	  .auto-grid > *
	  {
		max-width: unset;
		margin: 0;
	  }
	}

	d/ * GRID ELEMENT SETUPS * /
	section
	{
		padding: 1rem;
		line-height: 1.4;
		font-family: sans-serif;
		max-width: 65rem;
		margin: 2rem auto;
	}
	
	.auto-grid > *
	{
		padding: 1rem;
		text-align: center;
		font-size: 1.2rem;
	}
*/

	/* MODAL WINDOW */
.modal {
  opacity: 0;
  visibility: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  text-align: left;
  z-index: 10000;
  background: rgba(0,0,255, 0.0);
  transition: opacity .25s ease;

}

.modal__bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  cursor: pointer;
}

.modal-state {
  display: none;
}

.modal-state:checked + .modal {
  opacity: 1;
  visibility: visible;
}

.modal-state:checked + .modal .modal__inner {
  top: 0;
}

.modal__inner {
  transition: top .25s ease;
  position: absolute;
  top: -20%;
  right: 0;
  bottom: 0;
  left: 0;
  width: 50%;
  margin: auto;
  overflow: auto;
  background: #fff;
  border-radius: 15px;
  padding: 1em 2em;
  height: 70%;
}

.modal__close {
  position: absolute;
  right: 1em;
  top: 1em;
  width: 1.1em;
  height: 1.1em;
  cursor: pointer;
}

.modal__close:after,
.modal__close:before {
  content: '';
  position: absolute;
  width: 2px;
  height: 1.5em;
  background:white;
  display: block;
  transform: rotate(45deg);
  left: 50%;
  margin: -3px 0 0 -1px;
  top: 0;
}

.modal__close:hover:after,
.modal__close:hover:before {
  background: white;
}

.modal__close:before {
  transform: rotate(-45deg);
}

@media screen and (max-width: 768px) {
	
  .modal__inner {
    width: 90%;
    height: 90%;
    box-sizing: border-box;
  }
}


/* Other
 * =============================== */

.btn {
  cursor: pointer;
  background: #000;
  display: inline-block;
  padding: 5px;
}

.btn:hover,
.btn:focus {
 /* background: white; */
}

.btn:active {
  /* background: white; */
  box-shadow: 0 1px 2px rgba(0,0,0, .2) inset;
}

