/*** HELPERS & GENERAL ***/

body {overflow-x: hidden;}

body:not(.loaded) {overflow: hidden;}

section {padding: 100px; min-height: 100vh; overflow: hidden; position: relative; padding-left: 255px; transition: .3s;}

@media (max-width: 992px) {
	section {padding: 50px !important; min-height: auto;}
}

@media (max-width: 600px) {
	section {padding: 25px !important;}
}

/*** COLOR & TYPOGRAPHY ***/

:root {
	--blue: #3f51b5;
	--white: #ffffff;
	--pink: #ee6e73;
	--grey: #777777;

	--white-trans: rgba(255,255,255,.1);
	--black-trans: rgba(0,0,0,.1);

	--un: 25px;
	--un-sm: 12.5px;
	--un-lg: 50px;
	--un-xl: 100px;
}

::selection{color: #ffffff; background: var(--pink);}
::-moz-selection{color: #ffffff; background: var(--pink);}

* {font-family: 'Montserrat', sans-serif;}

.blue {background-color: var(--blue);}

.blue-text {color: var(--blue);}

p, blockquote, ul {margin: 25px 0;}
p:first-child, blockquote:first-child, ul:first-child {margin-top: 0;}
p:last-child, blockquote:last-child, ul:last-child {margin-bottom: 0;}

blockquote {font-size: 1.2rem; font-family: 'Roboto Mono', monospace; padding-left: 25px; border-left: 0; position: relative;}
blockquote::before {content: ''; display: block; position: absolute; background: var(--pink); height: 100%; width: 5px; border-radius: 5px; left: 0;}

blockquote a, blockquote b {font-family: 'Roboto Mono', monospace;}

p a, blockquote a, li a {color: var(--pink); font-weight: 600;}
p a:hover, blockquote a:hover, li a:hover {text-decoration: underline;}

h5 {margin-top: 50px; margin-bottom: 25px; font-weight: 600; color: #777777; border-bottom: 1px solid #f2f2f2; padding-bottom: 15px; font-size: 2rem; transition: .3s;}

i.icon {vertical-align: middle;}

.list li {font-size: 1.1rem;}
.list li b::after {content: ' : ';}
.list li span.li-d,
.list li span.li-p {color: #777777;}
.list li span.li-p::before {content: '(';}
.list li span.li-p::after {content: ')';}
.list li span.li-d::before {content: '| '; font-weight: 300;}
.list li span.li-d::after {content: '';}

@media (max-width: 600px) {
	blockquote {padding-left: 17.5px;}
}

/*** COMPONENTS ***/

.btn {
	background: var(--blue);
	text-transform: none;
	box-shadow: 0 0 10px var(--black-trans);
	border-radius: 12.5px;
	font-weight: 600;
	padding: 0 25px;
	font-family: 'Roboto Mono', sans-serif;
}

.btn:hover,
.btn:active,
.btn:focus {
	background: var(--blue);
	box-shadow: 0 5px 20px var(--black-trans);
	opacity: .9;
}

.btn.btn-icon {
	display: inline-flex;
	align-items: center;
}

.btn.btn-icon i {
	margin-right: 7.5px;
	font-size: 1.2em;
}

.section-title {
	margin-bottom: 50px;
	border-bottom: 2px dotted var(--black-trans);
	padding-bottom: 50px;
	transition: .3s;
}

.section-title h2 {
	color: var(--blue);
	font-weight: 600;
	margin: 0;
	transition: .3s;
}

.section-title h3 {
	color: #777777;
	font-family: 'Roboto Mono', monospace;
	font-weight: 300;
	margin: 0;
	transition: .3s;
}

@media (max-width: 992px) {
	.section-title {margin-bottom: 25px; padding-bottom: 25px;}
	.section-title h2 {font-size: 2.5rem;}
	.section-title h3 {font-size: 2rem;}
}

@media (max-width: 750px) {
	.section-title h2 {font-size: 2.3rem;}
	.section-title h3 {font-size: 1.8rem;}
}

@media (max-width: 600px) {
	.section-title h2 {font-size: 2.1rem;}
	.section-title h3 {font-size: 1.5rem;}
}

@media (max-width: 400px) {
	.section-title h2 {font-size: 1.9rem;}
	.section-title h3 {font-size: 1.3rem;}
}

/*** HEADER & NAV ***/

.header-clip { 
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	pointer-events: none;
	z-index: 9;
	clip-path: polygon(0% 0%, 100% 0%, 100% 100%, 0% 100%);
}

nav {
	position: fixed;
	width: 100px;
	top: 0;
	height: 100vh;
	background: transparent;
	box-shadow: none;
	pointer-events: initial;
	left: 55px;
	border-right: 2px dotted rgba(0,0,0,.1);
}

section:not(#intro) nav::before {
	content: '';
	display: block;
	position: absolute;
	height: 50px;
	width: 50px;
	left: -2px;
	border-radius: 50% 0px 50% 50%;
	top: 50px;
	background-image: url('../img/logo_ct_2023.png');
	background-size: 100%;
}

#intro nav {border-right: 2px dotted var(--white-trans);}

nav ul {
	display: flex;
	flex-direction: column;
	background: transparent;
	height: 100%;
	justify-content: center;
}

nav ul li:not(:last-child) {margin-bottom: 20px;}

nav ul li a {
	display: flex;
	align-items: center;
	height: 60px;
	width: 40px;
	text-decoration: none !important;
	padding: 0;
}

nav ul li a:hover {background: transparent;}

nav ul li a i {
	min-width: 40px;
	max-width: 40px;
	font-size: 2.6rem;
	text-align: center;
	height: 40px;
	opacity: 0.5;
	position: relative;
	color: var(--blue);
	transition: .3s;
}

#intro nav ul li a i {color: var(--white);}

nav ul li a.active i {
	opacity: 1;
	color: var(--pink);
}

nav ul li a:hover i {opacity: 1;}

nav ul li:not(:last-child) a i::after {
	content: '';
	display: block;
	height: 20px;
	width: 2px;
	position: absolute;
	top: 50px;
	left: 50%;
	border-right: 2px dotted var(--blue);
	transform: translateX(-50%);
	transition: .3s;
}

#intro nav ul li:not(:last-child) a i::after {border-color: var(--white);}

nav ul li:not(:last-child) a:hover i::after,
nav ul li:not(:last-child) a.active i::after {opacity: .5;}

nav ul li a span {
	color: #3f51b5;
	display: block;
	position: absolute;
	left: 0;
	opacity: 0;
	font-weight: 600;
	font-size: 1.1rem;
	white-space: nowrap;
	transform: scale(.5,.5);
	transition: .3s;
}

#intro nav ul li a span {color: var(--white);}

nav ul li a:hover span {
	transform: scale(1,1);
	padding-left: 60px;
	opacity: 1;
}

@media (max-width: 992px) {
	.header-clip nav {display: none;}
}

.header {
	position: fixed;
	right: 0px;
	top: 0px;
	display: flex;
	align-items: center;
	pointer-events: initial;
	padding: 50px;
}

section:not(#intro) .header {
	background: var(--white);
	border-radius: 0 0 0 25px;
	box-shadow: 0 0 50px var(--black-trans);
}

section#cursus .header,
section#contact .header {background: #fafafa;}

.header .social-links {
	display: flex;
	align-items: center;
	margin: 0;
}

.header .social-links {margin-right: 50px;}

.header .social-links li:not(:last-child) {margin-right: 50px;}

.header .social-links li a {
	color: var(--blue);
	transition: .3s;
}

.header .social-links li a:hover {
	text-decoration: none;
	color: var(--pink);
}

#intro .header .social-links li a {color: var(--white);}

.header .social-links li a i {
	font-size: 1.5rem;
	vertical-align: middle;
}

.header .switch-theme {
	border: 2px solid var(--blue);
	width: 50px;
	height: 25px;
	border-radius: 25px;
	cursor: pointer;
	position: relative;
}

#intro .header .switch-theme {border-color: var(--white);} 

.header .switch-theme .switch-cursor {
	height: 17px;
	width: 17px;
	background: var(--pink);
	border-radius: 50%;
	top: 2px;
	left: 2px;
	position: absolute;
	pointer-events: none;
	transition: .3s;
}

#intro .header .switch-theme .switch-cursor {background: var(--white);}

.header .switch-theme:hover .switch-cursor {left: 12px;}

.header .switch-theme.active .switch-cursor {
	right: 2px !important;
	left: initial;
}

.header .switch-theme.active:hover .switch-cursor {right: 12px !important;}

.header .button-collapse {display: none;}

.header .button-collapse span#menu-icn {
	width: 25px;
	height: 2px;
	vertical-align: middle;
	color: #ffffff;
	background-color: #ffffff;
	border-radius: 10px;
	display: block;
	margin: 10px 0;
	position: relative;
	z-index: 999;
	transition: .3s;
}

.header .button-collapse.active span#menu-icn {
	background: transparent;
}

.header .button-collapse span#menu-icn::before, .header .button-collapse span#menu-icn::after {
	content: '';
	display: block;
	position: absolute;
	background: #ffffff;
	height: 2px;
	width: 100%;
	border-radius: 10px;
	transition: .3s;
}

.header .button-collapse span#menu-icn::before {top: -8px;}

.header .button-collapse.active span#menu-icn::before {top: 0; transform: rotate(-405deg);}

.header .button-collapse span#menu-icn::after {bottom: -8px;}

.header .button-collapse.active span#menu-icn::after {bottom: 0; transform: rotate(405deg);}

@media (max-width: 1400px) {
	.header {padding: 40px;}
}

@media (max-width: 1200px) {
	.header {padding: 30px;}
}

@media (max-width: 992px) {
	.header {padding: 25px;}
}

@media (max-width: 600px) {
	.header {padding: 12.5px !important;}
	section:not(#intro) .header {border-radius: 0 0 0 12.5px;}
	.header .social-links {margin-right: 20px;}
	.header .social-links li:not(:last-child) {margin-right: 20px;}
	.header .social-links li a i {font-size: 1.2rem;}
}

#side-nav {
	position: fixed;
	top: 50%;
	left: -50%;
	transform: translate(-50%,-50%) !important;
	width: 100%;
	height: 100vh;
	padding-bottom: 0;
	background: transparent;
	box-shadow: none !important;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding-left: 25px;
	justify-content: center;
	z-index: 3;
	transition: .3s;
}

#side-nav.open {
	opacity: 1 !important;
	left: 50%;
}

