@font-face {
    font-family: 'font-cua-thao';
    src: url('./src/fonts/BRUSHSCI.TTF');
}

body{
    background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
    font-family: 'Dancing Script', cursive;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}



.container{
    display: flex;
    height: 100vh;
}
.form-container{
    background: #fff;
    width: 500px;
    max-width: 80%;
    padding: 10px 25px;
    border-radius: 5px;
    margin: auto;
}

.form-group{
    display: flex;
    flex-direction: column;
    margin: 15px 0px;
}

.title-app{
    padding: 0;
    margin: 0;
    font-size: 40px;
    font-weight: bold;
}

label{
font-size: 30px;
}

textarea{
    outline: none;
    font-size: 18px !important;
    height: 180px;
}

#text, #voiceSelect{
    border-radius: 3px;
    border: none;
    box-shadow: 1px 1px 5px rgb(110, 3, 83);
    margin-top: 5px;
    outline: none;
    
    padding: 5px;
}

#voiceSelect{
    padding: 10px 5px;
    font-size: 18px !important;
    background: white;
    overflow-y: hidden;
    
}



.button_convert{
    background: rgb(109,3,128);
    background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
    box-shadow: 1px 1px 5px rgb(143, 106, 134);
    border: none;
    margin: 7px 0;
    font-size: 20px;
    
    color: #fff;
    cursor: pointer;
    padding: 10px ;
}

.form-group.speed {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    align-content: center;
    flex-wrap: nowrap;
    flex: 6;
    width: 100%;
}

.form-group.speed > * {
    margin: 0px 5px;
}
input[type="range"] {
	-webkit-appearance: none;
	margin: 18px 0;
	width: 100%;
	position: relative;
}
input[type="range"]:focus {
	outline: none;
}
input[type="range"]::-webkit-slider-runnable-track {
	width: 100%;
	height: 10px;
	cursor: pointer;
	box-shadow: none;
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
	border-radius: 5px;
	border: none;
}
input[type="range"]::-webkit-slider-thumb {
	box-shadow: none;
	border: 5px double rebeccapurple;
	height: 20px;
	width: 20px;
	border-radius: 50%;
	background: #ffffff;
	cursor: pointer;
	-webkit-appearance: none;
	margin-top: -5px;
}
input[type="range"]:focus::-webkit-slider-runnable-track {
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
}
input[type="range"]::-moz-range-track {
	width: 100%;
	height: 3px;
	cursor: pointer;
	/*   box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d; */
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
	border-radius: 1.3px;
	/*   border: 0.2px solid #010101; */
}
input[type="range"]::-moz-range-thumb {
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
	/*   border: 1px solid #000000; */
	height: 55px;
	width: 55px;
	border-radius: 50%;
	background: #ffffff;
	cursor: pointer;
	/* 	z-index: 2;
	position: relative; */
	opacity: 0;
}
input[type="range"]::-ms-track {
	width: 100%;
	height: 8.4px;
	cursor: pointer;
	background: transparent;
	border-color: transparent;
	/*   border-width: 16px 0; */
	color: transparent;
}
input[type="range"]::-ms-fill-lower {
	background: #2a6495;
	border: 0.2px solid #010101;
	border-radius: 2.6px;
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type="range"]::-ms-fill-upper {
	/*   background: #3071a9; */
	border: 0.2px solid #010101;
	border-radius: 2.6px;
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
}
input[type="range"]::-ms-thumb {
	box-shadow: 1px 1px 1px #000000, 0px 0px 1px #0d0d0d;
	border: 1px solid #000000;
	height: 36px;
	width: 16px;
	border-radius: 3px;
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
	cursor: pointer;
}
input[type="range"]:focus::-ms-fill-lower {
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
}
input[type="range"]:focus::-ms-fill-upper {
	background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
}

#previe_speed{
    width: 40px;
    height: 40px;
    background: rgb(109,3,128);
background: linear-gradient(83deg, rgba(109,3,128,1) 0%, rgba(160,45,253,1) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    position: absolute;
    right: 0;
    top: -20px;
}

#button_pause{
    display: none;
}

.error-text{
    box-shadow: 1px 1px 5px red !important;
    /* border: 1px solid red !important; */
    animation: shake 0.82s cubic-bezier(.36,.07,.19,.97) both;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;
  perspective: 1000px;
}

.error-text::placeholder{
    color: red;
}

@keyframes shake {
    10%, 90% {
      transform: translate3d(-1px, 0, 0);
    }
    
    20%, 80% {
      transform: translate3d(2px, 0, 0);
    }
   
    30%, 50%, 70% {
      transform: translate3d(-4px, 0, 0);
    }
   
    40%, 60% {
      transform: translate3d(4px, 0, 0);
    }
  }

  #voiceSelect::-webkit-scrollbar {
    width: 6px;
    background-color: #F5F5F5;
} 

  #voiceSelect::-webkit-scrollbar-thumb {
    background: rgb(109,3,128);
}

.not-allowed{
    pointer-events: none !important;
    cursor: not-allowed !important;
}
