/* Bootstrap 4 Reset */

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -ms-overflow-style: scrollbar;
  -webkit-tap-highlight-color: transparent;
  font-size: 62.5%;
}

@-ms-viewport {
  width: device-width;
}

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

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
  font-size: 1.4rem;
  font-weight: normal;
  line-height: 1.5;
  color: #212529;
  text-align: left;
  background-color: #fff;
}

[tabindex="-1"]:focus {
  outline: none !important;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: .5rem;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

abbr[title],
abbr[data-original-title] {
  text-decoration: underline;
  -webkit-text-decoration: underline dotted;
          text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

ol,
ul,
dl {
  margin-top: 0;
  margin-bottom: 1rem;
}

ol ol,
ul ul,
ol ul,
ul ol {
  margin-bottom: 0;
}

dt {
  font-weight: bold;
}

dd {
  margin-bottom: .5rem;
  margin-left: 0;
}

blockquote {
  margin: 0 0 1rem;
}

dfn {
  font-style: italic;
}

b,
strong {
  font-weight: bolder;
}

small {
  font-size: 80%;
}

sub,
sup {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
}

sub {
  bottom: -.25em;
}

sup {
  top: -.5em;
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

a:hover {
  color: #0056b3;
  text-decoration: underline;
}

a:not([href]):not([tabindex]) {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus, a:not([href]):not([tabindex]):hover {
  color: inherit;
  text-decoration: none;
}

a:not([href]):not([tabindex]):focus {
  outline: 0;
}

pre,
code,
kbd,
samp {
  font-family: monospace, monospace;
  font-size: 1em;
}

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
  -ms-overflow-style: scrollbar;
}

figure {
  margin: 0 0 1rem;
}

img {
  vertical-align: middle;
  border-style: none;
}

svg:not(:root) {
  overflow: hidden;
}

a,
area,
button,
[role="button"],
input:not([type=range]),
label,
select,
summary,
textarea {
  -ms-touch-action: manipulation;
  touch-action: manipulation;
}

table {
  border-collapse: collapse;
}

caption {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  color: #868e96;
  text-align: left;
  caption-side: bottom;
}

th {
  text-align: inherit;
}

label {
  display: inline-block;
  margin-bottom: .5rem;
}

button {
  border-radius: 0;
  border: solid 1px #ccc;
  background-color: #ccc;
  overflow: hidden;
}

button:focus {
  outline: 1px dotted;
  outline: 5px auto -webkit-focus-ring-color;
}

input,
button,
select,
optgroup,
textarea {
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
html [type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  padding: 0;
  border-style: none;
}

input[type="radio"],
input[type="checkbox"] {
  box-sizing: border-box;
  padding: 0;
}

input[type="date"],
input[type="time"],
input[type="datetime-local"],
input[type="month"] {
  -webkit-appearance: listbox;
}

textarea {
  overflow: auto;
  resize: vertical;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

legend {
  display: block;
  width: 100%;
  max-width: 100%;
  padding: 0;
  margin-bottom: .5rem;
  font-size: 1.5rem;
  line-height: inherit;
  color: inherit;
  white-space: normal;
}

progress {
  vertical-align: baseline;
}

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
  height: auto;
}

[type="search"] {
  outline-offset: -2px;
  -webkit-appearance: none;
}

[type="search"]::-webkit-search-cancel-button,
[type="search"]::-webkit-search-decoration {
  -webkit-appearance: none;
}

::-webkit-file-upload-button {
  font: inherit;
  -webkit-appearance: button;
}

output {
  display: inline-block;
}

summary {
  display: list-item;
}

template {
  display: none;
}

[hidden] {
  display: none !important;
}

html, body, h1, h2, h3, h4, h5, h6, p, ol, ul, li, dl,
dt, dd, blockquote, address, table {
  margin: 0;
  padding: 0;
}

* {
  font-weight: 100;
}


/****************/
/* Local Styles */
/****************/

header {
  background-color: #333;
  padding: 20px;
}
header h1 {
  color: #fff;
  margin: 0;
  font-size: 2.5rem;
  font-weight: 200;
}

body > section {
  padding: 20px;
}


/****************/
/** Calculator **/
/****************/
body {
  background-image: -webkit-linear-gradient(top left, #5cc8ff 0%, #d63c6b 100%);
  background-image: linear-gradient(to bottom right, #5cc8ff 0%, #d63c6b 100%);
  background-repeat: no-repeat;
  background-attachment: fixed;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}


button {
  outline: none;
  border: 0;
  padding: 2rem;
  background-color: #292f36;
  font-size: 2rem;
  line-height: 1;
  font-weight: 400;
  color: #5cc8ff;
  -webkit-transition: all 300ms cubic-bezier(1, 1, 1, 1);
  transition: all 300ms cubic-bezier(1, 1, 1, 1);
  cursor: pointer;
}

button:hover {
  color: #00a3f5;
  font-weight: bold;
}

.composi-calculator {
  margin: 0 auto;
  width: 320px;
  box-shadow: 0 19px 38px rgba(19, 19, 19, .24), 0 15px 12px rgba(19, 19, 19, .12);
}


.editable-field {
  position: relative;
  width: 320px;
  height: 80px;
  z-index: 10;
  outline: none;
  box-shadow: 0 4px 2px -2px rgba(19, 19, 19, .64);
  padding: 8px;
  padding: 1rem;
  /* overflow-y: hidden; */
  overflow-x: scroll;
  background-color: rgba(19, 19, 19, .64);
  font-size: 2rem;
  line-height: 2;
  font-weight: bold;
  color: #d63c6b;
  text-align: right;
  white-space: nowrap;
}

.button-set--equations {
  width: 80px;
}
.button-set--equations button {
  display: inline-block;
  width: 80px;
  height: 80px;
  vertical-align: top;
  text-transform: uppercase;
  -webkit-font-feature-settings: "c2sc", "c2sc", "c2sc";
  -moz-font-feature-settings: "c2sc", "c2sc", "c2sc";
  font-feature-settings: "c2sc", "c2sc", "c2sc";
  font-variant: small-caps;
  color: #d63c6b;
  transition: all .5s ease-out;
}

.button-set--equations button:hover {
  color: #c41c4f;
  background-color: #46505c;
}

.button-set--numbers button {
  display: block;
  position: relative;
  width: 80px;
  height: 100px;
  background-color: #292f36;
  transition: all .5s ease-out;
}
.button-set--numbers button:hover {
  font-weight: 600;
  background-color: #46505c;
}

.calculator-body {
  display: flex;
  flex-direction: row;
}
.button-set--numbers {
  width: 240px;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

/* Use CSS Grid Layout for Modern Browsers */
@supports (display: grid) {
  .calculator-body {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }
  .button-set--numbers {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
}

.article {
  padding: 0 20%;
  transform: translateY(150%);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  color:white;
  font-size:1.2em;
}

a {
  color:yellow;
}

.composi-calculator{
  margin-top: -350px;
}