/* reset */
* {
	border: none;
	margin: 0;
	padding: 0;
}


/* set up general rules */
html,
body {
	background-color: #E7ECEF;
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	width: 100%;
}

html {
	height: 100%;
}

body {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	min-height: 100%;
}

a {
	text-decoration: none;
	color: white;
}

a:hover {
	text-decoration: underline;
}

button {
	font-family: 'Roboto', sans-serif;
	font-weight: 400;
	font-size: 0.95em;
	height: 25px;
	width: 70px;
}

button:hover {
	cursor: pointer;
}


/* app container */
#app {
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
}

.main-container {
	display: flex;
	flex-flow: row wrap;
	width: 100%;
	height: 100%;
	margin-bottom: 10px;
}



.share-img-container {
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
	margin: 30px;
	gap: 30px;
}

.share-img-bg {
	background-color: white;
	border-radius: 8px;
	padding: 15px 15px 10px 15px;
}

.share-icon {
	width: 60px;
	height: 60px;
}

.feature-container,
.use-tips-container,
.introduciton-container,
.share-container {
	width: calc(100% - 100px);
	display: flex;
	flex-direction: column;
	margin: 10px;
	padding: 30px;
	align-items: center;
	background-color: white;
	box-shadow: 0 2px 5px #858889;
}

.feature-title,
.use-tips-title,
.introduciton-title,
.share-title {
	font-size: 2rem;
	margin-bottom: 30px;
}

.feature-title a,
.use-tips-title a,
.introduciton-title a,
.share-title a {
	color: #004C8C;
}

.feature-description,
.introduciton-description {
	font-size: 1.5rem;
	line-height: 50px;
}

.use-tips-description {
	display: flex;
	flex-direction: column;
	font-size: 1.5rem;
	gap: 30px;
}

.introduciton-description {}

.step-tips {
	color: #004C8C;
	font-weight: 700;
}



/* dark mode button */
#dark-mode-button {
	background-color: transparent;
	-webkit-appearance: none;
	height: auto;
	width: auto;
}


/* title bar */
#title-bar {
	align-items: center;
	background-color: #004C8C;
	color: white;
	display: flex;
	flex-direction: row;
	height: 80px;
	justify-content: space-between;
	width: 100%;
	padding-right: 15px;
	box-sizing: border-box;
}

.title-container {
	display: flex;
	flex-direction: row;
	padding: 0 10px;
	flex-grow: 1;
	align-items: center;
}

.title-container img {
	width: 48px;
	height: 48px;
	filter: invert(85%) brightness(1.9) saturate(1.5) hue-rotate(180deg);
	/* -webkit-filter: invert(85%) brightness(1.9) saturate(1.5) hue-rotate(180deg); */
}

.title-bar-title {
	margin: 0 15px;
	font-size: 1.5rem;
}

.title-bar-subtitle {
	margin: 5px 15px;
	font-weight: normal;
	font-style: italic;
	font-size: 1.2rem;
}

.title-bar-item {
	display: flex;
	flex-direction: row;
	align-items: center;
	grid-gap: 10px;
}

.language-button {
	padding: 5px;
	background-color: white;
	border-radius: 5px;
	min-width: 100px;
}

/* main app parts: editor and reader; */
.big-box {
	background-color: white;
	box-shadow: 0 2px 5px #858889;
	flex: 1;
	font-size: 1em;
	height: 800px;
	margin: 10px;
	min-width: 350px;
}


/* editor box items */
#editor-button-row {
	display: flex;
	font-size: 0.9em;
	justify-content: flex-end;
	margin: 0 10px 0 100px;
	position: relative;
	top: 7px;
	z-index: 100;
}

.editor-button-row-button {
	background-color: #0277bd;
	box-shadow: 0 2px 5px #888;
	color: white;
	margin: 0 3px;
	display: inline-block;
	min-width: 50px;
}

#editor {
	height: 100%;
	font-size: 1em;
	position: relative;
	bottom: 25px;
	width: 100%;
}


/* JSON reader container*/
#reader-box {
	display: flex;
	flex-direction: column;
}

/* path bar */
#reader-path-bar-holder {
	align-items: center;
	display: flex;
	height: 40px;
}

#reader-path-bar {
	align-items: center;
	box-shadow: 0 2px 5px #888;
	display: flex;
	flex: 1;
	height: 25px;
	margin: 0 10px;
}

.reader-path-bar-item {
	height: 100%;
	padding: 0 10px;
}

#reader-path-bar-label {
	align-items: center;
	display: flex;
	border-right: 1px solid #CCC;
}

#reader-path-bar-input {
	color: #455a64;
	flex: 1;
	font-family: "Roboto Mono", monospace;
	font-size: 0.9em;
}

#reader-path-bar-copy {
	background-color: white;
	border-left: 1px solid #CCC;
}

