:root {
	--bg: rgba(0, 0, 0, 1);
	--bg-overlay: rgba(0, 0, 0, 0.8);
	--color: rgba(255, 255, 255, 1);
	--primary: #ffd329;
	--primary-foreground: #130f40;
	--padding-container: 16px;
}

* {
	font-family: "Raleway", Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: 300;
	color: var(--color);
	padding: 0;
	margin: 0;
	scroll-behavior: smooth;
}

a {
	text-decoration: none;
}

body {
	background-color: var(--bg);
}

h1 {
	font-size: 50px;
	font-weight: 800;
	text-align: center;
}

h2 {
	font-size: 30px;
	font-weight: 800;
	text-align: left;
	width: 100%;
	margin-bottom: 10px;
}

p {
	width: 100%;
	margin-bottom: 20px;
}

.container {
	max-width: 940px;
	margin: auto;
	padding-inline: var(--padding-container);
}

header {
	top: 0;
	left: 0;
	right: 0;
	position: fixed;
	height: 80px;
	width: 100%;
	display: flex;
	justify-content: center;
	background-color: var(--bg);
	z-index: 20;
}

header .container {
	margin: auto;
	padding-inline: var(--padding-container);
}

header > nav {
	width: 940px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	align-items: center;
	padding-inline: var(--padding-container);
}

header > nav img.logo {
	width: 92px;
	height: 28px;
}

main section {
	position: relative;
}

main section > .container {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.linear-top {
	pointer-events: none;
	top: 0;
	z-index: 1;
	position: absolute;
	height: clamp(95px, 7.5vw + 55px, 250px);
	width: 100%;
	background: linear-gradient(var(--bg), transparent);
}

.linear-bottom {
	pointer-events: none;
	bottom: 0;
	position: absolute;
	height: clamp(95px, 7.5vw + 55px, 150px);
	width: 100%;
	background: linear-gradient(transparent, var(--bg));
	z-index: 1;
}

#hero {
	margin-top: 80px;
}

#hero .cat {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-block: 20px;
	padding-block: 30px;
	background-image: url("/public/images/background/hero-bg.webp");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
	position: relative;
}

#hero .container h1 {
	margin-bottom: 1rem;
}

#hero .container p {
	text-align: center;
}

#timetable {
	padding-top: 140px;
	margin-top: -70px;
}

#timetable .linear-top {
	top: 140px;
}

#timetable .timeline-container {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-image: url("/public/images/background/timetable-bg.webp");
	background-position: center bottom;
	background-repeat: no-repeat;
	background-size: cover;
}

#timetable .timeline-container > div {
	position: relative;
	z-index: 10;
	display: flex;
	flex-direction: column;
	align-items: center;
}

#timetable .timeline-container .container {
	flex: 1;
	width: calc(100% - 2 * var(--padding-container));
	align-items: flex-start;
	overflow: hidden;
}

#timetable .timeline-container .container .timeline {
	position: relative;
	max-width: 940px;
	margin: 0 auto;
	width: 100%;
	margin-top: 60px;
	margin-bottom: 200px;
	z-index: 11;
}

#timetable .timeline-container .container .timeline::after {
	content: "";
	position: absolute;
	width: 1px;
	background-color: white;
	top: 20px;
	bottom: 80px;
	left: 50%;
	margin-left: -3px;
}

#timetable .timeline-container .container .timeline .timeline-item {
	position: relative;
	width: 50%;
	background-color: inherit;
}

#timetable .timeline-container .container .timeline .timeline-item::after {
	content: "";
	position: absolute;
	width: 11px;
	height: 11px;
	right: -4px;
	background-color: white;
	top: 15px;
	border-radius: 50%;
	z-index: 1;
}

#timetable .timeline-container .container .timeline span {
	font-size: 18px;
	font-weight: 700;
}

#timetable .timeline-container .container .timeline h2 {
	font-size: 32px;
	margin-bottom: 0;
}

#timetable .timeline-container .container .timeline .left {
	left: 0;
}

#timetable .timeline-container .container .timeline .left span,
#timetable .timeline-container .container .timeline .left p,
#timetable .timeline-container .container .timeline .left h2 {
	text-align: right;
}

#timetable .timeline-container .container .timeline .right {
	left: 50%;
}

#timetable .timeline-container .container .timeline .right span,
#timetable .timeline-container .container .timeline .right p,
#timetable .timeline-container .container .timeline .right h2 {
	text-align: left;
}

#timetable .timeline-container .container .timeline .right::after {
	left: -8px;
}

#timetable .timeline-container .container .timeline .content {
	position: relative;
	display: flex;
	flex-direction: column;
}

