@import url('https://fonts.googleapis.com/css2?family=Bodoni+Moda:opsz,wght@6..96,400;6..96,500;6..96,600;6..96,700;6..96,800;6..96,900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700&display=swap');
:root {
    --color-main-black: #0D0D0D;
    --color-main-white: #E5E5E5;
    --color-main-grey: #707070;
    --color-main-red: #8F261E;
    --color-main-gold:#FADAB1;
	--fonts-serif: 'Bodoni Moda', "Times New Roman", serif;
	--font-sans: 'Roboto',Helvetica,sans-serif ;
    --font-medium:400;
    --font-regular:300;
    --font-thin:200;
    --font-bg:30px;
    --font-mb:25px;
    --font-md:20px;
    --font-ms:18px;
    --font-sm:15px;
    --font-ssm:13px;
    --font-xs:10px;
}
* {
	margin: 0;
	padding: 0;
	box-sizing: content-box;
}
body {
	background-color: var(--color-main-black);
	height: 7471px;
}

body::before{
	pointer-events: none;
	content: '';
	background-image: url(../img/texture_small.jpg);
	background-repeat: repeat;
	background-size: 30% auto;
	position: absolute;
	width: 100%;
	height: 7471px;
	z-index: 3;
	mix-blend-mode: color-burn;
	opacity: 1;
}

nav {
	width: 100vw;
	z-index: 100; 
	position: absolute;
    background:linear-gradient(180deg, #000000 50%, rgba(0, 0, 0, 0) 100%);
}
nav::after {
content: '';
    display: block;
    background-image: url("http://liujiani.net/aau/timeline/images/nav-dec.png");
    background-size: 50%;
    height: 0.1rem;
    width: 100%;
}
nav a{
    font-family: var(--font-sans);
    font-weight: var(--font-thin);
    font-size: var(--font-sm);
    color: var(--color-main-white)!important;;
    text-decoration: none;
}
nav>div{
    display: flex;
    margin-top: 1rem;
    margin-bottom: 1rem;
    box-sizing: content-box;
    width: 100%;
    padding-left:calc(100%/6);
}
nav .nav-item {
    margin-right: 3rem;
}
h1,h2,h3,h4,h5,h6 {
	font-family: var(--fonts-serif);
	color: var(--color-main-white);
}
h3 {
	font-weight: 400;
	line-height: 31px;
	font-size: 22px;
}
p {
	font-family: var(--font-sans);
	font-weight: 300;
	font-size: 18px;
	line-height: 21.09px;
}
.cover_curtains {
	position: fixed!important;
	width: 100vw;
	height: 100vh;
	z-index: 1;
}
.cover_curtains img {
	position: absolute;
	filter: brightness(0.7) contrast(130%) opacity(98%);
}
img#curtain_01 {
	width: 24vw;
    height: 1959px;
    left: -5vw;
    top: -878.5px;
    transform: rotate(8deg);
}
img#curtain_02 {
	width: 20vw;
	height: 1440.1px;
	right: -12vw;
	top: -292px;
	transform: rotate(-10deg);
}
img#curtain_03 {
	width: 20vw;
	height: 2044px;
	left: -3vw;
	top: 1963.5px;
}
img#curtain_04 {
	transform: scaleX(-1);
	width: 20vw;
	height: 2119.1px;
	right: -3vw;
	top: 2823px;
}
img#curtain_05 {
	width: 20vw;
	height: 2640px;
	left: -4vw;
	top: 4350px;
}

#container {
}
.circle {
	height: 41px;
	width: 41px;
	border-radius: 50%;
	background: var(--color-main-white);
	opacity: 0.2;
}
.title {
	position: relative;
	margin: 80px auto 0;
	width: 90%;
	height: 370px;
	background-image: url(../img/p00.jpg);
	background-size: 100% auto;
	transform: translateX(-2em);
}
.title_intro {
	position: absolute;
	bottom: -315px;
	transform: translateX(6em);
	width: 28%;
	height: 270px;
	color: var(--color-main-white);
}
.title_intro h3 {
	margin-bottom: 1em;
}
.title_intro p {
	font-weight: 100;
}

