 
#dropMessage {
  margin: auto;
  margin-top: 40%;
  font-size: 30px;
}
.active {
  background-color: black;
  opacity: 0.9;
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
}
.inactive {
  background-color: white;
  opacity: 1;
  z-index: 0;
  display: none;
}

.featureDesc {
  padding-left: 10px;
  padding-bottom: 10px;
  padding-top: 5px;
}

.dot {
  height: 40px;
  width: 40px;
  border-radius: 50%;
  display: inline-block;
  border-width: 1px;
  border-style: solid;
}

.favaLabel {
  font-size: 12px;
  color: #49454f;
}
#footer {
  box-sizing: border-box;
  position: absolute;
  bottom: 0px; 
  left: 0px;
  width: 100%;
  height: 60px; 
  display: flex;
  flex-direction: row;
  padding: 10px;
  align-items: center;
}

#footerCopyright {
  width: 70px;
  color: gray;
}
#controls {
  width: calc(100% - 70px);
  text-align: right;
}
#controls md-filled-button {
  margin-left: 10px;
}
.footerControlHide {
  display: none;
}
.footerControlShow {
  display: inline;
}

.cardDims {
  text-align: center;
  font-size: 12px;
  color: red;
}

progress {
  width: 5em;
  height: 5em;
  background: url("data:image/svg+xml,%3csvg viewBox='-5 -5 10 10' xmlns='http://www.w3.org/2000/svg'%3e%3cstyle%3esvg%7banimation:r 1.4s linear infinite%7d%40keyframes r%7bto%7btransform:rotate(270deg)%7d%7dcircle%7banimation:d 1.4s ease-in-out infinite%7d%40keyframes d%7b50%25%7btransform:rotate(135deg)%3bstroke-dashoffset:8%7dto%7btransform:rotate(450deg)%7dfrom%2cto%7bstroke-dashoffset:28%7d%7d%3c/style%3e%3ccircle fill='none' stroke-dasharray='30' stroke-dashoffset='8' stroke='%234285f4' r='4'/%3e%3c/svg%3e");
}

/* Remove default browser styles */
progress { border: 0 }
progress::-moz-progress-bar { background: none }
progress::-webkit-progress-bar { display: none }
progress::-ms-fill { animation-name: none }


:root {
  --md-filled-select-text-field-container-shape: 0px;
  --md-filled-select-text-field-container-color: #f7faf9;
  --md-filled-select-text-field-input-text-color: #005353;
  --md-filled-select-text-field-input-text-font: Montserrat;

  --md-filled-button-label-text-font: Monserrat;
}

md-filled-select::part(menu) {
  --md-menu-container-color: #f4fbfa;
  --md-menu-container-shape: 0px;
}

.theSplash {
  display:block;
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 100;
  background-color: white;
  transition: all 2s;
  transition-behavior: allow-discrete;
  animation: fadeOut 2s forwards;
  opacity: 1;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }
  70% {
    opacity: 1; /* Stay at full opacity for the first second */
  }
  100% {
    opacity: 0; /* Fade to 0 opacity in the second second */
  }
}

.splashTitle {
  font-size: 128px;
  color: #b0c4de;
  font-family: Montserrat;
}

.hideSplash {
  display: none;
  opacity: 0;
}

.respcontainer {
    display: flex;
    flex-direction: column;
    width: 100%;
    height: 100%;
    max-width: 1024px;
    margin: 0 auto;
    gap: 0px;
    padding: 0px;
}

.respbox {
    position: relative;
    padding: 0px;
    text-align: center;
}


/* Mobile styles */
@media (max-width: 768px) {
    #dragMessage {
      display: none;
    }
    .respbox {
        width: 100%;
    }

    .respboxLimitedHeight {
      width: 100%;
      min-height: 250px;
      max-height: 250px;
    }

    .respboxFullHeight {
        width: 100%;
        height: 100%;
    }

    .respbox-double {
      text-align: center;
      width: 100%;
      overflow-y: auto;
      scrollbar-width: none;
    }

    .quickPicks {
      margin-top: 10px;
      height: 40px;
      width: 100%;
      overflow-x: auto;
      overflow-y: hidden;
      scrollbar-width: none;
    }

    .quickPicksInner {
      white-space: nowrap;
    }

    main {
        grid-template-columns: 1fr 3fr;
    }
}

/* Desktop styles */

@media (min-width: 769px) {
    #dragMessage {
      display: flex;
    }

    .respcontainer {
        flex-direction: row;
        justify-content: center;
    }

    .respbox {
        width: 100%;
        max-width: 512px;
    }

    .respboxLimitedHeight {
      width: 100%;
    }

    .respboxFullHeight {
        width: 100%;
        max-width: 512px;
        height: 100%;
    }

    .respbox-double {
        width: 100%;
        max-width: 768px;
    }

    .quickPicks {
      margin-top: 10px;
      width: 100%;
    }

    .quickPicksInner {
    }

    .quickPicksInner md-filled-button {
      margin-top: 5px;
    }
}

.section {
  position: absolute;
  height: calc(100% - 20px);
  width: calc(100% - 40px);
  transition: all 0.6s;
  transition-behavior: allow-discrete;
}

.showSection {
  opacity: 1;
  display: block;
}

.hideSection {
  display: none;
  opacity: 0;
}


header {
    background-color: lightsteelblue;
    color: #353535;
    height: 40px;
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 99999;
}

.gallery_video_container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}
.gallery_video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#home_video_container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

#home_video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home_button_div {
  display: inline-block;
  margin-top: 10px;
}

