* {
  padding: 0;
  margin: 0;
  box-sizing: border-box;
  /* cursor: none; */
}

body {
  font-family: Arial, sans-serif;
  background-color: black;

  /* cursor: none; */
}

.main {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.actionRowsWrap {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hidden {
  display: none;
}

.icon-btn {
  width: 68px;
  height: 68px;
  padding: 16px;
  border-radius: 100%;
  box-sizing: border-box;
}

.actionRow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  padding: 24px;
  justify-content: center;
}

button#stopBtn {
  position: absolute;
  z-index: 1;
  right: 20px;
  top: 20px;
}

.videoWrap {
	position: relative;	
}

.videoWrap::after {
    position: absolute;
    content: "";
    width: 140px;
    height: 100px;
    background: black;
    bottom: 0;
    right: 0;
}

.main-action-buttons {
  display: none;
  text-align: center;
  position: absolute;
  bottom: 40px;
  width: 100%;
  z-index: 1;
}

#introVideo {
  position: absolute;
}

#introVideo.hidden {
  display: none;
}

.is-speaking-animation {
  /* width: 50px;
  height: 50px; */
  /* background: linear-gradient(0deg, orange 0%, blue 100%); */
  /* border-radius: 100%; */
  position: absolute;
  left: 10%;
  top: 10%;
  /* right: 100px;
  bottom: 60px; */
  z-index: 2;
  transform: scale(0);

  transition: transform 1s ease-in-out;
}

.is-speaking-animation img {
  width: 280px;
}

.is-speaking-animation.stand-by {
  transform: scale(1);
}

.is-speaking-animation.speaking {
  transform: scale(1.4);
}

.is-thinking-animation {
  position: absolute;
  z-index: 1;
  left: 64%;
  transform: scale(0);
  transform-origin: left bottom;
}

.is-thinking-animation.visible {
  transform: scale(1);
}

.is-thinking-animation img {
  width: 400px;
}

.videoWrap::after {
  position: absolute;
  content: "";
  width: 100px;
  height: 100px;
  background: black;
  bottom: 0;
  right: 0;
}

.icon-btn#stop {
  background-color: #cd1719;
}

.main-action-buttons.hidden {
  display: none;
}

.main-action-buttons.visible {
  display: block;
}

.actionRow.no-padding-top {
  padding-top: 0;
}

.actionRow.no-padding-bottom {
  padding-bottom: 0;
}

.actionRowsWrap.top-nav {
  position: fixed;
  bottom: 0;
  width: 100%;
  display: none;
}

.actionRow label {
  display: flex;
  align-items: center;
  gap: 8px;
}

button {
  display: inline-block;
  padding: 0 16px;
  border-radius: 8px;
  height: 40px;

  background-color: #4caf50; /* Green */
  border: none;

  color: #fff;
  text-align: center;
  font-size: 16px;

  /* cursor: pointer; */
  transition-duration: 0.4s;
}

button:hover {
  background-color: #45a049;
}

input {
  height: 40px;
  padding: 0 12px;

  font-size: 16px;
  width: 600px;
}

#status {
  display: none;
  overflow: auto;

  background-color: #fff;
  height: 120px;
  padding: 10px 12px;

  border: 1px solid #ccc;
  border-radius: 8px;

  font-size: 14px;
  line-height: 1.6;
  padding: 24px;
}

.videoSectionWrap {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.actionRow.switchRow {
  width: 100%;

  justify-content: center;
}
.switchRow {
  flex-direction: column;
}
.switchRow > label {
  width: 100%;

  display: flex;
  justify-content: center;
}

.switchRow > label input {
  flex: 1;
  max-width: 500px;
}

.videoSectionWrap .videoWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 4%;

  /*background: linear-gradient(0deg, rgba(0, 0, 0, 0.02) 0%, rgba(0, 0, 0, 0.02) 100%),*/
  /*  radial-gradient(*/
  /*    108.09% 141.42% at 0% 100%,*/
  /*    rgba(219, 255, 213, 0.3) 0%,*/
  /*    rgba(255, 255, 255, 0) 100%*/
  /*  ),*/
  /*  linear-gradient(135deg, #ffeede 5.71%, #ffd9d9 47%, #a3dce7 93.47%);*/
}

.videoWrap .videoEle {
  width: 100%;
  max-height: 100vh;
  /* max-height: 400px; */
}

/*---------- Switch START ----------*/
.switchWrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

#start,
#stop {
  cursor: pointer;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

.slider:before {
  position: absolute;
  content: '';
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: 0.4s;
  transition: 0.4s;
}

input:checked + .slider {
  background-color: #2196f3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196f3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}
/*---------- Switch END ----------*/

.videoSectionWrap .hide {
  display: none;
}

.videoSectionWrap .show {
  display: flex;
}

.hide {
  display: none;
}
.show {
  display: flex;
}