#side-nav.velocity-animating {opacity: 0 !important;}

#side-nav.velocity-animating li {opacity: 0;}

#side-nav.open li {animation: .3s animSideNavLi;}

@keyframes animSideNavLi {
	0% {transform: translateX(-200px); opacity: 0;}
	66% {transform: translateX(-200px); opacity: 0;}
	100% {transform: translateX(0); opacity: 1;}
}

#side-nav.open li:nth-child(2) {animation: .4s animSideNavLi;}

@keyframes animSideNavLi2 {
	0% {transform: translateX(-200px); opacity: 0;}
	66% {transform: translateX(-200px); opacity: 0;}
	100% {transform: translateX(0); opacity: 1;}
}

#side-nav.open li:nth-child(3) {animation: .5s animSideNavLi;}

@keyframes animSideNavLi3 {
	0% {transform: translateX(-200px); opacity: 0;}
	66% {transform: translateX(-200px); opacity: 0;}
	100% {transform: translateX(0); opacity: 1;}
}

#side-nav.open li:nth-child(4) {animation: .6s animSideNavLi;}

@keyframes animSideNavLi4 {
	0% {transform: translateX(-200px); opacity: 0;}
	66% {transform: translateX(-200px); opacity: 0;}
	100% {transform: translateX(0); opacity: 1;}
}