#timetable .timeline-container .container .timeline .left .content {
	padding-right: 32px;
	align-items: flex-end;
}

#timetable .timeline-container .container .timeline .right .content {
	padding-left: 32px;
	align-items: flex-start;
}

#timetable .timeline-container timetable-cat {
	position: absolute;
	bottom: -60px;
	left: 0;
}

#location {
	padding-top: 70px;
	margin-top: -70px;
}

#location .container {
	margin-top: 40px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 12px;
}

#location .container h2 {
	text-align: left !important;
}

#location .container p {
	text-align: left !important;
}

#location .container a {
	border: 2px solid var(--primary);
}

#why {
	margin-block: 40px;
}

#why h2 {
	text-transform: uppercase;
	max-width: 480px;
	text-align: center;
	margin-bottom: 40px;
}

#why .why-container {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	grid-template-rows: repeat(2, 1fr);
	gap: 24px;
}

#why .why-container > div {
	border-radius: 20px;
	padding: 22px 42px;
	background: #7a78ff;
	transition: background-color 0.3s;
}

#why .why-container span {
	color: #9e9dff;
	font-size: 100px;
	font-weight: 800;
	transition: color 0.3s;
}

#why .why-container > div:hover {
	background: #0ad7af;
}

#why .why-container > div:hover span {
	color: #4af8d6;
}

#why .why-container h3 {
	font-size: 36px;
	font-weight: 800;
	margin-bottom: 12px;
}

#why .why-container p {
	text-align: left;
	font-size: 24px;
	font-weight: 300;
}

#gallery {
	max-width: 100vw;
	overflow: hidden;
	padding-top: 70px;
	margin-top: -70px;
}

#gallery .container {
	margin-top: 40px;
	display: flex;
	gap: 12px;
}

#gallery .container > div {
	width: 100%;
}

#event {
	max-width: 100vw;
	overflow: hidden;
	padding-top: 70px;
	margin-top: -70px;
}

#event .container {
	margin-top: 40px;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	gap: 12px;
}

#event .container h2 {
	text-align: left !important;
}

#event .container p {
	text-align: left !important;
}

#event .container {
	margin-top: 40px;
	display: flex;
	gap: 12px;
}

#event .container > div {
	width: 100%;
}

#rules {
	margin-block: 40px;
}

#rules h2 {
	text-transform: uppercase;
	max-width: 480px;
	text-align: center;
	margin-bottom: 40px;
}

#rules ul {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#rules ul li {
	text-align: center;
	list-style-position: inside;
}

footer {
	position: relative;
	padding-top: 60px;
}

footer .cat {
	display: flex;
	justify-content: center;
	align-items: center;
	margin-block: 20px;
	padding-block: 30px;
	background-image: url("/public/images/background/footer-bg.webp");
	background-position: center top;
	background-repeat: no-repeat;
	background-size: cover;
}

footer .container {
	padding-top: 100px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

footer .container > div {
	display: flex;
	flex-direction: row;
	justify-content: center;
	align-items: center;
	gap: 12px;
	margin-bottom: 40px;
}

footer .container > div span {
	font-weight: 400;
	text-transform: uppercase;
}

@media only screen and (min-width: 1200px) {
}

@media only screen and (min-width: 992px) {
}

@media only screen and (max-width: 768px) {
	h1 {
		text-align: center;
		font-size: 28px;
	}
	h2 {
		text-align: center;
		font-size: 24px;
	}
	p {
		text-align: center;
		font-size: 12px;
	}

	#timetable .timeline-container .container .timeline {
		margin-top: 20px;
		margin-bottom: 0;
	}

	#timetable .timeline-container .container .timeline::after {
		bottom: 16%;
	}

	#timetable .timeline-container .container .timeline h2 {
		font-size: 16px;
	}

	#timetable .timeline-container .container .timeline span {
		font-size: 12px;
		font-weight: 700;
	}

	#timetable .timeline-container timetable-cat {
		left: 20%;
	}

	#location .container {
		margin-top: 20px;
	}

	#why {
		margin-block: 20px;
	}

	#why .why-container {
		gap: 12px;
	}

	#why .why-container > div {
		padding: 4px 16px;
	}

	#why .why-container span {
		font-size: 40px;
	}

	#why .why-container h3 {
		font-size: 14px;
		margin-bottom: 4px;
	}

	#why .why-container p {
		font-size: 10px;
	}

	#gallery h2,
	#gallery p {
		text-align: left;
	}

	footer {
		padding-top: 20px;
	}
	footer .container {
		padding-top: 20px;
	}
}

@media only screen and (max-width: 600px) {
	#timetable .timeline-container timetable-cat {
		left: 0;
	}
}

@media only screen and (min-width: 600px) {
}
