@charset "UTF-8";

#selector
{
	transform:translateY(-10rem);
}
.menu #selector
{
	transform:translateY(0rem);
}

#name_body
{
	padding: 1em 1em;
	max-width: 20em;
	min-height: 8em;
	
	background-color:rgb(255, 255, 255);
	
	font-size: clamp(1.5rem, 3vw, 2rem);
}

.letter
{
	position:absolute;
	overflow:hidden;
	top: 0;
	left:0;
	width:100%;
	height: 100%;
	
	padding:1rem;
	
	display:flex;
	flex-direction: column;
	justify-content: space-between;
}

#letter_j a.mail,
#letter_e a.mail
{
	width: 100%;
	max-width: 225px;
}
	
#letter_j a.mail
{
	background-image:url(../_img/mail.svg);
}

#letter_e a.mail
{
	background-image:url(../_img/mail_w.svg);
}

.letter > h1
{
	font-size: clamp(1.5rem, 3vw, 2rem);
	display:flex;
	flex-wrap:wrap;
	align-items:flex-end;
}

.letter > h1 > span:nth-of-type(1)
{
	margin-right: .5em;
}

.letter > h1 > span.job
{
	font-size: .5em;
	line-height: 2.75em;
}

span.url
{
	font-size: .8em;
}

#letter_j
{
	color: rgb(227, 0, 127);
	background-color: rgb(255, 255, 255);
}


#letter_e
{
	color: rgb(255, 255, 255);
	background-color: rgb(227, 0, 127);
	
	-webkit-clip-path: inset(0% 0% 0% 100%);
	clip-path: inset(0% 0% 0% 100%);
	
	animation-name:ch_clip;
	animation-duration: 20s;
	animation-delay: 5s;
	animation-iteration-count: infinite;
	animation-fill-mode: forwards;
}

@keyframes ch_clip
{
	0%
	{
		-webkit-clip-path: inset(0% 0% 0% 100%);
		clip-path: inset(0% 0% 0% 100%);
	}
	12.5%
	{
		-webkit-clip-path: inset(0% 0% 0% 0%);
		clip-path: inset(0% 0% 0% 0%);
	}
	25%
	{
		-webkit-clip-path: inset(0% 0% 0% 0%);
		clip-path: inset(0% 0% 0% 0%);
	}
	37.5%
	{
		-webkit-clip-path: inset(100% 0% 0% 0%);
		clip-path: inset(100% 0% 0% 0%);
	}
	40%
	{
		-webkit-clip-path: inset(100% 100% 0% 0%);
		clip-path: inset(100% 100% 0% 0%);
	}
	50%
	{
		-webkit-clip-path: inset(0% 100% 0% 0%);
		clip-path: inset(0% 100% 0% 0%);
	}
	62.5%
	{
		-webkit-clip-path: inset(0% 0% 0% 0%);
		clip-path: inset(0% 0% 0% 0%);
	}
	75%
	{
		-webkit-clip-path: inset(0% 0% 0% 0%);
		clip-path: inset(0% 0% 0% 0%);
	}
	87.5%
	{
		-webkit-clip-path: inset(0% 0% 100% 0%);
		clip-path: inset(0% 0% 100% 0%);
	}
	100%
	{
		-webkit-clip-path: inset(0% 0% 100% 0%);
		clip-path: inset(0% 0% 100% 0%);
	}
}

#letter_cover
{
	color: rgb(255, 255, 255);
	background-color: rgb(227, 0, 127);
	
	-webkit-clip-path: inset(0% 0% 0% 0%);
	clip-path: inset(0% 0% 0% 0%);
	
	-webkit-transition: all 2s ease;
	-moz-transition: all 2s ease;
	-ms-transition: all 2s ease;
	-o-transition: all 2s ease;
	transition: all 2s ease;
}

.end #letter_cover
{
	-webkit-clip-path: inset(100% 0% 0% 0%);
	clip-path: inset(100% 0% 0% 0%);
}

a#entBt
{
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

a#entBt.scrollAnim
{
	position: absolute;
	display: block;
	cursor: pointer;
	bottom: 0rem;
	right: 2rem;
	height: 150px;
	width: 2rem;
}

#entBt > p
{
	font-family: 'R-B', sans-serif;
	font-weight: 700;
	position: absolute;
	top: 0;
	left: 0;
	font-size: .75em;
	transform: rotate(90deg) translateY(.75em) translateX(1.5em);
}

a#entBt span
{
	position: absolute;
	bottom: 0;
	left: 0;
	width: 1px;
	height: 100%;
	border-left: 1px solid rgb(227, 0, 127);
	box-sizing: border-box;
}
a#entBt span::before
{
	position: absolute;
	top: 0px;
	left: 0;
	content: '';
	width: 2px;
	height: 100%;
	margin-left: -2px;
	background-color: rgb(227, 0, 127);
	animation: sdb10 5s infinite;
	box-sizing: border-box;
}

@keyframes sdb10 {
	0%
	{
		transform: scale(1, 0);
		opacity: 0;
	}
	20%
	{
		transform: scale(1, 0);
		opacity: 1;
		transform-origin: center top;
	}
	40%
	{
		transform: scale(1, 1);
		opacity: 1;
		transform-origin: center top;
	}
	60%
	{
		transform: scale(1, 1);
		opacity: 1;
		transform-origin: center bottom;
	}
	80%
	{
		transform: scale(1, 0);
		transform-origin: center bottom;
		opacity: 1;
	}
	100% 
	{
		transform: scale(1, 0);
		opacity: 0;
	}
}

body.menu a#entBt
{
	transform:translateY(-100vh);
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	opacity: 0;
}


#top
{
	width: 100%;
	z-index: 0;
	margin-bottom: 5rem;
	padding:2rem;
}

.prof
{
	margin-bottom: 5rem;
	max-width: 900px;
}

.prof + .prof
{
	margin-bottom: 10rem;
}

.prof > div
{
	display: flex;
	flex-wrap: wrap;
}

.prof > div h2
{
	white-space: nowrap;
	margin-right: 2em;
	margin-bottom: .5em;
	font-size:1.25rem;
	min-width: 10em;
}

.prof > div h2 + div
{
	flex: 1 0 min-content;
}


a.box
{
	margin-top: 1rem;
	display:block;
}

a.box > span
{
	display: block;
	position:absolute;
	top: 0;
	left: 0;
	padding: .25em 2em;

	color: rgb(277, 0, 127);
	background-color: rgb(255, 255, 255);
}

a.box > span:nth-of-type(2)
{
	color: rgb(255, 255, 255);
	background-color: rgb(227, 0, 127);
	-webkit-clip-path: inset(0% 0% 0% 0%);
	clip-path: inset(0% 0% 0% 0%);
	
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

body:not(.touch) a.box:hover > span:nth-of-type(2)
{
	-webkit-clip-path: inset(0% 0% 0% 100%);
	clip-path: inset(0% 0% 0% 100%);
}

/*//////////////////////////////////////////////////////////////////////////////////
///////////////////////////////// MEDIA SCREEN ////////////////////////////////
//////////////////////////////////////////////////////////////////////////////////*/


@media screen and (max-width: 650px)
{
	.prof > div
	{
		flex-direction:column;
	}
}

@media screen and (max-width: 850px)
{
	#letter_j a.mail,
	#letter_e a.mail
	{
		max-width: 200px;
	}
}

@media screen and (max-width: 750px)
{
	#letter_j a.mail,
	#letter_e a.mail
	{
		max-width: 185px;
	}
}