html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background-color: #000;
  font-family: "Open Sans", sans-serif;
  color: white;
}

#videoContainer {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #000;
  overflow: hidden;
}

#videoContainer iframe,
#videoContainer video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  margin: 0;
  padding: 0;
  background-color: #000;
}

#loadingMessage {
  color: white;
  font-size: 26px;
  text-align: center;
  font-family: "Merriweather", serif;
}

#infoBar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  background-color: rgba(0, 0, 0, 0.85);
  padding: 15px 0;
  text-align: center;
  z-index: 100;
  transition: opacity 0.5s ease-in-out;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

#currentlyPlaying {
  font-size: 18px;
  margin-bottom: 5px;
  font-weight: 600;
}

#upNext {
  font-size: 14px;
  opacity: 0.9;
}

#churchLogo {
  position: fixed;
  top: 20px;
  right: 20px;
  background-color: rgba(0, 0, 0, 0.7);
  padding: 10px 15px;
  border-radius: 5px;
  z-index: 100;
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-family: "Merriweather", serif;
}

#liveIndicator {
  position: fixed;
  top: 20px;
  left: 20px;
  background-color: #b30000;
  color: white;
  padding: 6px 12px;
  font-weight: bold;
  border-radius: 4px;
  z-index: 100;
  display: none;
  letter-spacing: 1px;
  font-size: 14px;
  text-transform: uppercase;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

#startScreen {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.9)),
    url("../background.jpg");
  background-size: cover;
  background-position: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 200;
  text-align: center;
}

#startScreen[hidden] {
  display: none;
}

.cross-symbol {
  position: absolute;
  opacity: 0.3;
  z-index: -1;
}

.cross-symbol.large {
  width: 300px;
  height: 450px;
  bottom: -150px;
  right: -100px;
  border: 15px solid rgba(255, 255, 255, 0.15);
  border-bottom: 80px solid rgba(255, 255, 255, 0.15);
}

#scripture {
  position: absolute;
  top: 40px;
  text-align: center;
  width: 100%;
  font-style: italic;
  opacity: 0.7;
  font-size: 16px;
  font-family: "Merriweather", serif;
  padding: 0 20px;
  box-sizing: border-box;
}

.churchLogoLarge {
  width: 180px;
  margin-bottom: 25px;
}

#instructions {
  font-size: 20px;
  margin-bottom: 40px;
  max-width: 80%;
  line-height: 1.5;
}

#startButton {
  background: linear-gradient(to bottom, #d40000 0%, #9a0000 100%);
  color: white;
  font-size: 24px;
  padding: 25px 40px;
  border: 1px solid #800000;
  border-radius: 6px;
  margin-top: 10px;
  cursor: pointer;
  min-width: 300px;
  box-shadow:
    0 8px 15px rgba(0, 0, 0, 0.4),
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.2);
  font-weight: bold;
  transition: all 0.2s ease;
  letter-spacing: 0.5px;
  text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.3);
}

#startButton:hover {
  background: linear-gradient(to bottom, #e60000 0%, #b30000 100%);
  box-shadow:
    0 10px 20px rgba(0, 0, 0, 0.5),
    inset 0 2px 3px rgba(255, 255, 255, 0.3),
    inset 0 -2px 3px rgba(0, 0, 0, 0.2);
}

#startButton:active {
  transform: translateY(3px);
  background: linear-gradient(to top, #d40000 0%, #9a0000 100%);
  box-shadow:
    0 4px 8px rgba(0, 0, 0, 0.3),
    inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

#contactInfo {
  position: absolute;
  bottom: 25px;
  text-align: center;
  width: 100%;
  opacity: 0.7;
  font-size: 14px;
  font-family: "Open Sans", sans-serif;
  padding: 0 20px;
  box-sizing: border-box;
  line-height: 1.5;
}

#contactInfo a {
  color: white;
  text-decoration: underline;
  opacity: 0.8;
  transition: opacity 0.2s ease;
}

#contactInfo a:hover {
  opacity: 1;
}

#scheduleOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 190;
  text-align: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  pointer-events: none;
}

#scheduleTitle {
  font-size: 32px;
  margin-bottom: 30px;
  font-family: "Merriweather", serif;
  font-weight: 700;
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.schedule-container {
  background-color: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 5px;
  padding: 25px 40px;
  margin-bottom: 30px;
  max-width: 80%;
  width: 500px;
  margin-left: auto;
  margin-right: auto;
}

.service-item {
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.service-day {
  font-weight: 700;
  font-size: 18px;
  margin-right: 15px;
  min-width: 100px;
  text-align: right;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.service-time {
  font-size: 18px;
  color: #fff;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
  flex: 0 0 auto;
  text-align: left;
}

#scheduleProgress {
  width: 100%;
  height: 4px;
  background-color: rgba(255, 255, 255, 0.2);
  position: absolute;
  bottom: 0;
  left: 0;
}

#scheduleProgressBar {
  height: 100%;
  background-color: #b30000;
  width: 0%;
  transition: width 7.5s linear;
}
