*,
*::after,
*::before {
	box-sizing: border-box;
}

:root {
	font-size: 14px;
	--color-text:#00005a;
	--color-bg: #fff;
	--color-link: #00005a;
	--color-link-hover:#00005a;
}

body {
	margin: 0;
	color: var(--color-text);
	background-color: var(--color-bg);
	font-family: "Unica77LLWeb-Regular", sans-serif;
	font-weight: normal !important;
	height: 100%;
	overflow: hidden;
}

#slideholder { background-repeat:no-repeat; background-position:center; background-size: cover}
.slide__text {
	height: auto;
	background-color: #fff;
	will-change: transform, opacity, filter;
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50%;	
}

.extended {
    letter-spacing: 4px;
}

.slide__text__footer {
	height: auto;
	background-color: #fff;
	will-change: transform, opacity, filter;
	position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: auto;
}


h3  {text-transform: uppercase; margin:0; letter-spacing:4px;  font-weight: normal; padding:0}
p  { margin:0; letter-spacing: normal; font-weight: normal; padding:0}
#fixed-logo { position: fixed; width:100%; height:100%; background-color: transparent;  vertical-align:middle; z-index:-1; display:block ; text-align:center}
#content-logo {position: absolute;    top: 50%;    width: 100%;    transform: translateY(-50%); z-index: 0; margin-left:-7px }

/* Page Loader */
.js .loading::before,
.js .loading::after {
	content: '';
	position: fixed;
	z-index: 1000;
}

.js .loading::before {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: var(--color-bg);
}

.js .loading::after {
	top: 50%;
	left: 50%;
	width: 15px;
	height: 15px;
	margin: -7px 0 0 -7px;
	border-radius: 50%;
	opacity: 0.4;
	background: var(--color-link);
	animation: loaderAnim 0.7s linear infinite alternate forwards;

}

a {
	text-decoration: none;
	color: var(--color-link);
	outline: none;
	cursor: pointer;
}

a:hover {
	color: var(--color-link-hover);
	outline: none;
}

/* Better focus styles from https://developer.mozilla.org/en-US/docs/Web/CSS/:focus-visible */
a:focus {
	/* Provide a fallback style for browsers
	 that don't support :focus-visible */
	outline: none;
	background: lightgrey;
}

a:focus:not(:focus-visible) {
	/* Remove the focus indicator on mouse-focus for browsers
	 that do support :focus-visible */
	background: transparent;
}

a:focus-visible {
	/* Draw a very noticeable focus style for
	 keyboard-focus on browsers that do support
	 :focus-visible */
	outline: 2px solid red;
	background: transparent;
}

.unbutton {
	background: none;
	border: 0;
	padding: 0;
	margin: 0;
	font: inherit;
	cursor: pointer;
}

.unbutton:focus {
	outline: none;
}

.frame {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100vh;
	color: var(--color-title);
	padding: 2rem;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto auto auto 1fr;
	grid-template-areas: 'title title' 'prev back' 'demos demos' 'sponsor sponsor' 'nav nav';
	justify-content: start;
	align-content: start;
	align-items: start;
	z-index: 100;
	pointer-events: none;
	grid-gap: 1rem;
}

body #cdawrap {
	align-self: start;
	justify-self: start;
}

.frame a,
.frame button {
	pointer-events: auto;
}

.frame__title {
	grid-area: title;
	display: flex;
	align-items: flex-end;
	font-weight: 400;
}

.frame strong {
	font-weight: 700;
}

.frame__title-main {
	font-size: inherit;
	margin: 0;
	font-weight: inherit;
}

.frame__back {
	grid-area: back;
}

.frame__prev {
	grid-area: prev;
}

.frame__demos {
	grid-area: demos;
	display: grid;
	grid-template-columns: repeat(8,auto);
	column-gap: 1rem;
	row-gap: 0.5rem;
}

.frame__demos span {
	grid-column: 1 / span 8;
}

a.frame__demo {
	font-weight: 400;
	font-size: 1rem;
	text-decoration: none;
	opacity: 0.5;
}

a.frame__demo--current {
	font-weight: 700;
	opacity: 1;
	color: var(--color-link-hover);
}

.slides {
	width: 100%;
	height: 100vh;
	overflow: hidden;
	display: grid;
	grid-template-rows: 100%;
	grid-template-columns: 100%;
	place-items: center;
}

.slide {
	width: 100%;
	height: 100%;
	grid-area: 1 / 1 / -1 / -1;
	pointer-events: none;
	opacity: 0;
	overflow: hidden;
	position: relative;
	display: grid;
	place-items: center;
	will-change: transform, opacity;
}

.slide--current {
	pointer-events: auto;
	opacity: 1;
}


.slide__img {
	width: 100%;
	height: 100%;
	background-size: cover;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	will-change: transform, opacity, filter;
}

.demo-2 .slide__img {
	width: 120%;
	height: 120%;
}

.slides-nav {
	grid-area: nav;
	display: none;
	gap: 0.5rem;
	align-self: end;
	align-items: center;
}

.slides-nav::before {
/*	content: 'scroll / drag';
	margin-right: 2rem;*/
}

.slides-nav__item {
	border: 0;
	background: #fff;
	color: #000;
	width: 60px;
	aspect-ratio: 1;
	display: grid;
	place-items: center;
	border-radius: 50%;
	cursor: pointer;
	transition: background-color 0.3s;
}

.slides-nav__item:hover {
	background-color: #ccc;
}

/*#myvideo {transform: translate(-50%, -50%);position: absolute;top: 50%; left: 50%;}*/


/*mobile*/
@media screen and (max-width: 850px) {
:root {
	font-size: 11px;
	line-height:11px;
}
	
	.frame { 
		height: 100vh; 
		grid-gap: 2rem;
		align-content: space-between;
		grid-template-columns: auto auto auto 1fr;
		grid-template-rows: auto auto;
	}
	.frame__demos {
		justify-self: end;
		justify-content: end;
	}
	.frame__demos span,
	a.frame__demo {
		text-align: right;
	}
	.slides-nav {
		justify-self: end;
	}
	body #cdawrap {
		align-self: center;
		justify-self: start;
	}
    #slideholder { background-repeat:no-repeat; background-position:center; background-size:140% auto}
.slide__text {
	height: auto;
	background-color: #fff;
	will-change: transform, opacity, filter;
	position: absolute;
  top: 50%;
  left: 50%;
  /*transform: translate(-50%, -50%);*/
  width:90%;
  font-size: 1.26vh;
}
	
	
	
}