/* the JSON reader itself */
#json-reader {
	height: 100%;
	overflow: auto;
	width: 100%;
}

#json-reader-error {
	font-family: "Roboto Mono", monospace;
	font-size: 0.9em;
	height: 200px;
	margin: 0 0 0 10px;
	width: 90%;
}

.json-reader-error-part {
	margin: 10px 0 0 0;
}

#json-reader-error-message {
	color: #B91400;
}

.json-reader-tree-subtree {
	margin: 0 0 0 25px;
	min-width: 400px;
}

.json-reader-tree-property {
	align-items: center;
	background-color: white;
	border-bottom: 1px solid #DDD;
	color: #0277bd;
	display: flex;
	overflow: auto;
	padding: 10px 4px;
	white-space: pre;
}

.json-reader-tree-property:hover {
	cursor: pointer;
}

.json-reader-tree-property-arrow {
	font-size: 0.5em;
	margin: 0 5px 0 0;
}

.json-reader-tree-property-value {
	color: #455A64;
	padding: 0 10px 0 25px;
}

.json-reader-tree-property-selected {
	background-color: #C1D5E0;
}


/* footer */
footer {
	align-items: center;
	background-color: #004C8C;
	color: white;
	display: flex;
	height: 25px;
	width: 100%;
}

#footer-credit {
	margin: 0 0 0 10px;
}


.language-select {
	padding: 5px;
	background-color: white;
	border-radius: 5px;
	min-width: 150px;
}

.language-option {
	padding: 10px;
}

.seo_content {
	width: 100%;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
}

.footer-container {
	width: 100%;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
	background-color: #004C8C;
	color: white;
	box-sizing: border-box;
	padding: 0px 10px;
}

.footer-title-container {
	width: 100%;
}

.footer-content {
	width: 100%;
	display: flex;
	flex-direction: row;
	border-bottom: 1px solid #727171;
	padding: 20px 0;
	align-items: center;
	flex-grow: 1;
}

.footer-content img {
	width: 48px;
	height: 48px;
	filter: hue-rotate(90deg); /* 这将给图像添加一个色调 */
	filter: invert(85%) brightness(1.9) saturate(1.5) hue-rotate(180deg);
	/* -webkit-filter: invert(85%) brightness(1.9) saturate(1.5) hue-rotate(180deg); */
}

.rights-reserved {
	margin: 20px 10px;
}


.footer-content {
	width: 100%;
}

.nav_menu {
	/* width: 100%; */
	display: flex;
	flex-direction: row;
	font-size: 0.8rem;
	gap: 10px;
	justify-content: flex-end;
	align-items: center;
	margin-right: 20px;
	text-decoration: underline;
	white-space: nowrap;
}

.ad_container {
	width: 90%;
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	justify-content: center;
	width: 100%;
	overflow: hidden;
	margin-left: 30px;
}

.ad_text_container {
	display: flex;
	flex-direction: column;
	height: 100px;
	padding: 0 10px;
	justify-content: center;
	background-color: white;
}

.ad_title {
	font-size: large;
	padding: 10px;
	font-weight: 700;
	color: black;
}

.ad_sub_title {
	font-size:medium;
	padding-left: 10px;
	color: black;
}

.ad_img_container img {
	max-height: 100%;
	width: auto;
	height: 100px;
	/* display: block; */
}


@media (max-width: 1536px) {}

@media (max-width: 1366px) {}

@media (max-width: 1280px) {}

@media (max-width: 1024px) {
	.title-bar-title {
		font-size: 1.4rem;
	}

	.title-bar-subtitle {
		font-size: 1rem;
	}

	#title-bar {
		flex-direction: row;	
		height: auto;
	}

	.footer-container {
		font-size: 1.4rem;
		flex-direction: column;
	}

	.nav_menu {
		padding: 10px 0;
		display: flex;
		justify-content: center;
	}
}

@media (max-width: 768px) {
	#title-bar {
		display: flex;
		flex-direction: column;
		justify-content: center;
		align-items: center;
		height: auto;
		padding-bottom: 10px;
	}

	.title-container {
		margin: 10px;
	}

	.title-bar-title {
		font-size: 1.2rem;
	}

	.title-bar-subtitle {
		font-size: 0.8rem;
	}

	
	.footer-container {
		font-size: 1.2rem;
	}

	

	.feature-title,
	.use-tips-title,
	.introduciton-title,
	.share-title {
		font-size: 1rem;
	}

	.feature-title a,
	.use-tips-title a,
	.introduciton-title a,
	.share-title a {
		color: #004C8C;
	}

	.feature-description,
	.introduciton-description {
		font-size: 1rem;
	}

	.use-tips-description {
		font-size: 1rem;
	}

	.introduciton-description {}
}

@media (max-width: 640px) {
	.nav_menu {
		/* width: 100%; */
		display: flex;
		flex-direction: column;
	}
}

@media (max-width: 475px) {}