.content-element {
  background-color: transparent;
  overflow-y: auto;
  opacity: 0;
  transform: scale(0);
  transition: opacity 0.5s, transform 0.5s;
  margin: 20px auto 0;
  height: 255px;
  display: flex;
  flex-direction: column;
}

#submit-button {
  border-radius: 5px;
  border: 3px solid #FFFFFF;
  padding: 5px 10px;
  font-size: 20px;
  font-weight: 600;
  text-align: center;
  margin: 10px auto 0;
  width: 150px;
  background-color: transparent;
}

.content-element code {
  font-family: "Courier New", monospace;
  font-size: 14px;
  outline: none;
  display: block;
  color: #fff;
  tab-size: 2;
  padding: 0.5rem 10px;
  background-color: #3b3b3b;
  border-radius: 0.25rem;
  line-height: 1.2;
  overflow-x: hidden; /* Hide horizontal scrollbar */
  overflow-y: auto;
  white-space: pre-wrap;
  margin: 0 0 10px;
  flex-grow: 1;
}
@media all and (min-width: 768px) and (max-height: 820px) {
  .content-element code {
    min-height: 25em;
    max-height: 25em;
  }
}

@media all and (max-width: 768px) {
  .content-element code {
    min-height: auto;
    max-height: none;
    height: 100%;
  }
}

.content-element .keyword {
  color: #ff9a8a;
}

.content-element .function {
  color: #8052ff;
}

.content-element .string {
  color: #1ca2a8;
}

.content-element .variable {
  color: #f1f1f1;
}

.content-element .cursor {
  position: absolute;
  top: 0em; /* Adjust the top position as needed */
  left: 0px;
  font-family: monospace;
  color: #000;
  animation: blink 1s infinite;
  display: none;
}

@keyframes blink {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.content-element .cursor::after {
  content: "_";
  position: absolute;
  top: 0;
  left: 0px; /* Adjust the value as needed */
  font-family: monospace;
  color: #ffffff;
}

.countdown-timer {
  position: absolute;
  bottom: 5px;
  right: 5px;
  font-family: monospace;
  color: #ffffff;
}

.progressbar {
  position: absolute;
  bottom: 10px;
  right: 20px;
  left: 20px;
}

.w3-blue {
  background-color: #006575;
}

#circleContainer {
  display: flex;
  margin: 10px 0;
  justify-content: center;
  align-items: center;
}

.circle {
  position: relative;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  margin-right: 0;
  transition: margin-right 0.3s ease, background-color 0.3s ease; /* Add transitions for both properties */
}

#circle1 {
  background-color: rgba(173, 216, 230, 0.7); /* lightblue with transparency */
}

#circle2 {
  background-color: rgba(240, 128, 128, 0.7); /* lightcoral with transparency */
}

.circle span {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
}

#overlapSlider {
  accent-color: #ffffff;
  width: 200px;
  display: block;
  margin: auto;
}

@media all and (max-width: 768px) {
  #overlapSlider {
    width: 130px;
  }
}

#overlapLabel {
  font-size: 16px;
  z-index: 1;
}