body {
  font-family: Arial, Helvetica, sans-serif;
  background-color: #0f0f0f;
  }

a:link{
      color: white;
      -webkit-text-decoration: none;
      text-decoration: none;
    }
    
a:visited {
      color: white;
      -webkit-text-decoration: none;
      text-decoration: none;
    }
    
a:hover {
      color: white;
      -webkit-text-decoration: none;
      text-decoration: none;
    }
    
a:active {
      color: white;  
      -webkit-text-decoration: none;
      text-decoration: none;
    }

.stage {
  position: absolute;
  }

.textbox{
  background-blend-mode: screen;
  background-color: rgb(70, 70, 70);
  color: aliceblue;
  opacity: 0.8;
  padding: 10px;
  border-radius: 5px;
  left: 50%;
  font-size: .8em;
  text-align: center;
}

.textbox p{
  font-style: italic;
  line-height: 0.5;
}
.textbox h3 {
  font-weight: normal;
}

.pageviews {
  font-style: normal;
  font-size:xx-large; 
  border-style: solid; 
  padding: 2px;
}

.textbox br {
  line-height: 0.5;
}

@media (min-width: 1025px) {
  #timelapse-image {
    max-height: 85vh;
    object-fit: contain;
  }
  .textbox{
  max-width: 80%;
  margin: 20px auto;
  }
}

.comment_container {
  max-width: 80%;
  margin: 20px auto;
  font-size: .8em;
  box-sizing: border-box;
}

.comment-box, .comment-section {
  background-color: rgb(70, 70, 70);
  opacity: 0.8;
  color: white;
  padding: 10px;
  border-radius: 5px;
  box-sizing: border-box;
}

.comment-box {
  font-family: Arial, Helvetica, sans-serif;
  display: flex;
  gap: 5px;
  align-items: center;
}

.comment-box input, 
.comment-box textarea, 
.comment-box button {
  font-family: Arial, Helvetica, sans-serif;
  padding: 5px 10px;
  font-size: 16px;
  box-sizing: border-box;
}

.comment-box input {
  width: 20%;
  height: 35px;
}

.comment-box textarea {
  width: 70%;
  height: 35px;
  resize: vertical;
  min-height: 35px;
  max-height: 100px;
  overflow-y: auto;
}

.comment-box button {
  width: 15%;
  height: 35px;
  background: rgb(96, 0, 128);
  color: white;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.comment-section {
  margin-top: 20px;
  max-height: 200px;
  overflow-y: auto;
}

.comment {
  border-bottom: 1px solid #ddd;
  padding: 5px;
}

/* Mobile responsive */
@media (max-width: 1024px) {
  
  .comment_container {
    max-width: 95%;
    padding: 10px;
    margin-top: 10x; /* Reduced top margin for mobile */
  }

  .comment-box {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    width: 100%;
  }

  .comment-box input, 
  .comment-box textarea,
  .comment-box button {
    width: 100%;
    margin: 0;
  }

  .comment-box textarea {
    min-height: 60px;
    max-height: 150px;
  }
}