@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Roboto', sans-serif;
    font-size: 14px;
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 100%;
}

/*########## HOME ###########*/

#home_container {
    width: 100%;
    height: 100%;
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
#home_container.writer {
    background-image: url(images/speechtotext_sfondo_01.jpg);
}
#home_container.viewer {
    background-image: url(images/speechtotext_sfondo_02.jpg);
}
#home_form {
    display: flex;
    flex-direction: column;
    margin: 20px 60px;
    gap: 6px;
}
#home_form input,
#home_form button {
    font-size: 24px;
    padding: 10px;
    border: 0px;    
}
#home_form button {
    background-color: cornflowerblue;
    color: white;
    font-size: 20px;
    font-weight: 700;
    cursor: pointer;
}
#home_form button:hover {
    background-color: rgb(59, 88, 140);
}



/*BUTTONS TOP*/

#buttons_top_container {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 3px;
}
.btn {
    cursor: pointer;
    padding: 10px 20px;
    background-color: rgb(206, 195, 195);
    text-align: center;
    display: flex;
}
.btn:hover {
    background-color: gray;
    color: white;
}
#status {
    flex-grow: 2;
    gap: 3px;
    text-align: center;
}
#status .red {
    background-color: orangered;
    color: white;
    padding: 10px 20px;
}
#status .green {
    background-color: limegreen;
    color: white;
    padding: 10px 20px;
}
#stanza {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px 3px 5px;
    border-bottom: 1px solid grey;
}
#password {
    font-size: 12px;
    font-weight: 700;
    padding: 3px 10px 0px 5px;
}

/*TRANSCRIPTION*/

#transcription_container {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;

}
#transcription {
    min-height: 30px;
    padding: 10px 20px;
    text-align: center;
    font-size: 50px;
    line-height: auto;
    background-color: rgba(0, 0, 0, 0.8);
    color: white;
    box-sizing: border-box;
    border-radius: 2px;
    text-transform: uppercase;
}
.hidden {
    display: none;
}


/*BUTTONS BOTTOM*/

#buttons_bottom_container {
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    display: flex;
    gap: 3px;
    justify-content: space-between;
}
.space {
    display: flex;
    gap: 3px;
}
.space.h {
    min-width: 200px;
}
#buttons_bottom_container .btn {
    padding: 20px 50px;
}


/*INTERIM*/

#interimVal {
    padding: 2px 10px;
    font-size: 10px;
    background-color: red;
    color: white;
    border-radius: 10px;
    margin: 0 0 0 10px;
}
#interimVal.on {
    background-color: green;
}