@charset "utf-8";
/* CSS Document */
:root {
	--primary: #123456;
	--primary-rgb: 18, 52, 86;
	--primary-accent: #76878a;
	--secondary: #33433d;
	--secondary-accent: #cbcfc9;
	--white: #ffffff;
	--gray: #a0a09e;
	--charcoal: #2f3130;
	--charcoal-rgb: 47, 49, 48;
	--black: #000000;
	--black-rgb: 0, 0, 0;
	--swiper-theme-color: #FFFFFF !important;
}
::selection {
	background-color: rgba(var(--primary-rgb), .75);
	color: var(--CM-white);
}
:focus-visible {
	outline: 2px solid var(--white);
	border-radius: 5px;
	outline-offset: 6px;
}
@font-face {
	font-family: Montserrat;
	src: url("fonts/Montserrat-VariableFont_wght.ttf");
	font-style: normal;
	/* https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight */
	font-weight: 100 900;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}	
html {
	font-family: 'Montserrat', sans-serif;
	scroll-behavior: smooth;
	background-color: var(--primary);
}
body {
	overflow: overlay;
}
/* width */
::-webkit-scrollbar {
	width: 20px;
	/*background-color: var(--primary);*/
}
/* Handle */
::-webkit-scrollbar-thumb {
	border: 7.5px solid rgba(0,0,0,0);
	background-clip: padding-box;
	/*-webkit-border-radius: 10px;
	border-radius: 10px;*/
	background-color: rgba(0,0,0,0.15);
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
	background-color: var(--white);
}


/* NAVIGATION */
a {
	text-decoration: none;
}
li {
	list-style-type: none;
}
header {
	width: 100%;
	height: 3rem;
	background-image: linear-gradient(90deg, rgba(var(--black-rgb), .1), rgba(var(--black-rgb), 0));
	position: fixed;
	display: flex;
	justify-content: space-between;
	filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5));
	backdrop-filter: blur(5px);
}
#logo {
	height: 3rem;
	width: 3rem;
}
.logo {
	fill: var(--white);
}
h1 {
	line-height: 3rem;
	font-size: 2rem;
	text-align: center;
	color: var(--white);
	font-weight: 300;
	transition: font-weight 500ms;
	position: relative;
	z-index: 102;
}
h1:is(:hover, :active) {
	font-weight: 500;
}
h1:is(:hover, :active):after {
	z-index: -1;
	content: "";
	height: 250px;
	width: 250px;
	display: block;
	background-image: url(images/confetti.gif);
	background-size: cover;
	position: absolute;
	left: 50%;
	top: calc(50% - 1rem);
	transform: translate(-50%, -50%) rotate(180deg);
	margin: 0 auto;
}

