@font-face {
	font-family:'WYS Xingkai';
	src:url('./fonts/wys_xingkai.ttf') format('truetype');
}
@font-face {
	font-family:'YYR Caoshu';
	src:url('./fonts/yyr_caoshu.ttf') format('truetype');
}
@font-face {
	font-family:'DHT Caoshu';
	src:url('./fonts/dht_caoshufanti.ttf') format('truetype');
}
@font-face {
	font-family:'LaBelleAurore';
	src:url('./fonts/LaBelleAurore.ttf') format('truetype');
}
@font-face {
	font-family:'DearJoeFour';
	src:url('./fonts/DearJoeFour.ttf') format('truetype');
}
@font-face {
	font-family:'OprahShow';
	src:url('./fonts/OprahShow.ttf') format('truetype');
}


body, html {
	margin: 10px;
	padding: 10px;
	font-family: Arial, sans-serif;
	display: flex;
	background-color: #F5F5F5
  }

header {
	background-color: #333;
	color: #fff;
	padding: 10px
}

h1 {
	margin: 0
}

input[type=text] {
	margin-bottom: 10px;
	box-shadow: 0 2px 5px rgba(0,0,0,.2)
}

button[type=submit],input[type=text] {
	display: block;
	width: 100%;
	padding: 10px;
	border-radius: 5px;
	border: none
}

button[type=submit] {
	margin-top: 10px;
	background-color: #333;
	color: #fff;
	font-size: 16px;
	cursor: pointer
}

.font-display {
	display: flex;
	justify-content: space-between;
	margin-top: 20px;
	font-size: 69px;
	color: #222522
}

.font-display .font-container {
	width: 30%;
	height: 200px;
	padding: 10px;
	border-radius: 5px;
	border: 1px solid #ccc;
	box-shadow: 0 2px 5px rgba(0,0,0,.2);
	overflow: auto
}

.font-display .font-container h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 14px;
	font-weight: 700
}

div#chinese-font1 {
    font-family: 'WYS Xingkai';
}
div#chinese-font2 {
    font-family: 'YYR Caoshu';
}
div#chinese-font3 {
    font-family: 'DHT Caoshu';
}

div#english-font1 {
    font-family: 'LaBelleAurore';
}
div#english-font2 {
    font-family: 'DearJoeFour';
}
div#english-font3 {
    font-family: 'OprahShow';
	font-size: 36px
}

@media screen and (max-width:768px) {
	.font-display {
		flex-wrap: wrap
	}

	.font-display .font-container {
		width: 100%;
		margin-bottom: 20px
	}
}
