.header {
	height: 50px;
	background: var(--bg0);
	display: grid;
	grid-template-columns: 70% 30%;
	border-bottom: 5px var(--bg0h) solid;
	position: relative;
}

.header-text {
	display: grid;
	align-items: center;
	height: 50px;
	cursor: pointer;
}

.rt-container {
	z-index: 0;
	position: absolute;
}

.random-text {
	padding-left: 10px;
	width: 100%;
	font-style: italic;
	opacity: 0;
}

.active {
	opacity: 1;
}

.fade-out {
	animation: fadeDown 1s ease-out forwards;
}

.fade-in {
	animation: fadeInFromAbove 0.5s ease-in forwards;
}

.nav {
	z-index: 999;
	display: flex;
	justify-content: flex-end;
	height: 60px;
	
	font-family: "proto";
	font-size: 36px;

	text-align: center;
}

.nav a {
	border-radius: 0 0 10px 10px;
    width: 50px;
	z-index: 900;
	height: 50px;
	text-align: center;
	transition: 0.5s all ease;
	border: 1px solid var(--bg0h);
	border-bottom: 5px var(--bg0h) solid;
	color: var(--light-aqua);
	background-color: var(--bg0);
}

.nav a:hover {
	padding-top: 15px;
	height: 65px;
	color: var(--fg);
	background-color: var(--light-aqua);
	border-bottom-color: var(--fg);
	outline: 2px var(--bg0h);
}

.user-info {
	text-align: right;
}

.user-info img {
	width: 40px;
	border-radius: 50px;
}

.user-info .username {
	display: none;
}


@keyframes fadeDown {
	0% {
		opacity: 1;
		transform: translate(0, 0);
	}

	50% {
		opacity: 0;
	}

	100% {
		transform: translate(0, 50px);
	}
}

@keyframes fadeInFromAbove {
	0% {
		opacity: 0;
		transform: translate(0, -20px);
	}

	100% {
		opacity: 1;
		transform: translate(0, 0);
	}
}

@media (max-width: 1005px) {
	.header {
		grid-template-columns: 100%;
		position: fixed;
		bottom: 0;
		left: 0;
		width: 100%;
		z-index: 1000;
		background: none;
	}

	.header-text {
		display: none;
	}

	.nav {
		justify-content: space-between;
	}

	.nav a {
		width:100%;
		border-radius: 10px 10px 0 0;
	}
}


