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

:root {
	font-size: 16px;
}

body {
	margin: 0px;
	background-image: url(images/5.jpg);
	background-repeat: no-repeat;
	background-position: center center;
	width: 100%;
	margin: 0px 0px 0px 0px;
	background-size: cover;
	background-color: #000000;
	--color-text: #a5a5a5;
	--color-bg: #191613;
	--color-link: #d6af7c;
	--color-link-hover: #404040;
	--color-text-circle-1: #48423c;
	--color-text-circle-2: #48423c;
	--color-text-circle-3: #48423c;
	--color-text-circle-4: #48423c;
	--font-circle-1: ivymode, sans-serif;
	--font-weight-circle-1: 300;
	--font-circle-2: modesto-condensed, serif;
	--font-weight-circle-2: 400;
	--font-circle-3: minerva-modern, sans-serif;
	--font-weight-circle-3: 400;
	--font-circle-4: niagara, serif;
	--font-weight-circle-4: 300;
	--color-button: #d6ae7c;
	--color-text-button: #1d1812;
	--dim-button: 120px;
	color: var(--color-text);
	background-color: #000;
	font-family: tenon, sans-serif;
	-webkit-font-smoothing: antialiased;
}

.demo-2 {
	--color-text: #fffff;
	--color-bg: #000000;
	--color-link: #ffffff;
	--color-link-hover: #404040;
	--color-font-circle: #7b7772;
	--color-button: #000000;
	--color-text-button: #000000;
	--color-text-circle-1: #ea34a6;
	--color-text-circle-2: #422163;
	--color-text-circle-3: #212044;
	--color-text-circle-4: #292725;
	--font-circle-1: niagara, serif;
	--font-weight-circle-1: 300;
	--font-circle-2: ambroise-firmin-std, serif;
	--font-weight-circle-2: 300;
	--font-circle-3: modesto-condensed, serif;
	--font-weight-circle-3: 400;
	--font-circle-4: niagara, serif;
	--font-weight-circle-4: 300;
}

.demo-3 {
	--color-text: #292725;
	--color-bg: #dad4d1;
	--color-link: #a99c90;
	--color-link-hover: #292725;
	--color-font-circle: #7b7772;
	--color-button: #a99c90;
	--color-text-button: #272524;
	--color-text-circle-1: #272524;
	--color-text-circle-2: #272524;
	--color-text-circle-3: #272524;
	--color-text-circle-4: #272524;
	--font-circle-1: modesto-condensed, serif;
	--font-weight-circle-1: 400;
	--font-circle-2: ambroise-firmin-std, serif;
	--font-weight-circle-2: 300;
	--font-circle-3: modesto-condensed, serif;
	--font-weight-circle-3: 400;
	--font-circle-4: niagara, sans-serif;
	--font-weight-circle-4: 300;
}

/* Page Loader */
.js body::before,
.js body::after {
	content: '';
	position: fixed;
	z-index: 1000;
	transition: opacity 0.3s;
	opacity: 0;
	pointer-events: none;
}

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

.js body::after {
	content: 'chargement...';
	font-size: 0.8em;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 200;
	line-height: 1;
	color: var(--color-link);
}

.js .loading::before,
.js .loading::after {
	opacity: 1;
	pointer-events: auto;
}

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

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;
}

.frame {
	padding: 1rem 1vw;
	text-align: center;
	position: relative;
	font-weight: 500;
	will-change: transform;
}

.js .frame {
	opacity: 0;
}

.frame__title {
	font-size: 1rem;
	margin: 0 0 1rem;
	font-weight: 500;
}

.frame__links {
	display: inline;
}

.frame__links a:not(:last-child),
.frame__demos a:not(:last-child) {
	margin: 0 1rem 0 0;
}

.frame__demos {
	margin: 1rem 0;
}

.frame__demo--current,
.frame__demo--current:hover {
	color: var(--color-text);
}

.frame_top {
	padding: 2rem 3vw;
	text-align: center;
	position: relative;
}

.frame_center {
	padding: 2rem 3vw;	
	text-align: center;
	min-height: 130px;
	position: relative;
}

.frame_bottom {
	padding: 2rem 3vw;
	text-align: center;
	position: relative;
}