#side-nav.open li:nth-child(5) {animation: .7s animSideNavLi;}

@keyframes animSideNavLi5 {
	0% {transform: translateX(-200px); opacity: 0;}
	66% {transform: translateX(-200px); opacity: 0;}
	100% {transform: translateX(0); opacity: 1;}
}

#side-nav li {
	height: 30px;
	margin: 25px;
}

#side-nav li em {
	opacity: .5;
	font-style: normal;
}

#side-nav li a {
	display: flex;
	padding: 0;
	color: #ffffff;
	height: 50px;
	align-items: center;
}

#side-nav li a:hover {
	background: transparent;
}

#side-nav li a i {
	color: rgba(255,255,255,.5);
	font-size: 2.6rem;
	width: auto;
	/*height: 50px;*/
	margin-right: 25px;
	vertical-align: middle;
}

#side-nav li a span {
	font-size: 1.4rem;
	font-weight: 400;
	font-family: 'Roboto Mono', monospace;
}

#sidenav-overlay {
	background: #3f51b5;
	opacity: .95 !important;
	z-index: 2;
	animation: .3s animSideOverlay;
}

@keyframes animSideOverlay {
	0% {opacity: 0;}
	100% {opacity: .95;}
}

@media (max-width: 992px) {
	.header {padding: 25px;}
	.header .button-collapse {display: block; position: fixed; left: 0; top: 0; padding: 20px 25px 25px 20px; background-color: var(--pink); border-radius: 0 0 25px 0; box-shadow: 0 0 50px var(--black-trans);}
}

/*** HOME ***/

#intro {
	background-color: var(--blue);
	overflow: hidden;
	height: 100vh;
	min-height: 800px;
	position: relative;
	transition: .3s;
}

#intro video, #intro .gif {
	position: absolute;
	opacity: .75;
	top: 0;
	left: 50%;
	width: auto;
	min-width: 100%;
	min-height: 100%;
	mix-blend-mode: lighten;
	pointer-events: none !important;
	user-select: none;
	transform: translateX(-50%);
	transition: .6s;
}

#intro video.fading, #intro .gif.fading {
	opacity: 0;
}

#intro .gif {display: none;}

#intro-content {
	position: absolute;
	display: flex;
	align-items: center;
	top: 50%;
	transform: translateY(-50%);
}

#intro-content img {
	width: 200px;
	margin-right: 50px;
	box-shadow: 0 0 50px var(--black-trans);
	border-radius: 50% 0 50% 50%;
	position: relative;
	animation: 2s animImgHero;
}

@keyframes animImgHero {
	0% {opacity: 0; transform: translateX(-50px);}
	50% {opacity: 0; transform: translateX(-50px);}
	100% {opacity: 100; transform: translateX(0);}
}

#intro-content h1 {
	color: var(--white);
	font-weight: 300;
	margin: 0;
	font-family: 'Roboto Mono', monospace;
	width: calc(100% - 455px);
	max-width: 1100px;
	animation: 3s animTitleHero;
}

@keyframes animTitleHero {
	0% {opacity: 0; transform: translateX(-50px);}
	66% {opacity: 0; transform: translateX(-50px);}
	100% {opacity: 1; transform: translateX(0);}
}

#intro-content h1 b {font-family: 'Montserrat', sans-serif;}

#intro-next {
	position: absolute;
	bottom: 50px;
	left: 50%;
	transform: translateX(-50%);
}

#intro-next::after {
	content: '';
	display: block;
	position: absolute;
	height: 40px;
	width: 2px;
	border-right: 2px dotted #ffffff;
	margin-top: 10px;
	opacity: .5;
	left: 50%;
	transform: translateX(-50%);
}

#intro-next i {
	font-size: 3.3rem;
	text-align: center;
	width: 50px;
	color: #ffffff;
}

@media (max-width: 1500px) {
	#intro-content h1 {font-size: 3.5rem;}
}

@media (max-width: 1400px) {
	#intro-content img {width: 150px;}
	#intro-content h1 {font-size: 2.8rem; width: calc(100% - 300px);}
}

@media (max-width: 1200px) {
	#intro-content h1 {font-size: 2.2rem;}
}

