
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body
{
     height: 100%;
     margin: 0px;
}

html {
    font-size: 14px;
}

body {
    background: #222;
    color: #fff;
    font-family: sans-serif;
}

#page {
    min-height: 100%;      
}

#header {
    height: 60px;
    position: relative;
    z-index:1;

    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;

    justify-content: center;
    align-items: center;
    z-index: 200;



} 




#header__left,
#header__center,
#header__right {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 60px;

    padding: 10px;


}


#header__left {
    text-align: left;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 2;
    padding-left: 20px;
}

#header__center {
    text-align: center;
    width: 100%;
    flex-flow: column;
}

#header__right {
    position: absolute;
    right: 0;
    top: 0;
    text-align: right;
    z-index: 2;
    padding-right: 20px;
    
}

#header__right i {
    font-size: 1.25rem;
    padding-right: 5px;
}

#header__left h1 {
    display: inline;
}

button {
    border: 1px solid white;
    border-radius: 6px;
    padding: .5em .75em;
    background: none;
    color: white;
    font-size: 1rem;
    cursor: pointer;
}

button:hover {
    background: white;
    color: #222;
}

button:active {
    background: #ccc;
    color: #222;
}

#content
{
    position: absolute;
    top: 60px;
    bottom:0;
    left:0;
    right:0;
    display: flex;
    justify-content: center;
    align-items: center;

    z-index: 10;
}

#controls {
    position: relative;
    z-index: 100;
}

#about {
    z-index: 200;
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #666;
}

#about a:link, #about a:visited {
    color: #999;
    text-decoration: none;   
}

#about a:hover {
    color: #fff;
    text-decoration: underline;   
}

#local {
    position: absolute;
    bottom: 20px;
    right: 20px;
    z-index: 20;
}

#local video {
    
   height: 200px;
        
}

#remote {
    position: absolute;
    top: 0;
    left: 0;

    width: 100%;
    height: 100%;
    

    z-index: 5;

}

#remote video {
    height: 100%;

    width: 100%;
    padding-top: 20px;
    object-fit: contain;
    padding-bottom: 60px;

}



#status__connecting {
    opacity: 0.5;
}

#other-info, #disconnect {
    display: none;
}

#header__left > * {
    margin-right: 1.5rem;
}

#other-info,
#other-info a:link, #other-info a:visited {
    color: #999;            
}

#other-info__header {
    font-size: 0.9rem;
}

#other-info__name {
    font-weight: bold;
    color: #fff;
}


#ice-breakers-button {
    position: relative;
    z-index: 200;
}
#ice-breakers-button__target {
   text-decoration: underline;
    cursor: pointer;
 
}
#ice-breakers-button__target.underlined {
    text-decoration: none;
}

#ice-breakers {
    position: absolute;
    top: 2rem;
    left: 0;
    background: #EA00A8;
    border-radius: 5px;
    z-index: 200;
    min-width: 300px;
    display: none;
}

#ice-breakers > div {
    font-size: 1.2rem;
    margin: 1em;
    margin-bottom: 1.5em;
}

html.enter #ice-breakers-button {
    display: none;
}

.enter #controls {
    width: 400px;

}

.enter #controls label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
    color: #fff;
}

.enter #controls input {
    font-size: 1rem;
    padding: 0.5em;
    margin-bottom: 1em;
    width: 100%;
    display: block;
    background: none;
    border: 1px solid #999;
    border-radius: 4px;
    color: #fff;
}

.enter #controls input.has-error {
    border-color: #fc0;
}

.enter #controls .optional {
    color: #999;
    font-weight: normal;
}

.enter #controls #heads-up {
    margin: 2em 0;
    font-weight: bold;
    text-align: center;
}

.enter #controls button {
    width: 100%;
    font-weight: bold;
    font-size: 1.5rem;
    text-transform: uppercase;

}

