@font-face {
  font-family: 'OfficinaSerifBold';
  src: url("assets/fonts/OfficinaSerifITCTTBold.woff2") format("woff2"), url("assets/fonts/OfficinaSerifITCTTBold.otf") format("opentype"), url("assets/fonts/OfficinaSerifITCTTBold.woff") format("woff"), url("assets/fonts/OfficinaSerifITCTTBold.ttf") format("truetype");
  font-weight: bold;
  font-style: normal; }
@font-face {
  font-family: 'SourceSansPro-Regular';
  src: url("assets/fonts/SourceSansPro-Regular.woff2") format("woff2"), url("assets/fonts/SourceSansPro-Regular.otf") format("opentype"), url("assets/fonts/SourceSansPro-Regular.woff") format("woff"), url("assets/fonts/SourceSansPro-Regular.ttf") format("truetype");
  font-style: normal; }
#video-element {
  display: block;
  width: 100%;
  height: auto;
  /* object-fit: cover; */
  /* background-color: #666; */ }

.video__container {
  position: relative;
  margin: 0px auto;
  width: calc(100% - 40px);
  height: auto;
  /* border: 10px #333 solid; */ }
  .video__container canvas {
    position: absolute;
    z-index: -1;
    top: 0;
    left: 0;
    width: 100%;
    height: auto; }
    .video__container canvas.snapshot--show {
      z-index: 100;
      position: relative; }

#video-element.save {
  display: none; }

.save--hide {
  display: none; }

img.captured {
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  width: 100%;
  height: auto; }
  img.captured--show {
    z-index: 100; }
  img.captured--save {
    position: relative;
    top: auto;
    left: auto;
    z-index: 1; }

.set__buttons button,
.edit__buttons button {
  -webkit-appearance: none;
  appearance: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0; }
  .set__buttons button:active, .set__buttons button:focus,
  .edit__buttons button:active,
  .edit__buttons button:focus {
    outline: none; }
  .set__buttons button img,
  .edit__buttons button img {
    max-width: 50px;
    max-height: 50px;
    transform: scale(1);
    transition: transform .3s ease; }
    .set__buttons button img:hover,
    .edit__buttons button img:hover {
      transform: scale(1.1); }

.set__buttons {
  position: absolute;
  z-index: 10;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%; }
  .set__buttons--hide {
    display: none; }
  .set__buttons .set__toggle {
    position: absolute;
    top: 10px;
    right: 10px; }
  .set__buttons .set__capture {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%); }
    .set__buttons .set__capture img {
      max-width: 70px;
      max-height: 70px; }

.edit__buttons {
  position: absolute;
  z-index: 101;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  pointer-events: none; }
  .edit__buttons--show {
    opacity: 1;
    pointer-events: all; }
  .edit__buttons .edit__reset {
    position: absolute;
    bottom: 10px;
    left: 10px; }
  .edit__buttons .edit__save {
    position: absolute;
    bottom: 10px;
    right: 10px; }

.form__container {
  position: relative;
  width: 90%; }

.form__container textarea {
  width: 100%;
  margin-top: 20px;
  text-align: center;
  border: none;
  color: #00a49e;
  font-family: "OfficinaSerifBold", serif;
  font-size: 24px;
  font-weight: bold;
  white-space: wrap; }
  .form__container textarea:focus, .form__container textarea:active, .form__container textarea:hover {
    outline: none; }

#textbox {
  display: none; }

#textbox {
  display: block;
  margin-top: 20px;
  margin-bottom: 30px;
  text-align: center;
  color: #00a49e;
  font-family: "OfficinaSerifBold", serif;
  font-size: 24px;
  font-weight: bold; }

.form__error {
  display: none;
  text-align: center;
  color: red; }

.form__error--show {
  display: block; }

html {
  min-height: 100vh; }

html, body {
  background-color: #00a49e;
  overflow-x: hidden;
  margin: 0; }

.hide-scrollbar {
  overflow: -moz-hidden-unscrollable;
  overflow: hidden; }

.background {
  height: 100vh;
  padding-top: 20px;
  display: flex;
  flex-flow: nowrap column;
  align-items: center;
  background-image: url("assets/img/bg.png");
  background-repeat: repeat-x;
  background-size: auto 750px; }

#card {
  padding-top: 20px;
  padding-bottom: 20px; }
  #card.bg--save {
    background-color: #00a49e;
    background-image: url("assets/img/bg.png");
    background-repeat: repeat-x;
    background-size: contain; }
  #card header {
    text-align: center;
    padding-bottom: 10px; }
  #card main {
    width: calc(100vw - 20px);
    margin: 10px;
    max-width: 400px;
    background-color: #ffffff;
    border-radius: 10px;
    display: flex;
    flex-flow: nowrap column;
    justify-content: flex-end;
    align-items: center; }

#card header img {
  width: 160px;
  height: auto; }

#card main .text__container {
  text-align: center;
  padding: 30px 0px 30px 0px; }
  #card main .text__container img {
    max-width: 70%; }
  #card main .text__container p {
    font-family: "SourceSansPro-Regular", sans-serif;
    padding-left: 40px;
    padding-right: 40px; }

a.button {
  display: inline-block;
  text-decoration: none;
  border: 3px solid #019797;
  color: #019797;
  background-color: #ffffff;
  border-radius: 24px;
  font-family: "OfficinaSerifBold", serif;
  font-size: 20px;
  padding: 4px 20px 6px 20px; }
  a.button:hover {
    color: #ffffff;
    background-color: #019797; }

footer {
  color: #ffffff;
  text-align: center; }
  footer a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px; }

/*# sourceMappingURL=style.css.map */
