*{
	font-family: "Nunito Sans", sans-serif;
  margin: 0;
}

body {
  overflow-x: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  background-color: #1f1f1f;
  color: #efefef;
}

.checkbox-container{
  display: flex;
  justify-content: space-between;
  width: 22rem;
}

.mr-2{
  margin-right: 0.5rem;
}

.my-5{
	margin-top: 1.25rem;
  margin-bottom: 1.25rem;
}

.container {
	display: flex;
	justify-content: center;
	align-items: center;
	flex-direction: column;
	width: 90%;
	min-height: 65vh;
	padding: 1rem;
	background-color: #2f2f2f;
	border-radius: 15px;
}

.right, .left {
	display: flex;
	flex-direction: column;
	align-items: center;
}

#result {
	font-family: "Courier New", Courier, monospace;
}

.preview {
	display: none;
}

.logo{
	width: 240px;
	height: 500/145 * width;
	padding: 0;
}

header{
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
}

button {
	height: inherit;
	padding: 14px 30px;
	background-color: #D3031B;
	text-decoration: none;
	color: #F8F8F8;
	border: none;
	font-weight: bold;
}

.record {
  height: 58px;
}

button:hover {
	cursor: pointer;
}

.inputfile {
	width: 0.1px;
	height: 0.1px;
	opacity: 0;
	overflow: hidden;
	position: absolute;
	z-index: -1;
}

.inputfile + label {
  font-size: 1em;
  font-weight: 700;
  color: black;
	padding-right: 0.5rem;
  display: inline-block;
	cursor: pointer;
}

.pointer-cursor{
	cursor: pointer;
}
.checkbox{
	accent-color: #D3031B;
	width: 1.5em;
	height: 1.5em;
	background-color: transparent;
	border-radius: 0.5em;
	border: 0.15em solid;
}

#time{
	font-size: 1rem;
}

.border-none{
	border: transparent;
}

.wrapper, .audio-container{
	display: flex;
	align-items: center;
	justify-content: center;
}

.checkbox_wrapper{
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.9rem;
	margin-bottom: 2em;
	gap: 10px;
}

.checkmark {
	font: inherit;
	top: 0;
	left: 0;
	height: 25px;
	width: 25px;
	background-color: #eee;
	margin-bottom: 5;
}

details{
	padding: 1rem;
}

.bg-red{
	background-color: #d3031b;
}
.ml-3{
	margin-left: 0.75rem;
}

.bg-white{
	background-color: whitesmoke;
}

.rounded-left{
	border-top-left-radius: 9999px;
	border-bottom-left-radius: 9999px;
}

.rounded-right{
	border-top-right-radius: 9999px;
	border-bottom-right-radius: 9999px;
}

.rounded-full{
	border-radius: 9999px;
}

.upload{
	color: black;
}

.section{
	margin: 1.5rem 0;
	padding: 1rem;
	width: 40vw;
	min-width: 40vw;
	max-width: 40vw;
	border-radius: 1.5rem;
	font-weight: normal;
	color: #1f1f1f;
  background-color: #d9d9d9;
}

.result-text{
	margin-top: 0.4rem;
	font-size: 1.5rem;
	font-family: "Courier New", Courier, monospace;
}

.hide{
	display: none;
}

/* elastic dots */

.snippet{
	margin-top: 1rem;
}

.dot-elastic {
  position: relative;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: white;
  color: white;
  animation: dot-elastic 1s infinite linear;
}
.dot-elastic::before, .dot-elastic::after {
  content: "";
  display: inline-block;
  position: absolute;
  top: 0;
}
.dot-elastic::before {
  left: -15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: white;
  color: white;
  animation: dot-elastic-before 1s infinite linear;
}
.dot-elastic::after {
  left: 15px;
  width: 10px;
  height: 10px;
  border-radius: 5px;
  background-color: white;
  color: white;
  animation: dot-elastic-after 1s infinite linear;
}

@keyframes dot-elastic-before {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(1, 1.5);
  }
  50% {
    transform: scale(1, 0.67);
  }
  75% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes dot-elastic {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1, 1.5);
  }
  75% {
    transform: scale(1, 1);
  }
  100% {
    transform: scale(1, 1);
  }
}
@keyframes dot-elastic-after {
  0% {
    transform: scale(1, 1);
  }
  25% {
    transform: scale(1, 1);
  }
  50% {
    transform: scale(1, 0.67);
  }
  75% {
    transform: scale(1, 1.5);
  }
  100% {
    transform: scale(1, 1);
  }
}

@media (max-width: 768px) {
	.logo {
		width: 170px;
	}
	.header_title {
		font-size: 14px;
	}
  .container {
    justify-content: flex-start;
    margin-top: 1em;
  }
  .checkbox-container {
    margin-bottom: 1em;
    justify-content: space-around;
  }
  .my-5 {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  .record {
    height: 55px;
  }
  audio#recording {
    width: 220px;
    height: 48px;
  }
  button {
    font-size: 12px;
    padding: 14px 25px;
  }
  .inputfile + label {
    font-size: 13px;
  }
  .section {
    width: 90%;
    max-width: 90%;
  }
  .upload {
    margin-bottom: 1.5em;
  }
}