html {
  background-color: #0a0a0a;
  color: #ffffff;
  font-family: 'Zain';
  overflow-x: hidden;
}

p {
    margin: 3%;
    font-size: large;
}

img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover; /* optional depending on the effect you want */
}

.container {
  display: grid;
  grid-template-columns: 20% 20% 20% 20% 20%;
  padding: 50px 0;
}

.container div {
  padding: 10px;
  height: fit-content;
  font-size: 30px;
  text-align: center;
  z-index: 2;
  overflow: visible;
}

.container div > p a {
    font-size: small;
    color:#525252;
    text-align: center;
}

.warning-box {
  position: relative;
  margin: 1rem 1rem 1rem 1rem;
  padding: 1.5rem 2rem;
  border: 1px solid rgba(160, 0, 0, 0.9);
  background: rgba(255, 0, 0, 0.15); 
  border-radius: 6px;
  color: #fff;
  
  box-shadow:
    0 0 12px 4px rgba(255, 0, 0, 0.45),
    0 0 24px 10px rgba(255, 0, 0, 0.25);
}

.warning-box h1 {
  margin: 0 0 0.5rem;
  font-size: 1.25rem;
}

.warning-box p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.4;
}

#warning-overlay {
  position: fixed;
  inset: 0;
  backdrop-filter: blur(20px);
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999; /* above everything */
}

.warning-popup {
  background: rgba(255, 0, 0, 0.15);
  border: 1px solid rgba(160, 0, 0, 0.9);
  border-radius: 8px;
  padding: 2rem 2.5rem;
  text-align: center;
  color: #fff;
  max-width: 500px;

  box-shadow:
    0 0 12px 4px rgba(255, 0, 0, 0.45),
    0 0 24px 10px rgba(255, 0, 0, 0.25);
}

.warning-popup h1 {
  margin-top: 0;
  font-size: 1.8rem;
}

.warning-popup p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
}

.warning-popup button {
  background: rgba(255, 0, 0, 0.3);
  border: 1px solid rgba(255, 0, 0, 0.7);
  padding: 0.6rem 1.2rem;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
}

.warning-popup button:hover {
  background: rgba(255, 0, 0, 0.45);
}

#img-tooltip {
  position: fixed;
  pointer-events: none;
  padding: 0.6rem 1rem;
  background: rgba(255, 0, 0, 0.75);
  border: 1px solid rgba(160, 0, 0, 0.9);
  border-radius: 6px;
  color: #fff;
  font-size: 0.9rem;
  white-space: nowrap;
  z-index: 999999;
  opacity: 0;
  transform: translate(-50%, -120%);
  transition: opacity 0.15s ease;

  box-shadow:
    0 0 12px 4px rgba(255, 0, 0, 0.45),
    0 0 24px 10px rgba(255, 0, 0, 0.25);
}

.timeline-wrapper {
  display: flex;
  justify-content: center;
  width: 100%;
  box-sizing: border-box;
  padding: 0 2rem;
}

.timeline {
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.quote-item {
    display: flex;
    align-items: flex-start;
    position: relative;
    padding-bottom: clamp(40px, 6vw, 120px);
}

.quote-item::after {
    content: "";
    position: absolute;
    left: 28px;
    top: 60px;
    width: 2px;
    height: calc(100% - 60px);
    background: #ddd;
}

.quote-item:last-child::after {
    display: none;
}

.avatar {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    background-color: #ccc;
    margin-right: 20px;
    flex-shrink: 0;
}

.quote-content {
    flex: 1;
    max-width: 100%;
}

.quote-text {
    font-size: 1.05rem;
    line-height: 1.55;
}

.quote-author {
    font-size: 0.85rem;
    color: #888;
    margin-top: 6px;
}

.connector-label {
  position: absolute;
  left: 40px;       
  top: calc(50% + 30px);
  padding: 2px 6px;
  font-size: 0.75rem;
  color: #666;
  z-index: 1;        
  white-space: nowrap;
}