.menu_text {
  vertical-align: 0.3em;
}

#pantry-fab {
  position: fixed;
  right: 15px;
  bottom: 80px;
}

#scannerContainer {
  height: 0px;
  transition: height 0.3s ease-in;
}

#scan-data {
    font-size: 48px;
    align-items: center;
}

.menu-btn {
    font-size: 24px;
    cursor: pointer;
    width: 94px;
}

.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #353535;
  width: 40px;
}

#menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: lightsteelblue;
    transition: left 0.3s ease-in;
    z-index: 99999;
}

#menu ul {
    list-style: none;
    padding: 0;
}

#menu ul li {
    padding: 15px 0;
    border-bottom: 1px solid #666;
}

#menu ul li a {
    color: #353535;
    text-decoration: none;
    padding: 5px 20px;
    display: block;
}

#menu.show {
    left: 0;
}

#login-picture {
  height: 40px;
  border-radius: 50%;
  vertical-align: middle;
}


#mainTabs {
  position: fixed;
  bottom: 0%;
  width: 100%;
}

#add-items {
}

#my-items {
  display: none;
}

#forums {
}

button {
  width: 75px;
  height: 75px;
}

#container {
  position: relative;
    width: calc(100% - 2px);
    height: 200px;
    border: 1px solid #ccc;
}

#controls {
  position: relative;
}

.draw-area {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    position: absolute;
    cursor: crosshair;
}

#svg-result {
    border: 1px solid;
    width: 100%;
    height: 200px;
    position: absolute;
}

#signature-template {
    border-top: 1px solid #ccc;
    position: absolute;
    top: 160px;
    left: 20px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #ccc;
    font-size: 16px;
    font-style: italic;
}



/* Usage in custom components */
.primary {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}
main {
    xdisplay: grid;
    xgrid-template-columns: 1fr;
    xgrid-gap: 20px;
    padding: 0px;
}




.showSection {
  opacity: 1;
  display: block;
}

.hideSection {
  display: none;
  opacity: 0;
}

body {
    margin: 0;
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

#home_video_container {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
}

#home_video_container iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.home_button_div {
  display: inline-block;
  margin-top: 10px;
}

.menu_text {
  vertical-align: 0.3em;
}

#pantry-fab {
  position: fixed;
  right: 15px;
  bottom: 80px;
}

#scannerContainer {
  height: 0px;
  transition: height 0.3s ease-in;
}

#scan-data {
    font-size: 48px;
    align-items: center;
}


.close-btn {
  position: absolute;
  top: 5px;
  right: 5px;
  background: none;
  border: none;
  font-size: 1.5em;
  cursor: pointer;
  color: #353535;
}

#menu {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: lightsteelblue;
    transition: left 0.3s ease-in;
    z-index: 99999;
}

#menu ul {
    list-style: none;
    padding: 0;
}

#menu ul li {
    padding: 15px 0;
    border-bottom: 1px solid #666;
}

#menu ul li a {
    color: #353535;
    text-decoration: none;
    padding: 5px 20px;
    display: block;
}

#menu.show {
    left: 0;
}

#title_bar {
  width: calc(100% - 188px);
  text-align: center;
}

#login-control {
  width: 94px;
}

#login-control-in {
  display: none;
  justify-content: right;
  align-items: right;
}

#login-control-out {
  display: none;
  justify-content: right;
  align-items: right;
}


.headline {
  font-size: 22px;
  font-weight: 600;
}

@media (max-width: 400px) {
  .headline {
    font-size: 16px;
  }
}

#content {
  position: fixed;
  height: calc(100% - 140px);
  width: calc(100% - 40px);
  padding-left: 20px;
  padding-right: 20px;
  padding-top: 20px;
  overflow-x: clip;
  overflow-y: visible;
}

#mainTabs {
  position: fixed;
  bottom: 0%;
  width: 100%;
}

#add-items {
}

#my-items {
  display: none;
}

#forums {
}

button {
  width: 75px;
  height: 75px;
}

#container {
  position: relative;
    width: calc(100% - 2px);
    height: 200px;
    border: 1px solid #ccc;
}

#controls {
  position: relative;
}

.draw-area {
    width: 100%;
    height: 200px;
    border: 1px solid #ccc;
    position: absolute;
    cursor: crosshair;
}

#svg-result {
    border: 1px solid;
    width: 100%;
    height: 200px;
    position: absolute;
}

#signature-template {
    border-top: 1px solid #ccc;
    position: absolute;
    top: 160px;
    left: 20px;
    width: calc(100% - 40px);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    color: #ccc;
    font-size: 16px;
    font-style: italic;
}


:root {
  /* Generated from Material Theme Builder Figma plugin
     or `material-color-utilities`. */
  --md-sys-color-primary: #353535;
  --md-sys-color-on-primary: #FFFFFF;
  --md-sys-color-primary-container: #6FF7F6;
  --md-sys-color-on-primary-container: #002020;
  /* ... */
}

/* Usage in custom components */
.primary {
  background: var(--md-sys-color-primary);
  color: var(--md-sys-color-on-primary);
}

main {
    font-family: system-ui;
    padding: 0px;
}

/* for short screen */
@media (max-height: 750px) {
  .featureDesc {
    padding-top: 3px;
    padding-bottom: 0px;
  }
  .section {
    height: calc(100% - 10px);
  }
  #content {
    padding-top: 10px;
    height: calc(100% - 130px);
  }

  hr {
    margin-top: 0px;
    margin-bottom: 0px;
  }
}

