:root {
  --white-1: #ffffff;
  --white-2: #f9f9f9;
  --black-1: #282828;
  --black-2: #4f4f4f;
  --graphisme: #2fa3f7;
  --pao: #f43061;
  --video: #9494f7;
  --web: #e96228;
}

@font-face {
    font-family: 'Hatsch';
    src: url('font/Hatsch.ttf');
}

@font-face {
    font-family: 'Bebas Neue';
    src: url('font/BebasNeue_Regular.otf');
}

@font-face {
    font-family: 'Bebas Neue Book';
    src: url('font/BebasNeue_Book.otf');
}

@font-face {
    font-family: 'Bebas Neue Light';
    src: url('font/BebasNeue_Light.otf');
}

@font-face {
    font-family: 'Bebas Neue Bold';
    src: url('font/BebasNeue_Bold.otf');
}

*, html {
    scroll-behavior: smooth !important;
}

/* hide scrollbar but allow scrolling */
body {
    -ms-overflow-style: none; /* for Internet Explorer, Edge */
    scrollbar-width: none; /* for Firefox */
    overflow-y: scroll;
    position: relative;
}

body::-webkit-scrollbar {
    display: none; /* for Chrome, Safari, and Opera */
}

body, h1, p {
	margin: 0;
	font-family: 'Bebas Neue';
}

p:hover, h1:hover, h2:hover, h3:hover, a:hover, img:hover, span:hover, hr:hover, .line:hover {
	scale: 1.01;
	transition: 0.25s;
}

p, h1, h2, h3, img, span, hr, .line {
	transition: 0.25s;
}

a {
	text-decoration: none;
}

h1 {
	font-size: 40px;
	line-height: 45px;
	color: var(--black-1);
	text-transform: uppercase;
}

h1 span {
	font-family: 'Bebas Neue Light';
}

p {
	color: var(--black-2);
	font-size: 18px;
	line-height: 25px;
	font-family: 'Bebas Neue Book';
}

img {
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -o-user-select: none;
    user-select: none;
}

/*.page-apparition {
	position: absolute;
	z-index: 9999;
	height: 100%;
	width: 100%;
	opacity: 1;
	background: var(--black-1);
	scale: 1;
	clip-path: circle(75%);
	transform-origin: center;
	-webkit-animation: 3s ease-out normal forwards 1 Fade;
    animation: 3s ease-out normal forwards 1 Fade;
}*/

.page-apparition {
	z-index: 9999;
	position: fixed;
	background: var(--black-1);
	border-radius: 50%;
	height: 50px;
	width: 50px;
	margin: auto;
	top: 50%;
	left: 50%;
	transform-origin: center;
	opacity: 1;
	scale: 80;
	-webkit-animation: 1s forwards RoundFadeIn;
    animation: 1s forwards RoundFadeIn;
    animation-delay: 0.75s;
}

.page-apparition img {
	position: absolute;
	scale: 0.02;
	top: 2px;
	right: 0.5px;
	filter: brightness(0) invert(1);
	opacity: 0;
	-webkit-animation: 0.5s forwards FadeIn;
    animation: 0.5s forwards FadeIn;
}

@media not all and (min-resolution:.001dpcm) {

	.page-apparition {
		display: none;
	}
}

@supports (-webkit-touch-callout: none) {
	
	.page-apparition {
		display: none;
	}
}

@keyframes RoundFadeIn {
	0% {
		opacity: 1;
	}
	15% {
		opacity: 1;
	}
	100% {
		scale: 0;
		opacity: 0;
		height: 0px;
		width: 0px;
	}
}

@-webkit-keyframes RoundFadeIn {
	0% {
		opacity: 1;
	}
	15% {
		opacity: 1;
	}
	100% {
		scale: 0;
		opacity: 0;
		height: 50px;
		width: 50px;
	}
}

.page-transition-active {
	z-index: 9999;
	position: fixed;
	background: var(--black-1);
	border-radius: 50%;
	height: 0px;
	width: 0px;
	top: -500vh;
	margin: auto;
	transform-origin: center;
	opacity: 0;
	scale: 0;
	-webkit-animation: 0.5s forwards RoundFadeOut;
    animation: 0.5s forwards RoundFadeOut;
}

@keyframes RoundFadeOut {
	0% {
		opacity: 0;
	}
	100% {
		scale: 40;
		opacity: 1;
		height: 50px;
		width: 50px;
	}
}

@-webkit-keyframes RoundFadeOut {
	0% {
		opacity: 0;
	}
	100% {
		scale: 40;
		opacity: 1;
		height: 50px;
		width: 50px;
	}
}

