:root{
    --pregunta: #d9fdd3;
    --respuesta: #ffffff;
    --sombra: 0px 1px 2px rgba(26, 24, 11);
}

.cabeceraChat{
    position: fixed;
    top:135px;
    transform: translateY(-95%);
    width: 90%;
    max-width: 370px;
    z-index: 1;
}

.cabeceraChat img{
    width: 100%;
}

.chat{
    position: fixed;
    top:135px;
    width: 90%;
    max-width: 370px;
    height: calc(90% - 135px);
    background-color: var(--crema);
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.763);
    border-radius: 0px 0px 5px 5px;
    overflow-y: scroll;
    overscroll-behavior: smooth;
}

::-webkit-scrollbar{
    width: 0px;
}

.bocadilloContainer{
    transition: all 0.1s;
    display: flex;
    flex-direction: row;
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100%;
}

.pregunta{
    justify-content: flex-end;
    align-items: flex-end;
}

.respuesta{
    justify-content: flex-start;
    align-items: flex-start;
}

.preguntaContainer{
    padding: 10px;
    min-width: 25%;
    max-width: 65%;
    box-shadow: var(--sombra);
    background-color: var(--pregunta);
    margin-right: 10px;
    border-radius: 10px 10px 0px 10px;
}

.grupoRespuesta{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    max-width: 100%;
}

.cajaRespuesta{
    padding: 10px;
    width: calc(100% - 80px);
    box-shadow: var(--sombra);
    background-color: var(--respuesta);
    margin-left: 5px;
    border-radius: 0px 10px 10px 10px;
}

.imagenRespuesta{
    width: calc(100% - 6px);
    height: 125px;
    margin-bottom: 10px;
    border: solid 1px rgb(224, 224, 224);
    border-left: solid 6px var(--verde);
}

.imagenRespuesta img{
    width: 100%;
    height: 125px;
    object-fit: contain;
}

.imagenPregunta{
    width: calc(100% - 6px);
    height: 125px;
    margin-bottom: 10px;
    border: solid 1px rgb(224, 224, 224);
    border-left: solid 6px var(--verde);
}

.imagenPregunta img{
    width: 100%;
    height: 125px;
    object-fit: contain;
}

.avatarRespuesta{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-left: 10px;
    background-color: white;
    background-image: url('../img/assets/avatar.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    box-shadow: var(--sombra);
}