@charset "UTF-8";

#footer
{
	background-color: rgb(240, 240, 240);
}
body:after
{
	background-color: rgb(240, 240, 240);
}

/**********************************************************************/
/********************************* Data ********************************/
/**********************************************************************/

#data .listContainer
{
	display: flex;
	justify-content: center;
}

#data .listContainer > div
{
	background-color: rgb(240, 240, 240);
	padding: max(2vw, 2rem);
}

#data .listContainer td
{
	padding: .5em;
}

#data .listContainer td.list-1
{
	padding-right: 2em;
	text-align: right;
}

#data .listContainer td.list-2
{
	font-family: R-R, GG-R, sans-serif;
}


/**********************************************************************/
/******************************* CHRONO ******************************/
/**********************************************************************/

#chrono
{
	margin: 5rem auto 0;
	max-width: 1200px;
	padding: 0rem 2rem 10rem;
	background-color: rgb(255, 255, 255);
}

#chrono .year
{
	font-size: clamp(1.1rem, 3vw, 1.3rem);
	margin: 0 auto;
	display: flex;
	align-items: center;
	justify-content:center;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	width: 5em;
/*	border: 1px solid;*/
	background-color: rgb(170,170,170);
	color: rgb(255, 255, 255);
}
#chrono .year > p
{
	text-align: center;
}

.chronoItem
{
	width: calc(50% + 6px);
	border-style: solid;
	border-color: rgb(200, 200, 200);
	border-width: 0;
	padding: 1rem .5rem;
}
.chronoItem:not(.mt)
{
	padding: 3rem .5rem;
}
.chronoItem
{
	margin-top: -3rem;
}
.chronoItem:first-child
{
	margin-top: 0rem;
}

.chronoItem.mt:first-child
{
	padding-top: 2rem;
}
.chronoItem.mt:last-child
{
	padding-bottom: 2rem;
}

.chronoItem .flex
{
	-webkit-align-items: center;
	align-items: center;
}