.layout {
	display: flex;
	flex-direction: row;
	height: 100vh;
}

.main {
	display: flex;
	flex-direction: column;
	width: 30%;
	min-width: 400px;
	height: 100%;
	background-color: #384040;
}

.pp {
	width: 100%;
	overflow: hidden;
}

.pp img, .p_images img {
	height: 100%;
	width: 100%;
	object-fit: cover;
    object-position: 50% 25%;
    transition: 0.25s;
    filter: brightness(1);
}

.pp img:hover {
	transition: 0.25s;
    filter: brightness(1.15);
    transform: scale(1.05);
}

.description {
	position: relative;
	padding: 40px 35px;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	text-align: left;
	justify-content: center;
	background-color: var(--white-1);
	color: white;
}

.description p {
	padding: 17px 0 22px 0;
}

.plus {
	display: none;
}

.button {
	color: var(--white-1);
	text-decoration: none;
	text-transform: uppercase;
	padding: 10px 35px;
	background: var(--black-1);
	border: 1px solid var(--black-1);
	transition: 0.25s;
}

.button:hover {
	border: 1px solid var(--black-1);
	background: var(--white-1);
	color: var(--black-1);
	transition: 0.25s;
}

.social-media {
	padding: 25px 0 0 0;
	display: flex;
	justify-content: center;
	align-items: center;
}

.social-media a:first-child img {
	padding: 0 10px 0 0;
}

.social-media img {
	width: 20px;
	filter: invert(9%) sepia(0%) saturate(0%) hue-rotate(61deg) brightness(95%) contrast(82%);
	padding: 0 10px;
}

.brand-mobile {
	display: none;
}

.brand {
	position: absolute;
	bottom: 40px;
	right: 35px;
}

.brand img {
	height: 45px;
}

.content {
	width: 70%;
	background-color: var(--white-2);
	flex-grow: 1;
	overflow-y: scroll;
}

.content h1, h3 {
	font-family: 'Hatsch';
}

.content h3, .p_content h3 {
	color: #989898;
	margin: 0 20px 0 0;
	font-weight: 100;
	transition: font-weight 0.3s ease-in-out;
}

.flex-line label:first-child h3 {
	margin-left: 20px;
}

.content h3:hover {
	opacity: 75%;
	transition: 0.25s;
}

.parcours, .projets {
	width: 100%;
	display: flex;
	flex-direction: column;
	box-sizing: border-box;
}

.parcours {
	height: 328px;
	padding: 35px 0 0 50px;
}

.projets {
	padding: 45px 50px 50px 50px;
}

.projets [value="graphisme"]:checked + h3 {
    color: var(--graphisme);
}

.projets [value="graphisme"]:checked + h3:after {
	background-color: var(--graphisme);
}

.projets [value="pao"]:checked + h3 {
    color: var(--pao);
}

.projets [value="pao"]:checked + h3:after {
	background-color: var(--pao);
}

.projets [value="video"]:checked + h3 {
    color: var(--video);
}

.projets [value="video"]:checked + h3:after {
	background-color: var(--video);
}

.projets [value="web"]:checked + h3 {
    color: var(--web);
}

.projets [value="web"]:checked + h3:after {
	background-color: var(--web);
}

.title {
	display: flex;
	flex-direction: row;
	align-items: baseline;
}

.flex-line {
	display: flex;
}

.title input {
	display: none;
}

.title h3 {
	position: relative;
}

.title label h3:hover {
	cursor: pointer;
}

.title label h3:after {
	content: "";
	position: absolute;
	background-color: #b0b0b0;
	height: 2.5px;
	width: 0;
	left: 0;
	top: -1.5px;
	transition: 0.25s;
}

.title label h3:hover:after {
	width: 100%;
}

.title input:checked + h3 {
    font-weight: 700;
    color: var(--black-2);
}

.title input:checked + h3:after {
	background-color: var(--black-2);
	transition: 0.25s;
}

.active {
	display: flex !important;
}

.active .column, .mosaique .active {
	-webkit-animation: 0.3s ease-out normal forwards 1 FadeIn;
    animation: 0.3s ease-out normal forwards 1 FadeIn;
    -webkit-transform: translateY(30%);
    opacity: 0;
}

.active .column:nth-child(2) {
	animation-delay: 0.05s;
}

.active .column:nth-child(3) {
	animation-delay: 0.1s;
}