.enter {
	display: block;
	border: 0;
	width: var(--dim-button);
	height: var(--dim-button);
	position: absolute;
	left: calc(50% - var(--dim-button) / 2 );
	top: calc(50% - var(--dim-button) / 2 );
	font: inherit;
	font-weight: 400;
	cursor: pointer;
	background: none;
	color: var(--color-text-button);
	padding: 0;
}

.enter:focus,
.enter:hover,
.enter:active {
	outline: none;
}

.enter__bg {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
}

.enter__text {
	position: relative;
}

.js .enter {
	opacity: 0;
}

.content {
	display: flex;
	flex-direction: column;
	padding: 1.5rem;
	height: calc(100vh - 20rem);
	position: relative;
	justify-content: flex-start;
	align-items: center;
	text-align: center;
	color: #ffffff;
}

.js .content {
	opacity: 0;
}

.content p {
	font-size: 0.65em;
	text-transform: uppercase;
	font-family: Open Sans;
	line-height: 1.25;
	max-width: 900px;
	margin: 0;
	pointer-events: none;
	will-change: transform;
}

.circles {
	pointer-events: none;
	position: fixed;
	 --dim: 186vmin;
	width: var(--dim);
	height: var(--dim);
	top: calc(50% - var(--dim) / 2 );
	left: calc(50% - var(--dim) / 2 );
}

.demo-3 .circles {
	--dim: 206vmin;
}

.circles__text {
	text-transform: uppercase;
	transform-origin: 700px 700px;
	will-change: transform, opacity;
}

.circles__text--1 {
	font-size: 25vmin;
	font-size: clamp(170px,25vmin,180px);
	font-family: var(--font-circle-1);
	font-weight: var(--font-weight-circle-1);
	fill: var(--color-text-circle-1);
}

.circles__text--2 {
	font-size: 17vmin;
	font-size: clamp(136px,17vmin,153px);
	font-family: var(--font-circle-2);
	font-weight: var(--font-weight-circle-2);
	fill: var(--color-text-circle-2);
}

.circles__text--3 {
	font-size: 13.5vmin;
	font-size: clamp(110px,13.5vmin,120px);
	font-family: var(--font-circle-3);
	font-weight: var(--font-weight-circle-3);
	fill: var(--color-text-circle-3);
}

.circles__text--4 {
	font-size: 9.5vmin;
	font-size: clamp(85px,9.5vmin,94px);
	font-family: var(--font-circle-4);
	font-weight: var(--font-weight-circle-4);
	fill: var(--color-text-circle-4);
}

@font-face {
    font-family: 'Open Sans';
    src: url('opensans-webfont.eot');
    src: url('opensans-webfont.eot?#iefix') format('embedded-opentype'),
         url('opensans-webfont.woff2') format('woff2'),
         url('opensans-webfont.woff') format('woff'),
         url('opensans-webfont.ttf') format('truetype'),
         url('opensans-webfont.svg#open_sansregular') format('svg');
    font-weight: normal;
    font-style: normal;

}

/* Footer Style */
.bf_footer{
	position:fixed;
	bottom:0px;
	left:10px;
	width:51%;
	font-size:9px;
	height:30px;
	padding-bottom:20px;
	padding-right:0px;
	text-transform:uppercase;
	z-index:4;
	font-family: 'Open Sans', sans-serif;
}
.bf_footer a{
	padding:5px 5px;
	color:#5f5f5f;
	float:left;
}
.bf_footer a:hover{
	color:#fff;
}
.bf_footer a span{
	font-weight:normal;
}
.bf_footer a.bf_center{
	float:left;
}

@media screen and (min-width: 53em) {
	.frame {
		position: fixed;
		text-align: center;
		z-index: 100;
		top: 0;
		left: 0;
		display: grid;
		align-content: space-between;
		width: 100%;
		max-width: none;
		height: 100vh;
		padding: 2rem;
		pointer-events: none;
		grid-template-columns: 100%;
		grid-template-rows: auto auto auto;
		grid-template-areas: 'title links'
							'... ...'
							'... demos';
	}
	.frame__title {
		margin: 0;
		grid-area: title;
	}
	.frame__menu {
		grid-area: menu;
		justify-self: end;
	}
	.frame__links {
		grid-area: links;
		padding: 0;
		justify-self: end;
	}
	.frame__demos {
		margin: 0;
		grid-area: demos;
		justify-self: end;
	}
	.frame a {
		pointer-events: auto;
	}
	.content {
		padding: 20px;
		justify-content: center;
		text-align: center;
	}
}
