/* FONT */
/* COLORS */
/* BREAKPOINTS */
/*! normalize.css v4.0.0 | MIT License | github.com/necolas/normalize.css */
/**
 * 1. Change the default font family in all browsers (opinionated).
 * 2. Prevent adjustments of font size after orientation changes in IE and iOS.
 */
html {
  font-family: sans-serif;
  /* 1 */
  -ms-text-size-adjust: 100%;
  /* 2 */
  -webkit-text-size-adjust: 100%;
  /* 2 */ }

/**
 * Remove the margin in all browsers (opinionated).
 */
body {
  margin: 0; }

/* HTML5 display definitions
   ========================================================================== */
/**
 * Add the correct display in IE 9-.
 * 1. Add the correct display in Edge, IE, and Firefox.
 * 2. Add the correct display in IE.
 */
article,
aside,
details,
figcaption,
figure,
footer,
header,
main,
menu,
nav,
section,
summary {
  /* 1 */
  display: block; }

/**
 * Add the correct display in IE 9-.
 */
audio,
canvas,
progress,
video {
  display: inline-block; }

/**
 * Add the correct display in iOS 4-7.
 */
audio:not([controls]) {
  display: none;
  height: 0; }

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
  vertical-align: baseline; }

/**
 * Add the correct display in IE 10-.
 * 1. Add the correct display in IE.
 */
template,
[hidden] {
  display: none; }

/* Links
   ========================================================================== */
/**
 * Remove the gray background on active links in IE 10.
 */
a {
  background-color: transparent; }

/**
 * Remove the outline on focused links when they are also active or hovered
 * in all browsers (opinionated).
 */
a:active,
a:hover {
  outline-width: 0; }

/* Text-level semantics
   ========================================================================== */
/**
 * 1. Remove the bottom border in Firefox 39-.
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
  border-bottom: none;
  /* 1 */
  text-decoration: underline;
  /* 2 */
  text-decoration: underline dotted;
  /* 2 */ }

/**
 * Prevent the duplicate application of `bolder` by the next rule in Safari 6.
 */
b,
strong {
  font-weight: inherit; }

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
  font-weight: bolder; }

/**
 * Add the correct font style in Android 4.3-.
 */
dfn {
  font-style: italic; }

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
  font-size: 2em;
  margin: 0.67em 0; }

/**
 * Add the correct background and color in IE 9-.
 */
mark {
  background-color: #ff0;
  color: #000; }

/**
 * Add the correct font size in all browsers.
 */
small {
  font-size: 80%; }

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
  vertical-align: baseline; }

sub {
  bottom: -0.25em; }

sup {
  top: -0.5em; }

/* Embedded content
   ========================================================================== */
/**
 * Remove the border on images inside links in IE 10-.
 */
img {
  border-style: none; }

/**
 * Hide the overflow in IE.
 */
svg:not(:root) {
  overflow: hidden; }

/* Grouping content
   ========================================================================== */
/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
pre,
samp {
  font-family: monospace, monospace;
  /* 1 */
  font-size: 1em;
  /* 2 */ }

/**
 * Add the correct margin in IE 8.
 */
figure {
  margin: 1em 40px; }

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
  box-sizing: content-box;
  /* 1 */
  height: 0;
  /* 1 */
  overflow: visible;
  /* 2 */ }

/* Forms
   ========================================================================== */
/**
 * Change font properties to `inherit` in all browsers (opinionated).
 */
button,
input,
select,
textarea {
  font: inherit; }

/**
 * Restore the font weight unset by the previous rule.
 */
optgroup {
  font-weight: bold; }

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 * 2. Show the overflow in Edge, Firefox, and IE.
 */
button,
input,
select {
  /* 2 */
  overflow: visible; }

/**
 * Remove the margin in Safari.
 * 1. Remove the margin in Firefox and Safari.
 */
button,
input,
select,
textarea {
  /* 1 */
  margin: 0; }

/**
 * Remove the inheritence of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritence of text transform in Firefox.
 */
button,
select {
  /* 1 */
  text-transform: none; }

/**
 * Change the cursor in all browsers (opinionated).
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
  cursor: pointer; }

/**
 * Restore the default cursor to disabled elements unset by the previous rule.
 */
[disabled] {
  cursor: default; }

/**
 * 1. Prevent a WebKit bug where (2) destroys native `audio` and `video`
 *    controls in Android 4.
 * 2. Correct the inability to style clickable types in iOS.
 */
button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  /* 2 */ }

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
input::-moz-focus-inner {
  border: 0;
  padding: 0; }

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
input:-moz-focusring {
  outline: 1px dotted ButtonText; }

/**
 * Change the border, margin, and padding in all browsers (opinionated).
 */
fieldset {
  border: 1px solid #c0c0c0;
  margin: 0 2px;
  padding: 0.35em 0.625em 0.75em; }

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *    `fieldset` elements in all browsers.
 */
legend {
  box-sizing: border-box;
  /* 1 */
  color: inherit;
  /* 2 */
  display: table;
  /* 1 */
  max-width: 100%;
  /* 1 */
  padding: 0;
  /* 3 */
  white-space: normal;
  /* 1 */ }

