@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&family=Montserrat:wght@400;500;700;900&family=Syne:wght@700;800&display=swap');

html
{
	scroll-behavior: smooth;
}

:root
{
	--void-col1: rgb(52, 32, 74); /* subtle transitions between col1-2 */
	--void-col2: rgb(32, 22, 64);
	--void-col3: rgb(62, 42, 84);
	--void-col4: rgb(68, 44, 88);
	--void-col5: rgb(67, 43, 85);

	--void-rlly-dark: rgb(14, 8, 24);
}

body
{
	background-color: rgb(0, 0, 0);
	background-image: url("/static/assets/bg.jpeg");
	margin: 0;
}

.ssn-logo img
{
	position: absolute;
	opacity: 0; /* 0.5 */
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%) scale(1.25);
	transition: opacity 0.65s ease-out;
}

.bg
{
	background-color: rgba(14, 8, 24, 0.30);
	z-index: -2;
	width: 100%;
	height: 105%;
	top: 0;
	left: 0;
	position: fixed;
	content: "";
}

.bg-vid {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
}

.bg-vid video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.navbar
{
	z-index: 9999;
	top: 0;
	left: 0;
	/* width: 100%; */
	height: 80px;
	background-color: rgba(32, 32, 34, 0.5);
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	top: 1rem;
	padding: 0 1.5rem;
	border-radius: 32px;
	position: sticky;
	margin: 32px;

	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow: 
	  0 4px 30px rgba(0, 0, 0, 0.4),
	  inset 0 1px 1px rgba(255, 255, 255, 0.2);
	
	backdrop-filter: blur(32px);
	-webkit-backdrop-filter: blur(32px);

	transition: backdrop-filter 0.25s linear;
}

.navbar:hover
{
	backdrop-filter: blur(8px);
}

.nav-logo
{
	height: 76px;
	width: auto;
	margin-right: 20px;
	/* margin-left: 30px;
	margin-top: 16px; */
}

.nav-links
{
	align: right;
	display: flex;
	gap: 2rem;
	margin-left: auto;
}

.nav-links a
{
	color: grey;
	font-weight: 400;
	font-family: "Montserrat", sans-serif;
	font-size: 1.85rem;
	
	text-decoration: none;
	margin-left: 1.5rem;

	transition: color 0.25s ease-out;
}

.nav-links a:hover
{
	color: white;
}

.fat-image
{
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 10;
}

.fat-image img
{
	max-width: 90vw;
	opacity: 0;
	max-height: 90vh;
	transition: opacity 0.65s ease-out;
}

#marketing-stats
{
	margin: 0 auto;
	margin-top: 100vh;
	padding: 2.0rem;
	padding-top: 0.95rem;
	padding-bottom: 0.95rem;
	width: 36rem;

	box-shadow: 
	  0 4px 30px rgba(0, 0, 0, 0.4),
	  inset 0 1px 1px rgba(255, 255, 255, 0.2);

	border: 1px solid rgba(255, 255, 255, 0.1);
	border-radius: 32px;

	/* OPTIMIZE: Doesn't seem to have any visual importance. */
	backdrop-filter: blur(32px);
}


.marketing
{
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	gap: 1rem;
}

.schools,
.participants,
.events
{
	display: flex;
	flex-direction: column;
	background-color: rgba(42, 32, 64, 0.35);
	padding: 1.05rem;
	align-items: center;
	border-radius: 32px;
}

.schools h1,
.participants h1,
.events h1
{
	font-weight: 900;
}

.schools h2,
.participants h2,
.events h2
{
	letter-spacing: 2.5px;
	font-size: 0.85rem;
}

#about
{
	margin-top: 50vh;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 100vh;

	background: url("/static/assets/building2.png") fixed center center;
	background-blend-mode: darken;
	background-size: cover;
	background-position: center;
	background-color: rgba(0, 0, 0, 0.5);
	background-repeat: no-repeat;
}

#about p
{
	font-family: "Montserrat", sans-serif;
}

#about h1
{
	font-size: 3rem;
	font-weight: 900;
	text-align: center;
	font-family: "Syne", sans-serif;
	line-height: 1.1;
}

#about p
{
	font-size: 1.25rem;
	margin: 0rem 4rem;
	text-align: center;
}

#about h1,
#about p
{
	opacity: 0;
	transform: translateY(0.35rem);
	transition: opacity 0.65s ease-out, transform 0.45s linear;
}

#about.visible .abt-cont h1,
#about.visible .abt-cont p,
#about.visible .socials-grid h2,
#about.visible .socials-grid a
{
	opacity: 1;
	transform: translateY(-0.35rem);
}

.ssn-logo.visible img { opacity: 0.5; }
.fat-image.visible img { opacity: 1; }

/* #about h1 { text-align: center; } */

#about .discord-btn
{
	opacity: 0;
}

h1, h2, h3, h4, h5, h6,
p, span, a, li, label, input, footer
{
	font-family: "Montserrat", sans-serif;
	color: white;
}

h1, h2, h3, h4, h5, h6
{
	font-family: "Syne", sans-serif;
}

p, span, a, li, label, input, footer
{

	font-family: "Montserrat", sans-serif;
}

.credits
{
	margin-top: 16px;
	justify-content: center;
	text-align: center;
	align-items: center;
}

.credits a
{
	color: rgb(230, 230, 230);
	text-decoration: none;
	font-size: 1.1rem;
}

.discord-btn
{
	margin-top: 1rem;
	background: rgba(62, 42, 84, 0.6);
	opacity: 1;
	padding: 16px;
	border-radius: 16px;
	backdrop-filter: blur(16px);

	transition: box-shadow 0.5s ease, transform 0.3s ease;
}

.discord-btn:hover
{
	box-shadow: 0 0 15px 5px rgba(82, 62, 104, 0.7);
	transform: translateY(-2px);
}

.discord-btn a
{
	text-decoration: none;
	color: white;
}

.discord-btn span
{
	font-size: 1.25rem;
}

.socials-grid
{
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 16px;
	backdrop-filter: blur(24px);
	background-color: rgba(68, 44, 88, 0.25);
	padding: 16px;
	margin-top: 1rem;
	max-width: 720px;

	border: 1px solid rgba(255, 255, 255, 0.1);
	box-shadow:
	  0 4px 30px rgba(0, 0, 0, 0.4),
	  inset 0 1px 1px rgba(255, 255, 255, 0.2);
}

.socials-grid h2
{
	font-weight: 100;
	font-family: "Montserrat", sans-serif;
	text-align: center;
}

.socials-grid a
{
	font-size: 32px;
	text-decoration: none;
}

.icon-descriptor
{
	margin-right: 8px;
}

@keyframes fadeIn
{
	from { opacity: 0; }
	to { opacity: 1; }
}

@keyframes gradientTrans
{
	0% {
		background-position: 0% 50%;
  	}
  	50% {
		background-position: 150% 50%;
	}
	100% {
		background-position: 0% 50%;
  	}
}
