.poem {
  font-size: 28px;
}

table {
  table-layout: fixed;
  width: 100%;
}

td {
  width: 50%;
  vertical-align: top;
}

.story-section {
  background-color: #a4e6d9;
}

.blocked {
  background-color: #222222;
  transition: background-color 0.5s ease-in-out;
  transition: opacity 0.5s ease-in-out;
  border-radius: 8px;
}

.faded {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  border-radius: 8px;
}

span {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
  transition: background 0.5s ease-in-out;
  border-radius: 8px;
}

span.close {
  position: absolute;
  top: 10px;   /* προσαρμόστε ανάλογα */
  right: 10px; /* προσαρμόστε ανάλογα */
  font-size: 24px;
  font-weight: bold;
  color: #333;
  cursor: pointer;
}

span.close:hover {
  color: #bbbaba;
}

.story {
  font-size: 18px;
  text-align: justify;
  margin-top: 5px;
  line-height: 1.5;
}

h3 {
  padding-top: 1em;
}

div.menu {
  background: #333333;
  padding: 5px;
  border: 1px solid black;
}

.marked {
  background-color: Gold;
}

/*div.btn.save {
  background: green;
  text-align: center;
}

div.btn.print {
  background: goldenrod;
  text-align: center;
}

div.btn.newLine {
  background: rgb(174, 30, 174);
  text-align: center;
}

div.btn.blockOut {
  background: rgb(86, 124, 231);
  text-align: center;
}

div.btn.clearMarked {
  background: DarkOrange;
  text-align: center;
}

div.btn.reset {
  background: OrangeRed;
  text-align: center;
}*/

div.btn {
  border-radius: 8px;
  background: rgb(219, 219, 219);
  border: 2px solid #a4e6d9;
  /*display: inline-block;*/
  vertical-align: middle;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px;
  margin: 4px 4px 4px 4px;
  padding: 5px 5px 5px 5px;
}

div.btn:hover {
  cursor: pointer;
  background: rgb(194, 193, 193);
}

.active {
  background: yellow;
}

.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 1; /* Sit on top */
  width: 80%; /* Width */
  height: auto; /* Adjust according to content */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(254, 255, 200); /* Light Gray */
 

  /* Centering settings */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);

  /* Border details */
  border: 2px solid black;
  margin: 4px 4px 4px 4px;
  padding: 5px 5px 5px 5px;
  

  /* Focus details - modify color, spread, blur as per need */
  box-shadow: 0 0 10px 3px rgba(0, 0, 0, 0.3);
}

.modal-content {
  /* Flex settings */
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  cursor: pointer;

  /* Text settings */
  color: black;

  /* New Text alignment setting */
  text-align: center;
  position: relative; 
}

.next-line {
  background-color: red; /* this can be any color you like */
}

.uploadStory:hover{
  cursor: pointer;
  background: rgb(194, 193, 193);
}

.poem::after {
  content: "|";
  animation: blink 1s step-start infinite;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}
