/* Copyright 2023 The MediaPipe Authors.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

     http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */

@use "@material";

/* CSS Reset */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  overflow-x: hidden;
}

body {
  font-family: roboto;
  margin: 0;
  color: #3d3d3d;
  --mdc-theme-primary: #007f8b;
  --mdc-theme-on-primary: #f1f3f4;
  background-color: black;
  background-image: url("assets/landingBg.svg");
  background-repeat: no-repeat;
  background-size: cover;

  /* Mobile safeguards */
  touch-action: manipulation;
  /* Prevents double-tap zoom, allows single tap and scroll */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  /* Prevents text selection */
  -webkit-touch-callout: none;
  /* Prevents iOS callout on long press */
  -webkit-tap-highlight-color: transparent;
  /* Removes tap highlight */
}

section {
  display: none;
  transition: display 500ms ease-in-out;
}

canvas,
video {
  position: absolute;
  width: 100%;
  height: auto;
}

.canvasWrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.webcamVideo,
.srcVideo,
.webcamCanvas {
  display: none;
}

#home {
  display: flex;
  flex-direction: column;
  width: 100%;
  margin-top: 40px;
  margin-left: 30px;
}

#landingText {
  width: 85%;
}

#landingBtn {
  margin-top: 45px;
  width: 40%;
}