* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  overflow: hidden;
}

html, body {
  height: 100%;
}

body {
  font-family: sans-serif;
  /*font-size: 0.8rem;*/
  width: 100%;
}
.alberts-app{background: #fff;/* border: 1px solid #ccc; */width: 100%;}

.wrapper {
  height: 100%;
  display: flex;
  flex-direction: column;
}

h1, h2 {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
  letter-spacing:0.2px;
}

h1{
  font-size: .7rem;
  color:#ffffff94;
  padding: 0.5rem 0 0 0;
  text-align: center;
}
h2{
  font-size: 1rem;
  color: #ffffff;
  padding: 0rem 0 0 2px;
  text-align: left;
  border-bottom: 1px solid #ffffff7a;
}
.main-controls {
  padding: 0.5rem 0 0;
  text-align: center;
}
.wrapper header h1{padding: 13px 0 0 0;}

canvas {
  display: block;
  margin-bottom: 0.5rem;
}
canvas.visualizer {
  width:100%;
  /* max-width:240px; */
  height: 60px;
  margin-top:20px;
}

#buttons {
  /*   display: flex;
  flex-direction: row;
  justify-content: space-between; */
}

#buttons button {
  /* width: calc(50% - 0.25rem); */
  text-transform: uppercase;
  /* font-weight: 800; */
}

button {
  font-size: 1rem;
  /* background: #0088cc; */
  text-align: center;
  color: white;
  border: none;
  transition: all 0.7s;
}

button:hover, button:focus {
  box-shadow: inset 0px 0px 10px #000;
  /*background: #0ae;*/
  cursor:pointer;
}
button:active {
  box-shadow: inset 0px 0px 20px rgba(0,0,0,0.5);
}
button.activate{
  width: 140px;
  padding: 23px 0 24px;
  background: #d81919;
  display: table;
  /* position: absolute; */
  /* z-index: 1000; */
  margin: 94px auto 95px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  font-size: 14px;
  color: #fff;
  border-radius: 100px;
  box-shadow: 0px 0px 10px 3px #00000047;
}
button.activate i{
  margin:0px auto;
  display:table;
  font-size: 70px;
  padding: 4px 0 3px;
  height: 70px;
}
button.activate:hover{
  color:#d81919;
  background:#fff;
}

button.record, button.stop, button.play{
  padding: 0px;
  font-size: 0.7rem;
  letter-spacing: 0.2px;
  font-weight: bold;
  /* text-shadow: -1px 0px 5px rgb(0 0 0 / 0.5); */
}
button.record, button.stop{
  width: 160px;
  height: 160px;
  display:table;
  margin: 15px auto 15px;
  border-radius:1000px;
  background: #ff8f53;
  background: -moz-radial-gradient(circle, rgba(255,143,83,1) 0%, rgba(228,0,0,1) 80%);
  background: -webkit-radial-gradient(circle, rgba(255,143,83,1) 0%, rgba(228,0,0,1) 80%);
  background: radial-gradient(circle, rgba(255,143,83,1) 0%, rgba(228,0,0,1) 80%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#ff8f53",endColorstr="#e40000",GradientType=1);
  border: 5px solid #f00;
  text-shadow: -1px 0px 5px rgb(0 0 0 / 0.2);
  box-shadow: inset 0px 0px 10px #41000063, 0px 0px 10px 3px #0000003b;
}
button.record i, button.stop i{
  display:table;
  margin:0 auto;
  font-size: 100px;
  padding: 0px 0 5px;
}
button.record:hover, button.stop:hover{
  text-shadow: 0px 0px 0px rgb(0 0 0 / 0);
  box-shadow: inset 0px 0px 0px #41000000, 0px 0px 0px 0px #00000000;
  background: rgb(228,0,0,1);
  border: 5px solid #a00000;
}
button.stop{
	/* background: blue; */
}
button.play{
  width: 44%;
  height: auto;
  display:table;
  padding: 0px 0 2px;
  margin: 19px auto 0;
  background: transparent;
  color: #00107c;
  /*   background: rgb(255 255 255); */
  /* border: 0px solid #92a197; */
  /* border-radius: 14px; */
  /* box-shadow: 0px 0px 7px rgb(128 0 7 / 0.3); */
}
button.play i{
  font-size: 4rem;
  display:table;
  margin: 0px auto 5px;
}

button.play:hover, button.play:active{
  box-shadow: none;
  color:#d81919;
  background: transparent;
  text-shadow: 0px 0px 0px rgb(0 0 0 / 0);
  transition: all 0.3s;
}

button.stop i{
  padding-top: 10px;
  font-size: 70px;
}



button.stop i{
}
button.stop:hover, button.stop:focus{
} 




/* Make the clips use as much space as possible, and
 * also show a scrollbar when there are too many clips to show
 * in the available space */
.sound-clips {
  flex: 1;
  overflow: auto;
}

section, article {
  display: block;
  /* height: 329px; */
}

.clip {
  padding-bottom: 1rem;
}

audio {
  width: 100%;
  display: block;
  margin: 1rem auto 0.5rem;
}

.clip p {
  display: inline-block;
  font-size: 1rem;
}

.clip button {
  font-size: 1rem;
  float: right;
}

button.delete {
  background: #f00;
  padding: 0.5rem 0.75rem;
  font-size: 0.8rem;
}

/* Checkbox hack to control information box display */
label{
  font-size: 3rem;
  position: absolute;
  top: 2px;
  right: 3px;
  z-index: 5;
  cursor: pointer;
  border-radius: 10px;
}
label.help{
  background: #d81919;
  width: auto;
  height: auto;
  text-align: left;
  padding: 3px 14px 3px 4px;
  margin: 2px 5px 0 0px;
  color: #fff;
  font-weight: 700;
  font-size: 9px;
  line-height:6px;
  display: inline-block;
  border: 1px solid #d81919;
  letter-spacing:0.3px;
}
label.help i{
  display: inline-block;
  font-size: 10px;
  margin: 0px 1px 0px 1px;
  padding: 1px 0px 1px 1px;
  position:absolute;
  float:right;
  top: 0px;
}
label.help:hover{
  color:#d81919;
  background:#fff;
}

input[type=checkbox] {
   position: absolute;
   top: -100px;
}


aside {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateX(100%);
  transition: 0.3s all ease-out;
  background-color: #00107c;
  padding: 1rem;
  color: #fff;
}

aside p, aside li {
  font-size: 13px;
  line-height: 14px;
  margin: 6px 0 0px 0;
}
aside li {
  padding: 0px 0 0px 0;
  line-height: 19px;
}

aside a {
  color: #666;
}

/* Toggled State of information box */
input[type=checkbox]:checked ~ aside {
  transform: translateX(0);
}

/* Cursor when clip name is clicked over */

.clip p {
  cursor: pointer;
}


.bcn{
	font-size: 11px;
	color: #9b9b9b;
	text-align: center;
}



/* Adjustments for wider screens */
@media all and (min-width: 800px) {
  /* Don't take all the space as readability is lost when line length
     goes past a certain size */
  .wrapper {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
  }
}
