/* http://meyerweb.com/eric/tools/css/reset/ 
   v2.0 | 20110126
   License: none (public domain)
*/

html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

:root {
  --background: white;
  --primary: #373737;
  --control-background: #5c5c5c;
  --background-visibility-light: #e7e7e7;
}

img {
  image-rendering: pixelated;
}

html,
body {
  background: var(--background);
  margin: 0;
  padding: 0;
  height: 100%;
  width: 100%;
}

* {
  color: var(--primary) !important;
  font-family: "MS PGothic", Arial;
}

button,
select,
textarea,
input,
.preview-box {
  color: var(--background) !important;
  background: var(--control-background) !important;
}

h1 {
  font-weight: bold;
  font-size: 15px;
  margin: 0;
}

p {
  margin: 0;
}

.container {
  margin-bottom: 40px;
  text-align: center;
  margin: 10px;
}

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

label {
  display: block;
  margin: 10px 0px;
}

#counter_name,
#counter_style,
#counter_embed {
  padding: 10px;
  font-size: 16px;
  border: 0;
  border-radius: 4px;
  margin-bottom: 10px;
  text-align: center;
  width: 210px;
}

#counter_style {
  height: 100%;
}

#counter_embed {
  resize: none;
  text-align: left;
  min-height: 68px;
  word-break: break-all;
}

.note {
  font-size: 11px;
  opacity: 0.5;
}

.preview-box {
  padding: 10px 5px;
  border-radius: 5px;
  /* border: 1px dashed white; */
  display: flex;
}

.preview-box[data-visibility="light"] {
  background-color: var(--background) !important;
  border: 1px dashed var(--control-background) !important;
}

.intro-message {
  margin-bottom: 20px;
}

.hr {
  width: 228px;
  border-bottom: 1px solid var(--primary);
  padding-bottom: 9px;
  opacity: 0.1;
}

footer {
  position: absolute;
  bottom: 10px;
  width: 100%;
  text-align: center;
}

label {
  font-weight: bold;
}

#counter_preview {
  margin: auto;
}

#counter_style {
  margin-bottom: 0px;
}

.select-box {
  height: 39px;
  margin-bottom: 5px;
}

.select-box button {
  height: 100%;
  border: 0;
  border-radius: 5px;
  padding: 8px 16px;
  cursor: pointer;
  font-weight: bold;
}

.bold {
  font-weight: bold;
}
