/* 
html5doctor.com Reset Stylesheet
v1.6.1
Last Updated: 2010-09-17
Author: Richard Clark - http://richclarkdesign.com 
Twitter: @rich_clark
*/

@import url('https://fonts.googleapis.com/css?family=Nunito');
@font-face {
  font-family: wenyue;
  src: url(wenyue.otf);
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

nav ul {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

svg {
  width: 1cm;
  border: solid 1px #909090;
  box-sizing: border-box;
}
.hanzi-box {
  width: max-content;
  display: block;
  float: left;
  padding: 0.5mm;
}
.full-hanzi > svg > g:nth-last-child(1) > path:nth-last-child(1) {
  fill: black;
}
.last-hanzi > svg > g:nth-last-child(1) > path {
  fill: #bbc3c7;
}

#bt-container {
  max-width: 900px;
  margin: 0 auto;
  width: 100%;
  padding: 12px 24px;
}

h1#bt-header {
  display: block;
  font-size: 2rem;
  font-weight: 700;
}
div#bt-form-group {
  display: flex;
  flex-direction: row;
  gap: 4px;
  width: 100%;
  justify-content: space-between;
  margin: 8px 0;
}

input#generate-text {
  flex-grow: 1;
  border: none;
  font-size: 1.25rem;
  padding: 12px 12px 8px 12px;
  border-bottom: 1px solid #0b9444;
  border-radius: 4px;
  background-color: #efefef;
  transition-duration: 0.15s;
}
input#generate-text:focus {
  background-color: #ebeee7;
  outline: none;
  transition-duration: 0.15s;
}

input#generate-button {
  display: block;
  color: white;
  background-color: #0b9444;
  border: none;
  padding: 12px 16px;
  font-size: 0.5cm;
  transition-duration: 0.15s;
  border-bottom: 1px solid #8cc63e;
  border-radius: 4px;
}
input#generate-button:hover {
  color: #fff;
  background-color: #0b9444;
  transition-duration: 0.15s;
  cursor: pointer;
}
input#generate-button:focus {
  outline: none;
}

input.box-width-range {
  height: 1cm;
  width: 8cm;
  outline: none;
  transition: opacity 0.2s;
  display: block;
  margin: auto;
}
path:nth-last-child(1) {
  /* fill: #c31596; */
  fill: red;
}

div.boxes {
  margin-bottom: 36px;
}

.hanzi-def {
  font-size: 0.5cm;
  font-family: 'Nunito', 'wenyue', sans-serif;
  padding: 24px 0;
  text-align: center;
}

div.hanzi-gif {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  width: 100%;
}

div.hanzi-gif img.hanzi-gif-img {
  width: 300px;
  height: 300px;
}

ul#tab_nav_list {
  display: inline-flex;
  align-items: center;
  padding: 2px;
  gap: 2px;
}

ul#tab_nav_list li {
  padding: 0 16px;
}

ul#tab_nav_list li:hover {
  color: #0b9444;
  cursor: pointer;
}

ul#tab_nav_list .active {
  color: #0b9444;
  text-decoration: underline;
}

div.tab-content {
  padding: 24px;
  height: min-content;
  display: none;
}

div#tab_content_container .active {
  display: grid;
}
