/*Fonts*/
@import url('https://fonts.googleapis.com/css2?family=Fredericka+the+Great&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Architects+Daughter&display=swap');
body {
    position: absolute;
    display: flex;
    flex-direction: column;
    min-height: 100%;
    min-width: 100%;
    background-color:var(--on-primary);
    color: var(--on-background)
}
.navbar {
    height: 10vh;
    background-color: #131721;
}

.image-upload>input {
    visibility: hidden;
    width: 0;
    height: 0;
}

#navProgress {
    color: #0F1930;
    font-size: large;
    /*padding-left: 25%;/**/
    position: relative fixed;
    right: 12px;
}
.nav-extended{
    background-color: var(--background);
}
#header {
    position: fixed;
    width: 100%;
    z-index: 10;
    /*border: 2px solid #ff4500;/* */
}

#title {
    padding: 8px;
    margin-top: 0px;
    white-space: nowrap;
}

.brand-logo {
    position: fixed
}

#start-pip-button {
    display: none;
}


#canvas-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.toolbox {
    position: fixed;
    display: flex;
    flex-direction: column;
    justify-content: top;
    height: 90vh;
    background-color: var(--on-primary);
    overflow-y: auto;
}
button{
    border:none;
    background: none;
    cursor: pointer;
    text-align: center;
    align-content: center;
}
.toolbox .group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--on-primary);
    border-bottom: thin solid var(--on-primary);
}
.toolbox .group .item {
    display: flex;
    width: 42px;
    height: 48px;
    padding: 4px;
    cursor: pointer;
}
.toolbox .group .item img {
    width: 18px;
    height: 18px;
    filter: invert(1);
    margin: auto;
}
.video{
    height: 300px;
    width: 300px;
}

.toolbox .group .item.active,
.toolbox .group .item:hover {
    background-color: var(--on-background);
}
.toolbox .group.stroks .item {
    position: relative;
}
.toolbox .group.stroks .item .stroke {
    position: absolute;
    background-color: #fff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    top: 50%;
    left: 50%;
}
.toolbox .group.colors .item .swatch {
    margin: auto;
    box-sizing: border-box;
    width: 100%;
    height: 18px;
    border: 1px #fff solid;
}

#canvas {
    margin-left: auto;
    margin-right: auto;
    background-color: var(--canvas);
}

@media only screen and (max-width: 600px) {
    .toolbox {
        overflow-y: visible;
        margin-left: 0%;
    }

    .video {
        position: fixed;
        margin-right: 0%;
    }
}


#message-container {
    background: #ccc;
    color: black;
    padding: 20px;
    width: 355px;
    height: 300px;
    max-height: 300px;
    display: flex;
    flex-direction:column;
    align-items: flex-start;
    border: 1px solid black;
    overflow-y: auto;
    bottom: 9.8em;
    right: 2%;
    position:fixed;
    display: none;
  }

  #send-container {
      position: fixed;
      bottom: 5em;
      width: 355px;
      right: 2%;
      display: none;
  }

  #hide-display {
      position: fixed;
      bottom: 2em;
      right: 2%;
  }

  #whoIsTyping {
      position: fixed;
      color: red;
      bottom: 8.5em;
      right: 2%;
      display: none;
  }

  #sessionList {
      position: fixed;
      background: #ccc;
      color: black;
      height: 300px;
      max-height: 300px;
      border: 1px solid black;
      right: 26.2em;
      bottom: 9.8em;
      overflow-y: auto;
      width: 150px;
      display: none;
  }

  #message-input {
      color: black;
      background: #ccc;
    
  }

  #chalkboard-title {
      width: 15%;
      padding-left: 16px;
      font-size: large;
  }

  #logout {
    font-family: 'Fredericka the Great', cursive;
    font-size: 20px;
    font-weight: bold;
  }

  #delete-account {
    font-family: 'Fredericka the Great', cursive;
    font-size: 20px;
    font-weight: bold;
  }

  .grid-title {
      font-size: 1.5rem;
      font-weight: bold;
  }

  .grid-date {
      font-size: 1.2rem;
      color: black;
  }


  /*====================CSS BELOW IS FOR DARK/LIGHT MODE==========================*/
:root {
  --primary-color: rgb(0,0,0);
  --primary-variant:rgb(0,0,0);
  --secondary-color:#02A6C1;
  --on-primary: 	rgb(26, 30, 44);
  --on-background: rgb(160, 160,160);
  --on-background-alt: rgba(66, 66, 66, 0.7);
  --background:rgb(26, 30, 44);
  --box-shadow: 0 5px 20px 1px rgba(0, 0, 0, 0.5);
  --canvas: #FFF;
}

[data-theme="dark"] {
  --primary-color: rgb(150, 65, 255);
  --primary-variant: #FFF;
  --secondary-color: #FFF;
  --on-primary: #232020;
  --on-background: rgba(0, 0, 0, 0.5);
  --on-background-alt: rgba(255, 255, 255, 0.7);
  --background: #232020;
  --canvas:#1a1e2c;
}
#importedFont{
    font-family: 'Fredericka the Great', cursive;
    color:#b4cace;
    font-size: 30px;
    font-weight: bold;
}
p{
    color: var(--secondary-color);
    text-decoration: none;
    border-bottom: 3px solid transparent;
    display: inline;
    margin: 0;
    padding: 0;
    font-family: 'Architects Daughter';
    font-size: medium;
}
p:focus{
    color:var(--primary-variant);
    border-bottom: 3px solid;
}

/* Dark Mode Toggle */
.theme-switch-wrapper {
  display: flex;
  align-items: center;
  z-index: 100;
  position: fixed;
  right: 25px;
  top: 30px;
}

.theme-switch-wrapper span {
  margin-right: 10px;
  font-size: 1rem;
}

.toggle-text {
  position: relative;
  top: -4px;
  right: 5px;
  color: var(--on-background);
}

.theme-switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.theme-switch input {
  display: none;
}

.slider {
  background: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider::before {
  background: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 26px;
}

input:checked + .slider {
  background: var(--primary-color);
}

input:checked + .slider::before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round::before {
  border-radius: 50%;
}

.fas {
  font-size: 30px;
  margin-right: 5px;
}
.pcr-app{
      background-color: #FFF;
}
.valueSlider{
    position: absolute;
    bottom: 20px;
    z-index: 10;
}
.thumb{
    display:none;
}