:root{
    --messageHaikei:rgb(200, 238, 247);
    --button:rgb(47, 169, 250);
    --buttonBorder:rgb(66, 177, 250);
    --buttonMoji:white;

    --buttonHover:rgb(10, 105, 168);
    --buttonHoverBorder:rgb(31, 114, 169);
    --buttonHoverMoji:rgb(185, 184, 184);

    --buttonDis:rgb(86, 86, 86);
    --buttonDisBorder:rgb(145, 144, 144);
    --buttonDisMoji:rgb(198, 196, 196);

    --send:rgba(250, 220, 216, 0.6);
    --userSend:rgb(251, 174, 164);
    --sendBorder:rgba(253, 187, 178, 0.6);
    --sendFocus:rgb(252, 205, 198);

    --soshin:rgba(251, 141, 126, 0.6);

    --soshinBorder:rgba(251, 174, 164, 0.6);
    --topic:rgb(16, 132, 210);
}

html {
    /*font-size: min(max(3vh, 3vw, 20px), 25px);*/
    font-size: max(calc(8px + 1vw), calc(5px + 2.8vh));;
    text-align: center;
}

body{
    background-color: var(--messageHaikei);
    display: flex;
    height: 99vh;
    padding: 0;
    margin : 0;
}


.img{
    width: 70%;
}



.messagesArea{
    font-family: sans-serif;
    overflow: auto;
    overflow-y: scroll;
    height: 94vh;
    padding: 0 0 7rem 0;
    background-color: var(--messageHaikei);
    text-align: left;
    margin: 0 min(0.5em, 3px) 0 0;
    /*border: 5px solid rgb(222, 244, 249);*/
}



.sumaho{
    width: 90vw;
    text-align: center;
    margin: auto;
}

.rogo{
    width: 10em;
    height: auto;
    margin-left: 1em;
    margin-right: auto;
    position: fixed;
}

.sendButton{
    margin:2px 5px 2px 5px;
    padding: 2px 10px 2px 10px;
    border-radius: 20%; 
    border: 2px solid var(--buttonBorder);
    background-color: var(--button);
    color: var(--buttonMoji);
    font-weight: 500;
    vertical-align: middle;
    font-size: 0.7rem;
    height: 1.5rem;
    /*min-height: 20px;*/


}

.select{
    border-radius: 100vmax;
    margin-top: 1em;
}

.sendButton:hover{
    border: 2px solid var(--buttonHover);
    background-color: var(--buttonHoverBorder);
    color: var(--buttonHoverMoji);
}

.video{
    border : 2px solid black
}

.sendButton:active:enabled{
    margin: 4px 5px 0px 5px;
}

.sendButton:disabled{
    background-color: var(--buttonDis);
    border:2px solid var(--buttonDisBorder);
    color:var(--buttonDisMoji);
}

.topic{
    font-size: 0.8em;
    vertical-align: middle;
    text-align: left;
    color:var(--topic)
    /*border: 1px solid var(--topicBorder);*/
}

.sendText{
    height: 1.5rem;
    /*height: 3vh;*/
    width:35vw; 
    /*margin:auto auto auto 10px;*/
    border-radius: 100vmax;
    background-color: var(--send);
    border: 2px solid var(--sendBorder);
    text-indent: 0.2rem;
    margin:2px 0px 2px 5px;
    padding: 2px 1rem 2px 1rem;
    font-size: 1rem;
}

.sendText:focus{
    outline: none;
    border: 2px solid var(--sendBorder);
    background-color: var(--sendFocus);
}


.soshin{
    background-color: var(--soshin);
    height: fit-content;
    width: 80vw;
    /*text-align: center;*/
    margin-left: auto;
    margin-right: auto;
    left: 0;
    right: 0;
    position:fixed;
    bottom: 6vh;
    /*margin-bottom: 6vh;*/
    border-radius: 100vmax;
    padding : 0.2rem 0.5rem 0.2rem 0.5rem;
    border: 2px solid var(--soshinBorder);
}

/*.userSay{
    border:2px solid rgb(255, 170, 163);
    margin-right: 0.2rem;
    margin-left: auto;
    margin:auto 0.2rem 1em auto;
    text-align: center;
    width:fit-content;
    position: relative;
    padding-top: 0.1rem;
    padding-right: 0.5rem;
}*/

/*.kaigyo{
    height: 1em;
}*/

.userText{
    border-radius: 100vmax 0px 100vmax 100vmax;
    background-color: var(--userSend);
    padding: 0.1rem 0.5rem 0.1rem 0.5rem;
    /*width: 100px;
    position:absolute;
    right: 0;*/
    /*text-align: right;*/
    font-size: 1rem;
    vertical-align: bottom;
    font-weight: 500;
    width: fit-content;
}

/*.fukidasi{
    height: 1rem;
    margin-right: 0.2rem;
    margin-left: auto;
    position: absolute;
    top:0.6rem;
    right: 0;
}
*/


h2{
    color:black;
    font-size: 2rem;
}
h3{
    color:blueviolet;
    font-size: 1.5rem;
}
h4{
    color: black;
    font-size: 1rem;
}
p{
    white-space: pre-wrap;
    font-size: 0.9rem;
    margin:0.5em 1em 0.5em auto;
}

hr{
    border-color: blueviolet;
    width: 98%;
    text-align: left;
    margin : 1em 0 2em 0
}

table{
    border: 3px solid blueviolet;
    border-collapse: collapse;
}

td{
    border: 1px solid blueviolet;
    padding: 0 0.5em 0 0.5em;
}

/*.oya{
    text-align: right;
}*/