/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------- 6.0/00 - 15-02-2023
/* colors   -> #EE741D | rgba(238,116,29) | hsla(25,86%,53%) */
/* ------------------------------------------------------------------------------ */
/* link     -> https://codepen.io/sfi0zy/pen/GREPMdL */
/* info     -> dots2circle */
/* ------------------------------------------------------------------------------ */
/* ROOT and VARIABLES */

@font-face {
  font-family: 'Oxanium';
  src: url('fonts/Oxanium-VariableFont_wght.ttf') format('truetype');
  font-weight: 100;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Anodina-Light';
  src: url('fonts/Anodina-Light.woff2') format('woff2');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
/*
@font-face {
  font-family: 'Hanken-Grotesk';
  src: url('fonts/HankenGrotesk-VariableFont_wght.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*/
/*
@font-face {
  font-family: 'Staatliches';
  src: url('fonts/Staatliches-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
*/

:root {
	--hover-bgr:hsla(210,100%,56%,1);
    
    /* cards */
    --card-front-col: rgba(0,0,0,.6); /* black, gray OR client-color */
    --card-front-bgr: #fff;
    --card-back-col: #fff;
    --card-back-bgr: #EE741D;
    --card-ibox-hgt: 14rem;         /* min-height of the card - depends of the text card-back - def 14rem */
    --card-body-bdr: 1px solid rgba(0,0,0,.05);     /* border - def 1px */
    /* grid-area */
    --grid-area-gap: 1rem;          /* gap between flipboxes - def 1rem | min .3rem - check used shadow */
    --grid-area-pad: 1rem;          /* padding - check card-border-radius - def 1rem | min .3rem */
    --grid-area-bgr: none;          /* background - def none */
    --grid-area-bdr: 0px solid rgba(0,0,0,.25);     /* border - def 0px  */
    --grid-area-rad: 0rem;          /* border-radius - def 0rem */

    /* counter - card-front */ 
    --count-color: rgb(255,255,255,.6);	/* color of the counter - must be the same as card-back-background AND no transparent */
    --count-size: 3rem;                 	/* counter size - def 4rem */
	--count-font: Arial;					/* font-familiy ARIAL */
    /*--count-pos-top:1.4rem;             	/* counter position top - def 1rem NOT IN USE*/
    --count-pos-right:1.6rem;             	/* counter position right - def 1.2rem */
    /*--count-pos-left: 2rem;       		/* counter position left - NOT IN USE */
    --count-pos-bottom: 1.4rem;     			/* counter position bottom -  */ 
    --count-width: 1px;             		/* counter stroke - def 1px | max 3px */
    /* animation */
    --time-flip: 0.8s;              		/* def 0.8s */
	}

/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------ 6.0/00 - 15-02-23 */
/* RESET COUNTER -> SEE design.css */
/* dots2circle */

* {
	box-sizing: border-box;
  }
  @-webkit-keyframes move-dot1 {
	0% {
	  transform: translateX(-50%) translateY(-50%);
	}
	20% {
	  transform: translateX(-50%) translateY(30%);
	}
	100% {
	  transform: translateX(-50%) translateY(30%);
	}
  }
  @keyframes move-dot1 {
	0% {
	  transform: translateX(-50%) translateY(-50%);
	}
	20% {
	  transform: translateX(-50%) translateY(30%);
	}
	100% {
	  transform: translateX(-50%) translateY(30%);
	}
  }
  @-webkit-keyframes move-dot2 {
	0% {
	  transform: translateX(-50%) translateY(-50%);
	}
	15% {
	  transform: translateX(-50%) translateY(-10%);
	}
	30% {
	  transform: translateX(-10%) translateY(-10%);
	}
	100% {
	  transform: translateX(-10%) translateY(-10%);
	}
  }
  @keyframes move-dot2 {
	0% {
	  transform: translateX(-50%) translateY(-50%);
	}
	15% {
	  transform: translateX(-50%) translateY(-10%);
	}
	30% {
	  transform: translateX(-10%) translateY(-10%);
	}
	100% {
	  transform: translateX(-10%) translateY(-10%);
	}
  }
  body {
	background: #eee;
  }
  .animation-example {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	height: 90vmin;
	width: 90vmin;
  }
  .animation-example > .item {
	position: absolute;
	top: 0;
	left: 50%;
	height: 50%;
	width: 50%;
	transform: translateX(-50%);
	transform-origin: 50% 100%;
	pointer-events: none;
  }
  .animation-example > .item:nth-child(2) {
	transform: translateX(-50%) rotate(90deg);
  }
  .animation-example > .item:nth-child(3) {
	transform: translateX(-50%) rotate(180deg);
  }
  .animation-example > .item:nth-child(4) {
	transform: translateX(-50%) rotate(270deg);
  }
  .animation-example > .item > .line {
	height: 100%;
	width: calc(50% + 1px);
	border-right: 2px dashed rgb(248, 130, 26, 1); /* #5bc0eb; */
  }
  .animation-example > .item > .dot {
	position: absolute;
	left: 50%;
	top: 10%;
	transform: translateX(-50%) translateY(-50%);
	height: 100%;
	width: 100%;
	-webkit-animation: move-dot1 5.5s linear infinite;
			animation: move-dot1 5.5s linear infinite;
  }
  .animation-example > .item > .dot::after {
	content: '';
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	height: 5%;
	width: 5%;
	background: #fff;
	border: 2px solid rgb(248, 130, 26, 1); /* #5bc0eb; */
	border-radius: 50%;
  }
  .animation-example > .item > .circle {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
	height: 20%;
	width: 20%;
	border-radius: 50%;
	background: rgb(248, 130, 26, 1); /* #5bc0eb; */
  }
  .animation-example > .item.-type2 {
	top: 0;
	left: 0;
	transform: none;
	transform-origin: 100% 100%;
  }
  .animation-example > .item.-type2:nth-child(5) {
	transform: scaleX(-100%);
  }
  .animation-example > .item.-type2:nth-child(6) {
	transform: scaleX(-100%) scaleY(-100%);
  }
  .animation-example > .item.-type2:nth-child(7) {
	transform: scaleY(-100%);
  }
  .animation-example > .item.-type2 > .line {
	position: absolute;
	top: 30%;
	left: calc(30% - 1px);
	width: 70%;
	height: 40%;
	border-right: none;
	border-left: 2px dashed rgb(248, 130, 26, 1); /* #5bc0eb; */
	border-bottom: 2px dashed rgb(248, 130, 26, 1); /* #5bc0eb; */
  }
  .animation-example > .item.-type2 > .dot {
	top: 30%;
	left: 30%;
	-webkit-animation: move-dot2 4s linear infinite;
			animation: move-dot2 4s linear infinite;
  }
  .animation-example > .item.-type2 > .circle {
	top: 30%;
	left: 30%;
	transform: translateX(-50%) translateY(-50%);
  }
  .animation-example > .item:nth-of-type(1) > .dot {
	-webkit-animation-delay: 0;
			animation-delay: 0;
  }
  .animation-example > .item:nth-of-type(7) > .dot {
	-webkit-animation-delay: 0.5s;
			animation-delay: 0.5s;
  }
  .animation-example > .item:nth-of-type(2) > .dot {
	-webkit-animation-delay: 1s;
			animation-delay: 1s;
  }
  .animation-example > .item:nth-of-type(6) > .dot {
	-webkit-animation-delay: 1.5s;
			animation-delay: 1.5s;
  }
  .animation-example > .item:nth-of-type(3) > .dot {
	-webkit-animation-delay: 2s;
			animation-delay: 2s;
  }
  .animation-example > .item:nth-of-type(5) > .dot {
	-webkit-animation-delay: 2.5s;
			animation-delay: 2.5s;
  }
  .animation-example > .item:nth-of-type(4) > .dot {
	-webkit-animation-delay: 3s;
			animation-delay: 3s;
  }
  .animation-example > .item:nth-of-type(8) > .dot {
	-webkit-animation-delay: 3.5s;
			animation-delay: 3.5s;
  }
  .animation-example > .center {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	height: 50%;
	width: 50%;
  }
  .animation-example > .center > .circle {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateX(-50%) translateY(-50%);
	border-radius: 50%;
  }
  .animation-example > .center > .circle:nth-child(1) {
	height: 100%;
	width: 100%;
	background: #fff;
	box-shadow: 0 0 3vmin rgba(0, 0, 0, 0.1);
  }
  .animation-example > .center > .circle:nth-child(2) {
	height: 80%;
	width: 80%;
	border: 2px solid rgb(248, 130, 26, 1); /* #5bc0eb; */
  }
  .animation-example > .center > .circle:nth-child(3) {
	height: 50%;
	width: 50%;
	background: rgb(248, 130, 26, 1); /* #5bc0eb; */
  }
  


/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------ 6.0/00 - 21-08-22 */
/* css-counter postion background */
/* https://stackoverflow.com/questions/43514987/css-increasing-number-as-background-images-for-css */
.count-reset {
	counter-reset:Element; /* reset must be here */
	}

.count-item::before { 
	position:absolute;
  	display:flex;
	/*top:var(--count-pos-top);*/
  	right:var(--count-pos-right);
  	bottom:var(--count-pos-bottom);
  /*left:var(--count-pos-left);*/
	justify-content:center;
  	align-items:center;
  	counter-increment:Element 1;
	content:counter(Element) '';
	font-size:var(--count-size); 
	font-family:var(--count-font);
	font: 800 Arial;
	  -webkit-text-fill-color:transparent; /* works FF, Chrome and Edge */
	  -webkit-text-stroke:var(--count-width);
	  -webkit-font-smoothing:antialiased;
	color:red; /*var(--count-color); /* must be the same color als card-back background */
    opacity:1;
	z-index:999;
	}
/* shadow */
/*
.shadow, .flex-item {
  box-shadow: 0 -1px 1px rgba(0, 0, 0, 0.04), 0 2px 2px rgba(0, 0, 0, 0.04), 0 4px 4px rgba(0, 0, 0, 0.04), 0 8px 8px rgba(0, 0, 0, 0.04), 0 16px 16px rgba(0, 0, 0, 0.04);
}
*/	
/* ------------------------------------------------------------------------------ */
/* END */	
/* ------------------------------------------------------------------------------ */