.chronoItem .flex:before
{
	content:"";
	display: block;
	position: absolute;
	width: 12px;
	aspect-ratio: 1 / 1;
	top: calc(50% - 6px);
	border-radius: 50%;
	background-color: rgb(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;
}

.chronoYearWrapper .chronoItem:nth-of-type(2n+1)
{
	margin-left: 50%;
	border-left-width: 6px ;
}
.chronoYearWrapper .chronoItem:nth-of-type(2n+1) .flex
{
	flex-direction: row;
}
.chronoYearWrapper .chronoItem:nth-of-type(2n+1) .flex:before
{
	left: calc(-.5rem - 9px);
}

.chronoYearWrapper .chronoItem:nth-of-type(2n)
{
	border-right-width: 6px;
}
.chronoYearWrapper .chronoItem:nth-of-type(2n) .flex
{
	flex-direction: row-reverse;
}
.chronoYearWrapper .chronoItem:nth-of-type(2n) .flex:before
{
	right: calc(-.5rem - 9px);
}

.chronoItem .date
{
	font-family: R-R, GG-R, sans-serif;
	font-size: .9rem;
	margin: 0 .5rem;
}

.chronoItem h3
{
	margin: 0 .5rem;
	font-size: 1rem;
	display: flex;
	flex-direction: column;
}

.chronoItem h3 .cate
{
	font-family: R-R, GG-R, sans-serif;
	font-size: .8rem;
	color: rgb(100, 100, 100);
	line-height: 1;
/*	background-color: rgb(0, 0, 0);
	padding: .25em .5em;*/
	margin-bottom: 1em;
}

.chronoYearWrapper .chronoItem:nth-of-type(2n+1) h3
{
	align-items: flex-start;
}

.chronoYearWrapper .chronoItem:nth-of-type(2n) h3
{
	align-items: flex-end;
}

.chronoItem.mt h3
{
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

#chrono .sumnail
{
	flex: 0 0 auto;
	margin: 0 .5rem;
	width: 7rem;
	height: 7rem;
	border-radius: 50%;
	overflow: hidden;
	-webkit-transition: all .5s ease;
	-moz-transition: all .5s ease;
	-ms-transition: all .5s ease;
	-o-transition: all .5s ease;
	transition: all .5s ease;
}

#chrono .sumnail > img
{
	height: 100%;
	width: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

body:not(.touch) #chrono .chronoItem a:hover .sumnail
{
	transform: scale(1.05);
}
body:not(.touch) #chrono .chronoItem.mt a:hover h3
{
	color: rgb(0, 0, 0);
}
body:not(.touch) #chrono .chronoItem.mt a:hover:before
{
	background-color: rgb(255, 255, 255);
	box-shadow: 0 0 0 5px rgb(0, 0, 0);
	transform: scale(1.2);
}

#y_back
{
	background-color: rgb(240, 240, 240);
	padding: max(2vw, 2rem);
	margin: 0 auto;
	max-width: 650px;
}

#y_back .discussion
{
	font-size: .9em;
	border-top: 1px solid;
	margin-top: 2em;
	padding-top: 2em;
	font-family: R-R, GG-R, sans-serif;
	color: rgb(50, 50, 50);
}

#y_back .discussion h4
{
	margin-bottom: .5em;
}

#y_back li
{
	font-family: R-R, GG-R, sans-serif;
	list-style: none;
	padding-left: 1.2em;
}
#y_back li:before
{
	content:"";
	display:block;
	position: absolute;
	top: .5em;
	left: 0;
	width: .5em;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background-color: rgb(200, 200, 200);
}

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

@media screen and (max-width: 750px)
{
	#profile > .flex
	{
		-moz-flex-direction: column;
		-webkit-flex-direction: column;
		flex-direction: column;
		
		-webkit-align-items: center;
		align-items: center;
	}

	#profile .portraitWrapper
	{
		margin-right: 0;
		margin-bottom: 3rem;
	}

	#chrono .year
	{
		width: calc(100% + 2rem);
		margin-left: -1rem;
		border-radius: 0;
		aspect-ratio: auto;
		padding: .5em 0;
		background-color: rgb(170,170,170);
		color: rgb(255, 255, 255);
	}

	.chronoItem
	{
		width: 100%;
		margin-top: 0rem;
	}

	#chrono .sumnail
	{
		width: 3rem;
		height: 3rem;
		margin-left: 0;
	}
	
	.chronoYearWrapper .chronoItem:nth-of-type(2n+1)
	{
		margin-left: 0;
		border-left-width: 6px ;
	}
	.chronoYearWrapper .chronoItem:nth-of-type(2n+1) .flex
	{
		flex-direction: row;
	}
	.chronoYearWrapper .chronoItem:nth-of-type(2n+1) .flex:before
	{
		left: calc(-1rem - 0px);
	}
	
	.chronoYearWrapper .chronoItem:nth-of-type(2n) h3,
	.chronoYearWrapper .chronoItem:nth-of-type(2n+1) h3
	{
		flex-direction: column;
		align-items: flex-start;
	}
	
	.chronoYearWrapper .chronoItem:nth-of-type(2n)
	{
		margin-left: 0;
		border-left-width: 6px ;
		border-right-width: 0px;
	}
	.chronoYearWrapper .chronoItem:nth-of-type(2n) .flex
	{
		flex-direction: row;
	}
	.chronoYearWrapper .chronoItem:nth-of-type(2n) .flex:before
	{
		left: calc(-1rem - 0px);
	}
	
	.chronoItem:not(.mt) + .chronoItem:not(.mt)
	{
		margin-top: -2rem;
	}
	
	.chronoItem:not(.mt) + .chronoItem.mt
	{
		margin-top: -1rem;
	}
	
	#y_back
	{
		max-width: 100%;
	}
}