@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600&display=swap");

:root {
  --main-darklg: #1d2635;
  --main-dark: #161d29;
  --primary-color: #2f80ec;
  --main-light: #eeeeee;
  font-family: "Poppins", sans-serif;
}

* {
  margin: 0;
  padding: 0;
}

.login-name-input {
  padding: 10px 15px;
  border-radius: 5px;;
  font-size: 1.2rem;
  border: 1px solid white;
  color: white;
  background-color: var(--main-darklg);
}
.login-button {
  margin-top: 14px;
  padding: 12px 20px;
  border-radius: 4px;
  cursor: pointer;
  color: white;
  font-size: 1.2rem;
  background-color: var(--primary-color);
  border: none;
}

.header {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 8vh;
  font-size: 2vh;
  background-color: var(--main-darklg);
}

.main {
  overflow: hidden;  
  height: 92vh;
  display: flex;
}
.main .name-label {
  position: absolute;
  top: 0;
  width: 100%;
  text-align: center;
  z-index: 10;
  font-size: 1rem;
  padding: 3px 0;
  background-color: rgba(255, 255, 255, 0.3);
}
.main .name-label:empty {
  display: none;
}
.main .secure-badge {
  position: absolute;
  z-index: 10;
  left: 0;
  bottom: 0;
  padding: 0.3rem 0.5rem;
  color: #008000;
  font-size: 1.3rem;
}
.main .brand-label {
  position: absolute;
  z-index: 10;
  left: 40px;
  bottom: 9px;
  color: white;
  opacity: 0.5;
  font-size: 0.8rem;
  text-shadow: 0 0 8px #ffffff;
}
.main .ios-unmute {
  visibility: hidden;
  position: absolute;
  z-index: 20;
  color: white;
  top: 25%;
  left: 50%;
  transform: translate(-50%, 0);
  text-align: center;
  cursor: pointer;
  padding: 30px 20px;
  border-radius: 5px;
  background-color: rgba(255, 255, 255, 0.8);

}
.main .ios-unmute .unmute-text {
  color: #333;
  margin-bottom: 15px;
  white-space: nowrap;
  font-size: 1.1rem;
}
.main .ios-unmute button {
  color: white;
  font-size: 1.1rem;
  background-color: var(--primary-color);
  margin-top: 10px;
  padding: 10px 20px;
  border: none;
  border-radius: 3px;
}

.video-canvas {
  background-color: var(--main-dark);
  text-align: center;
  width: 100%;
  height: 100%;
  position: absolute;
  color: white;
  overflow: hidden;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}
.video-canvas .wait-screen {
  padding-top: 20vh;
}

.myVideoBox {
  position: absolute;
  right: 0;
  bottom: 0;
  overflow: hidden;
  border: 1px solid gray;
  border-bottom: none;
  border-right: none;
}
.myVideoBox video {
  max-width: 30vw;
  display: block;
}
.myVideoBox .settings-button {
  position: absolute;
  z-index: 10;
  right: 0;
  top: 0;
  padding: 3px 7px;
  font-size: 1.6rem;
  cursor: pointer;
  color: darkgray;
  text-shadow: 0 0 2px #333333;
}
.myVideoBox .settings-button:hover {
  color: #333333;
}
.myVideoBox .settings-close-btn {
  cursor: pointer;
  text-align: center;
  border-radius: 3px;
  background-color: lightgray;
  border: 1px solid gray;
  margin-top: 8px;
}
.myVideoBox .settings-close-btn:hover {
  background-color: darkgray;
}
.myVideoBox #mobileCameraBtn {
  position: absolute;
  z-index: 10;
  right: 3px;
  top: 2px;
  padding: 3px 5px;
  border: 1px solid gray;
  background-color: rgba(255, 255, 255, .7);  
  border-radius: 3px;
  height: 25px;
  display: none;
}
.myVideoBox .settings-panel {
  position: absolute;
  visibility: hidden;
  z-index: 10;
  right: 1px;
  top: 1px;
  font-size: 0.9rem;
  background-color: rgba(255, 255, 255, 0.6);
  padding: 8px 12px;
  border: 1px solid gray;
  border-top: none;
  border-right: none;
}
.myVideoBox .settings-panel select {
  max-width: 150px;
}
.myVideoBox .settings-panel .setting {
  margin-bottom: 6px;
}
.myVideoBox .buttons {
  position: absolute;
  left: 0;
  bottom: 0;
  padding: 4px 0;
  display: flex;    
  justify-content: center;
  width: 100%;  
  background-color: rgba(255, 255, 255, 0.3);
}
@media (max-width: 700px) and (orientation: portrait) { 
  .myVideoBox video {  
    max-width: 40vw;    
  }
  .myVideoBox .settings-button {
    display: none;
  }
  .myVideoBox #mobileCameraBtn {
    display: block;
  }  
}

video {
  height: 100%;
  width: 100%;  
  /*object-fit: cover;*/
  transform: rotateY(180deg);
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
}

.options__button {
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: var(--primary-color);
  width: 50px;
  height: 50px;
  border-radius: 5px;
  color: var(--main-light);
  font-size: 1.2rem;  
  margin: 0 0.3rem;
  cursor: pointer;
}
@media (max-width: 700px) and (orientation: portrait) { 
  .options__button {
    width: 40px;
    height: 40px;
  }
}

.background__red {
  background-color: #f6484a;
}

.header__back {
  display: none;
  position: absolute;
  font-size: 1.3rem;
  top: 17px;
  left: 28px;
  color: #fff;
}
