@use "../../scss/abstracts/colors" as *;
@use "../../scss/abstracts/fonts" as *;

#navbar-container {
	clear: both;
	display: block;
}

nav {
	padding: 0.5rem 2rem;
	position: fixed;
	overflow-y: scroll;
	z-index: 1;
	width: 100vw;
	height: 3.5rem;
	padding: 0;
	background: transparent;
	display: flex;
	align-items: center;
	justify-content: space-between;

	.details {
		margin-right: auto;
		margin-left: 1.5rem;
		color: $dark;

		& > a:first-of-type {
			margin: 0;
			font-size: 1.2rem;
		}

		& > a:last-of-type {
			margin: 0 1.5rem;
			font-size: 1.2rem;
		}
	}

	#navbar-title {
		margin: 0 auto;
		font-family: "Cutive Mono";
		font-size: 2.5rem;
		font-weight: bold;
		color: $dark;

		span {
			margin: 0;
			padding: 0;
		}
	}

	#contact-btn {
		margin-left: auto;
		margin-right: 1.5rem;

		button {
			background: $primary;
			color: white;
			border: none;
			transition: all 300ms ease-in-out;
		}

		&:hover,
		&:focus {
			button {
				border: none;
				box-shadow: 0 0 2px 1px $primary;
			}
		}
	}
}
