body {
    display: flex;
    height: 100vh;
}

li,
h1,
h2,
h3,
p,
span {
    font-family: "Rubik";
    color: rgb(57, 73, 94);
}

h1 {
    font-size: 24px;
}

h3 {
    font-size: 20px;
}

h2 {
    font-size: 18px;
}

.bold {
    font-weight: bold;
}

#left-content {
    display: flex;
    width: 25%;
    flex-direction: column;
    padding: 1em;
    gap:1em;
}

#informations {
    display: flex;
    height: 10%;
    flex-direction: column;
    justify-content: space-around;
    border-bottom: 2px solid rgb(209, 209, 209);
    padding-bottom: 1em;
}


#chat {
    display: flex;
    flex-direction: column;
    gap: 2em;
}

#chat-box {
    display: flex;
    flex-direction: column;
    border-radius: 0px 0px 0px 0px;
}

#chat-box h2 {
    border-radius: 10px 10px 0px 0px;
    border: 2px solid rgb(209, 209, 209);
    padding: 1em;
}

#message {
    display: flex;
    flex-direction: column;
    align-items: end;
    padding: 10px;
    overflow-y: scroll;
    max-height: 60vh;
    border-radius: 0px 0px 0px 0px;
    border: 2px solid rgb(209, 209, 209);
    border-top: 0px solid rgb(209, 209, 209);
    border-bottom: 0px solid rgb(209, 209, 209);
    background-color: rgb(248, 248, 248);
    min-height: 60vh;
}

#message div {
    border-radius: 10px;
    max-width: 85%;
    line-height: 150%;
}

.personne1 p {
    background-color: #ffffff;
    padding: 10px;
    border-radius: 10px;
    border-radius: 15px 15px 15px 0px;
    box-shadow: 0px 0px 25px rgb(221, 221, 221);
}

.personne1 {
    display: inline-block;
    margin-right: auto;
}

.personne2 p {
    background-color: #d1dd8a;
    padding: 10px;
    border-radius: 15px 15px 0px 15px;
}

.personne1 span,
.personne2 span {
    font-style: italic;
    font-size: 12px;
}

.personne2,
.personne1 {
    display: flex;
    flex-direction: column;
}

#send-btn {
    width: 130px;
    height: 40px;
    border: 0px solid #000;
    transition: all 0.3s ease;
    color: white;
}

#send-btn {
    width: 60px;
    height: 50px;
}


#send-btn {
    background-color: rgb(57, 73, 94);
    border-radius: 0px 10px 10px 0px;
}

#envoi {
    display: flex;
    padding: 1em;
    border: 2px solid rgb(209, 209, 209);
    border-radius: 0px 0px 10px 10px;
}

#envoi input {
    width: 100%;
    border-radius: 10px 0px 0px 10px;
    border: 2px solid rgb(209, 209, 209);
}

#msg::placeholder,
#msg {
    font-size: 16px;
    font-family: "Rubik";
}

#msg::placeholder {
    padding: 5px;
}

#validation {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

#right-content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    background-color: #E7E7E7;
}

.frame {
    display: flex;
    height: 87vh;
    width: 100%;
}

.frame>* {
    flex: 1 1 50%;
}

canvas {
    width: 100%;
    height: 100%;
}

#bottom-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80%;
    margin: 2em;
    background-color: white;
    border-radius: 15px 15px 15px 15px;
    box-shadow: 0px 0px 25px rgb(206, 206, 206);
}

#bottom-content p {
    padding: 10px;
    display: flex;
    flex-direction: column;
    text-align: center;
    font-size: 20px;
    line-height: 140%;
}

.slidecontainer {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    position: relative;
}

.slider {
    appearance: none;
    width: 70%;
    background: #d3d3d3;
    height: 15px;
    border-radius: 5px;
}


/* The slider handle (use -webkit- (Chrome, Opera, Safari, Edge) and -moz- (Firefox) to override default look) */

.slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 25px;
    background: rgb(57, 73, 94);
    cursor: pointer;
    height: 25px;
    border-radius: 50%;
}

.slider::-moz-range-thumb {
    width: 25px;
    background: rgb(57, 73, 94);
    cursor: pointer;
    height: 25px;
    border-radius: 50%;
}

input[type=range] {
    -webkit-appearance: none;
    margin: 20px 0;
    width: 100%;
}

.range-value {
    position: absolute;
    top: -50%;
}

.range-value span {
    text-align: center;
    display: block;
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    border-radius: 6px;
    padding: 3px;
}

#rangeV span {
    background: rgb(255, 255, 255);
    color: rgb(57, 73, 94);
    font-size: 24px;
    box-shadow: 0px 0px 25px rgb(143, 143, 143);
}

#debut,
#fin {
    font-size: 24px;
}

#play-pause-btn {
    margin: 20px;
    width: 130px;
    height: 40px;
    border: 0px solid #000;
    background-color: rgb(57, 73, 94);
    transition: all 0.3s ease;
    color: white;
    border-radius: 15px;
}

#confirm-btn {
    color: rgb(0, 0, 0);
    font-weight: bold;
    background-color: #d1dd8a;
    border-radius: 15px;
    padding: 1em;
    border: 0px solid #000;
    transition: all 0.3s ease;
}

#confirm-btn:hover{
    background-color: #c6e033;
    border-radius: 5px;
}

#play-pause-btn:hover{
    border-radius: 5px;
    background-color: rgb(55, 100, 158);
}


.under {
    top: 73%;
    background-color: white;
    color: black;
    font-size: 17px;
}

.date-selected {
    background-color: #d1dd8a;
    color: #000000;
    font-size: 17px;
}


/* width */

::-webkit-scrollbar {
    width: 10px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

textarea {
    resize: none;
}

#statut{
    display: flex;
    align-items: center;
    justify-content: space-around;
}

#hash,#day_per_step{
    display: none;
}

/*CSS mobile*/

/* @media screen and (max-width: 970px) {
    #left-content,
    #right-content {
        width: 100%;
    }
    #patient-doctor,
    body {
        display: flex;
        flex-direction: column;
    }
    #left-content {
        justify-content: initial;
        padding: 0px;
    }
    #informations,
    body {
        height: initial;
    }
    body {
        padding: 1em;
        gap: 1em;
    }
    .frame {
        height: 55vh;
    }
    #bottom-content p {
        display: none;
    }
    #play-pause-btn {
        margin: 1em;
        width: 46px;
        height: 40px;
    }
    #message {
        overflow-y: initial;
        max-height: initial;
    }
    #bottom-content {
        width: 90%;
        margin: 1em;
        padding: 8px;
    }
    #right-content {
        border-radius: 10px;
    }
    #rangeV span{
        font-size: 18px;
    }
    #rangeV{
        top:-30%;
        margin-left: 20px;
    }
} */