:root {
  --code-color: darkred;
  --code-bg-color: #aaaaaa;
  --code-font-size: 14px;
  --code-line-height: 1.4;
  --scroll-bar-color: #c5c5c5;
  --scroll-bar-bg-color: #f6f6f6;
}

pre {
  color: var(--code-color);
  font-size: var(--code-font-size);
  line-height: var(--code-line-height);
  background-color: var(--code-bg-color);
}

.code-block {
  max-height: 100px;
  overflow: auto;
  padding: 8px 7px 5px 15px;
  margin: 0px 0px 0px 0px;
  border-radius: 7px;
}

::-webkit-scrollbar-corner { background: rgba(0,0,0,0.5); }

* {
  scrollbar-width: thin;
  scrollbar-color: var(--scroll-bar-color) var(--scroll-bar-bg-color);
}

/* Works on Chrome, Edge, and Safari */
*::-webkit-scrollbar {
  width: 12px;
  height: 12px;
}

*::-webkit-scrollbar-track {
  background: var(--scroll-bar-bg-color);
}

*::-webkit-scrollbar-thumb {
  background-color: var(--scroll-bar-color);
  border-radius: 20px;
  border: 3px solid var(--scroll-bar-bg-color);
}

body {
  font-family: 'Roboto', Arial, sans-serif;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
  background-color: #1B2735;
  color: #FFFFFF;
}
.chatbox {
  width: 75%;
  height: 400px;
  max-height: 400px;
  overflow-y: auto;
  border: 2px solid #0E4DA4;
  border-radius: 20px;
  background-color: #0E4DA4;
  padding: 20px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}
.user-msg, .bot-msg, .sys-msg {
  margin-bottom: 20px;
  padding: 15px;
  border-radius: 20px;
  width: fit-content;
  max-width: 80%;
}
.user-msg {
  background-color: #1C7CD7;
  color: white;
  align-self: flex-end;
}
.bot-msg {
  background-color: #26A96C;
  color: white;
  text-decoration: underline dotted;
}
.sys-msg {
  background-color: #a9269a;
  color: white;
}
#userInput {
  width: calc(75% + 50px);
  padding: 15px;
  box-sizing: border-box;
  border: 2px solid #0E4DA4;
  border-radius: 20px;
  margin-top: 10px;
  font-family: 'Roboto', Arial, sans-serif;
  font-size: 16px;
  color: #000000;
}
#userInput::placeholder {
  color: #aaa;
}
#userInput:focus {
  border-color: #26A96C;
  outline: none;
}

#startRecordingButton, #stopRecordingButton {
    background: none;
    border: none;
    cursor: pointer;
}
#startRecordingButton {
    background: url('static/mic.png') no-repeat;
    background-size: 120px;
    width: 120px;
    height: 120px;
}
#stopRecordingButton {
    background: url('static/pause.png') no-repeat;
    background-size: 120px;
    width: 120px;
    height: 120px;
}
.container {
  display: flex;
  justify-content: center;
  align-items: center;
}
.buttons {
  display: flex
}



.rounded-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 51vw;
  height: 60px;
  border-radius: 25px; /* Adjust the border-radius for a slight rounding */
  background-color: #3498db; /* Change the background color as needed */
  cursor: pointer;
  margin-right: 20px; /* Adjust the margin for spacing */
}

.rounded-button img {
  max-width: 80%; /* Adjust the image size as needed */
  max-height: 80%;
  border-radius: 50%;
}

#feedbackBtn {
  background-color: #FF4081; /* Change to your desired color */
  color: white;
  border: none;
  padding: 15px 30px;
  font-size: 18px;
  border-radius: 25px;
  width: 26vw;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#feedbackBtn:hover {
  background-color: #D81B60; /* Change to your desired hover color */
}

#settingsButton {
  background: url('settings.png') no-repeat;
  position: fixed;
  top: calc(50% - 170px);
  right: 14vw;
  background-size: 30px;
  width: 30px;
  height: 30px;
  
}

#settingsButton:hover {
  cursor: pointer;
}

#settingsPopup {
display: none;
position: fixed;
width: 100px;
top: calc(50% - 155px);
right: 15vw;
padding: 20px;
background-color: #701717;
box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
border-radius: 5px
}

.column {
float: left;
width: 30%;
padding: 10px;
}
.colup {
padding-top: 5px
}

/* Clear floats after the columns */
.row:after {
content: "";
display: table;
clear: both;
}

.voiceOnBtn {
background-color: #4CAF50; /* Green background color */
border: none; /* No border */
color: white; /* White text color */
padding: 1px 13px; /* Adjust padding as needed */
text-align: center; /* Center text inside the button */
text-decoration: none; /* No underlining of text */
display: inline-block; /* Make the button a block element */
font-size: 16px; /* Font size of the text */
border-radius: 10px; /* Adjust border-radius to make rounded edges */
}

.voiceOnBtn:hover {
cursor: pointer;
}

#duoTalkTitle {
font-size: 3em;
margin-block-end: 0px
}
#duoTalkSubTitle {
  margin-bottom: 10px; 
  margin-top: 15px;
  text-align: center
}
#question {
  text-align:center;
}
#lowerLinks {
  color: grey;
  font-weight: bold;
}
abbr {
  text-decoration: underline
}
@media screen and (max-width: 600px) {
  .buttons {
    flex-direction: column; /* Switch to a vertical layout */
  }

  #feedbackBtn, .rounded-button {
    width: 84vw;
    margin-right: 0; /* Remove the right margin to stack buttons vertically */
    margin-bottom: 10px; /* Add some spacing between vertically stacked buttons */
    height: 50px
  }
}