body {
  font-family: Arial, sans-serif;
  margin: 0;
  padding-bottom: 25px;
  background-color: #fafafa;
}

.canvas-container {
  text-align: center;
}

.canvas-container > img {
  opacity: 10%;
}

canvas {
  cursor: pointer;
  opacity: 100%;
  margin-top: 30px;
}

h1 {
  font-size: 40px;
  text-align: left;
  text-decoration: none;
  position: absolute;
}

.speak-text {
  margin-top: 100px;
  margin-left: 10%;
  margin-right: 10%;
  line-height: 1.6;
}

h1 a {
  color: rgb(0, 0, 0);
  text-decoration: none;
}

.image-container {
  position: absolute;
  width: 230px;
  height: 130px;
}

.sadek-image {
  width: 100%;
  height: 100%;
}

nav {
  padding: 25px;
  display: flex;
  justify-content: center;
  color: white;
  background-color: #ffffff;
}

nav ul li {
  display: inline-block;
  margin-right: 24px;
  padding: 10px 24px;
  font-size: 24px;
  color: rgb(0, 0, 0);
  border: none;
}

nav ul li a {
  text-decoration: none;
  color: rgb(0, 0, 0);
  transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -webkit-transition: .25s ease-in-out;
}

nav ul li a:hover {
  color: #6e7072;
  opacity: 50%;
  transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -webkit-transition: .25s ease-in-out;
}

.hero {
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 48px;
  position: absolute;
  width: 100%;
}

.controls {
  margin-top: 20px;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.sub-title {
  color: #2c2c2ca2;
  font-size: 24px;
  width: 100%;
  top: 50%;
}

.center {
  top: 35%;
}

.mid {
  top: 30%;
}

.top {
  margin-top: 30px;
}

#mute {
  font-size: 25px;
}

.circ {
  padding: 30px;
  font-size: 30px;
  margin: 25px;
  border-radius: 1000px;
}

.mic {
  padding: 100px;
  font-size: 25px;
}

input {
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
  text-align: center;
  width: 300px;
}

input:focus {
  outline: .5px solid #858585;
}

button {
  background-color: #e7e7e7;
  color: #000000;
  padding: 8px 24px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s ease;  
}

button:hover {
  background-color:  
 #b0b0b0;
}

button:active {
  background-color:  
 #858585;
}

.transcript-container {
  height: 500px;
  overflow-y: auto;
  padding: 0px 24px 24px 24px;
  border: 1px solid #ccc;
  border-radius: 1px;
  width: 50%;
  margin: 0 auto;
  align-items: center;
}

.transcript {
  white-space: pre-wrap;
  font-family: monospace;
  font-size: 24px;
  color: #333;
  text-align: left;
}

.grid-container {
  display: grid;
  gap: 32px;
}

.grid-container > div {
  justify-self: center;
  width: 75%;
  background-color: rgba(229, 229, 229, 0.764);
  padding: 32px;
  font-size: 32px;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}

.hist-container {
  display: grid;
  gap: 22px;
  margin-top: 30px;
  padding: 30px;
  border-radius: 8px;
  background-color: rgba(229, 229, 229, 0.764);
}

.job-container {
  display: grid;
  gap: 22px;
  padding: 40px 30px 20px 30px;
}

.job-container > div {
  background-color: rgba(229, 229, 229, 0.764);
  padding: 32px;
  font-size: 32px;
  position: relative;
  border-radius: 8px;
  cursor: pointer;
}

.del {
  position: absolute;
  top: 22px;
  right: 112px;
  color: rgb(137, 60, 60);
  user-select: none;
}

.dl {
  position: absolute;
  top: 23px;
  right: 112px;
  user-select: none;
}

.stop {
  position: absolute;
  top: 23px;
  right: 112px;
  color: rgb(137, 60, 60);
  user-select: none;
}

.hist {
  position: absolute;
  top: 23px;
  right: 224px;
  user-select: none;
}

.data {
  position: absolute;
  top: 23px;
  right: 336px;
  user-select: none;
}

.arrow {
  position: absolute;
  right: 16px;
  top: 4px;
  font-size: 64px;
  user-select: none;
}

.content {
  width: 100%;
  height: 100%;
  justify-items: center;
  justify-content: center;
  padding-top: 330px;
  margin-top: 80px;
}

.container {
  left: 0;
  right: 0;
  position:sticky;
  margin-left: auto;
  margin-right: auto;
  width: 75%;
  padding: 32px;
  border-radius: 8px;
  background: #f1f1f1;
}

.close-container {
  cursor: pointer;
  padding: 32px;
  position: absolute;
  right: 0px;
  top: 0px;
}

.close-container > div {
  position: absolute;
  color: #9292927d;
  top: 20px;
  right: 24px;
  user-select: none;
}

.pointer {
  cursor: pointer;
}

.title {
  font-size: 25px;
  font-weight: 500;
  position: relative;
  text-align: left;
  width: 90%;
}

.title:before {
  content: "";
  position: absolute;
  bottom:0;
  height: 3px;
  width: 30px;
  background: linear-gradient(135deg, #57abff, #f1e05f);
}

.job-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 20px 0 12px 0;
  text-align: left;
}

