.firstpage{
  position: relative;
  text-align: center;
  margin-top: 60px;
  background-color: rgb(225, 232, 239);
  border-radius: 4px;
  padding: 0 5px;
  width: 700px;
}



table {
  border-collapse: collapse;
  width: 700px;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}

th, td {
  border: 1px solid black;
  padding: 5px; /* Adjusted padding */
  text-align: left;
  vertical-align: top; /* Important for alignment */
  line-height: 1.2; /* Adjust Line-height */
}

/* Farbanpassungen der Spaltenüberschriften */
th:nth-child(1) { /* Monat */
  background-color: rgba(255, 215, 0, 0.3); /* Gold */
}

th:nth-child(2) { /* Kinder */
  background-color: rgba(0, 255, 0, 0.2);   /* Grün */
}

th:nth-child(3) { /* Junge und Erwachsene */
  background-color: rgba(165, 73, 16, 0.292);  /* Orange */
}

/* Farbanpassungen der Tabellenzellen (td) */
td:nth-child(1) { /* Monat */
  background-color: rgba(221, 178, 36, 0.555); /* Gold */
  font-weight: bold;
  color: rgb(205, 104, 10);
}

td:nth-child(2) { /* Kinder */
  background-color: rgba(8, 131, 98, 0.514); /* Grün */
}

td:nth-child(3) { /* Junge und Erwachsene */
  background-color: rgba(165, 73, 16, 0.478); /* Orange */
}


/* Specific styles for better layout within the cells */
td > div {
  margin-bottom: 3px; /* Adds a little space between elements in the cell */
}

.date {
  font-weight: bold;
}

.event {
  font-style: italic;
}
.line{
  
  background-color: black;
  height: 0.1px;
  margin-left: -5px;
  margin-right: -5px;
  padding: 0;
  border: none;
}
.ክብረበዓል{
  background-color: yellow;
}
.kein{
  background-color: brown;
  color: white;
}

td:focus, th:focus {
  outline: 2px solid #429383;
  outline-offset: 2px;
}

/* Responsive Design for Smartphones */
@media (max-width: 768px) {
  .firstpage {
    width: 90%; /* Adjust width for smaller screens */
    margin: 20px auto; /* Center the table */
  }
.schedule-image {
  width: 100%;
  height: 250px;
 
}
  table {
    width: 100%; /* Make the table take full width */
    font-size: 14px; /* Reduce font size */
  }

  th, td {
    width: 33.33%; /* Ensure equal width for all columns */
    font-size: 14px; /* Adjust font size for consistency */
  }

  




}

@media (max-width: 475px) {
  .firstpage {
    width: 100%; /* Full width for very small screens */
  }

  table {
    font-size: 14px; /* Further reduce font size */
  }

  th, td {
    padding: 5px; /* Further adjust padding */
    width: 33.33%; /* Ensure equal width for all columns */
  }
}