html,
body {
  background-color: white;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

* {
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1;
}

.wifi-off {
  /* border: 1px solid red; */
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 5vh;
  height: 5vh;
  animation: flashingSignal 1s alternate infinite;
  animation-delay: 30s;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
}

.wifi-off img {
  max-width: 100%;
  max-height: 100%;
}

@keyframes flashingSignal {
  0% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

.wifi-off-signal {
  width: 100vw;
  height: 20vh;
  background-color: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3vh;
  position: fixed;
  bottom: 0;
  /* background-color: red; */
}

.wifi-off-signal div {
  width: 90vw;
  height: 15vh;
  /* background-color: white; */
  border-radius: 100px;
  border: 1px solid lightgrey;
  display: flex;
  align-items: center;
  /* justify-content: center; */
  padding-left: 10px;
  position: relative;
}

.wifi-off-signal div textarea {
  /* border: 1px solid red; */
  margin-left: 2.5vw;
  font-size: 5vw;
  width: 89%;
  height: 10vh;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  resize: none;
  /* background-color: red; */
}

.wifi-off-signal div button {
  border: none;
  outline: none;
  /* padding: 0 20px; */
  /* background-color:rgb(0, 150, 255); */
  background-color: transparent;
  color: white;
  border-radius: 100px;
  height: 10vh;
  position: absolute;
  right: 20px;
  border: 1px solid lightgrey;
  transition: 0.3s;
  /* font-size: 5vw; */
}

.wifi-off-signal div button:hover {
  /* background-color: rgb(0, 150, 255); */
  border: 1px solid rgb(0, 150, 255);
}

.wifi-off-signal div button img {
  max-width: 75%;
  max-height: 75%;
  /* mix-blend-mode: color; */
}

.interrogation-container {
  /* border: 1px solid black; */
  width: 100vw;
  height: 80vh;
  /* top: 50%;
    left: 50%;
    transform: translate(-50%,-50%); */
  overflow-y: scroll;
  overflow-anchor: auto;
  font-size: 5vw;
  scrollbar-width: none;
  padding: 5vw;
  /* background-color: red; */
}

@keyframes message {
  0% {
    opacity: 0;
    transform: translateY(20px) scale(0);
  }

  100% {
    opacity: 1;
    transform: translateY(0px) scale(1);
  }
}

.left-speech-bubble {
  /* border: 4px solid green; */
  text-align: left;
}

.left-speech-bubble span,
.left-speech-bubble p {
  background-color: rgb(175, 175, 175);
  position: relative;
  width: fit-content;
  max-width: 50%;
  height: auto;
  padding: 2.5vw;
  margin: 1vw;
  border-radius: 5vw 5vw 5vw 2.5vw;
  color: white;
  display: inline-block;
  word-break: break-word;
  /* opacity: 0; */
  animation: message 0.5s;
  transform-origin: left bottom;
  border: 1px solid rgb(175, 175, 175);
}

.right-speech-bubble {
  /* border: 4px solid red; */
  text-align: right;
}

.right-speech-bubble span,
.right-speech-bubble p {
  background-color: rgb(0, 150, 255);
  position: relative;
  width: fit-content;
  max-width: 50%;
  height: auto;
  padding: 2.5vw;
  margin: 1vw;
  /* margin: 5vw 5vw 5vw 2.5vw; */
  border-radius: 5vw 5vw 2vw 5vw;
  /* border-radius: 100px; */
  color: white;
  display: inline-block;
  word-break: break-word;
  animation: message 0.5s;
  transform-origin: right bottom;
  text-align: left;
  border: 1px solid rgb(0, 150, 255);
}

.left-speech-bubble p {
  color: black;
  border: 1px solid black;
  background-color: transparent;
}

.right-speech-bubble p {
  border: 1px solid black;
  background-color: transparent;
  color: black;
}

.speech-bubbles-offline{
  font-family: "Times New Roman", Times, serif;
}

.speech-bubbles-offline{
  /* color: white !important; */
  /* color: black !important; */
  /* border: 1px solid black !important; */
}

.left-speech-bubble .speech-bubbles-offline,
.right-speech-bubble .speech-bubbles-offline{
  background-color: transparent !important; 
  border: 1px solid white; 
  color: white !important;
}

.speech-bubbles-offline::before {
  content: "“";
}

.speech-bubbles-offline::after {
  content: "”";
}

.eye {
  /* margin: 7vw; */
  width: 25px;
  height: 25px;
  border: solid 1px #000;
  border-radius: 75% 15%;
  position: fixed;
  top: 3vw;
  left: 7vw;
  transform: rotate(45deg);
}

.eye:before {
  content: "";
  display: block;
  position: absolute;
  width: 13px;
  height: 13px;
  border: solid 1px #000;
  border-radius: 50%;
  left: 4px;
  top: 4px;
}

/*
mobile view
*/
@media only screen and (max-width: 480px) {
  .wifi-off-signal {
    height: 10vh;
  }
  
  .wifi-off-signal div {
    height: 5vh;
  }
  
  .wifi-off-signal div textarea {
    margin-left: 1vw;
    font-size: 5vw;
    width: 85%;
    height: 3vh;
  }

  .wifi-off-signal div button{
    height: 3vh;
    right: 15px;
  }
}

/*
tablet view
*/
@media only screen and (min-width: 481px) and (max-width: 768px) {
  .wifi-off-signal {
    height: 10vh;
  }
  
  .wifi-off-signal div {
    height: 5vh;
  }
  
  .wifi-off-signal div textarea {
    margin-left: 1vw;
    font-size: 5vw;
    width: 85%;
    height: 3vh;
  }

  .wifi-off-signal div button{
    height: 3vh;
    right: 15px;
  }
}