@import "colors.css";
@import "rainbow.css";
@import "fonts.css"

/*
 * Globals
 */

/*
 * Base structure
 */

html {
  font-family: "Roboto",sans-serif;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  text-shadow: 0 .05rem .1rem rgba(0, 0, 0, .5);
  background-color: var(--bg-color);
}

.cover-container {
  max-width: 62em;
}


/*
 * Header
 */

header img {
  height: 2em;
  width: auto;
}

/*
 * Body
 */

video {
  width: 100%;
  position: relative;
}

ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

#nipple {
  position: absolute;
  top: 0; 
  bottom: 0;
  left: 0; 
  right: 0;
}

#nipple-tooltip {
  position: absolute;
  top: 50%;
  left: 50%;
  height: 1px;
  width: 1px;
}

#no-stream {
  visibility: hidden;
  position: absolute;
  top: 0; 
  bottom: 0;
  left: 0; 
  right: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
  z-index: 10;
  background-color: var(--bg-color);
}

#video-overlay {
  position: absolute;
  top: 0; 
  bottom: 0;
  left: 0; 
  right: 0;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  z-index: 9;
}

#overlay-top {
  position:  relative;
}

#hud {
  color: white;
  float: left;
}

#requestButton {
  padding:0.35em 1.2em;
  border:0.1em solid #FFFFFF;
  margin:0 0.3em 0.3em 0;
  border-radius:0.12em;
  font-weight:300;
  background-color:white;
  text-align:center;
}

#usersButton {
  float: right;
  background-color: white;
  padding:0.35em 1.2em;
  border:0.1em solid #FFFFFF;
  margin:0 0.3em 0.3em 0;
  border-radius:0.12em;
  font-weight:300;
  background-color:#FFFFFF;
  text-align:center;
}

#usersButton img {
  width: 100%;
}

#userList {
  display:none;
  clear: right;
  float: right;
  background-color: white;
  margin-top: 10px;
  width: 160px;
  position: absolute;
  top: 40px;
  right: 0;
}

#modalText {
  background-color: white;
  padding: 1em;
  border-radius: 0.12em;
}

.btn-naked {
  border: none;
  background: transparent;
  cursor: pointer;
  -webkit-user-select: none;
  user-select: none;
}

.name {
  font-weight: 300;
  text-align: center;
  border: 0;
  border-bottom: 0px solid black;
  outline: 0;
  font-size: 5em;
  color: black;
  padding: 7px 0;
  background: transparent;
  max-width: 100%;
  margin: 30px 0;
}

.name:focus {
  background-color: transparent;
  border-color: transparent;
  color: black;
  background-color: transparent;
  border-color: transparent;
  outline: 0;
  box-shadow: 0 0 0 0;
}

.name::placeholder{
  color: black;
}

.name:focus::placeholder {
  color: transparent;
}

.no-select {
  -moz-user-select: none;
  -webkit-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.front {
  border-radius: 10px;
  border: 2px solid white;
  box-shadow: 0 0 2px 0 white;
  color: white;
  opacity: 1;
}

.back {
  border-radius: 10px;
  border: 2px solid white;
  box-shadow: 0 0 2px 0 white;
  color: white;
  opacity: 0.5;
}