body {
    margin: 0;
    padding: 0;
    color: whitesmoke;
    background-color: #666;
    font-family: Tahoma;
}

header {
    position: fixed;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100vw;
    height: 50px;
    background-color: #666;
    border: 2px solid #222;
}

input {
    border: 2px solid #222;
    outline: none;
    padding: 10px;
}

button {
    border: 2px solid #222;
    padding: 8px;
    font-size: 13pt;
    cursor: pointer;
    transition: 0.3s;
}
button:hover {
    background-color: #222;
    color: whitesmoke;
}

h1 {
    margin-left: 8px;
    margin-top: 3px;   
    color: whitesmoke; 
}

/* searchbar */
#search {
    padding: 11px;
    position: fixed;
    background-color: #666;
    top: 5px;
    left: 50%;
    transform: translate(-50%);
    width: 300px;
    color: whitesmoke;
}
#search::placeholder {
    color: #222;
}
#search-icon {
    position: absolute;
    left: calc(50% + 175px);
    transform: translate(-50%);
    border: 2px solid #222;
    transition: 0.3s;
    top: 3px;
    cursor: pointer;
    height: 23px;
    padding: 7px;
    color: #222;
}
#search-icon:hover {
    background-color: #222;
    color: whitesmoke;
}

/* header */
#profile-icon {
    position: fixed;
    cursor: pointer;
    right: 5px;
    transition: 0.3s;
    top: 5px;
    padding: 3px;
    color: #222;
    border: 2px solid #222;
}
#profile-icon:hover {
    background-color: #222;
    color: whitesmoke;
}

/* sidebar */
#sidebar {
    position: fixed;
    top: 52px;
    left: 0px;
    z-index: 1;
    width: 220px;
    height: calc(100% - 50px);
    border: 2px solid #222;
}
#sidebar-all {
    text-decoration: underline;
    float: right;
    margin-right: 8px;
    margin-top: 5px;
    cursor: pointer;
}
#sidebar-all:hover {
    color: aquamarine;
}
.sidebar-live {
    cursor: pointer;
    margin-top: -1px;
    margin-right: -1;
    height: 40px;
    transition: 0.3s;
    border: 1px solid #222;
    padding: 3px;
}
.sidebar-live:hover {
    background-color: #222;
    color: whitesmoke;
}
.sidebar-live p {
    margin-top: 8px;
    display: inline-block;
}
.red-dot {
    display: inline-block;
    background-color: #eb4934;
    border-radius: 50%;
    width: 10px;
    height: 10px;
}
.sidebar-tooltip {
  visibility: hidden;
  width: 120px;
  background-color: #222;
  color: whitesmoke;
  text-align: center;
  position: absolute;
  padding: 8px;
  margin-top: 2px;
  left: calc(100% + 5px);
}
.sidebar-live:hover .sidebar-tooltip {
  visibility: visible;
}

/* auth popup */
.popup {
    position: fixed;
    text-align: center;
    z-index: 5;
    background-color: #222;
    height: 400px;
    width: 400px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.popup u {
    cursor: pointer;
}
.popup input {
    margin: 10px;
    border-color: whitesmoke;
    background-color: #222;
    color: whitesmoke;
}
.popup button {
    border-color: whitesmoke;
    background-color: #222;
    color: whitesmoke;
}
.popup button:hover {
    background-color: whitesmoke;
    color: #222;
}
.switch {
    position: absolute;
    bottom: 0;
    width: 100%;
}