:root {
  --main-bg-color: white;
  --button-color: #1a73e8;
  --button-hover-color: #4286f4;
}

html,
body {
  width: 100svw;
  height: 100svh;
  font-size: 18px;
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  background: var(--main-bg-color);
  padding: 0;
  margin: 0;
}

button {
  font-size: 1rem;
}

#root {
  width: 100%;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

#videoContainer {
  background-color: rgb(32, 33, 36);
  box-sizing: border-box;
  border-radius: 8px;
  box-shadow: 0 1px 2px 0 rgba(60, 64, 67, .3), 0 1px 3px 1px rgba(60, 64, 67, .15);
  margin: 0.5rem 0.5rem 1rem;
  width: 480px;
  height: 640px;
  overflow: hidden;
  position: relative;
  align-items: center;
}

#cameraInfo {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.5rem;
  text-align: center;
  width: 100%;
  color: #fff;
}

#vllunapass {
  width: 100%;
  height: 100%;
}

#videoControls {
  height: 30px;
  width: 100%;
  position: absolute;
  bottom: 1rem;
}

#start {
  position: absolute;
  bottom: 1em;
  left: 50%;
  transform: translateX(-50%);
  background-color: var(--button-color);
  transition: background-color 0.3s;
  color: #fff;
  cursor: pointer;
  border: none;
  box-sizing: border-box;
  padding-left: 3em;
  padding-right: 3em;
  border-radius: 4px;
  height: 3em;
}

#start:hover,
#start:focus {
  background: var(--button-hover-color);
}

.roundbutton {
  border: 1px solid #fff;
  background-color: rgba(255, 255, 255, 0);
  border-radius: 50%;
  transition: background-color 0.3s;
  width: 2.5rem;
  height: 2.5rem;
  cursor: pointer;
  line-height: 0;
  padding: .5em;
  transition: border-color 0.3s;
}

.roundbutton svg path {
  transition: stroke 0.3s;
}

.roundbutton:disabled {
  border-color: grey;
  transition: none;
}

.roundbutton:disabled svg path {
  stroke: grey;
  transition: none;
}

#mode {
  position: absolute;
  right: 1em;
  bottom: 1em;
}

#mode svg path {
  transition: stroke 0.3s;
  stroke: rgb(255, 255, 255);
}

#mode.selfie svg path {
  stroke: var(--button-color);
}

#mode:hover,
.zoom:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

.zoom {
  position: absolute;
  left: 1rem;
}

#minus {
  bottom: 1rem;
}

#plus {
  bottom: 4.5rem;
}


#videoInput {
  display: none;
}

.nice-select {
  font-size: .8rem;
}

.nice-select.open .list {
  transform: scale(1) translateY(calc(-100% - 42px - .25em));
}

.nice-select .list {
  margin: 0;
}

.tinytip {
  padding: .5em;
  background: white;
  border-radius: 4px;
  border: 1px solid #dbdbdb;
  font-weight: 400;
  font-size: 14px;
}

.control {
  display: none;
}
