* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Noto Sans Georgian", sans-serif;
  background: #f0f4f8;
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 20px;
}

.container {
  max-width: 900px;
  width: 100%;
}

h1,
p {
  text-align: center;
  margin-bottom: 20px;
  color: #2c3e50;
}

.subject {
  background: white;
  margin-bottom: 12px;
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  overflow: hidden;
}

.subject-header {
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 18px;
  background: #ecf0f3;
  transition: background 0.3s;
  border-bottom: 2px solid #ddd;
}

.subject-header:hover {
  background: #dce3e7;
}

.subject-header span {
  display: flex;
  align-items: center;
  gap: 12px;
}

.classes {
  max-height: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background: #f9fbfd;
  transition: max-height 0.4s ease;
  padding: 0 10px;
}

.class-button {
  margin: 10px 0;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: #e3eaf0;
  font-size: 16px;
  cursor: pointer;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.class-button:hover {
  background: #d1dce5;
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(73, 160, 46, 0.514);
}

.arrow {
  transition: transform 0.3s;
}

.rotate {
  transform: rotate(90deg);
}

@media (max-width: 600px) {
  .subject-header {
    align-items: flex-start;
  }
}

.hidden {
  display: none;
}

#downloadMessage {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  background-color: #4caf50;
  color: white;
  padding: 10px 20px;
  border-radius: 5px;
  font-size: 1.2em;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  transition: opacity 0.5s ease;
}
