body {
  margin: 0;
  padding: 0;
  width: 100vw;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #2a484a;
}
img {
  width: 100%;
  /* height: auto; */
  /* border: 3px solid #000; */
}
.wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.inputdiv {
  background-color: goldenrod;
  border: 3px solid black;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  border-radius: 15px;
  min-width: 300px;
  min-height: 30px;
}

.inputbtn {
  margin: 5px 0;
}
.cnvs {
  position: absolute;
  z-index: 2;
  height: 100%;
}

#result {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  grid-column-gap: 2vw;
  width: 95vw;
}

#convertDiv {
  display: none;
}
#captureDiv {
  display: none;
  margin-bottom: 2vh;
}
#draw {
  display: none;
}
#image {
  display: flex;
  grid-column-gap: 2vw;
  height: 60vh;
}
#output {
  display: flex;
  position: relative;
  height: 60vh;
}
#convert {
  float: right;
}
.capture {
  width: 100px;
  height: 30px;
  margin-top: 20px;
}

@media (max-width: 1024px) {
  #image {
    width: 80%;
    height: 80%;
    display: inline-flex;
    justify-content: center;
  }
  #output {
    width: 80%;
    height: 80%;
    display: inline-flex;
    justify-content: center;
  }
}

@media (max-width: 567px) {
  #result {
    flex-direction: column;
    grid-row-gap: 2vh;
  }

  img {
    max-height: 50vh;
    width: auto;
  }
}
