/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------- 6.0/00 - 08-03-2023
/* colors   -> #EE741D | rgba(238,116,29) | hsla(25,86%,53%) */
/* ------------------------------------------------------------------------------ */
/* link     -> https://codepen.io/mikel301292/pen/boyXZZ */
/* info     -> time4year */
/* ------------------------------------------------------------------------------ */
/* ROOT and time4year */

@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 - 08-03-23 */
/* RESET COUNTER -> SEE design.css */
/* mode1dark */

html,
body {
  padding: 0;
  margin: 0;
  font-family: sans-serif;
}

html, html * {
  font-family: 'Anodina-Light', sans-serif;
}

* {
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1 {
  font-size: 40px;
  width: 1200px;
  text-transform: uppercase;
  color: #fff;
  position: absolute;
  top: 40px;
  line-height: 0;
}

.controls {
  width: 40px;
  height: 40px;
  position: absolute;
  left: 120px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.controls:hover:after {
  transform: translateX(-10px) rotate(45deg);
}
.controls:hover:active:after {
  transform: translateX(-20px) rotate(45deg);
  transition: 300ms all;
}
.controls:after {
  content: "";
  position: absolute;
  width: 16px;
  height: 16px;
  transform: rotate(45deg);
  border-left: 4px solid #fff;
  border-bottom: 4px solid #fff;
  transition: 500ms all;
}
.controls.next {
  left: auto;
  right: 120px;
  transform: rotate(180deg);
}

.time-line {
  width: 100%;
  height: 480px;
  background-color: #0053A0;
  display: flex;
  justify-content: center;
  align-items: center;
  position: fixed;
  bottom: 0;
}
.time-line * {
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-overflow {
  left: 0;
  width: 500vw;
  position: absolute;
  bottom: 50px;
  height: 50px;
}
.time-line .dates-wrap {
  display: inline-block;
  position: absolute;
  height: 100%;
  left: calc(50vw - 80px);
}
.time-line .dates-wrap:before, .time-line .dates-wrap:after {
  content: "";
  position: absolute;
  width: 160px;
  height: 100%;
  left: -1px;
  transform: translate(-50%, -50%);
  background: linear-gradient(to right, #0053a0 0%, rgba(125, 185, 232, 0) 100%);
  z-index: 2;
}
.time-line .dates-wrap:after {
  left: auto;
  right: -1px;
  background: linear-gradient(to left, #0053a0 0%, rgba(125, 185, 232, 0) 100%);
  transform: translate(50%, -50%);
}
.time-line .dates-wrap .date {
  width: 160px;
  position: relative;
  float: left;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-wrap .date .date-content {
  visibility: hidden;
  position: absolute;
  width: 340px;
  height: 340px;
  bottom: 100%;
  margin-bottom: 80px;
  border-radius: 3px;
  transform-origin: 50% 100%;
  transform: scale(0.7);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0);
}
.time-line .dates-wrap .date .date-content:after {
  content: "";
  position: absolute;
  left: 50%;
  width: 1px;
  top: 100%;
  margin-top: 8px;
  height: 60px;
  opacity: 0;
  background-color: #fff;
  transform: scaleY(0);
  transform-origin: 100% 100%;
  transition: 800ms all cubic-bezier(0.23, 1, 0.32, 1);
}
.time-line .dates-wrap .date .date-content .date-image {
  width: 100%;
  height: calc(100% - 60px);
  background-image: url('../content/image-05-640.webp');
  background-size: cover;
  background-position: center;
}
.time-line .dates-wrap .date .date-content > div {
  opacity: 0;
  transform: translateY(40px);
}
.time-line .dates-wrap .date .date-content .date-text {
  width: 100%;
  height: 60px;
  background-color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #0053A0;
}
.time-line .dates-wrap .date .date-year {
  opacity: 0.4;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.time-line .dates-wrap .date .date-year:hover {
  opacity: 1 !important;
}
.time-line .dates-wrap .date .date-year:hover:after {
  transform: scale(1) !important;
}
.time-line .dates-wrap .date .date-year p {
  position: absolute;
  top: 0px;
  line-height: 0;
  color: #fff;
  font-size: 35px;
  font-weight: 900;
  transform: scale(0.4);
  z-index: 2;
}
.time-line .dates-wrap .date .date-year:after {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  background-color: #fff;
  bottom: 100%;
  margin-bottom: -7px;
  border-radius: 50%;
  transform: scale(0.4);
  transition: 500ms all;
}
.time-line .dates-wrap .date .date-year:before {
  content: "";
  position: absolute;
  top: 0;
  width: 200%;
  height: 1px;
  background-color: #fff;
}
.time-line .dates-wrap .date.sibling .date-year {
  opacity: 0.6;
}
.time-line .dates-wrap .date.sibling .date-year:after {
  transform: scale(0.8);
}
.time-line .dates-wrap .date.sibling .date-year p {
  transform: scale(0.6);
}
.time-line .dates-wrap .date.active + .date .date-year {
  opacity: 0.6;
}
.time-line .dates-wrap .date.active + .date .date-year:after {
  transform: scale(0.8);
}
.time-line .dates-wrap .date.active + .date .date-year p {
  transform: scale(0.6);
}
.time-line .dates-wrap .date.active .date-year {
  opacity: 1;
}
.time-line .dates-wrap .date.active .date-year:before {
  width: calc(200% - 11px);
}
.time-line .dates-wrap .date.active .date-year:after {
  transform: scale(1);
}
.time-line .dates-wrap .date.active .date-year p {
  transform: scale(1.2);
}
.time-line .dates-wrap .date.active .date-content {
  transform: scale(1);
  visibility: visible;
}
.time-line .dates-wrap .date.active .date-content:after {
  transition-delay: 200ms;
  opacity: 1;
  transform: scaleY(1);
}
.time-line .dates-wrap .date.active .date-content div {
  transition-delay: 200ms;
  opacity: 1;
  transform: translateY(0px) scale(1);
}


/* ------------------------------------------------------------------------------ */
/* ------------------------------------------------------------ 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 */	
/* ------------------------------------------------------------------------------ */