body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: black;
  }

#start {
    pointer-events: all;
    color: #000000;
    border-radius: 100px;
    height: 90px;
    width: 90px;
    background-color: white;
    border-color: #ffffff;
    border-width: thick;
    position: absolute;
    font-family: sans-serif;
}

#start:active {
 opacity:50%;
}

#stop {
    pointer-events: all;
    color: #000000;
    border-radius: 100px;
    height: 90px;
    width: 90px;
    background-color: darkred;
    border-color: #ffffff;
    border-width: thick;
    visibility: hidden;
    font-family: sans-serif;
}

#stop:active {
 opacity:50%;
}



#share_btn {
    pointer-events: all;
    color: #ffffff;
    border-radius: 20px;
    height: 40px;
    width: 150px;
    background-color: #000000;
	border-color: #000000;
    border-width: thin;
    font-family: sans-serif;
}

#download {
    pointer-events: all;
    color: #ffffff;
    border-radius: 20px;
    height: 40px;
    width: 150px;
    background-color: #000000;
	border-color: #000000;
    border-width: thin;
    font-family: sans-serif;
}

#snapAttribution {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 12px;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.5);
    padding: 5px;
    border-radius: 3px;
    background-image: url(assets/Powered_bysnap.png);
    background-size: contain;
	width:160px;
	height:27px;
}



  .fade{
    opacity:0.0;
    visibility: hidden;
    transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    -moz-transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
    -webkit-transition: opacity 0.5s ease-in-out, visibility 0.5s ease-in-out;
  }
  .show{
    opacity:1.0;
    visibility: visible;
  }
  .fade:not(.show) .fade.show{
    opacity:0.0;
    visibility: hidden;
  }

  #output-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }

  #canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }



  #preview {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0px;
    right: 0px;
    left: 0;
    padding: 50px;
    z-index: 99999;
    box-sizing: border-box;
    background-color: #0000008f;

      video {
          width: 100%;
          height: 100%;
		  padding-top:10px;
      }

    #close_btn {
        background-color: #000000;
        border-radius: 100px;
        padding: 10px;
        height: 20px;
        width: 20px;
        position: absolute;
        top: 30px;
        right: 30px;
        cursor: pointer;
        font-family: sans-serif;
        color: #ffffff;
        text-align: center;
    }
}

.ui {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  bottom: 0;
  z-index: 999;
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  pointer-events: none;
  font-family: sans-serif;
}

.row {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: center;
  align-items: center;
}

.menu {
  gap: 20px;

  &.top {
      position: absolute;
      bottom: 40px;
  }
}