body,
html {
    margin: 0px;
    padding: 0px;
    font-family: "Roboto Flex", sans-serif;
    letter-spacing: 1.5px;
}
body {
    background-color: #343541;
    height: 100vh;
    width: 100%;
    overflow: hidden;
}
html {
    font-size: 16px; /* définir la taille de police de base en rem pour les petits écrans */
}
body {
    font-size: 1rem; /* définir la taille de police du corps en rem */
}
#sm-container {
    height: 100vh;
    box-sizing: border-box;
}
#sm-reponse-container {
    width: 100%;
    position: absolute;
    top: 0px;
    background-color: #343541;
    color: white;
    padding: 0 30px 0 0;
    max-height: 42%;
    overflow-y: scroll;
    box-sizing: border-box;
}
#sm-reponse {
    margin: 0 auto;
    width: 100%;
    max-width: 620px;
    box-sizing: border-box;
    padding: 0 10px;
}
.histo-pic {
	float: left;
	width: 30px;
    height: 30px;
    margin: 0 6px 0 0;
    box-sizing: border-box;
}
.histo-text {
	float: right;
	width: calc(100% - 48px);

    box-sizing: border-box;
}
.img-historic{
	width: 30px;
	height: 30px;
	border-radius: 5px;
}
.histo-line {
	position: relative;
	float: left;
	width: 100%; 
	clear: both; 
}
#sm-question-container {
    position: absolute;
    width: 100%;
    bottom: 0px;
    height: 280px;
    background-color: #343541;
    color: white;
    box-sizing: border-box;
}
#sm-question {
    margin: 0 auto;
    width: 100%;
    max-width: 620px;
    padding-bottom: 30px;
    box-sizing: border-box;
}
textarea {
    float: left;
	width: calc(100% - 230px);
    max-height: 200px;
    height: 270px;
    overflow-y: hidden;
    border-radius: 5px;
    border: none;
    background-color: #40414f;
    color: white;
    margin: 10px 0 0 10px;
    padding: 10px;
    font-family: "Roboto Flex", sans-serif;
    letter-spacing: 1.5px;
    box-sizing: border-box;
}
textarea::placeholder {
	color: #898989;
	font-style: italic;
	text-align: center;
}
#start_speech_recognition {
	float: right;
	width: 200px;
	height: 200px;
	border-radius: 5px;
    border: none;
	margin-right: 10px;
    background-color: #40414f;
    color: white;
    box-sizing: border-box;
}
button,
input {
    border-radius: 5px;
    border: none;
    background-color: #40414f;
    color: white;
    margin: 10px 0px 10px 10px;
    padding: 10px;
    cursor: pointer;
    font-family: "Roboto Flex", sans-serif;
    letter-spacing: 1.5px;
    box-sizing: border-box;
}
button:hover,
input:hover {
    background-color: black;
}
#btn-toggle {
    position: fixed;
    bottom: 350px;
    right: 0px;
	padding-right: 15px;
    z-index: 100;
	border-radius: 5px 0 0 5px;
	background-color: black;
}
#btn-toggle:hover {
	background-color: #40414f;
}
#div-toggle {
    display: none;
    position: fixed;
    top: 0px;
    right: 0px;
    width: 100%;
    background-color: black;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    z-index: 10;
}
.histo-text:last-of-type {
    font-size: 1.3em;
    font-weight: bold;
}
.histo-text:nth-last-of-type(2) {
    font-size: 1.3em;
    font-weight: bold;
}
@media only screen and (min-width: 768px) {
    html {
        font-size: 16px; /* définir la taille de police de base en rem pour les écrans de taille moyenne */
    }
}

@media only screen and (min-width: 1024px) {
    html {
        font-size: 18px; /* définir la taille de police de base en rem pour les grands écrans */
    }
}
