body {
  background-color: lightgoldenrodyellow;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 10px;
}

/* Orari - tabela */
.njoftime {
  width: 100%;
  max-width: 100%;
  table-layout: fixed;
  word-wrap: break-word;
}
.njoftime td, 
.njoftime th {
  white-space: normal;
  overflow-wrap: break-word;
  word-break: break-word;
}


.njoftime th {
  background: #003366;
  color: white;
  font-size: 14px;
  padding: 8px;
}

.njoftime td {
  border: 1px solid #aaa;
  padding: 12px;
  font-size: 16px;
  text-align: center;
}
/* Kolona e orës vertikale */
.njoftime th:first-child,
.njoftime td:first-child {
    width: 28px;
    min-width: 28px;
    max-width: 28px;
    padding: 2px;
    font-size: 12px;
    font-weight: bold;
    writing-mode: vertical-rl;   /* e bën tekstin vertikal */
    text-orientation: upright;  /* 1 2 3 një mbi tjetrën */
    text-align: center;
}

.njoftime tr:nth-child(even) {
  background: #f2f2f2;
}

/* Grid për të gjitha oraret */
#aktivitete {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
}

#aktivitete > div {
  background: white;
  padding: 1px;
  border-radius: 10px;
  box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

/* Orari kartela normale */
.orar-card {
  background: white;
  padding: 10px;
  border-radius: 10px;
}

/* Orari full span */
.njoftime-full {
  grid-column: 1 / -1;
}

.emri{
    font-size: 30px;
    color: red;
    font-style: italic;
    font-weight: 900;
    text-align: justify;

}
.header {
    overflow-x: auto; /* Lejon scroll horizontal */
    white-space: nowrap;
    padding: 5px;
    font-size: 0px;
    max-width: 100%; 
    box-sizing: border-box; 
    text-align: left; 
    display: flex;
    gap: 0px;
}
.item {
    display: inline-block;
    padding: 5px 10px;
    margin-left: 0; 
}
.header a, .header select {
    text-decoration: none;
    font-size: 16px;
    text-transform: uppercase;
    color: #333;
}
.header select {
    flex: 1;
}
.item {
    display: inline-block;
    padding: 0px;
    margin-left: 70px;
    
    
}
 

/* Responsive për telefon */
@media (max-width: 900px) {
  #aktivitete {
    grid-template-columns: 1fr; /* njëra nën tjetrën */
  }

@media (max-width: 500px) {
  .njoftime th:first-child,
  .njoftime td:first-child {
    width: 22px;
    min-width: 22px;
    max-width: 22px;
    font-size: 10px;
    padding: 1px;
  }
}
}

  .njoftime td {
    font-size: 12px;
    padding: 5px;
  }