.job-details .input-box {
  width: calc(100% / 2 - 20px);
}

.job-details .text-box {
  width: 100%;
}

.details {
  padding-top: 30px;
  margin-bottom: 5px;
  font-weight: 500;
  display: block;
}

.collection {
  background-color: rgba(229, 229, 229, 0.764);
  padding: 50px;
  border-radius: 8px;
  margin-bottom: 20px;
}

.job-details .input-box input,
.job-details .text-box textarea,
.job-details .input-box select {
  text-align: center;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid #ccc;
  border-bottom-width: 2px;
  transition: border-color 0.3s ease;
  background-color: #ffffff;
  display: block;
}

.job-details .input-box input,
.job-details .input-box select {
  height: 45px;
  font-size: 16px;
}

.job-details .text-box textarea {
  min-height: 45px;
  max-height: 400px;
  font-size: 20px;
  resize: vertical;
  padding: 15px 50px 10px 50px;
  box-sizing: border-box;
}

.job-details .input-box input:focus,
.job-details .input-box input:valid,
.job-details .text-box textarea:focus,
.job-details .text-box textarea:valid,
.job-details .input-box select:focus,
.job-details .input-box select:valid {
  border-color: #0563C3;
}

.job-details .input-box input:read-only:not(input[name="daterange"], input[name="datetimerange"]) {
  border: 0;
  box-shadow: none;
  background-color: #ddd;
}

.job-details .input-box input:read-only {
  user-select: none;
}

.button {
  height: 45px;
  margin: 45px 0px 5px 0px;
}

.button input:hover {
  background: linear-gradient(135deg, #0563C3, #FEDF01);
}

.button input {
  height: 100%;
  width: 100%;
  outline: none;
  border: none;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: 1px;
  border-radius: 5px;
  color: #ffffff;
  background: linear-gradient(135deg, #57abff, #f1e05f);
}

.button input:hover {
  background: linear-gradient(135deg, #0563C3, #FEDF01);
}

/* mid res desktop & ipad */
@media (max-width:1750px) {

  h1 {
    font-size: 40px;
    padding: 0px 0px 0px 40px;
  }

  .image-container {
    position: absolute;
    width: 219px;
    height: 123px;
  }

  .hero {
    font-size: 34px;
  }

  .top {
    margin-top: -50px;
  }

  .content {
    padding-top: 150px;
  }

  nav {
    justify-content: right;
  }

  nav ul li {
    margin-right: 70px;
    padding: 10px 5px;
    font-size: 18px;
  }
}

@media (max-width:641px) {

  .container {
    padding: 24px;
  }

  .collection {
    padding: 10px 5px 10px 5px;
  }

  .job-details .text-box textarea {
    resize: none;
    padding: 15px 10px 10px 10px;
  }

  .image-container {
    position: absolute;
    width: 179px;
    height: 100px;
  }

  #run {
    padding-bottom: 500px;
  }

  .job-details .input-box {
    width: 100%;
  }

  .center {
    top: 30%;
  }

  h1 {
    font-size: 24px;
    padding: 9px 0px 0px 20px;
  }

  .hero {
    font-size: 30px;
  }

  .content {
    padding-top: 150px;
  }

  .top {
    margin-top: -65px;
  }

  .sub-title {
    font-size: 14px;
  }

  nav {
    justify-content: right;
  }

  nav ul li {
    margin-right: 16px;
    padding: 0;
    font-size: 14px;
  }

  input {
    width: 200px;
  }
}

@media (max-width: 410px) {

  .image-container {
    position: absolute;
    width: 180px;
    height: 100px;
  }

  #run {
    padding-bottom: 500px;
  }

  h1 {
    font-size: 20px;
    padding: 15px 0px 0px 20px;
  }

  .hero {
    font-size: 30px;
  }

  .content {
    padding-top: 150px;
  }

  .top {
    margin-top: -65px;
  }

  .sub-title {
    font-size: 14px;
  }

  nav {
    justify-content: right;
  }

  nav ul li {
    margin-right: 12px;
    padding: 0;
    font-size: 14px;
  }
}

.lds-ellipsis,
.lds-ellipsis div {
  box-sizing: border-box;
}
.lds-ellipsis {
  display: inline-block;
  position: relative;
  width: 80px;
  height: 80px;
}
.lds-ellipsis div {
  position: absolute;
  top: 33.33333px;
  width: 13.33333px;
  height: 13.33333px;
  border-radius: 50%;
  background: currentColor;
  animation-timing-function: cubic-bezier(0, 1, 1, 0);
}
.lds-ellipsis div:nth-child(1) {
  left: 8px;
  animation: lds-ellipsis1 0.6s infinite;
}
.lds-ellipsis div:nth-child(2) {
  left: 8px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(3) {
  left: 32px;
  animation: lds-ellipsis2 0.6s infinite;
}
.lds-ellipsis div:nth-child(4) {
  left: 56px;
  animation: lds-ellipsis3 0.6s infinite;
}
@keyframes lds-ellipsis1 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(1);
  }
}
@keyframes lds-ellipsis3 {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(0);
  }
}
@keyframes lds-ellipsis2 {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(24px, 0);
  }
}