.title .bg_image {
	position: absolute;
	width: 90%;
	height: 370px;
	background-image: url(../img/p01.jpg);
	background-size: 100% auto;
	top:  20px;
	right: 30px;
	opacity: 1;
}
.title .bg_image::after {
	position: absolute;
	bottom: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 40%;
	background: linear-gradient(359.71deg, #0D0D0D 0.2%, rgba(0, 0, 0, 0) 59.76%);
}
.title .title_bar {
	position: absolute;
	transform: translateX(-3.5em);
	padding-top: 1em;
	width: 100%;
	height: 200px;
	top: 150px;
	background: linear-gradient(77.11deg, #0D0D0D 17.98%, rgba(0, 0, 0, 0) 75.86%);
	text-align: center;
}

.title .title_bar h1 {
	transform: translateX(-2em);
	font-size: 64px;
	font-weight: 500;
	line-height: 60px;
	margin-bottom: 0.3em;
}
.title .title_bar h1 .line_start {
	position: absolute;
	width: 6px;
	height: 7163px;
	background-color:var(--color-main-white);
	transform: translate(-10px,3px);
}
.title .title_bar h1 .line_start::before {
	position: absolute;
	content: '';
	left: -5px;
	width: 6px;
	height: 0.6px;
	background-color: var(--color-main-white);

}
.title .title_bar h3 {
	transform: translateX(-16em);
}
.year_title{
	position: relative;
	width: 100px;
	margin:0 auto;
	background-color: var(--color-main-black);
	z-index: 1;
	transform: translateX(-1em);
	padding-bottom: 0.2em;
}
.year_title.first {
	margin-top: 40vh;
}
.year_title h2 {
	position: absolute;
	left:0.8em;
	top: 2px;
	font-weight: 400;
	font-size: 32px;
	line-height: 48px;

}
.event_card_container .event_card {
	transition: opacity 1s ease;
	opacity: 0.8;
	width: 269px;
	height: 222px;
	background:linear-gradient(0deg, #0D0D0D 0%, #707070 20%, #E5E5E5 62.5%, #707070 80%, #000000 100%);
	transform: translateX(6px);
	color: var(--color-main-black);
	text-align: left;
}
.event_card img {
	width: 100%;
	height: 55%;
	object-fit: cover;
	filter: saturate(0%);
}
.event_card h3 {
	margin-left: 1em;
	padding: initial;
	transform: initial!important;
	color: var(--color-main-black);
}
.event_card h3.event_time {
	background: linear-gradient(70.42deg, #0D0D0D 15.93%, rgba(0, 0, 0, 0) 115.05%);
	margin-left: 0em;
	padding-left: 1em;
	transform: initial!important;
	color: var(--color-main-white);
}
.event_card h3.event_time {
	background: linear-gradient(70.42deg, #0D0D0D 15.93%, rgba(0, 0, 0, 0) 115.05%);
	margin-left: 0em;
	padding-left: 1em;
	transform: initial!important;
	color: var(--color-main-white);
}

.event_card p {
	font-size: 16px;
	margin-left: 1.5em;
	color: var(--color-main-black);
	opacity: 0.8;
	font-style: normal;
}
.event_card::after {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width:100%;
	height: 55%;
	background: linear-gradient(359.71deg, #0D0D0D 0.2%, rgba(0, 0, 0, 0) 59.76%);
	transform: matrix(1, 0, 0, -1, 0, 0);
}
.event_card_container .event_card.left {
	transform: translateX(-269px);
}
.event_card:first-of-type{
	margin-top: 100px;
}
.event_card:last-of-type{
	margin-bottom: 100px;
}
#card_1790 .event_card:first-of-type {
	margin-top: 180px;
}
#card_1790 .event_card:last-of-type {
	transform: translateX(6px);
}
#card_1799 .event_card:last-of-type {
	margin-top: 7px;
}
.event_card .painting_card{
	position: absolute;
}
.painting_card#painting_01{
	top: -370px;
	right: -317px;
	width: 546px;
	height: 285px;
	background-image: url(../img/p02.jpg);
	background-size: 100% auto;
}
.painting_card#painting_02{
	bottom: 0;
	left: -420px;
	width: 396px;
	height: 299px;
	background-image: url(../img/p03.jpg);
	background-size: 100% auto;
}
.painting_card#painting_03{
	bottom: 0;
	right: -385px;
	width: 364px;
	height: 458px;
	background-image: url(../img/p04.jpg);
	background-size: 100% auto;
}
.painting_card#painting_04{
	bottom: -30px;
	left: -618px;
	width: 517px;
	height: 335px;
	background-image: url(../img/p05.jpg);
	background-size: 100% auto;
}
.painting_card#painting_05{
	bottom: 73px;
	right: -665px;
	width: 630px;
	height: 410px;
	background-image: url(../img/p06.jpg);
	background-size: 100% auto;
}
.painting_card#painting_06{
	top: -438px;
	right: -338px;
	width: 543px;
	height: 401px;
	background-image: url(../img/p07.jpg);
	background-size: 100% auto;
}
.painting_card#painting_07{
	bottom: 0;
	left: -430px;
	width: 386px;
	height: 538px;
	background-image: url(../img/p08.jpg);
	background-size: 100% auto;
}
.painting_card#painting_08{
	bottom: -75px;
	right: -666px;
	width: 632px;
	height: 497px;
	background-image: url(../img/p09.jpg);
	background-size: 100% auto;
}
.painting_card#painting_09{
	bottom: -56px;
	right: -569px;
	width: 459px;
	height: 560px;
	background-image: url(../img/p10.jpg);
	background-size: 100% auto;
}
.painting_card#painting_10{
	bottom: -48px;
	right: -660px;
	width: 623px;
	height: 353.03px;
	background-image: url(../img/p11.jpg);
	background-size: 100% auto;
}
.painting_card#painting_11{
	top: 0;
	left: -620px;
	width: 436.85px;
	height: 655px;
	background-image: url(../img/p12.jpg);
	background-size: 100% auto;
}
.painting_card h3 {
	transform: initial;
	margin: initial;
	padding: initial;
	font-style: normal;
	font-weight: 400;
	font-size: 30.9065px;
	line-height: 47px;
	font-style: normal;	
	z-index: 1;
	color: var(--color-main-white);
}
.painting_card p {
	transform: initial;
	margin: initial;
	padding: initial;
	margin-bottom: 5px;
	color: var(--color-main-white);
}
.painting_intro {
	transition: opacity 0.5s ease;
	opacity: 0;
	padding-top: 10px;
	padding-left: 20px;
	position: absolute;
	bottom: 10px;
	left: 0;
	width: 100%;
	background: linear-gradient(70.42deg, #0D0D0D 15.93%, rgba(0, 0, 0, 0) 115.05%);
}
.painting_intro.show {
	transition: opacity 0.5s ease;
	opacity: 1;
}
.event_card.show {
	transition: opacity 0.5s ease;
	opacity: 1;
}


@media (max-width: 800px) {
	body {
		height: auto;
	}
	body::before {
		height: auto;
	}
	.title .title_bar h1 {
	transform: none;
	font-size: 50px;
	}
	.title {
		width: 100vw!important;
	}
	.title .title_bar h1 .line_start {
		left: 25%;
		transform: translate(-10px,18vh);
		height: 6447px;
	}
	.title .title_bar h1 .line_start::before {
		display: none;
	}
	.year_title.first {
		margin-top:0
	}
	#card_1790 .event_card:first-of-type {
    margin-top:4rem;
	}
	.painting_card {
		display: none;
	}
	.event_card {
		margin-bottom: 1rem;
	}
	.title_intro {
		display: none;
	}
	.cover_curtains {
		display: none!important;
	}

}
