.synonym-box {
	width: 100%;
	display: flex;
	flex-direction: column;
	padding-top: 10px;
}

.synonym-container {
	font-family: hand;
	font-size: 18px;
	margin: 0px;
}

.synonym-button {
	font-family: hand;
	font-size: 18px;
	padding: 3px 9px;
	border-style: solid;
	border-radius: 5px;
	border-color: slategray;
	cursor: pointer;
	margin-top: 10px;
}

.modify-background {
	position: fixed;
	width: 100%;
	height: 100vh;
	z-index: 1001;
	top: 0px;
	left: 0px;
	background-color: rgba(0,0,0,0.8);
	display: none;
	align-items: center;
	justify-content: center;
	padding: 0px 10px;
	box-sizing: border-box;
}

.modify-container {
	position: relative;
	max-width: 500px;
	background-color: whitesmoke;
	border-width: 0px;
	border-radius: 5px;
	padding: 20px;
	box-sizing: border-box;
	flex-grow: 1;
}

.modify-title {
	font-family: hand;
	font-size: 24px;
	border-bottom: solid 2px darkgray;
	width: 100%;
	margin: 0px;
}

.modify-input-container {
	display: flex;
	flex-direction: row;
	gap: 20px;
	width: 100%;
	margin: 10px 0px;
}

.modify-input {
	flex-grow: 1;
	font-family: hand;
	font-size: 20px;
	border-style: solid;
	border-radius: 5px;
	border-color: slategray;
	width: 10px;
}

.modify-input-button {
	font-family: hand;
	font-size: 20px;
	padding: 3px 9px;
	border-style: solid;
	border-radius: 5px;
	border-color: slategray;
	color: slategray;
	cursor: pointer;
	min-width: 65px;
}

.modify-list {
	display: flex;
	flex-direction: row;
	gap: 10px;
	flex-wrap: wrap;
}

.modify-list-synonym {
	font-family: hand;
	font-size: 18px;
	background-color: #D0D0D0;
	color: black;
	padding: 6px 15px;
	margin: 0px;
	border-width: 0px;
	border-radius: 5px;
	white-space: pre;
	cursor: pointer;
	user-select: none;
}

.modify-list-synonym:hover {
	background-color: grey;
	color: whitesmoke;
}

.modify-close {
	position: absolute;
	top: 10px;
	right: 10px;
	font-family: hand;
	font-size: 18px;
	background-color: whitesmoke;
	color: darkslategray;
	margin: 0px;
	padding: 3px 9px;
	border-width: 0px;
	border-radius: 3px;
	cursor: pointer;
}

.modify-close:hover {
	background-color: #E0E0E0;
}