@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,200;0,300;0,400;0,600;0,700;0,800;0,900;1,200;1,300;1,400;1,600;1,700;1,800;1,900&display=swap');

body {
    width: 100vw;
    height: 100vh;
    margin: 0;
    background: #eaf0f4;
    color: #000;
    font-family: 'Nunito', sans-serif;
}

h1 {
    font-family: 'Nunito', sans-serif; 
    font-weight: 100;
    font-size: 3vw;
    text-align: center;
    margin: 5px 40px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
h2 {  
    font-family: 'Nunito', sans-serif; 
    font-weight: 700;
    font-size: 2.5vw;
    text-align: center;
    margin: 5px 0;
    line-height: 2.5vw;
}
    h2.year {
        font-weight: 300;
        font-size: 2vw;
    }


.txtPaciente {
    font-family: 'Roboto Slab', sans-serif;
    font-weight: 800;
    font-size: 5vw;
    color: #2cda97;
    text-align: center;
    margin: 10px 0; 
}
.txtSala {
    font-family: 'Nunito', sans-serif; 
    font-weight: 700;
    font-size: 4vw;
    text-align: center;
    margin: 10px 0;
    line-height: 34px;
}
.txtProfissional {
    font-family: 'Nunito', sans-serif; 
    font-weight: 500;
    font-size: 3vw;
    text-align: center;
    margin: 15px 0;
}
.txtMensagem {
    font-family: 'Nunito', sans-serif;
    font-weight: 100;
    font-size: 3vw;
    text-align: center;
    margin: 0;
    color: #bbc1c5;
}


.top {
    padding: 30px 6%;
    height: 20vh;
}


.chamada {
    padding: 30px 6%;
    height: 50vh;
    transition: all 500ms ease-in-out;
}

.chamadasAnteriores {
    text-align: center;
    max-width: 300px;
    padding: 10px 30px;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.3vw;
    margin: -80px auto auto;
    transition: all 500ms ease-in-out;
}

.atendimentosAnteriores {
    padding: 5vh 40px 20px;
    width: 100vw;
    height: 27vh;
    transition: all 500ms ease-in-out;
}


    .itemAnterior .txtPaciente {
        font-size: 2vw;
        line-height: 2.5vw;
        color: #000;
    }
    .itemAnterior .txtSala {
        font-size: 2vw;
        color: #000;
        font-weight: 400;
    }


.ON.callAnimate .chamada {
    background-color: #fff;
    border-radius: 300px;
    animation-name: callAnimate;
    animation-iteration-count: 1;
    animation-timing-function: ease-in-out;
    animation-duration: 3s;
}
  @keyframes callAnimate {
    0% {
        background-color: #f0f5f9;
        border-radius: 0;
    }
    20% {
        background-color: #fff;
        border-radius: 300px;
    }
    40% {
        background-color: #f0f5f9;
        border-radius: 0;
    }
    60% {
        background-color: #fff;
        border-radius: 300px;
    }
    80% {
        background-color: #f0f5f9;
        border-radius: 0;
    }
    100% {
        background-color: #fff;
        border-radius: 300px;
    }
  }
    .ON .chamada .txtPaciente {
        display: block;
    }
    .ON .chamada .txtSala {
        display: block;
    }
    .ON .chamada .txtProfissional {
        display: block;
    }
    .ON .chamada .txtMensagem {
        display: none;
    }
    .ON .chamadasAnteriores {
        background-color: #ffffff;
        color: #c8d2d8;
    }
    .ON .atendimentosAnteriores {
        opacity: 0.3;
    }

.OFF .chamada {
    background-color: #f0f5f9;
    border-radius: 0;
}
    .OFF .chamada .txtPaciente {
        display: none;
    }
    .OFF .chamada .txtSala {
        display: none;
    }
    .OFF .chamada .txtProfissional {
        display: none;
    }
    .OFF .chamada .txtMensagem {
        display: block;
    }
    .OFF .chamadasAnteriores {
        background-color: #2cda97;
        color: #fff;
    }
    .OFF .atendimentosAnteriores {
        opacity: 1;
    }


hr {
    margin: 0 80px;   
}