@import url("https://fonts.googleapis.com/css2?family=Spline+Sans:wght@300..700&display=swap");

* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

body {
	font-family: "Spline Sans", Arial, Helvetica, sans-serif;
}

nav {
	height: 100px;
	border-bottom: 3px solid black;
}

a {
	text-decoration: none;
	color: black;
}

nav {
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	padding: 30px;

	.leftNav {
		display: flex;
		flex-direction: row;
		justify-content: center;
		align-items: center;
		gap: 10px;

		.clubLogo {
			display: flex;
			flex-direction: row;
			align-items: center;
		}
	}

	.rightNav {
		display: flex;
		justify-content: center;

		ul {
			display: flex;
			flex-direction: row;
			justify-content: center;
			align-items: center;
			list-style-type: none;
			gap: 48px;
			font-size: 20px;
			font-weight: 500;
		}
	}
}

main {
	display: flex;
	flex-direction: row;

	.heroLeft {
		flex: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		min-height: 80vh;

		background-color: #20da91;
		border-right: 3px solid black;
		padding: 50px;

		h1 {
			font-size: 64px;
		}

		p {
			font-size: 18px;
			line-height: 1.5;
			margin-bottom: 80px;
		}

		a {
			font-weight: 700;
			padding: 12px 24px;
			background-color: #f8fe5e;
			border-radius: 12px;
			border: 2px solid black;
			width: fit-content;
			transition: all 0.5s;
			box-shadow: 0 0 0 0 #000000;

			&:hover {
				box-shadow: -4px 4px 0 0 #000000;
				transform: translate(4px, -4px);
			}
		}
	}

	.heroRight {
		flex: 1;
		display: flex;
		justify-content: center;
		align-items: flex-end;
		background-color: #c79bfc;
		position: relative;

		.imgPerson {
			height: 80%;
			z-index: 1;
		}

		.imgAsterisk {
			position: absolute;
			height: 20%;
			top: 5%;
			right: 5%;
			animation: rotate 10s linear infinite;
		}

		.imgStar {
			position: absolute;
			height: 100%;
		}

		.circularText {
			position: absolute;
			height: 30%;
			z-index: 1;
			left: 2%;
			bottom: 2%;
			animation: rotate 10s linear infinite;
		}
	}
}

@keyframes rotate {
	from {
		transform: rotate(0);
	}
	to {
		transform: rotate(360deg);
	}
}

footer {
	display: flex;
	flex-direction: row;
	justify-content: space-evenly;
	background-color: #caffff;
	padding: 50px 0;
	border-top: 3px solid black;

	img {
		width: 100px;
	}
}

/* CLUB Animation */

.c {
	animation: c 10s infinite;
}

.l {
	animation: l 10s infinite;
}

.u {
	animation: u 10s infinite;
}

.b {
	animation: b 10s infinite;
}

@keyframes c {
	0%,
	19% {
		fill: white;
	}

	20% {
		fill: #5bceff;
	}
}

@keyframes l {
	0%,
	25% {
		fill: white;
	}

	26% {
		fill: #f7de5d;
	}
}

@keyframes u {
	0%,
	30% {
		fill: white;
	}

	31% {
		fill: #ff7e7e;
	}
}

@keyframes b {
	0%,
	35% {
		fill: white;
	}

	36% {
		fill: #7df97a;
	}
}
