@font-face {
    font-family: 'NotoSerif';
    src: url('/NotoSerif-Regular.ttf') format('truetype'); /* Chrome 4+, Firefox 3.5, Opera 10+, Safari 3—5 */
}  

@media (min-width: 858px) {
    html {
        font-size: 12px;
    }
}
 
@media (min-width: 780px) {
    html {
        font-size: 11px;
    }
}
 
@media (min-width: 702px) {
    html {
        font-size: 10px;
    }
}
 
@media (min-width: 624px) {
    html {
        font-size: 9px;
    }
}
 
@media (max-width: 623px) {
    html {
        font-size: 8px;
    }
}

html {
    height: 100%;
    width: 100%;
    background: black;
    font-family: NotoSerif;
}

#cesiumContainer {
    width: 100%;
    height: 100%;
    position: absolute;
    margin: 0;
    padding: 0;
    top: 0;
    left: 0;
}

#header {
    position: absolute;
    top: 1em;
    left: 0;
    right: 0;
    z-index: 4;
}

#header h1 {
    font-size: 2em;
    color: white;
    text-align: center;
    margin: 0;
}

#start {
    position: absolute;
    left: 50%;
    top: 50%;
    font-size: 3em;
    color: white;
    z-index: 30;
    transform: translate(-50%, -50%);
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 1em;
    display: none;
    cursor: pointer;
}

#time {
    position: absolute;
    right: 1em;
    top: 1.5em;
    color: white;
    z-index: 5;
    padding: 0.5em;
    border-radius: 5px;
    font-size: 3em;
}

#community {
    position: absolute;
    right: 1em;
    top: 0em;
    color: white;
    z-index: 5;
    padding: 0.5em;
    border-radius: 5px;
    font-size: 1.5em;
}

#upload a {
    color: white;
}
 
#upload {
    position: absolute;
    right: 1em;
    top: 1.5em;
    color: white;
    z-index: 5;
    padding: 0.5em;
    border-radius: 5px;
    font-size: 1.5em;
}

#community a {
    color: white;
}
 
#mute {
    position: absolute;
    right: 1em;
    top: 5em;
    color: white;
    z-index: 5;
    padding: 0.5em;
    border-radius: 5px;
    background: rgba(255, 255, 255, 0.2);
    cursor: pointer;
    display: none;
}
    

#participants {
    position: absolute;
    left: 2em;
    top: 1em;
    bottom: 20px;
    overflow: scroll;
    z-index: 5;
    -ms-overflow-style: none;
    scrollbar-width: none;
    -webkit-mask: linear-gradient(180deg, rgba(0, 0, 0, 0) 0em, rgba(0, 0, 0, 1) 3em, rgba(0, 0, 0, 1) calc(100% - 3em), rgba(0, 0, 0, 0) calc(100% - 1em));
}

#participants::-webkit-scrollbar { 
    display: none;
}

.participant:first-child {
    margin-top: 3em;
}

.participant:last-child {
    margin-bottom: 3em;
}

.participant {
    --color: 255, 255, 255;
    display: flex;
    align-items: center;
    border: 2px solid;
    border-color: rgba(var(--color), 1);
    background-color: rgba(var(--color), 0.4);
    border-radius: 2em;
    color: white;
    padding: 2px;
    margin-bottom: 0.5em;
}

.participant.selected {
    background-color: rgba(var(--color), 1);
}


.participant .logo {
    height: 2em;
}

.participant span {
    margin-left: 0.5em;
    margin-right: 0.5em;
}
