@media only screen and (max-width: 1650px) {
    div.navbar {
	position: fixed;
	top: 0;
	left: 0;
	margin-bottom: 40px;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: space-around;
	background-color: white;
	border-width: 1px;
	border-style: solid;
    }

    a.navlink {
	display: block;
	font-size: 30px;
	margin-bottom: 10px;
	font-weight: bold;
	color: black;
    }

    a.navlink:visited {
	display: block;
	color: black;
    }

    body {
	margin-top: 40px;
    }
}

@media only screen and (min-width: 1651px) {
    div.navbar {
	position: fixed;
	top: 25px;
	left: 0;
	width: calc((100vw - 1200px)/2);
	display: flex;
	flex-direction: column;
	align-items: center;
    }

    a.navlink {
	display: block;
	font-size: 30px;
	margin-bottom: 10px;
	font-weight: bold;
	color: black;
    }

    a.navlink:visited {
	display: block;
	color: black;
    }
}