@media (max-width: 992px) {
	#intro video {display: none;}
	#intro .gif {display: block;}
	#intro-content {flex-direction: column; justify-content: flex-start; align-items: flex-start; width: calc(100% - 355px);}
	#intro-content img {margin-right: 0; margin-bottom: 50px;}
	#intro-content {align-items: center; justify-content: center; width: 100%; padding: 50px; left: 0;}
	#intro-content h1 {text-align: center; width: 100%;}
}

@media (max-width: 600px) {
	#intro video {width: auto; height: 100%; left: 50%; transform: translateX(-50%);}
	#intro-content h1 {font-size: 2.6rem;}
}

@media (max-width: 400px) {
	#intro-content h1 {font-size: 2rem;}
}

#rc-projets,
#rc-posts {
	display: flex;
	flex-wrap: wrap;
	margin: -25px;
}

#rc-projets .rc-item {width: calc(25% - 50px);}

#rc-projets .rc-item:not(.active) .rc-item-infos, #rc-projets .rc-item:not(.active) .btn {pointer-events: none;}

#rc-projets .rc-item,
#rc-posts .rc-item {
	margin: 25px;
	display: block;
	border-radius: 25px;
	box-shadow: 0 0 50px var(--black-trans);
	position: relative;
	transition: .3s;
}

#rc-projets .rc-item:not(.active),
#rc-posts .rc-item:not(.active) {cursor: pointer;}

#rc-posts .rc-item {width: calc(16.666% - 50px);}

#rc-projets .rc-item:hover,
#rc-projets .rc-item.active,
#rc-posts .rc-item:hover,
#rc-posts .rc-item.active {padding: 25px;}

#rc-projets .rc-item.active,
#rc-posts .rc-item.active {
	box-shadow: 0 20px 50px var(--black-trans); 
	border-radius: 25px 0 0 25px;
}

#rc-projets .rc-item .rc-img,
#rc-posts .rc-item .rc-img {
	width: 100%;
	border-radius: 25px;
	overflow: hidden;
	background-size: cover;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	background-position: center;
	transition: .3s;
}

#rc-projets .rc-item.active .rc-img,
#rc-posts .rc-item.active .rc-img {
	cursor: pointer !important;
}

#rc-projets .rc-item:hover .rc-img,
#rc-posts .rc-item:hover .rc-img {
	border-radius: 12.5px;
}

#rc-projets .rc-item .rc-img::after,
#rc-posts .rc-item .rc-img::after {
	content: '';
	display: block;
	padding-bottom: 100%;
}

#rc-projets .rc-item img,
#rc-posts .rc-item img {
	/*vertical-align: middle;*/
	/*border-radius: 25px;*/
	/*transition: .3s;*/
	cursor: default;
	position: absolute;
	width: 100%;
	opacity: 0;
}

#rc-projets .rc-item:hover img,
#rc-projets .rc-item.active img,
#rc-posts .rc-item:hover img,
#rc-posts .rc-item.active img {border-radius: 12.5px;}

.rc-item i {
	width: 50px;
	height: 50px;
	font-size: 2rem;
	position: absolute;
	text-align: center;
	top: 25px;
	left: 25px;
	padding: 10px;
	border-radius: 12.5px;
	background: var(--white);
	color: var(--blue);
	box-shadow: 0 0 10px var(--black-trans);
	transition: .3s;
}

.rc-item:hover i,
.rc-item.active i {
	top: 50px;
	left: 50px;
	border-radius: 5px;
}

#rc-posts .rc-item i {
	font-size: 1.3rem;
	height: 40px;
	width: 40px;
}

#rc-posts .rc-item:hover i,
#rc-posts .rc-item.active i {
	top: 12.5px;
	left: 12.5px;
	border-radius: 12.5px;
}

.rc-item .rc-item-infos {
	position: absolute;
	width: 0;
	height: 100%;
	top: 0;
	z-index: 9;
	background: #ffffff;
	border-radius: 0 25px 25px 0;
	transition: .3s;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: flex-start;
	overflow: hidden;
	padding: 0;
	right: 0;
	opacity: 0;
}

.rc-item.active .rc-item-infos {
	right: calc(-100% - 50px);
	width: calc(100% + 50px);
	padding: 25px;
	padding-left: 0;
	opacity: 1;
}

@media (min-width: 1451px) {
	#rc-projets .rc-item.active:nth-child(4n),
	#rc-posts .rc-item.active:nth-child(6n) {border-radius: 0 25px 25px 0;}

	#rc-projets .rc-item:nth-child(4n) .rc-item-infos,
	#rc-posts .rc-item:nth-child(6n) .rc-item-infos {
		right: initial;
		left: 0;
		border-radius: 25px 0 0 25px;
		align-items: flex-end;
		text-align: right;
	}

	#rc-projets .rc-item.active:nth-child(4n) .rc-item-infos,
	#rc-posts .rc-item.active:nth-child(6n) .rc-item-infos {
		left: calc(-100% - 50px);
		right: initial;
		padding: 25px;
		padding-right: 0;
	}
}

.rc-item .rc-item-infos h5 {
	margin-top: 0;
	margin-bottom: 25px;
	padding-bottom: 0;
	width: 100%;
	border-bottom: 0;
}

#rc-posts .rc-item .rc-item-infos h5 {
	font-size: 1.8rem;
	margin-bottom: 22px;
}

@media (max-width: 1450px) {
	#rc-posts .rc-item {width: calc(25% - 50px);}
	#rc-projets .rc-item i {font-size: 1.3rem; height: 40px; width: 40px;}
}

