.displayNone {
  display: none;
}
.hidden {
  visibility: hidden;
}

body {
  overflow-x: hidden;
}

.speech {
  padding: 40px;
}

.speech > p {
  color: #af0000;
  font-weight: bold;
  font-size: 60px;
  text-align: center;
}
.speech > p span {
  color: #314053;
  font-size: 60px;
  font-family: 'Poppins', sans-serif;
}

.containerSpeech {
  display: flex;
  margin-top: 50px;
  gap: 40px;
}

.containerSpeech .generarDialogo {
  width: 50%;
}
.containerSpeech .generarDialogo .botones {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.containerSpeech .generarDialogo button {
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}
.containerSpeech .generarDialogo .btnIniciar {
  background-color: #363636;
  color: #e20000;
}
.containerSpeech .generarDialogo .btnDetener {
  background-color: #c62d03;
  display: none;
  gap: 4px;
}

.containerSpeech .generarDialogo .textareas {
  padding: 20px;
}
.containerSpeech .generarDialogo textarea {
  height: 140px;
  font-family: 'Poppins', sans-serif;
  padding: 10px;
  border-radius: 4px;
  box-shadow: 0 0 5px 0 #cacaca;
  max-width: 100%;
}
.containerSpeech .generarDialogo textarea {
  border: 2px solid #af0000;
}

.containerSpeech .generarDialogo i {
  display: block;
  text-align: center;
  margin: 20px auto;
}

.containerSpeech .listaDialogos {
  width: 50%;
  height: calc(100vh - 250px);
  overflow-y: scroll;
  scroll-behavior: smooth;
  padding: 5px;
}

.containerSpeech .cardDialogo {
  width: 100%;
  padding: 20px;
  border: 1px dashed #bbb;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 20px;
  position: relative;
}
.containerSpeech .cardDialogo div {
  position: relative;
  padding-right: 25px;
}
.containerSpeech .cardDialogo div .copy {
  position: absolute;
  top: 0;
  right: 0;
}

/* ~ Equalizer */
.equalizer {
  font-size: 0;
  text-align: center;
}
.equalizer-bar {
  transition: transform 150ms linear;
  display: inline-block;
  background: rgba(255, 255, 255, 0.7);
  width: 3px;
  height: 20px;
  border-radius: 1px;
  margin: 0 1px;
  transform: scaleY(0.1);
  transform-origin: center center;
}

.btnCerrarSesion {
  background-color: #2c3e50;
  color: white;
  text-transform: uppercase;
  font-weight: bold;
  padding: 10px 15px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  position: absolute;
  bottom: 20px;
  left: 20px;
}

/* Card Squeleton */
.cardSqueleton{
  width: 100%;
  background: #fff;
  padding: 25px;
  border-radius: 10px;
  border: 1px solid #d9d9d9;
}
.card .header{
  display: flex;
  align-items: center;
}
.description .img{
  height: 55px;
  width: 55px;
  background: #d9d9d9;
  border-radius: 50%;
  position: relative;
  overflow: hidden;
}
.header .details{
  margin-left: 20px;
}
.details span{
  display: block;
  background: #d9d9d9;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.details .name{
  height: 15px;
  width: 100px;
}
.details .about{
  height: 13px;
  width: 150px;
  margin-top: 10px;
}
.card .description{
  margin: 25px 0;
}
.description .line{
  background: #d9d9d9;
  border-radius: 10px;
  height: 13px;
  margin: 10px 0;
  overflow: hidden;
  position: relative;
}
.description .line-1{
  width: calc(100% - 15%);
}
.description .line-3{
  width: calc(100% - 40%);
}
.card .btns{
  display: flex;
}
.card .btns .btn{
  height: 45px;
  width: 100%;
  background: #d9d9d9;
  border-radius: 25px;
  position: relative;
  overflow: hidden;
}
.btns .btn-1{
  margin-right: 8px;
}
.btns .btn-2{
  margin-left: 8px;
}
.header .img::before,
.details span::before,
.description .line::before,
.btns .btn::before{
  position: absolute;
  content: "";
  height: 100%;
  width: 100%;
  background-image: linear-gradient(to right, #d9d9d9 0%, rgba(0,0,0,0.05) 20%, #d9d9d9 40%, #d9d9d9 100%);
  background-repeat: no-repeat;
  background-size: 450px 400px;
  animation: shimmer 1s linear infinite;
}
.header .img::before{
  background-size: 650px 600px;
}
.details span::before{
  animation-delay: 0.2s;
}
.btns .btn-2::before{
  animation-delay: 0.22s;
}
@keyframes shimmer {
  0%{
    background-position: -450px 0;
  }
  100%{
    background-position: 450px 0;
  }
}
