* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

body {
    background-color: rgb(37, 37, 37);
}

nav {
    background-color: rgb(32, 32, 32);
}

.galeria-nav {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

nav ul {
    height: 5vh;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0 30px;
}

nav ul li {
    list-style: none;
}

nav ul li a {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 1.1rem;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: -60px;
    z-index: 1;
}

.dropdown-button {
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-weight: 700;
    font-size: 1.1rem;
}

.dropdown-menu ul {
    display: flex;
    flex-direction: column;
}

.dropdown-menu ul li {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 10vw;
    min-height: 3vh;
    background-color: gray;
}

.dropdown-menu ul li a{
    color: white;
}

.dropdown:hover .dropdown-menu {
    display: flex;
}

.index {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px 0;
    color: rgb(255, 255, 255);
}

.tabela {
    gap: 20px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    color: rgb(255, 255, 255);
}

.tabela table {
    border-collapse: collapse;
}

.tabela table tr th {
   border: 1px solid black; 
   background-color: green;
   padding: 2.5px 7px;
   color: white;
}

.tabela table tr td {
   border: 1px solid black; 
   padding: 2.5px 7px;
}

.blue {
    background-color: lightskyblue;
    color: white;
}

.yellow {
    background-color: yellow;
    color: rgba(0,0,0);
}

.green {
    background-color: olivedrab;
    color: white;
}

.naglowki {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px 0;
}

.pdf {
    min-height: 90vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px 0;
    color: rgb(255, 255, 255);
}

.pdf button {
    padding: 2vh 4vw;
    cursor: pointer;
}

.pdf button a {
    text-decoration: none;
    color: black;
    font-size: 1.1rem;
    cursor: pointer;
}

.rozwijanatabela {
    min-height: 50vh;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 20px 0;
    color: rgb(255, 255, 255);
}

.rozwijanatabela button {
    padding: 2vh 3vw;
    cursor: pointer;
}

.rozwijanatabela table  {
    border-collapse: collapse;
    display: none;
}

.rozwijanatabela table tr th {
    border: 1px solid black;
    padding: 3px 7px;
}

.rozwijanatabela table tr td {
    border: 1px solid black;
    padding: 3px 7px;
}

    
.calendar {
    background: #1e1e1e;
    border-radius: 12px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.6);
    max-width: 400px;
    width: 100%;
    user-select: none;
    display: flex;
    flex-direction: column;
}
.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 24px;
    border-bottom: 1px solid #333;
    color: rgb(255, 255, 255);
}
.calendar-header button {
    background: none;
    border: none;
    color: #8ab4f8;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.calendar-header button:hover, .calendar-header button:focus {
      background-color: rgba(138, 180, 248, 0.2);
      outline: none;
    }
    .month-year {
      font-weight: 700;
      font-size: 1.25rem;
      letter-spacing: 0.04em;
    }
    .weekdays {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      background: #222;
      padding: 12px 0;
      text-align: center;
      font-weight: 600;
      font-size: 0.85rem;
      color: #8a8a8a;
      border-bottom: 1px solid #333;
    }
    .weekdays div {
      user-select: none;
    }
    .days {
      display: grid;
      grid-template-columns: repeat(7, 1fr);
      gap: 8px;
      padding: 16px 16px 24px 16px;
    }
    .day {
      background: #282828;
      height: 48px;
      border-radius: 12px;
      display: flex;
      justify-content: center;
      align-items: center;
      font-weight: 500;
      font-size: 1rem;
      color: #cfcfcf;
      cursor: default;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .day:hover {
      background-color: #3a3a3a;
    }
    .day.today {
      background: linear-gradient(135deg, #4f46e5, #06b6d4);
      color: white;
      font-weight: 700;
      box-shadow: 0 0 8px #06b6d4;
    }
    .day.empty {
      background: transparent;
      cursor: default;
      color: transparent;
      pointer-events: none;
    }
     @media (max-width: 480px) {
      .calendar {
        max-width: 100%;
      }
      .calendar-header {
        padding: 12px 16px;
      }
      .days {
        gap: 6px;
        padding: 12px 12px 20px 12px;
      }
      .day {
        height: 40px;
        font-size: 0.9rem;
      }
    }

.kalendarz {
    display: flex;
    justify-content: center; 
    align-items: center;
    height: 60vh;
}

.galeria {
    display: flex;
    justify-content: center;
    align-items: centers;
    height: 70vh;
    gap: 50px;
    flex-wrap: wrap;
    color: rgb(255, 255, 255);
}

.galeria .obraz {
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}