@media (min-width: 993px) and (max-width: 1450px) {
	#rc-posts .rc-item.active:nth-child(4n) {border-radius: 0 25px 25px 0;}

	#rc-posts .rc-item:nth-child(4n) .rc-item-infos {
		right: initial;
		left: 0;
		border-radius: 25px 0 0 25px;
		align-items: flex-end;
		text-align: right;
	}

	#rc-posts .rc-item.active:nth-child(4n) .rc-item-infos {
		left: calc(-100% - 50px);
		right: initial;
		padding: 25px;
		padding-right: 0;
	}
}

@media (max-width: 992px) {
	#rc-projets .rc-item {width: calc(33.33% - 50px);}
	#rc-posts .rc-item {width: calc(33% - 50px);}
	.rc-item i {width: 40px; height: 40px; font-size: 1.45rem;}
	.rc-item .rc-item-infos h5 {font-size: 1.8rem;}
}

@media (min-width: 751px) and (max-width: 992px) {
	#rc-projets .rc-item.active:nth-child(3n),
	#rc-posts .rc-item.active:nth-child(3n) {border-radius: 0 25px 25px 0;}

	#rc-projets .rc-item:nth-child(3n) .rc-item-infos,
	#rc-posts .rc-item:nth-child(3n) .rc-item-infos {
		right: initial;
		left: 0;
		border-radius: 25px 0 0 25px;
		align-items: flex-end;
		text-align: right;
	}

	#rc-projets .rc-item.active:nth-child(3n) .rc-item-infos,
	#rc-posts .rc-item.active:nth-child(3n) .rc-item-infos {
		left: calc(-100% - 50px);
		right: initial;
		padding: 25px;
		padding-right: 0;
	}
}

@media (max-width: 750px) {
	/*.rc-item .rc-item-infos {width: calc(100% + 50px); border-radius: }*/
	.rc-item .rc-item-infos h5 {font-size: 1.6rem;}
	#rc-projets .rc-item {width: calc(50% - 50px);}
	#rc-posts .rc-item {width: calc(50% - 50px);}
}

@media (min-width: 601px) and (max-width: 750px) {
	#rc-projets .rc-item.active:nth-child(2n),
	#rc-posts .rc-item.active:nth-child(2n) {border-radius: 0 25px 25px 0;}

	#rc-projets .rc-item:nth-child(2n) .rc-item-infos,
	#rc-posts .rc-item:nth-child(2n) .rc-item-infos {
		right: initial;
		left: 0;
		border-radius: 25px 0 0 25px;
		align-items: flex-end;
		text-align: right;
	}

	#rc-projets .rc-item.active:nth-child(2n) .rc-item-infos,
	#rc-posts .rc-item.active:nth-child(2n) .rc-item-infos {
		left: calc(-100% - 50px);
		right: initial;
		padding: 25px;
		padding-right: 0;
	}
}

@media (max-width: 600px) {
	#rc-projets {margin: -12.5px;}
	#rc-projets .rc-item {width: calc(50% - 25px); margin: 12.5px;}
	#rc-projets .rc-item:hover, #rc-projets .rc-item.active, #rc-posts .rc-item:hover, #rc-posts .rc-item.active {padding: 12.5px;}
	.rc-item .rc-item-infos {padding: 12.5px; right: 0; border-radius: 0 12.5px 12.5px 0;}
	.rc-item.active .rc-item-infos {right: calc(-100% - 25px) !important; width: calc(100% + 25px) !important;}
	#rc-projets .rc-item .rc-img, #rc-posts .rc-item .rc-img {border-radius: 12.5px;}
	#rc-projets .rc-item .rc-item-infos h5, #rc-posts .rc-item .rc-item-infos h5 {font-size: 1.3rem; margin-bottom: 12.5px;}
	.rc-item i {top: 0; left: 0; border-radius: 12.5px 0; font-size: 1rem; line-height: 20px; box-shadow: none; background: rgba(255,255,255,.8);}
	.rc-item:hover i, .rc-item.active i {top: 12.5px; left: 12.5px; border-radius: 12.5px 0; box-shadow: none;}
	#rc-posts {margin: -12.5px;}
	#rc-posts .rc-item {width: calc(50% - 25px); margin: 12.5px;}

	#rc-projets .rc-item.active:nth-child(2n),
	#rc-posts .rc-item.active:nth-child(2n) {border-radius: 0 25px 25px 0;}

	#rc-projets .rc-item:nth-child(2n) .rc-item-infos,
	#rc-posts .rc-item:nth-child(2n) .rc-item-infos {
		right: initial;
		left: 0;
		border-radius: 12.5px 0 0 12.5px;
		align-items: flex-end;
		text-align: right;
	}

	#rc-projets .rc-item.active:nth-child(2n) .rc-item-infos,
	#rc-posts .rc-item.active:nth-child(2n) .rc-item-infos {
		width: calc(100% + 25px) !important; 
		left: calc(-100% - 25px);
		right: initial;
		padding: 25px;
		padding-right: 0;
	}
}

#cursus {background: #fafafa;}

.cursus-item {
	display: flex;
	align-items: center;
	margin-top: 50px;
}

.cursus-item i {
	font-size: 3.3rem;
	width: 50px;
	min-width: 50px;
	margin-right: 25px;
	color: #777777;
}

.cursus-item h5 {margin-top: 0;}

#cursus-tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	margin: -25px;
}

#cursus-tools li {
	width: calc(14.285% - 50px);
	margin: 25px;
}

