@font-face{
    font-family: 'SF Atarian System';
    src: url('./Atarian/Atarian-System.ttf') format('truetype'),
         url("./Atarian/Atarian-System-Bold.ttf") format('truetype'),
         url("./Atarian/Atarian-System-Italic.ttf") format('truetype');
}

@font-face{
    font-family: 'Bebas';
    src: url('./BebasNeue.woff') format('woff');
}

@keyframes glowing {
    0% { background-color: transparent; box-shadow: 0 0 5px #2ba805; }
    50% { background-color: transparent; box-shadow: 0 0 20px #49e819; }
    100% { background-color: transparent; box-shadow: 0 0 5px #2ba805; }
    }


html body{
    font-family:'Bebas','SF Atarian System', Arial, sans-serif;
    background-color: rgba(80, 120, 128, 0.95);
    color: white;
    margin: 0px;
}

#login {
	/*width: 55vw;*/
	border-radius: 2em;
	border-color: white
	max-width: 60vw;
    max-height: 99.2vh;
	display: flex;
	flex-flow: column wrap;
	justify-content:space-around;
	align-items: center;
    align-content: center;

}

header{
    display: flex;
    flex-flow: row wrap;
    border-bottom: 4px solid  rgba(66, 75, 78, 0.7);
    border-radius: 4em;
    font-size: 2em;
    font-weight: bold;
    font-family: 'SF Atarian System';
    justify-content: space-around;
    background-color: rgba(38, 46, 49, 0.103);
    

    position: fixed;
    z-index: 200;
    top: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
}

#timer{
    animation: glowing 800ms infinite 60ms;
}
.videoplayer{
    display: flex;
    flex-direction: row;
    align-items: center;
    align-content: center;
    height: 100vh;
}

video{
    align-self: center;
    width: 100%;
    max-width: 100vw;
    max-height: 99.2vh;
    border-radius: 1rem;

}
#contenido-chatbox{
    display: flex;
    flex-flow: column-reverse wrap;
    border-right: 2px solid  rgba(66, 75, 78, 0.4);
    border-left: 2px solid rgba(66, 75, 78, 0.7);
    border-radius: 1em;
    font-family: sans-serif;
    font-size: 1.2em;
    justify-content: flex-end;
    background-color: rgba(38, 46, 49, 0.103);
    

    position: fixed;
    
    z-index: 205;
    top: 60% ;
    left: 0;
    width: 25vw;
    height:35vh;
    /*margin-top:50vh ;*/
    max-height: 50%;
    max-width: 100%;

    overflow: auto;
    scrollbar-width: none;
    scroll-behavior: smooth;
}

::-webkit-scrollbar {
    width: 0px;
    background: transparent; 
}

#contenido-chatbox:hover{
    background-color: rgba(38, 46, 49, 0.75);
}

.mensajes p{
    margin:1.5rem;
    padding: 1.2rem;
    background-color: rgba(6, 21, 156, 0.303);
    border-right: 1px solid rgba(1, 2, 10, 0.15);
    border-bottom: 1px solid rgba(1, 2, 10, 0.15);
    border-bottom-right-radius: 1rem;
    border-top-right-radius: 1rem;
    border-bottom-left-radius:1rem ;
}

.mensajes p.user{
    margin:1.5rem;
    padding: 1.2rem;
    background-color: rgba(209, 139, 9, 0.603);
    border-right: 1px solid rgba(1, 2, 10, 0.815);
    border-bottom: 1px solid rgba(1, 2, 10, 0.815);
    border-bottom-right-radius: 1rem;
    border-top-left-radius: 1rem;
    border-top-right-radius: 0;
    border-bottom-left-radius:1rem ;
    text-align: center;
}

.mensajes p.error{
    margin:1.5rem;
    padding: 1.2rem;
    background-color: rgba(216, 3, 3, 0.637);
    border-right: 1px solid rgba(1, 2, 10, 0.815);
    border-bottom: 1px solid rgba(1, 2, 10, 0.815);
    border-radius: 1rem;    
    text-align: center;
}
footer{
    display: flex;
    flex-flow: row wrap;
    border-top: 4px solid rgba(66, 75, 78, 0.7);
    border-radius: 4em;
    justify-content: flex-start;
    font-family: 'Bebas';
    align-items: center;
    /*background-color: rgba(104, 13, 96, 0.644);*/
    width: 100%;

    position: fixed;
    z-index: 201;
    bottom: 0;
    left: 0;
    width: 100%;
    max-width: 100%;
    
}

#msj-console input {
    margin: 1em;
    width: 20vw;
    background-color:transparent;
    border: 0px dotted transparent;
}

#preguntas{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    width: 70vw;
    /*background-color: aquamarine;*/
}
#preguntas button{
    margin: 1rem;
    padding: 1.5rem;
    border-right: 2px solid whitesmoke;
    border-left: 2px solid whitesmoke;
    border-radius: 1em;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1.15rem;
    background-color: rgba(38, 46, 49, 0.103);
}

#preguntas button:hover{
    color: white;
    background-color: rgba(38, 46, 49, 0.803)
}
