html,
body {
  padding-left: 0;
  margin-left: 0;
  padding-right: 0;
  margin-right: 0;
  padding-top: 0px;
  margin-top: 0px;
  background-color: white;
}

#reftexthead {
  font-family: Arial, Helvetica, sans-serif;
  text-align: center;
}

.container {
  margin-left: 0;
  align-items: center;
  border-radius: 0px;
}

#ttscont {
  background-color: rgb(237, 245, 245);
}

#recordcont {
  background-color: rgba(172, 255, 47, 0.055);
}

#recordingsList {
  display: flex;
  justify-content: center;
  align-items: center;
}

#ttsList {
  display: flex;
  justify-content: center;
  align-items: center;
}

textarea {
  width: 100%;
  height: 100px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 0px solid #ccc;
  background-color: #f8f8f8;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  resize: none;
}

#input {
  width: 100%;
  height: 100px;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  background-color: #f8f8f8;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  font-family: Arial, Helvetica, sans-serif;
  resize: none;
}

.button-container {
  width: 100%;
  text-align: center;
  margin-bottom: 20px;
  border-radius: 12px;
}

button {
  padding: 10px 10px;
  width: auto;
  text-align: center;
  font-size: small;
  font-family: Arial, Helvetica, sans-serif;
  border-radius: 12px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  outline: none;
  color: white;
  transition: background-color 200ms linear;
}

button span {
  display: block;
  float: center;
  margin-right: 5px;
  margin-left: 5px;
}

.green-button {
  background-color: #4caf50;
  color: white;
}

.green-button:hover {
  background-color: #3e8e41;
}

.h-button {
  background-color: rgb(77, 155, 155);
  color: white;
}

.h-button:hover {
  background-color: rgb(28, 117, 117);
}

.blue-button {
  background-color: rgb(60, 128, 170);
  color: white;
}

.blue-button:hover {
  background-color: rgb(30, 93, 133);
}

.red-button {
  background-color: #db6247;
  color: white;
}

.red-button:hover {
  background-color: #cc5338;
}


#summarytable {
  border-spacing: 5px;
  margin: 5px;
  display: none;
  justify-content: center;
  align-items: center;
}


#summarytable table,
#scoretable table,
#scoretable th,
#scoretable td {
  border: 0 !important;
  border-collapse: collapse;
  padding: 0px;
  text-align: center;
}

#detailedtable {
  margin: 5px;
  border-spacing: 5px;
  overflow-x: auto;
  display: block;
  justify-content: center;
  align-items: center;
}

#detailedtable table {
  margin: auto;
}

#detailedtable table,
th,
td {
  text-align: center;
  border: 1px solid lightgrey;
  border-collapse: collapse;
  padding: 5px;
}

#ttsloader {
  display: none;
}

#recordloader {
  display: none;
}

#loader {
  position: relative;
  left: 50%;
  top: 50%;
  z-index: 1;
  margin: 0px;
  border: 16px solid #f3f3f3;
  border-radius: 50%;
  border-top: 16px solid #3498db;
  width: 30px;
  height: 30px;
  -webkit-animation: spin 2s linear infinite;
  animation: spin 2s linear infinite;
}

@-webkit-keyframes spin {
  0% {
    -webkit-transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(360deg);
  }
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/* Add animation to "page content" */
.animate-bottom {
  position: relative;
  -webkit-animation-name: animatebottom;
  -webkit-animation-duration: 1s;
  animation-name: animatebottom;
  animation-duration: 1s;
}

@-webkit-keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0px;
    opacity: 1;
  }
}

@keyframes animatebottom {
  from {
    bottom: -100px;
    opacity: 0;
  }

  to {
    bottom: 0;
    opacity: 1;
  }
}

#myDiv {
  display: none;
  text-align: center;
}

footer {
  text-align: center;
  font-size: x-small;
  font-family: Arial, Helvetica, sans-serif;
  font-weight: lighter;
}

/* ...existing code... */
/* @media (max-width: 400px) {
    #scoretable {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        display: block;
    }
    #scoretable table {
        min-width: 250px; 
        margin: 0 auto;
        width: 100%;
    }
    #scoretable td, #scoretable th, #scoretable span {
        font-size: 14px;
        padding: 1px;
    }
    #scoretable div[style*="transform: scale"] {
        transform: none !important;
        width: 100%;
        display: block;
    }
  button {
    font-size: 18px;
  }
} */