#cursus-tools li img {
	width: 100%;
	vertical-align: middle;
}

#cursus-tools ul {
	padding: 10px;
	display: flex;
	flex-wrap: wrap;
	margin: 0px;
	background: #f2f2f2;
	border-radius: 20px;
}

#cursus-tools ul li {
	margin: 10px;
	width: calc(50% - 20px); 
}

#cursus-tools ul li img {
	width: 100%;
	vertical-align: middle;
}

#cursus-tools .tooltipped.sm-tilt .js-tilt-glare {border-radius: 17%;}

@media (max-width: 1450px) {
	#cursus-tools li {width: calc(20% - 50px);}
}

@media (max-width: 1200px) {
	#cursus-tools li {width: calc(25% - 50px);}
}

@media (max-width: 992px) {
	#cursus-tools {margin: -12.5px;}
	#cursus-tools li {width: calc(20% - 25px); margin: 12.5px;}
}

@media (max-width: 750px) {
	#cursus-tools li {width: calc(25% - 25px); margin: 12.5px;}
	.cursus-item i {font-size: 3rem; width: auto; opacity: .2; left: 0; top: -7px; position: absolute; margin-right: 0;}
	.cursus-item h5 {padding-left: 50px;}
}

@media (max-width: 600px) {
	#cursus-tools li {width: calc(33.33% - 25px); margin: 12.5px;}
	i.ci-resp-icon {top: 9px;}
}

@media (min-width: 601px) {
	h5.ci-resp br {display: none;}
}

#conteneur-iframe {
	background: #1eade3;
	min-height: 476px;
	border-radius: 25px;
	box-shadow: 0 0 50px var(--black-trans);
	transform-style: preserve-3d;
}

#conteneur-iframe #cci-content {
	transform: translateY(95px) translateZ(50px);
	display: flex;
	flex-direction: column;
	align-items: center;
	background: #ffffff;
	padding: 50px;
	max-width: 450px;
	margin: auto;
	border-radius: 25px;
	background-image: url('../img/waves-ff-to-24.svg'); 
	background-position: bottom;
	background-repeat: no-repeat;
	background-size: 105%;
	box-shadow: 0 0 50px var(--black-trans);
	border-bottom: 25px solid #243137;
	transition: .3s;
}

#conteneur-iframe #cci-content::after {
	content: '';
	display: block;
	position: absolute;
	background: #243137;
	height: 3px;
	bottom: -1px;
	width: 100%;
}

#conteneur-iframe #cci-background {
	position: absolute;
	overflow: hidden;
	height: 100%;
	width: 100%;
	border-radius: 25px;
}

#conteneur-iframe #cci-background img:first-child {
	position: absolute;
	top: -75px;
	left: -75px;
	width: 500px;
	transform: scale(-1,1);
}

#conteneur-iframe #cci-background img:nth-child(2) {
	position: absolute;
	bottom: -75px;
	right: -75px;
	width: 500px;
}

#conteneur-iframe #cci-content img {
	width: 400px;
	padding: 25px;
	margin-bottom: 25px;
	vertical-align: middle;
}

@media (max-width: 992px) {
	#conteneur-iframe {display: flex; justify-content: center;}
	#conteneur-iframe #cci-background img:first-child {width: 300px;}
	#conteneur-iframe #cci-background img:last-child {width: 300px;}
	#conteneur-iframe #cci-content img {width: 100%;}
}

@media (max-width: 992px) {
	#conteneur-iframe #cci-background img:first-child {width: 200px; left: -30px; top: -30px;}
	#conteneur-iframe #cci-background img:last-child {width: 200px; right: -30px; bottom: -30px;}
	#conteneur-iframe #cci-content {margin: 0 25px; margin-bottom: 0; padding: 12.5px; position: absolute; top: 50%; transform: translateY(-50%);}
}

#contact {
	background: #fafafa;
	padding-bottom: 0 !important;
}

#contact-content {
	background: #243137;
	color: #ffffff;
	height: calc(100vh - 307px);
	border-radius: 25px 25px 0 0;
	overflow: hidden;
	box-shadow: 0 0 50px var(--black-trans);
}

#cc-header {
	background: rgba(255,255,255,.1);
	display: flex;
	justify-content: space-between;
	padding: 10px 15px;
	position: absolute;
	width: 100%;
}

#cc-header ul {
	display: flex;
	align-items: center;
	margin: 0;
}

#cc-header ul li {
	width: 15px;
	height: 15px;
	border-radius: 50%;
	background: #ffc107;
}

#cc-header ul li:not(:last-child) {margin-right: 10px;}

#cc-header ul li:first-child {background: #4caf50;}

#cc-header ul li:last-child {background: #f44336;}

#cc-header i {
	font-size: 1.35rem;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	color: rgba(255,255,255,.8);
} 

#cc-content {
	margin-top: 40px;
	padding: 25px;
	overflow: auto;
	height: 590px;
	font-family: 'Roboto Mono', monospace;
}

#cc-content span {font-family: 'Roboto Mono', monospace;}

#cc-content span.c {color: #546d7a;}
#cc-content span.w {color: #ffffff;}
#cc-content span.r {color: #f07177;}
#cc-content span.y {color: #ffcb6b;}
#cc-content span.g {color: #c3e888;}
#cc-content span.o {color: #f78c6c;}
#cc-content span.i {color: #82aaff;}
#cc-content span.p {color: #c792be;}
#cc-content span.f {color: #ff5364;}
#cc-content span.t {color: #b2ccc3;}

