@font-face {
  font-family: 'FFF Forward';
  src: url('FFFFORWA.TTF') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: black;
  color: white;
  font-family: 'Roboto', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 100vh;
  margin: 0;
  padding-top: 120px;
  /* Increased slightly to make room for the dots */
  text-align: center;
  line-height: 1.6;
}

.container {
  max-width: 800px;
  padding: 40px;
  margin-top: 20px;
  box-sizing: border-box;
  width: 100%;
}

h1 {
  font-family: 'FFF Forward', Arial, sans-serif;
  font-size: 2.2em;
  margin-bottom: 30px;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: white;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

#countdown {
  font-family: 'Lucida Console', 'Courier New', monospace;
  font-size: 3.5em;
  font-weight: bold;
  margin-bottom: 50px;
  color: white;
  text-shadow: 0 0 15px rgba(255, 255, 255, 0.7);
}

@keyframes pulse {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.02);
    opacity: 0.95;
  }

  100% {
    transform: scale(1);
    opacity: 1;
  }
}

#countdown span {
  display: inline-block;
  animation: pulse 2s infinite ease-in-out;
}

.subheader {
  font-family: 'Roboto', sans-serif;
  font-size: 1.15em;
  max-width: 650px;
  background-color: rgba(255, 255, 255, 0.05);
  padding: 25px;
  border-radius: 8px;
  color: white;
  margin: 0 auto 30px auto;
  text-align: left;
  border-left: 5px solid #FFD700;
}

/* Sticky Top Quote Bar Styling */
.top-quote-bar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  background-color: rgba(20, 20, 20, 0.95);
  padding: 15px 30px 10px 30px;
  border-bottom: 4px solid #4169E1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.8);
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-sizing: border-box;
}

#quote-display {
  margin: 0;
  font-family: 'Roboto', sans-serif;
}

#quote-display p {
  margin: 0;
  margin-bottom: 5px;
  font-style: italic;
  line-height: 1.4;
  font-size: 1.05em;
  max-width: 800px;
  color: white;
}

#quote-speaker {
  margin: 0;
  font-size: 0.85em;
  text-align: center;
  color: #FFD700;
  font-weight: bold;
}

/* Navigation Dots Styling */
.quote-dots-container {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
}

.quote-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.quote-dot:hover {
  background-color: rgba(255, 255, 255, 0.7);
  transform: scale(1.2);
}

.quote-dot.active {
  background-color: #4169E1;
}

.poll-options {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.vote-option-button {
  background-color: #CC0000;
  color: white;
  padding: 12px 20px;
  border: none;
  border-radius: 5px;
  font-size: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.1s ease;
  min-width: 150px;
}

.vote-option-button:hover:not(:disabled) {
  background-color: #FF0000;
  transform: translateY(-2px);
}

.vote-option-button:disabled {
  background-color: #555 !important;
  color: #aaa !important;
  cursor: not-allowed;
  transform: none;
}

.poll-visuals-container {
  margin-top: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.pie-chart-container {
  background-color: rgba(0, 0, 0, 0.4);
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.5);
  width: 100%;
  box-sizing: border-box;
  min-height: 400px;
}