.nav-ul {
	/*line-height: calc(130vh / 10.8); /* 130px / 1080px */
	/*margin-top: 180px;*/
	display: flex;
	flex-direction: column;
	height: 100%;
	justify-content: center;
	align-items: center;
	gap: 1rem;
}
nav a {
	font-size: 2rem;
	color: var(--white);
}
nav a:is(:hover, :focus) {
	color: var(--secondary-accent);
}
.menu {
	background-color: rgba(var(--black-rgb), .2);
	width: 20rem;
	height: 100vh;
	height: 100dvh;
	position: fixed;
	top: 0;
	right: -34rem;
	z-index: 98;
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
	backdrop-filter: blur(5px);
}
.hamburger {
	filter: drop-shadow(0px 0px 4px rgba(0,0,0,.5));
	position: fixed;
	margin: calc(1.5rem - 1px) .625rem;
	top: 0;
	/*right: 20px;*/
	right: 0;
	cursor: pointer;
	z-index: 100;
	width: 1.75rem;
	height: 2px;
	background-color: var(--white);
	transition-property: all;
	transition-duration: .3s;
	transition-delay: .1s;
}
.hamburger::before, .hamburger::after {
	content: '';
	width: 1.75rem;
	height: 2px;
	background-color: var(--white);
	position: absolute;
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
}
.hamburger::before {
	top: -.65rem;
}
.hamburger::after {
	top: .65rem;
}
#menuToggle:checked ~ .hamburger::before {
	transform: rotate(45deg);
	top: 0;
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
}
#menuToggle:checked ~ .hamburger {
	background-color: rgba(255, 255, 255, 0);
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
}
#menuToggle:checked ~ .hamburger::after {
	transform: rotate(-45deg);
	top: 0;
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
}
#click-field {
	width: 3rem;
	height: 3rem;
	position: absolute;
	top: calc(-1.5rem + 1px);
	right: -.625rem;
}
header {
	z-index: 99;
}
.span--spacer {
	width: 3rem;
	height: 3rem;
	/*margin-right: 20px;*/
}
#menuToggle {
	display: none;
}
#menuToggle:checked ~ .menu {
	right: 0;
	transition-property: all;
	transition-duration: .5s;
	transition-delay: .1s;
}
section {
	min-height: 100vh;
	min-height: 100dvh;
}
.hero {
	/*background-color: var(--primary);*/
	background-image: linear-gradient(40deg,var(--primary),var(--charcoal),var(--secondary));
	background-size: 400%;
	animation: gradient-animate 4s infinite alternate;
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 3rem;
}
.hero__article::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(40deg,rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0));
	background-size: 600%;
	animation: gradient-animate 6s infinite alternate ease;
	z-index: -1;
	/* https://pixelcorners.lukeb.co.uk/?radius=3&multiplier=1 */
	clip-path: polygon(
		0% 0%,
		0% 100%,
		2px 100%,
		2px 3px,
		3px 3px,
		3px 2px,
		calc(100% - 3px) 2px,
		calc(100% - 3px) 3px,
		calc(100% - 2px) 3px,
		calc(100% - 2px) calc(100% - 3px),
		calc(100% - 3px) calc(100% - 3px),
		calc(100% - 3px) calc(100% - 2px),
		3px calc(100% - 2px),
		3px calc(100% - 3px),
		2px calc(100% - 3px),
		2px 100%,
		100% 100%,
		100% 0%);
	border-radius: 5px;
}
.hero__article {
	position: relative;
	color: var(--white);
	width: 60ch;
	padding: 3rem;
	border-radius: 5px;
}
/*.hero__article:is(:hover, :focus) {
	background-color: rgba(255,255,255,.05);
	box-shadow: 0 1rem 1rem rgba(0,0,0,.2);
}*/
/* https://www.youtube.com/watch?v=f3mwKLXpOLk */
@keyframes gradient-animate {
	0% {
		background-position: left;
	}
	100% {
		background-position: right;
	}
}
@keyframes gradient-animate-02 {
	0% {
		background-position: 0 0;
	}
	100% {
		background-position: 1200px 1200px;
	}
}
@keyframes gradient-animate-03 {
	0% {
		background-position: left;
	}
	100% {
		background-position: right;
	}
}