.pre-prompt {margin-top: 25px;}

.prompt {display: flex;}

.prompt input {
	border: 0 !important;
	box-shadow: none !important;
	margin-left: 8px !important;
	margin-top: 0 !important;
	height: 1.2rem !important;
	margin-bottom: 0 !important;
	font-family: 'Roboto Mono', monospace;
}

.prompt label,
.prompt input:disabled {color: rgba(255,255,255,.8) !important;}

#cc-content .response {
	margin-top: 25px;
	font-family: 'Roboto Mono', monospace;
}

#cc-content .response a {
	background: #3f51b5;
	color: #ffffff;
	font-family: 'Roboto Mono', monospace;
}

#cc-content .response a:hover {text-decoration: underline;}

@media (min-width: 993px) {
	#cc-content {height: calc(100vh - 347px);}
}

@media (max-width: 992px) {
	#contact-content {height: calc(100vh - 222px);}
	#cc-content {height: calc(100% - 40px);}
}

@media (max-width: 600px) {
	#cc-content {font-size: .75rem; padding: 12.5px; height: 552px;}
	#cc-content span.t {white-space: nowrap;}
}

/*** FOOTER ***/

footer {
	background: var(--blue);
	padding: 50px;
	color: #ffffff;
}

footer a {
	color: #ffffff;
	font-weight: 600;
}

footer a:hover {text-decoration: underline;}

@media (max-width: 600px) {
	footer {padding: 25px; text-align: center;}
}

/*** JS ***/

#loader {
	position: fixed;
	height: 100%;
	width: 100%;
	background: var(--blue);
	z-index: 99;
}

#loader-progress {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	height: 150px;
	width: 150px;
	border-radius: 50%;
	border: 35px solid #ffffff;
	border-right: 35px solid var(--blue);
	z-index: 9;
	mix-blend-mode: luminosity;
	animation: 2s animLoader infinite cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

#loader-progress::after {
	/*content: '';*/
	display: block;
	position: absolute;
	height: 96px;
	width: 96px;
	border-radius: 50%;
	top: -8px;
	left: -8px;
	border: 8px solid #f0f0f0;
	border-right: 8px solid var(--blue);
}

@keyframes animLoader {
	0% {transform: translate(-50%, -50%) rotate(0deg) scale(1,1);}
	50% {transform: translate(-50%, -50%) rotate(-360deg) scale(1.1,1.1);}
	100% {transform: translate(-50%, -50%) rotate(0deg) scale(1,1);}
}

.material-tooltip {
	border-radius: 16px;
	padding-left: 15px;
	padding-right: 15px;
}

.page {
	position: fixed;
	right: initial;
	top: 0;
	width: 33%;
	height: 100vh;
	max-height: 100vh;
	/*border-radius: 0 25px 25px 0;*/
	box-shadow: 0 0 50px var(--black-trans);
	left: -33%;
	transform: none;
	background: var(--white);
	overflow-x: hidden;
	overflow-y: auto;
	/*direction: rtl;*/
	opacity: 0;
	pointer-events: none;
	user-select: none;
	transition: .6s;
}

.page.active {
	user-select: initial;
	pointer-events: all;
	opacity: 1;
	width: 100%;
	left: 0;
	z-index: 999;
}

/*.modal.open {
	left: 0 !important;
	transition: .3s;
	animation: .3s animModal cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes animModal {
	0% {opacity: 0; left: -33%;}
	100% {opacity: 1; left: 0;}
}*/

i.page-close,
i.modal-close {
	font-size: 1.8rem;
	position: absolute;
	top: var(--un);
	right: 20%;
	height: var(--un);
	width: var(--un);
	color: var(--blue);
	cursor: pointer;
	transition: .3s;
}

i.modal-close {right: 20px !important;}

i.page-close:hover,
i.modal-close:hover {color: var(--pink);}

.page .page-content {
	padding: 50px 20%;
	padding-top: 0;
	/*direction: ltr;*/
}

.page .page-content .page-cat {
	display: inline-flex;
	align-items: center;
	background: #fafafa;
	border-radius: 0 0 12.5px 12.5px;
	margin-bottom: 25px;
	padding: 12.5px;
	color: var(--blue);
}

.page .page-content .page-cat i {
	font-size: 1.3rem;
	width: 20px;
	height: 20px;
	vertical-align: middle;
	margin-right: 12.5px;
}

.page .page-content .page-cat span {
	font-weight: 400;
	font-family: 'Roboto Mono', monospace;
	line-height: 1rem;
}

.page .page-content h5 {
	margin-top: 0;
	padding-bottom: 20px;
}

.page .page-content .description {margin: 20px 0;}

.page .page-content .description ul {padding-left: 20px;}

.page .page-content .description ul li {list-style-type: disc;}

.page .page-content .page-link {margin-bottom: 20px;}

.page .page-gallery {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	/*margin: -12.5px;*/
	border-radius: 40px;
	padding: 10px;
	background: #fafafa;
}

.page .page-gallery .page-gallery-img {
	margin: 12.5px;
	width: calc(25% - 25px);
	border-radius: 25px;
	background-size: cover;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	background-position: center;
	position: relative;
	overflow: hidden;
	transition: .3s;
}

.page .page-gallery .page-gallery-img:hover {
	box-shadow: 0 5px 20px var(--black-trans);
	transform: scale(.9);
}