@keyframes FadeIn {
	0% {
		opacity: 0;
		-webkit-transform: translateY(30%);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

@-webkit-keyframes FadeIn {
	0% {
		opacity: 0;
		-webkit-transform: translateY(30%);
	}
	100% {
		opacity: 1;
		-webkit-transform: translateY(0);
	}
}

.frise {
	color: var(--black-1);
	margin-top: 1.25em;
}

.scolaire {
	flex-direction: row;
	justify-content: flex-start;
	display: none;
}

.professionnel {
	flex-direction: row;
	justify-content: flex-start;
	display: none;
}

.frise .column {
	display: flex;
	flex-direction: column;
	width: 33%;
}

.column-content {
	display: flex;
	flex-direction: column;
}

.column h2:first-child {
	margin: 0 0 5px 0;
	font-family: 'Bebas Neue Bold';
}

.column h2:nth-child(3) {
	margin: 10px 0 10px 0;
	font-family: 'Bebas Neue';
	text-transform: uppercase;
}

.line-mobile {
	display: none;
}

.column .line {
	display: flex;
	flex-direction: row;
	align-items: center;
}

.column .dot {
	height: 10px;
	width: 10px;
	background-color: var(--black-1);
	border-radius: 50%;
	margin-bottom: 0.5px;
}

.column hr, .p_content hr {
	flex-grow: 1;
	height: 1px;
	border: 0;
	background: linear-gradient(90deg, var(--black-1) 60%, transparent);
}

.column a {
	margin: 25px auto 0 0;
}

.column a img {
	width: 120px;
}

.mosaique {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	margin-top: 1.25em;
	transition: 0.25s;
}

.mosaique a {
	width: 30.75%;
	margin: 10px;
}

.mosaique .card {
	width: 100%;
	display: flex;
	height: 220px;
	background-color: var(--white-1);
	color: var(--black-1);
	border-radius: 15px;
	transition: 0.25s;
	overflow: hidden;
	flex-direction: column;
	text-transform: uppercase;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.05);
}

.mosaique .card:hover {
	cursor: pointer;
	box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.2);
	rotate: 1deg;
	opacity: 75% !important;
	transition: 0.25s;
	border-top-width: 0px;
	border-right-width: 10px;
}

.card:hover > h2 {
	font-size: 26px;
	transition: 0.5s;
}

.card:hover > .overflow img {
    filter: brightness(1.02);
    transform: scale(1.05);
}

.card .overflow {
	position: relative;
	overflow: hidden;
	height: 100%;
}

.card h2, .p_content {
	margin: 0;
	padding: 7.5px 15px 7.5px 15px;
	background-color: var(--white-1);
	transition: 0.25s;
	color: var(--black-1);
}

.card h2 span, .p_content h2 span {
	font-family: "Bebas Neue Book";
	color: var(--black-2);
}

.mosaique .card img:last-child {
	height: 100%;
	width: 100%;
    object-fit: cover;
    object-position: 50% 52%;
    transition: 0.25s;
    filter: brightness(1);
}

.pao-border {
	border-top: 2px solid var(--pao);
	border-right: 3px solid var(--pao);
	transition: 0.25s;
}

.graphisme-border {
	border-top: 2px solid var(--graphisme);
	border-right: 3px solid var(--graphisme);
	transition: 0.25s;
}

.video-border {
	border-top: 2px solid var(--video);
	border-right: 3px solid var(--video);
	transition: 0.25s;
}

.web-border {
	border-top: 2px solid var(--web);
	border-right: 3px solid var(--web);
	transition: 0.25s;
}

.p_layout {
	display: flex;
	flex-direction: row;
	height: 100vh;
	overflow: hidden;
	min-height: 750px;
}

.p_main {
	display: flex;
	flex-direction: column;
	flex: 30%;
}

.p_content {
	padding: 35px 50px;
}

.p_brand img {
	height: 45px;
	padding: 0 0 20px 0;
}

.p_images {
	width: 100%;
	height: 100%;
	overflow: hidden;
}

.p_preview {
	flex: 70%;
}

.p_preview iframe {
	width: 100%;
	height: 100%;
	border: none;
}

.p_carousel {
	flex: 100%;
}