.hero__article > * + * {
	margin-top: 2rem;
}
.hero__p {
	font-size: 1.25rem;
}
.hero__article a {
	color: var(--white);
	font-weight: 600;
}
.hero__article a:is(:hover, :active, :focus) {
	color: var(--secondary-accent);
}
.signature {
	width: 100px;
	height: 50px;
	position: relative;
	margin-inline: auto;
}
/* https://www.youtube.com/shorts/LuWdeuPMHps */
.sig-line {
	fill: none;
	stroke: var(--white);
	stroke-width: 2;
	stroke-linecap: round;
	stroke-miterlimit: 10;
	stroke-dasharray: 372;
	opacity: 1;
	filter: blur(0);
}
/* Scroll Animations */
/* https://www.youtube.com/watch?v=T33NN_pPeNI */
.hidden {
	opacity: 0;
	filter: blur(5px);
	transform: translateX(-10%);
	transition: all 1s;
	stroke-dashoffset: 372;
}
.show {
	opacity: 1;
	filter: blur(0);
	transform: translateX(0);
	animation: sign 4s ease;
	animation-fill-mode: forwards;
}
@media(prefers-reduced-motion) {
	.hidden {
		transition: none;
	}
}
@keyframes sign {
	to { 
		stroke-dashoffset: 0;
	}
}
.flip {
	position: relative;
}
.picture {
	border-radius: 5px;
	aspect-ratio: 0.8;
	width: 480px;
	display: block;
	background-image: url("images/Marot-website-02.png"), url("images/Marot-website-01.jpg");
	background-position: bottom right, -103px -83px;
	background-repeat: no-repeat;
	background-size: 64px, 250%;
	transition: all 0.4s ease;
	position: relative;
}
.picture:is(:hover, :focus) {
	aspect-ratio: 1;
	width: 600px;
	background-position: 110% 110%, top left;
	background-size: 64px, 100%;
}
.picture:active {
	transform: rotateY(0.5turn);
	transition: all 1s ease;
	filter: brightness(50%) blur(10px);
}
.picture:active ~ .back::after {
	transform: rotateY(0turn);
	transition: all 1s ease;
}
.back::after {
	content: "\271D";
	position: absolute;
	color: var(--white);
	font-size: 6rem;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transform: rotateY(-0.5turn);
	backface-visibility: hidden;
}
h2 {
	padding-top: 4rem;
	text-align: center;
	font-size: 2rem;
	display: block;
	color: var(--white);
	font-weight: normal;
}
.personality::before {
	content: "";
	background-color: rgba(var(--charcoal-rgb), .9);
	mix-blend-mode: soft-light;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.personality {
	background-color: var(--charcoal);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	background-image: url(images/RCT-LEGO-coffee-01.jpg), url(images/RCT-hiking-03.png);
	background-repeat: no-repeat, no-repeat;
	background-position: top left, bottom right;
	background-size: clamp(620px, 55%, 1860px), clamp(380px, calc(380% / 6.2 * .55), 1140px);
	position: relative;
	gap: 3rem;
	padding-bottom: 3rem;
}
.personality__h2 {
	filter: drop-shadow(0px 0px 10px var(--charcoal));
}
.personality__article {
	margin: auto;
	width: 70ch;
	backdrop-filter: blur(50px);
}
.personality__p {
	font-size: clamp(1.25rem, calc(25.6vw / 19), 1.6rem);
	line-height: clamp(1.75rem, calc(36vw / 19), 2.25rem);
	font-weight: 200;
}
sup {
	font-size: calc(clamp(1.25rem, calc(25.6vw / 19), 1.6rem) / 2);
	vertical-align: top;
}
.skills {
	background-color: var(--secondary);
}
.skill-icon::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background-image: linear-gradient(40deg,rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0));
	background-size: 600%;
	animation: gradient-animate-03 6s infinite alternate ease;
	/* https://pixelcorners.lukeb.co.uk/?radius=3&multiplier=1 */
	clip-path: polygon(
		0% 0%,
		0% 100%,
		2px 100%,
		2px 3px,
		3px 3px,
		3px 2px,
		calc(100% - 3px) 2px,
		calc(100% - 3px) 3px,
		calc(100% - 2px) 3px,
		calc(100% - 2px) calc(100% - 3px),
		calc(100% - 3px) calc(100% - 3px),
		calc(100% - 3px) calc(100% - 2px),
		3px calc(100% - 2px),
		3px calc(100% - 3px),
		2px calc(100% - 3px),
		2px 100%,
		100% 100%,
		100% 0%);
	border-radius: 5px;
}
ul {
	display: grid;
    grid-gap: 3rem;
    grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
	padding: 3rem;
}
li {
	display: inline-flex;
	align-items: center;
	gap: 1.5rem;
	min-width: 185px;
	margin-inline: auto;
	color: var(--secondary-accent);
}
.skill-icon {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 1rem;
	width: 1rem;
	position: relative;
	color: var(--white);
	padding: 1.5rem;
	border-radius: 5px;
	white-space: nowrap;
}
/* https://codepen.io/dcode-software/pen/NWpZjNB */
.tabs {
	display: flex;
	flex-wrap: wrap;
}
.tabs__label {
	cursor: pointer;
	color: var(--secondary-accent);
	margin-inline: auto;
	padding: 1rem;
}
.tabs__radio {
	display: none;
}
.tabs__content {
	order: 1;
	width: 100%;
	display: none;
}
.tabs__radio:checked + .tabs__label {
	font-weight: bold;
	color: var(--white);
	border-bottom: 2px solid var(--white);
}
.tabs__radio:checked + .tabs__label + .tabs__content {
	display: initial;
}
.portfolio {
	background-color: var(--secondary-accent);
}
.portfolio h2, .portfolio h3, .portfolio p {
	color: var(--charcoal);
}
.portfolio__header--nda {
	background-color: var(--primary);
	max-width: calc(1080px + 6rem);
	margin: 3rem auto;
	display: flex;
	gap: 1.5rem;
	padding: 1.5rem;
	justify-content: center;
	align-items: center;
	border-radius: 5px;
}
.portfolio__header--img {
	height: 3rem;
	aspect-ratio: 1;
	mix-blend-mode: soft-light;
}
.portfolio__header--p {
	color: var(--secondary-accent) !important;
	max-width: 70ch;
	margin-inline: auto;
}
.projects {
	display: grid;
    gap: 3rem;
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
	padding: 3rem;
	margin-inline: auto;
	max-width: calc(1080px + 12rem);
}
.projects__h2 {
	padding-top: 0;
	font-size: 1.75rem;
}
.projects--group {
	position: relative;
}
.projects--group::after {
	content: "";
	width: 100%;
	height: 2px;
	background-image: linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0),var(--charcoal),rgba(255,255,255,0),rgba(255,255,255,0),rgba(255,255,255,0));
	margin-top: .5rem;
	position: absolute;
	left: 0;
	right: 0;
}
.landscape {
	grid-column: 1 / 4;
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
}
.landscape video {
	aspect-ratio: 16 / 9;
	z-index: 80;
}
.landscape p {
	max-width: 70ch;
	margin-inline: auto;
}
.button {
	position: relative;
	top: clamp(.75rem, calc(24vw / 19), 1.5rem);
	padding: clamp(.75rem, calc(24vw / 19), 1.5rem);
	border-radius: 50%;
	background-color: var(--secondary-accent);
	z-index: 81;
}
.button:is(:focus, :active) {
	cursor: pointer;
	filter: brightness(110%);
}
.button:hover {
	cursor: pointer;
	background-color: var(--gray);
}
.sound-icon {
	height: clamp(1.5rem, calc(48vw / 19), 3rem);
	width: clamp(1.5rem, calc(48vw / 19), 3rem);
	aspect-ratio: 1;
	display: block;
	mix-blend-mode: hard-light;
}
h3 {
	text-align: center;
	font-weight: 500;
	font-size: 1.33rem;
	margin-bottom: .5rem;
}
.project p {
	min-height: 7rem;
	margin-bottom: 3rem;
	position: relative;
	display: block;
}
.project p::after {
	content: "";
	border: solid var(--charcoal);
	border-width: 0 2px 2px 0;
	height: 1rem;
	width: 1rem;
	display: block;
	position: absolute;
	margin-top: .75rem;
	left: 50%;
	transform: rotate(45deg) translate(-50%);
}
.project a, .project a:visited {
	color: var(--primary);
	font-weight: 600;
}
.project a:is(:hover, :active, :focus) {
	color: var(--secondary);
}
iframe {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: cover;
	border-radius: 5px;
}
.showcase {
	background-color: rgba(var(--black-rgb), .05);
}
video {
	width: 100%;
	aspect-ratio: 9 / 16;
	object-fit: contain;
	border-radius: 5px;
}
.connect::before {
	content: "";
	background-image: url(images/explosion.gif);
	background-size: 600px;
	mix-blend-mode: screen;
	rotate: -135deg;
	filter: saturate(.5);
	background-repeat: no-repeat;
	background-position: center;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
}
.connect {
	background-color: var(--charcoal);
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	position: relative;
	overflow: hidden;
}
.connect__article {
	margin: auto;
}
.connect-card {
	position: relative;
	width: 356px;
	aspect-ratio: 712 / 1000;
	object-fit: cover;
	border-radius: 5px;
	transition: all 300ms;
	margin-block: 3rem;
}
.connect-card:is(:hover, :focus) {
	filter: brightness(110%);
	transition: all 300ms;
}
/*#threejs-canvas {
	position: relative;
    height: 100dvh;
    width: 100%;
    left: 0;
    top: 0;
}*/
footer {
	font-size: 1rem;
	color: var(--white);
	text-align: center;
	display: grid;
	place-items: center;
	margin-block: 3rem;
}
/*footer {
	color: var(--CM-white);
	text-align: center;
	display: flex;
	align-items: center;
	justify-content: center;
	height: calc((100vw - 20px) * .5625);
	background-image: url("images/tartan-01.jpg");
	background-repeat: repeat;
	background-position: bottom center;
	-webkit-mask-image: url("images/tree-line-01.svg");
	mask-image: url("images/tree-line-01.svg");
	-webkit-mask-repeat: no-repeat; 
	mask-repeat: no-repeat; 
}
.footer__p {
	margin-top: 6rem;
}*/
@media (max-width: 1200px) {
	.hero {
		flex-direction: column-reverse;
		padding-top: 4rem;
		padding-bottom: 3rem;
	}
	.personality__article {
		width: 75vw;
	}
	.portfolio__header--nda {
		border-radius: 0;
		width: 100%;
	}
}
@media (max-width: 680px), screen and (orientation: portrait) {
	.hero {
		gap: 1.5rem;
	}
	.hero__article {
		padding: 0;
		width: 90vw;
	}
	.hero__article > * + * {
		margin-top: 1.5rem;
	}
	.personality__article {
		width: 80vw;
		padding: 1rem;
		margin: auto;
	}
	.hero__article::before {
		content: "";
		display: none;
	}
	.connect-card {
		width: 90vw;
	}
	.picture {
		aspect-ratio: 0.8;
		width: 240px;
		background-image: url("images/Marot-website-02.png"), url("images/Marot-website-01.jpg");
		background-position: bottom right, -51.5px -41.5px;
		background-size: 32px, 250%;
	}
	.picture:is(:hover, :focus) {
		aspect-ratio: 1;
		width: 300px;
		background-position: 110% 110%, top left;
		background-size: 32px, 100%;
	}
	ul {
		grid-gap: 1rem;
		grid-template-columns: repeat(auto-fill, minmax(40vw, 1fr));
		padding: 3rem 1rem;
		font-size: .7rem;
	}
	li {
		gap: 1rem;
		min-width: 40vw;
	}
	.projects {
		padding: 3rem 0;
		gap: 3rem;
		grid-template-columns: auto;
		margin-inline: auto;
	}
	.iframe--wrap {
		width: 90vw;
		aspect-ratio: 9 / 16;
		margin-inline: auto;
		overflow: hidden;
	}
	iframe {
		width: calc(100% / 0.75);
		height: calc(100% / 0.75);
		scale: 0.75;
		transform-origin: 0 0;
	}
	video {
		width: 90vw;
		margin-inline: auto;
		overflow: hidden;
		display: block;
	}
	.projects p {
		width: 90vw;
		height: fit-content;
		margin-inline: auto;
	}
}