.page .page-gallery .page-gallery-img::after {
	content: '';
	display: block;
	padding-bottom: 100%;
}

.page .page-gallery .page-gallery-img img {
	border-radius: 25px;
	vertical-align: middle;
	width: 100%;
	opacity: 0;
	position: absolute;
}

.page-infos .page-content h5 {margin-top: 50px}

.page-infos .page-content h6,
.modal .modal-content h6 {
	color: var(--blue);
	font-family: 'Roboto Mono', monospace;
	font-size: 1.2rem;
}

.page-infos ul li a {
	color: var(--pink);
	font-weight: 600;
}

.page-infos ul li a:hover {text-decoration: underline;}

.page-overlay,
#materialbox-overlay {
	background: rgba(0,0,0,.66) !important;
	opacity: 1 !important;
	animation: .3s animOverlay;
}

@keyframes animOverlay {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

.page-overlay.loaded.velocity-animating {
	animation: .3s overlayOut;
}

@keyframes overlayOut {
	0% {opacity: 1;}
	100% {opacity: 0;}
}

.page-overlay::before {
	content: '';
	display: block;
	height: 100%;
	width: 60px;
	background-color: var(--white);
}

.js-tilt-glare {border-radius: 25px;}

.modal {
	border-radius: 25px;
	background: #ffffff;
	box-shadow: 0 0 50px var(--black-trans);
}

.modal .modal-content {
	padding: 20px;
}

.modal .modal-content h5 {
	margin-top: 0;
}

@media (max-width: 992px) {
	i.page-close {right: 10%;}
	.page .page-content {padding-left: 10%; padding-right: 10%;}
	.page .page-gallery .page-gallery-img {width: calc(33.33% - 25px);}
}

@media (max-width: 600px) {
	i.page-close {right: 5%;}
	.page .page-content {padding-left: 5%; padding-right: 5%;}
	.page .page-gallery .page-gallery-img {width: calc(50% - 25px);}
}

#blueimp-gallery .slides {padding: 50px 0;}

.blueimp-gallery > .title {
	font-family: 'Roboto Mono', monospace;
}

.blueimp-gallery img {border-radius: 20px;}

.blueimp-gallery-controls > .close,
.blueimp-gallery-controls > .prev,
.blueimp-gallery-controls > .next {
	background: transparent;
	border: 0;
	height: auto;
	width: auto;
	display: flex;
	align-items: center;
	justify-content: center;
	opacity: .66;
	transition: .3s;
}

.blueimp-gallery-controls > .close:hover,
.blueimp-gallery-controls > .prev:hover,
.blueimp-gallery-controls > .next:hover {
	opacity: 1;
}

.blueimp-gallery > .indicator > li {
	width: 50px;
	height: 50px;
	border: 0;
	transition: .3s;
	box-shadow: 0 0 10px var(--black-trans);
	background-size: cover;
	-webkit-background-size: cover;
	   -moz-background-size: cover;
	     -o-background-size: cover;
	background-position: center;
	margin: 0 6.75px;
}

.blueimp-gallery > .indicator > li:not(:last-child) {
	/*margin-right: 12.5px;*/
}

@media (max-width: 992px) {
	.blueimp-gallery > .indicator > li {width: 35px; height: 35px;}
}

@media (max-width: 600px) {
	.blueimp-gallery > .indicator > li {width: 20px; height: 20px;}
}

#cookieChoiceInfo {
	background: #fafafa !important;
	top: initial !important;
	bottom: 0 !important;
	left: 40px !important;
	width: calc(100% - 80px) !important;
	padding: 25px !important;
	border-radius: 25px 25px 0 0;
	opacity: .9;
	font-weight: 600;
	display: flex;
	color: var(--grey);
	justify-content: space-between;
	align-items: center;
	text-align: left !important;
	padding-left: 240px !important;
}

#cookieChoiceInfo img {
	position: absolute;
	left: 40px;
	top: -40px;
	border-radius: 25px 25px 0 0;
	height: calc(100% + 40px);
}

#cookieChoiceInfo a {
	background: var(--pink) !important;
	text-transform: none !important;
	box-shadow: 0 0 10px var(--black-trans) !important;
	border-radius: 12.5px !important;
	font-weight: 600 !important;
	padding: 0 25px !important;
	font-family: 'Roboto Mono', sans-serif !important;
	color: #ffffff;
	height: 36px !important;
	line-height: 36px !important;
	white-space: nowrap;
	display: inline-block;
	position: relative;
}

#cookieChoiceInfo a:hover,
#cookieChoiceInfo a:active,
#cookieChoiceInfo a:focus {
	color: var(--pink) !important;
	background: var(--pink) !important;
	box-shadow: 0 5px 20px var(--black-trans) !important;
	opacity: .9 !important;
}

#cookieChoiceInfo a::after {
	content: 'G pa lu !';
	opacity: 0;
	position: absolute;
	white-space: nowrap;
	color: #ffffff;
	left: 50%;
	transform: translateX(-50%);
	transition: .3;
}

#cookieChoiceInfo a:hover::after {opacity: 1;}

@media (max-width: 992px) {
	#cookieChoiceInfo {padding-left: 25px !important;}
	#cookieChoiceInfo img {display: none;}
}

@media (max-width: 600px) {
	#cookieChoiceInfo {flex-direction: column;}
	#cookieChoiceInfo a {margin-left: 0 !important; margin-top: 20px;}
}