/**
 * Remove the default vertical scrollbar in IE.
 */
textarea {
  overflow: auto; }

/**
 * 1. Add the correct box sizing in IE 10-.
 * 2. Remove the padding in IE 10-.
 */
[type="checkbox"],
[type="radio"] {
  box-sizing: border-box;
  /* 1 */
  padding: 0;
  /* 2 */ }

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto; }

/**
 * Correct the odd appearance of search inputs in Chrome and Safari.
 */
[type="search"] {
  -webkit-appearance: textfield; }

/**
 * Remove the inner padding and cancel buttons in Chrome on OS X and
 * Safari on OS X.
 */
[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none; }

HTML,
BODY {
  height: 100%; }

BODY {
  min-width: 600px;
  display: flex;
  background: #FFF;
  font: 16px/1.4 Georgia, serif;
  color: #222; }

A {
  color: darkslategray; }
  A:visited {
    color: darkcyan; }
  A:hover {
    color: cadetblue; }

UL {
  margin: 0;
  padding: 0;
  list-style: none; }

H1,
H2,
H3,
H4,
H5 {
  font-weight: normal; }

/* LAYOUT */
.header,
.container,
.footer {
  width: 100%;
  min-width: 320px;
  margin: 0;
  padding: 0; }

.container {
  display: flex; }

.main {
  display: flex;
  flex-direction: column;
  flex-grow: 1; }

.aside {
  flex-basis: 200px;
  margin-left: 30px; }

.github-link {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translate(0, -50%);
  color: teal;
  transition: all .25s; }
  .github-link:visited {
    color: #333; }
  .github-link:hover {
    color: yellowgreen; }

.github-icon {
  display: block;
  width: 24px;
  height: 24px; }

.svg {
  position: relative;
  z-index: 10;
  width: 100%;
  flex-shrink: 0;
  flex-grow: 1;
  margin: auto;
  overflow: visible !important;
  box-sizing: border-box;
  border: 1px solid transparent;
  border-color: transparent #DDD #DDD transparent;
  background: linear-gradient(to bottom, #DDD 1px, transparent 0), linear-gradient(to right, #DDD 1px, transparent 0);
  background-size: 50px 50px; }

.point-control {
  stroke: #000;
  stroke-width: 3;
  fill: greenyellow;
  cursor: pointer;
  transition: fill .25s; }
  .point-control:hover {
    fill: orangered; }

.header {
  width: 100%;
  min-width: 320px;
  margin: 1rem auto;
  padding: .5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: khaki;
  border: 1px solid rgba(0, 0, 0, 0.1); }

.nav__item {
  display: inline-block;
  margin: 0 .5rem; }

.footer {
  width: 100%;
  min-width: 320px;
  display: flex;
  margin: 1rem auto;
  padding: .5rem;
  background: beige;
  border: 1px solid rgba(0, 0, 0, 0.1); }

.footer__items {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%; }

.socials__item {
  display: inline-block;
  margin: 0 .5rem; }

.panel {
  position: relative;
  min-height: 60px;
  padding: 2rem 3rem;
  box-sizing: border-box;
  background: #000;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  font-size: 16px;
  font-family: Arial, sans-serif;
  color: #555; }
  .panel--codefont {
    font-size: 1.2rem;
    font-family: Courier New, Courier, monospace; }
  .panel__inner {
    display: flex;
    flex-direction: row;
    align-items: baseline;
    white-space: nowrap;
    line-height: 2; }
  .panel__column {
    margin-bottom: 1em;
    display: flex;
    flex-direction: row;
    flex-basis: 50%; }
    .panel__column--props {
      flex-wrap: wrap; }

.attrs {
  display: flex;
  align-items: center; }
  .attrs__item {
    position: relative; }
    .attrs__item--line {
      display: flex;
      flex-direction: row;
      align-items: center;
      margin: 0 1em 0 0; }
  .attrs__input {
    min-width: 0;
    width: 1em;
    text-align: center;
    background: transparent;
    border: 2px solid transparent;
    margin: 0 1px;
    padding: 2px 0 1px;
    border-radius: 3px;
    line-height: 1;
    color: #FFF;
    transition: all .25s;
    font-size: 1.2rem;
    font-family: Courier New, Courier, monospace; }
    .attrs__input--boolean {
      position: absolute;
      opacity: 0; }
    .attrs__input:focus {
      outline: 0;
      color: yellowgreen;
      border-color: currentColor; }
    .attrs__input--string {
      width: 1em;
      color: lightseagreen; }
    .attrs__input--number {
      width: 2em;
      color: gold; }
    .attrs__input--largeArc, .attrs__input--sweep, .attrs__input--xRot, .attrs__input--repeat, .attrs__input--strokeWidth {
      width: 1em; }
    .attrs__input--error, .attrs__input--error:focus {
      color: orangered;
      border-color: currentColor; }
  .attrs__label {
    position: relative;
    display: flex;
    align-items: center;
    font: 16px/1 Arial, sans-serif;
    color: yellowgreen;
    transition: all .25s;
    order: -1; }
    .attrs__label--hidden {
      position: absolute;
      top: -1.3em;
      left: 50%;
      transform: translateX(-50%);
      opacity: 0; }
    .attrs__label--line {
      margin-right: .5em; }
  .attrs__input--boolean:disabled ~ .attrs__label {
    color: #333; }
  .attrs__input--boolean ~ .attrs__label::before {
    content: '';
    display: block;
    width: 1em;
    height: 1em;
    margin-right: .5em;
    border-radius: 3px;
    border: 2px solid #222; }
  .attrs__input--boolean ~ .attrs__label::after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    width: 1em;
    height: 1em;
    margin: 2px;
    background-position: center center;
    background-repeat: no-repeat; }
  .attrs__input--boolean:checked ~ .attrs__label::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 102 63'%3E%3Cpolyline fill='none' stroke='yellowgreen' stroke-width='15' points='1.938 20.461 37.484 60.129 100.637 2.238'/%3E%3C/svg%3E%0A"); }
  .attrs__input--boolean:checked:disabled ~ .attrs__label::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 102 63'%3E%3Cpolyline fill='none' stroke='%23222' stroke-width='15' points='1.938 20.461 37.484 60.129 100.637 2.238'/%3E%3C/svg%3E%0A"); }
  .attrs__input--boolean:focus ~ .attrs__label::before {
    border-color: yellowgreen; }
  .attrs__input:focus ~ .attrs__label {
    opacity: 1; }
  .attrs__input--error ~ .attrs__label {
    color: orangered; }
  .attrs__error {
    position: absolute;
    bottom: -1.3em;
    left: 50%;
    opacity: 0;
    transform: translateX(-50%);
    font: 16px/1 Arial, sans-serif;
    color: orangered; }
  .attrs__item--line .attrs__error {
    top: -1.3em;
    bottom: auto; }
  .attrs__input--error:focus ~ .attrs__error {
    opacity: 1; }
  .attrs__text {
    margin-right: 20px;
    font: 16px/1 Arial, sans-serif; }

.code {
  position: relative;
  margin-left: 20px; }
  .code__textarea {
    background: transparent;
    border: 3px solid transparent;
    border-radius: 5px;
    font: inherit;
    font-size: 14px;
    line-height: 1.3;
    font-family: Courier New, Courier, monospace; }
    .code__textarea:focus {
      outline: 0;
      border-color: yellowgreen; }

.popup {
  position: relative;
  margin-left: 20px;
  align-self: baseline; }
  .popup__toggle {
    height: 30px;
    padding: 0 10px;
    background: transparent;
    border: 2px solid #222;
    border-radius: 3px;
    line-height: 30px;
    font: 16px/1 Arial, sans-serif;
    color: yellowgreen; }
    .popup__toggle:focus {
      outline: 0;
      border-color: currentColor; }
  .popup__container {
    position: absolute;
    z-index: 20;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    min-height: 0;
    overflow: hidden;
    display: flex;
    border-radius: 5px;
    transition: all .4s; }
  .popup--opened .popup__container {
    height: 300px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5), 0 0 15px rgba(0, 0, 0, 0.5); }
  .popup__content {
    width: 350px;
    display: flex;
    padding: 10px;
    background: rgba(255, 255, 255, 0.9); }

.wave-types__items {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap; }
.wave-types__item {
  margin: 3px;
  flex-basis: 40%;
  flex-grow: 1; }
.wave-types__button {
  width: 100%;
  height: 60px;
  padding: 3px 10px;
  display: flex;
  background: transparent;
  border: 2px solid #999;
  border-radius: 3px;
  cursor: pointer; }
  .wave-types__button svg {
    width: 100%;
    height: 100%; }
  .wave-types__button:focus {
    outline: 0;
    color: yellowgreen;
    border-color: currentColor; }

.flags {
  position: relative;
  margin-top: 10px;
  min-height: 30px; }
  .flags__text {
    position: absolute;
    left: 0;
    bottom: -1.3em;
    font-size: 14px;
    line-height: 1;
    color: #333; }
  @media (min-width: 768px) {
  .header,
    .container,
    .footer {
    min-width: 768px; }
  .header {
    min-width: 768px; }
  .footer {
    min-width: 768px; } }
  @media (min-width: 1000px) {
  .header,
    .container,
    .footer {
    min-width: 1000px; }
  .header {
    min-width: 1000px; }
  .footer {
    min-width: 1000px; } }
  @media (max-width: 768px) {
  .container {
    flex-direction: column; }
  .aside {
    flex-basis: 0;
    margin-left: 0;
    margin-top: 1rem; }
  .header {
    flex-direction: column; }
  .footer__items {
    flex-direction: column; } }
  @media (min-width: 700px) {
  .panel__column--props {
    flex-wrap: nowrap; }
  .flags {
    margin-top: 0; } }
  @media (max-width: 1000px) {
  .popup:last-child .popup__container {
    left: auto;
    right: 0;
    transform: none; } }
