/* ***** References *****
Css3 Generator : https://css3generator.com
SVGOmg : https://jakearchibald.github.io/svgomg
Tiny png : https://tinypng.com
*/

/* ***** Reset ***** */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed,
figure, figcaption, footer, header, hgroup,
menu, nav, output, ruby, section, summary,
time, mark, audio, video{ margin: 0; padding: 0; border: 0; vertical-align: baseline; }
/****** HTML5 POUR LES VIEUX BROWSERS *****/
article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section{  display: block; }
body{ line-height: 1; }
ol, ul{ list-style: none; }
blockquote, q{ quotes: none; }
blockquote:before, blockquote:after,
q:before, q:after{ content: ''; content: none; }
table{  border-collapse: collapse; border-spacing: 0; }
/* ***** END Reset ***** */

/* ***** Main Variables ***** */
:root{
	--color-1:#e41c23; /* Main Color Variable */
	--color-2:green; /* Second Color Variable */
	--color-white:#fff; /* White Color Variable */
	--color-black:#000; /* Black Color Variable */
	--ad-bg:#badae4; /* Banner Background */
	--ad-color:#fff; /* Base Text Color */
	--border-color:#7f7f7f; /* Ad Border Color */
}
/* Example How to Use Variables : var(--color-1) */


/* ***** Base Global Styling ***** */
*{
	box-sizing:border-box;
}

img{
	width:100%;
	height:auto;
}


/* ***** Ad Container ***** */
#ad-container{
	position:relative;
    display:block;
    overflow:hidden;
    margin:auto;
    width:var(--ad-width);
    height:var(--ad-height);
    max-width:var(--ad-width);
    max-height:var(--ad-height);
    box-sizing:border-box;
	background-color:var(--ad-bg);
	color:var(--ad-color);
}

/* ***** Banner Border ***** */
#ad-container:after{
	content:" ";
	position:absolute;
	left:0;
	top:0;
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	border: solid 1px var(--border-color);
	pointer-events: none !important;
	z-index:999;
}


/* ***** Content Banner ***** */
.content-banner{
	position:relative;
	left:0;
	top:0;
	width:100%;
	height:100%;
	opacity:0;
}


/* ***** HitZone ClickTag ***** */
#hitzone{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:100%;
	z-index:99999;
	cursor:pointer;
}


/* ***** Button Replay ***** */
.btn--replay{
    position: absolute;
    z-index:999999;
    top:0px;
    left:0px;
    width:30px;
    height:30px;
    line-height:0;
    opacity:0;
    pointer-events: none;
    cursor: pointer;
}

.btn--replay svg{
	position:absolute;
	left:15%;
	top:15%;
	width:35%;
	height:35%;
	fill:#000;
	-webkit-transition: all 0.4s cubic-bezier(.4,0,.2,1); -moz-transition: all 0.4s cubic-bezier(.4,0,.2,1); -ms-transition: all 0.4s cubic-bezier(.4,0,.2,1); -o-transition: all 0.4s cubic-bezier(.4,0,.2,1); transition: all 0.4s cubic-bezier(.4,0,.2,1);
}

.btn--replay:hover svg{
	-moz-transform: rotate(-270deg); -webkit-transform: rotate(-270deg); -o-transform: rotate(-270deg); -ms-transform: rotate(-270deg); transform: rotate(-270deg);
}


/* ***** Timeline Finished ***** */
.timeline-finished .btn--replay{
	opacity:1;
    pointer-events: all;
}


#ad-container:hover .cta{
	background-color:transparent;
	color:var(--color-white);
}

#ad-container:hover .cta svg{
	fill:var(--color-white);
}

.full-frame{
	position:absolute;
	left:0;
	top:0;
	width:100%;
	height:auto;
	z-index:10;
}

/**/

.cta-block{
	text-align: center;
    position: absolute;
    z-index: 1000;
    bottom:calc(40px/2);
    width: 100%;
}
.cta{
	font-size: 15px;
    letter-spacing: 0.5px;
	color:var(--color-1);
	display:inline-block;
	border:1px solid var(--color-white);
	background:var(--color-white);
	-webkit-border-radius:40px; border-radius:40px;
	padding:11px 22px 9px;
	-webkit-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -moz-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -ms-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; -o-transition: border 0.3s ease, background 0.3s ease, color 0.3s ease; transition: border 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.cta svg{
	width:calc(167px/2);
	height:auto;
	fill:var(--color-1);
	-webkit-transition: fill 0.3s ease; -moz-transition: fill 0.3s ease; -ms-transition: fill 0.3s ease; -o-transition: fill 0.3s ease; transition: fill 0.3s ease;
}

/**/

.logo{
    position: absolute;
    top: calc(35px/2);
    right: calc(55px/2);
    width: calc(260px/2);
    height: auto;
    z-index: 1000;
}
.logo .st0{
	fill: #00314d;
}

.text{
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1000;
}

.text-1{

}

/**/

.red-animation{
    background: var(--color-1);
    width: 100%;
    height: 260px;
    position: absolute;
    bottom: 0;
    z-index: 100;
}
/**/

.transformation0{
	position: absolute;
	z-index: 10;
	-moz-transform: scale(0.85); -webkit-transform: scale(0.85); -o-transform: scale(0.85); -ms-transform: scale(0.85); transform: scale(0.85);
}
.transformation1{
	position: absolute;
	z-index: 8;
	transform-origin: bottom;
	-moz-transform: scale(0.85); -webkit-transform: scale(0.85); -o-transform: scale(0.85); -ms-transform: scale(0.85); transform: scale(0.85);
}
.transformation2{
	position: absolute;
	z-index: 7;
	transform-origin: bottom;
	-moz-transform: scale(0.85); -webkit-transform: scale(0.85); -o-transform: scale(0.85); -ms-transform: scale(0.85); transform: scale(0.85);
}
.transformation3{
	position: absolute;
	z-index: 7;
	-moz-transform: scale(0.85); -webkit-transform: scale(0.85); -o-transform: scale(0.85); -ms-transform: scale(0.85); transform: scale(0.85);
}

.tapis{
    left: -151%;
    top: -95%;
    position: absolute;
    z-index: 9;
}

.tapis img{
	width: initial;
}


/*******************************/

.animation {
	position: relative;
    width: 100%;
    height: 100%;
    left: 0;
    top: 60px;
    -moz-transform: scale(1); -webkit-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1);
}
.animation:before{
	/*content: "";
	background-image: url("../img/bg.png");
    background-position: left top;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 100;*/
}
/**/
.trophy-block {
	width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    right: 0%;
    top: 0;
}
.trophy{
    left: -370%;
    top: -31%;
    position: relative;
    z-index: 9;
}
.trophy img{
	width: initial;
}

/**/
.box-block {
	width: 50%;
    height: 100%;
    overflow: hidden;
    position: absolute;
    left: 0%;
    top: 0;
}
.box{
	left: -370%;
    top: -43%;
    position: relative;
    z-index: 9;
}
.box img{
	width: initial;
}

/*******************************/


