/* Define the custom font using @font-face */
@font-face {
    font-family: 'AllianceNo1';
    src: url('allianceno1.otf') format('opentype');
}

/* Apply the custom font to your elements */
body {
}

.nav-title {
  font-family: 'AllianceNo1';
}

body {
    margin: 0;
    background-color: black;
    color: white;
    font-family: Arial, sans-serif;
    font-size: 16px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #333;
}

#main {
	width: 75%;
	margin: 0 auto;
}

.splash {
	text-align: center;
	font-family: 'AllianceNo1';
	font-size: 30px;
	padding: 100px 0 0 0;
}


.nav-left {
    flex: 1;
}

.nav-title {
    flex: 2;
    text-align: center;
    font-size: 24px;
}

.nav-options {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.nav-options a {
    color: white;
    text-decoration: none;
    margin-left: 20px;
    padding: 10px;
    transition: background-color 0.3s;
}

.nav-options a:hover {
    background-color: #555;
}

.datestamp {
	width: 700px;
	margin: 0 auto;
	font-size: 20px;
	text-align: center;
	margin-bottom: 40px;
}

.week-entry {
 	width: 700px;
	margin: 0 auto;
	font-size: 26px;
	font-style: italic;
	margin-bottom: 50px;
	text-align: center;
}

#typewriter {
	background-color: #2f2f2f;
	color: white;
	white-space: pre;
	border-radius: 10px;
	width: 700px;
	margin: 0 auto;
	padding: 20px;
	height: 700px;
	font-family: monospace;
	overflow-y: scroll;
}

#nextwriter {
	background-color: #2f2f2f;
	color: white;
	white-space: pre;
	border-radius: 10px;
	width: 700px;
	margin: 0 auto;
	padding: 20px;
	height: 700px;
	font-family: monospace;
	overflow-y: scroll;
}

.hl {
	color: #be2faf;
}



/* Desktop styles for p#intro */
@media (min-width: 769px) {
	p#intro {
		font-size: 22px !important;
		text-align: left !important;
		max-width: 800px !important;
		margin: 0 auto 100px auto !important;
		padding: 0 50px !important;
	}
}

/* Mobile responsive styles */
@media (max-width: 768px) {
	#main {
		width: 95%;
		padding: 0 10px;
	}
	
	p#intro {
		font-size: 18px !important;
		text-align: left !important;
		max-width: 100% !important;
		margin: 0 auto 50px auto !important;
		padding: 0 10px !important;
	}
	
	.datestamp {
		width: 95%;
		max-width: 700px;
		padding: 0 10px;
		font-size: 18px;
	}
	
	.week-entry {
		width: 95%;
		max-width: 700px;
		padding: 0 10px;
		font-size: 20px;
	}
	
	#typewriter {
		width: 95%;
		max-width: 700px;
		margin: 0 auto;
		padding: 15px;
		height: 500px;
	}
	
	#nextwriter {
		width: 95%;
		max-width: 700px;
		margin: 0 auto;
		padding: 15px;
		height: 500px;
	}
	
	.splash {
		padding: 50px 0 0 0;
		font-size: 24px;
	}
	
	.navbar {
		padding: 10px 15px;
		flex-wrap: wrap;
		justify-content: center;
	}
	
	.nav-left {
		display: none;
	}
	
	.nav-title {
		font-size: 18px;
		flex: 1 1 100%;
		text-align: center;
		order: 1;
	}
	
	.nav-options {
		flex: 1 1 100%;
		justify-content: center;
		margin-top: 10px;
		order: 2;
	}
	
	.nav-options a {
		margin: 0 10px;
		font-size: 14px;
	}
}