.p_description {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.p_description .texte {
	padding: 0 0 10px 0;
}

.p_description .button {
	margin-top: 10px;
}

.p_content h2 {
	margin: 20px 0;
	font-size: 40px;
	text-transform: uppercase;
}

.p_description .details {
	display: flex;
	flex-direction: row;
	margin-top: 25px;
	flex-wrap: wrap;
	font-size: 13px;
}

.details div {
	padding-right: 40px;
}

.details div h3 {
	padding-top: 5px;
	transition: 0.25s;
	margin: 0;
}

.details div:hover > h3 {
	scale: 1.025;
}

.details div h3:hover {
	scale: 1.025;
}

.p_images img:hover {
	transition: 0.25s;
    filter: brightness(1.04);
    transform: scale(1.05);
}

.logiciel {
	position: absolute;
	z-index: 10;
	height: 40px;
	bottom: 10px;
	left: 10px;
}



@media only screen and (max-height: 750px) {

	.layout {
		min-height: 750px;
	}
}

@media only screen and (max-width: 1400px) {

	.column h2:nth-child(3) {
		margin-top: 0;
	}

	.title input:checked + h3 {
        padding: 10px 20px;
        background: rgb(0 0 0 / 5%);
        border-radius: 0 0 10px 10px;
	}

	.title input + h3 {
        padding: 10px 20px;
	}

	.flex-line label:first-child h3 {
		margin-left: 20px;
	}

	.flex-line label:first-child h3 {
		margin-right: 20px;
	}

	.layout {
		flex-direction: column;
		height: auto;
	}

	.main {
		width: 100%;
		height: 100vh;
		min-height: 750px;
		flex-direction: row-reverse;
	}

	.pp {
		width: 65%;
	}

	.description {
		width: 35%;
		text-align: center;
		align-items: center;
	}

	.plus {
		display: block;
		padding: 20px 20px 0 20px;
		height: 54px;
	}

	.plus img {
		height: 30px;
		-webkit-animation: 2s infinite Boing;
    	animation: 2s infinite Boing;
    	transition: 0.25s;
	}

	@keyframes Boing {
		0% {
			padding-top: 0;
		}
		50% {
			padding-top: 20px;
		}
  		100% {
    		padding-top: 0;
  		}
	}

	.brand {
		top: 40px;
		left: 35px;
		bottom: auto;
		right: auto;
		text-align: initial;
	}

	.content {
		width: 100%;
		overflow-y: hidden;
	}

	.p_layout {
		flex-direction: column;
		min-height: 750px;
	}

	.p_main {
		width: 100%;
		flex-direction: row;
	}

	.p_preview {
		height: 100vh;
		min-height: 750px;
		flex: auto;
	}


}

@media only screen and (max-width: 1000px) {

	.layout {
		min-height: 750px;
	}

	.mosaique a {
		width: 46%;
	}

	.frise p {
		padding-right: 10px;
	}

	.frise p br {
		display: none;
	}


}

@media only screen and (max-width: 850px) {

	.main {
		flex-direction: column;
		min-width: auto;
	}

	.pp, .description {
		width: 100%;
		box-sizing: border-box;
	}

	/*.pp img {
		object-position: 50% 40%;
	}*/

	.description {
		padding: 30px 20px;
	}

	.brand-mobile {
		display: block;
	}

	.brand-mobile img {
		height: 45px;
		padding: 10px 0 40px 0;
	}

	.brand {
		display: none;
	}

	.parcours, .projets {
		height: 100%;
	}

	.flex-line label:first-child h3 {
		margin-left: 0;
	}

	.title {
		flex-direction: column;
	}

	.flex-line {
		margin-top: 15px;
		flex-wrap: wrap;
	}

	.p_main {
		flex-direction: column;
		height: 100%;
	}

	.p_content {
		padding: 35px 30px;
	}

	.p_preview {
		display: none;
	}
}

@media only screen and (max-width: 768px) {

	.parcours {
		padding: 7.5% 10% 4% 10%;
	}

	.projets {
		padding: 4% 10% 7.5% 10%;
	}

	.title {
		padding-bottom: 20px;
	}

	.frise {
		flex-direction: column;
	}

	.frise .column {
		width: 100%;
	}

	.frise .line {
		display: none;
	}

	.frise .column {
		flex-direction: row;
	}

	.column-content {
		padding: 0 0 60px 30px;
		margin-top: -8px;
	}

	.line-mobile {
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.line-mobile .dot {
		height: 10px;
		width: 10px;
		background-color: var(--black-1);
		border-radius: 50%;
		margin-bottom: 0.5px;
	}

	.line-mobile hr {
		width: 1px;
		margin: 0;
		flex-grow: 1;
	    height: 1px;
	    border: 0;
	    background: linear-gradient(180deg, var(--black-1) 60%, transparent);
	}

	.flex-line > * {
		padding: 4px 0;
	}

	.mosaique {
		margin-top: 0;
	}

	.mosaique a {
		width: 100%;
		margin: 10px 0;
	}
}