nav.navBar {
	width: 100%;
    font-weight: bold;
	font-size: 1.1rem;
	font-family: 'Arial black', sans-serif;
	justify-content: center;
	text-align: center;
}

hr {
	border: 1px solid #0000ff;
}

body {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 1.25em;	
}


h1 {
	font-size: 1.5em;
	text-align: center;
}

h2 {
	font-size: 1.2em;
	text-align: center;
}

#textBox {
	display: block;
    margin-left: auto;
    margin-right: auto;
	font-size: 1.1em;
    min-width: 94%;
	max-width: 100%;
	height: 16em;
}

#sentimentText {
	display: block;
    margin-left: auto;
    margin-right: auto;
	font-size: 1.1em;
    min-width: 94%;
	max-width: 100%;
	height: 5em;
}

#constraint, #phrase1, #startsWith, #defineWord {
	font-size: 1em;
}

button, #wordsButton, #defButton, #sentimentButton {
    font-size: 1em;
    font-weight: bold;     
}	

.wordResult {
	padding: 5px 0px;	
}

.copyWordResult {
  	background-color: white;
	border: none;
	color: #0000ff;	
	font-weight: normal;
	height: 30px;
	border-radius: 8px;  
}	

.copyWordResult:hover {
	background-color: #0000ff;
	color: white;
}

#phrase1_error, #defineWord_error, #sentence_error {
	font-size: 0.9em;
	color: red;
}

/* One-column grid for viewports under 700px */

.textArea {
	grid-area: textArea;
	background-color: #b8ffb5;
}

.sentiment {
	grid-area: sentiment;
	background-color: #f9f4b2;
}

.wordsFind {
	grid-area: wordsFind;
	background-color: #7DFDFE;
}

.wordDefinition {
	grid-area: wordDefinition;
	background-color: #ffd4db;
}

.wrapper {
	border: none;
	display: grid;
	grid-template-areas:
		'textArea'
		'sentiment'
		'wordsFind'
		'wordDefinition';
	gap: 10px 10px;

}

.wrapper>div {
	padding: 5px 20px 25px 20px;

}

/* Two-column grid for viewports 700px+ */
@media (min-width: 700px) {

	.wrapper {
		max-width: 1080px;
		margin: 0px auto;
		border: none;
		display: grid;
		grid-template-columns: 1fr 1fr;
		grid-template-areas:
			'textArea sentiment'
			'wordsFind wordDefinition';
		font-size: 14px;
		gap: 15px 15px;


	}

	#textBox {
		font-size: 1em;
		width: 99%;
	}

	#sentimentText {
		font-size: 1em;
		width: 99%;		
	}

}