:root {
	--font-size: 16px;
	--root-size: 1.2rem;
	--neue: 'Neue Haas Grotesk Display Pro';
	--bolded: 'Bolded Neue';
	--white: #fafafa;
	--transparent-white: #fafafa85;
	--black: #2a2723;
	--shadow: #2a272382;
	--margin: 1.5rem;
	--padding: 1rem;
	--border-radius: 1rem;
	--thin-shadow:#a7a7a78d; 
	--lineheight: 24px;
	--gap: 1rem;
}

* {
	color: var(--black);
	font-weight: 400;
}

@font-face {
	font-family: 'Neue Haas Grotesk Display Pro';
	src: url('../assets/fonts/NeueHaasDisplay-Light.woff2') format('woff2'),
	url('../assets/fonts/NeueHaasDisplay-Light.woff') format('woff');
	font-weight: 500;
    font-style: normal;
}

@font-face {
	font-family: 'Bolded Neue';
	src: url('../assets/fonts/NeueHaasDisplay-Mediu.woff2') format('woff2'),
	url('../assets/fonts/NeueHaasDisplay-Mediu.woff') format('woff');
	font-weight: 200;
	font-style: normal;
}

.neue {
	font-family: var(--neue);
}

.bolded-neue {
	font-family: var(--bolded);
}

body {
	background-color: var(--white);
}

header {
	display: flex;
	justify-content: space-between;
	position: sticky;
	padding-top: calc(var(--padding)/1.4);
	padding-bottom: calc(var(--padding)/1.4);
	margin-bottom: var(--margin);
	padding-left: var(--padding);
	background-color: var(--white);
	top: 0;
	z-index: 100;
}

/* LOGO */
.logo > img {
	object-fit: cover;
	width: 15%;
	height: 25%;
	align-items: center;
	justify-content: center;
}

.logo {
	height: 15%;
}


/* NAV */
ul {
	list-style: none;
}

li > a {
	cursor: pointer;
}

.nav {
	width: 100%;
	position: absolute;
	background-color: var(--black);
	overflow: hidden;
	max-height: 0;
	transition: max-height .5s ease-out;
	top: 100%;
	left: 0;
	z-index: 10;
}

.menu a {
	display: block;
	padding: 30px;
	color: var(--white);
}

.menu a:hover {
	background-color: var(--black);
}

/* MENU ICON */
.hamb {
	cursor: pointer;
	float: right;
	padding: var(--padding);
	margin-right: 0.2rem;
}

.hamb-line {
	background: var(--black);
	display: block;
	height: 2px;
	position: relative;
	width: 20px;
}

.hamb-line::before{
	background: var(--black);
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
	top: 5px;
}

.hamb-line::after {
	top: -5px;
	content: '';
	display: block;
	height: 100%;
	position: absolute;
	transition: all .2s ease-out;
	width: 100%;
	background: var(--black);
}

.side-menu {
	display: none;
}

/* TOGGLE MENU ICON */
.side-menu:checked ~ nav {
	max-height: 1000%;
}

.side-menu:checked ~ .hamb .hamb-line {
	background: transparent;
}

.side-menu:checked ~ .hamb .hamb-line::before {
	transform: rotate(-45deg);
	top: 0;
}

.side-menu:checked ~ .hamb .hamb-line::after {
	transform: rotate(45deg);
	top: 0;
}

/* NAVBAR SWIPE */
.navbar {
	left: 0;
	top: 0;
	width: 100%;
	background: var(--white);
	transition: transform 0.3s ease-in-out;
	border-bottom: 1px solid var(--thin-shadow);
}



/* FOOTER */
footer {
	background-color: var(--black);
	margin-top: calc(var(--margin)*2);
}

.footer-info {
	color: var(--white);
	font-weight: bolder;
	cursor: pointer;
}

.footer {
	display: flex;
	justify-content: space-between;
	padding: var(--padding);
}

.socials {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.credits {
	justify-self: center;
	align-self: center;
}

/* video::-webkit-media-controls {
	display: none;
} */


/* 800PX */
@media(min-width: 800px) {
	.logo > img {
		width: 10%;
		height: 20%;
	}

	footer {
		padding: calc(var(--padding)*2);
	}
}

/* 1000PX */
@media(min-width: 1200px) {
	/* NAV */
	.logo {
		margin-left: calc(var(--margin)*2);
	}

	.navbar {
		width: 100%;
		margin: auto;
		padding: calc(var(--padding)*1.2);
	}

	.hamb, .side-menu {
		display: none;
	}

	.nav {
		all: unset;
		display: flex;
		gap: 2rem;
		align-items: center;
		justify-content: flex-end;
		margin-right: calc(var(--margin)*2);
	}

	.menu {
		display: flex;
		gap: 2rem;
	}

	.menu a {
		padding: 0;
		color: var(--black);
		font-weight: var(--bolded);
		background: none;
	}

	.menu a:hover {
		color: var(--white);
		/* background-color: var(--white);
		border: 1px solid var(--black);
		padding: calc(var(--padding)/5);
		border-radius: calc(var(--border-radius)*2); */
	}
}