html {
  background: #22232f;
  font-family: 'Barlow', sans-serif;
}

body {
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
}

main {
  /*height: 50%;*/
  /*display: flex;*/
  /*flex-direction: column;*/
}

header {
  min-width: 768px;

  background: #32333f;
  height: 100px;
  border-bottom: 2px solid black;
  margin-bottom: 20px;
  display: flex;
  justify-content: space-between;
}

header * {
  margin: auto 0;
}

header a {
  transition: 0.4s;
  margin-left: 20px;
  font-size: 20px;
  text-decoration: none;
  color: white;
}
header a:hover {
  color: #cfcfff;
  text-decoration: underline;
}

.name {
  padding-right: 80px;
}

h2 {
  text-align: center;
  font-size: 40px;
  color: white;
}
h3 {
  width: 100px;
  border-bottom: 1px solid #667;
  font-size: 25px;
  color: white;
}

header ul {
  width: 165px;
  display: flex;
  justify-content: flex-end;
  margin-right: 30px;
}

header ul li {
  list-style: none;
}

img {
  filter: brightness(0%);
  filter: invert(50%);
  transition: 0.4s;
  width: 50px;
  height: 50px;
}

#volume.active {
  filter: invert(100%);
}

img:hover{
  cursor: pointer;
  width: 60px;
  height: 60px;
}

.canvases {
  /*background: green;*/



  height: 600px;
}

canvas {
  margin: auto;
  background: transparent;

  left: 0;
  padding: 0;
  margin: auto;
  display: block;
  position: absolute;
  top: 50px;
  bottom: 0;
  left: 0;
  right: 0;

  /*background: #bbbfbf;*/
  border: 1px solid black;
}

canvas:first-of-type {
  box-shadow: 2px 2px 15px #00000b;
}

#background-canvas {
  z-index: -2;
}
#main-canvas {
  z-index: -1;
}
#foreground-canvas {
  z-index: 0;
}

.info {
  left: 0;
  padding: 0;
  margin: auto;
  display: block;
  position: absolute;
  top: 700px;
  bottom: 0;
  left: 0;
  right: 0;
  /*background: green;*/
  width: 768px;
  height: 50px;
}

.info * {
  padding: 15px;
}

#info-modal {
  margin: auto;
  position: absolute;
  border: 1px solid black;
  border-radius: 4px;
  top: -100px;
  bottom: 0;
  left: 0;
  right: 0;

  background: #32333f;
  width: 500px;
  height: 650px;

  display: flex;
  justify-content: center;
  padding: 15px;

  color: white;

  display: none;
}

#info-modal h2 {
  margin-top: 0;
  border-bottom: 1px solid #778;
}
#info-modal h3 {
  width: auto;
}

#info-modal div {
  width: 80%;
  height: 80%;
}

#info-modal p,
#info-modal li  {
  font-size: 16px;
  color: #aaaacc;
  font-weight: lighter;
}
#info-modal strong {
  color: white;
  font-weight: bold;
}

#info-modal.active {
  display: flex;
}

#editor {
  display: flex;
  flex-direction: column;
  margin-left: 0;
  margin-right: auto;
}

.load,
.create {
  width: 150px;
  /*height: 100px;*/
  display: flex;
  flex-direction: column;
  margin-left: 15px;
  margin-right: auto;
  margin-top: 15px;

  background: #32333f;
  border: 1px solid black;
  padding: 10px;
}

.load *,
.create * {
  margin: auto;
}

.load button,
.create button {
  width: 50px;
  background: #aaaacc;
  border: black;
  color: black;
}

.load button:hover,
.create button:hover {
  cursor: pointer;
}

.create a {
  color: white;
  text-decoration: none;
  margin-top: 5px;
}
.create a:hover {
  text-decoration: underline;
}

.load textarea {

  width: 140px;
  height: 120px;
  background: #22232f;
  margin-bottom: 5px;
  border: 1px solid black;
  color: white;
}
