body, html {
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Segoe UI', Arial, sans-serif;
  box-sizing: border-box;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
}

.background {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: url('background.png') no-repeat center center/cover;
  z-index: 0;
}

.prayer-time {
  position: fixed;
  top: 32px;
  left: 32px;
  color: white;
  font-size: 1.5rem;
  font-weight: 500;
  z-index: 2;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.logo {
  position: fixed;
  left: 15px;
  bottom: 20px;
  width: 300px;
  height: auto;
  z-index: 2;
}

.events-box {
  position: fixed;
  right: 32px;
  bottom: 32px;
  min-width: 320px;
  max-width: 400px;
  background: rgba(255,255,255,0.85);
  border-radius: 18px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  padding: 28px 32px 24px 32px;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.events-box h2 {
  margin: 0 0 16px 0;
  font-size: 1.4rem;
  color: #222;
  font-weight: 600;
}

#events-list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#events-list li {
  margin-bottom: 14px;
  padding: 12px 16px;
  background: rgba(240,240,240,0.85);
  border-radius: 10px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.04);
  display: flex;
  flex-direction: column;
  font-size: 1.08rem;
}

#events-list li:last-child {
  margin-bottom: 0;
}

.event-name {
  font-weight: 500;
  color: #1a1a1a;
}

.event-time {
  font-size: 0.98rem;
  color: #555;
  margin-top: 2px;
}

@media (max-width: 700px) {
  .events-box {
    right: 12px;
    bottom: 12px;
    min-width: 220px;
    max-width: 95vw;
    padding: 16px 12px 12px 12px;
  }
  .logo {
    left: 12px;
    bottom: 12px;
    width: 80px;
  }
} 