* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    
  }

  body {
    margin: 0;
    font-family: 'Orbitron', sans-serif;
    background: black;
    color: white;
    overflow-x: hidden;
  }
  
  /* Moving stars background */
  .stars {
    position: fixed;
    width: 100%;
    height: 100vh;
    
  }
  
  @keyframes moveStars {
    from { background-position: 0 0; }
    to { background-position: -10000px 5000px; }
  }
  
  header {
    text-align: center;
    padding: 2rem 1rem;
    color: #aa1500;
    font-family: "Orbitron",sans-serif;
    text-shadow: 0 0 20px #aa1500;
  }
  
  .quote {
    text-align: center;
    font-size: 1.5rem;
    border: 2px solid #aa1500;
    padding: 1rem;
    margin: 2rem auto;
    width: 60%;
    box-shadow: 0 0 20px #aa1500;
    border-radius: 10px;

  }
  .timeline {
    position: relative;
    width: 100%;
    height: 80vh; /* full height of the viewport */
    margin: 0;
    overflow: hidden;
    background: radial-gradient(circle at center, #000010, #000000);
  }
  
  .slider {
    display: flex;
    height: 100%;
    transition: transform 0.5s ease-in-out;
  }
  
  .slide {
    flex: 0 0 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 40px;
    box-sizing: border-box;
    height: 100%;
  }
  
  .slide-text {
    flex: 1;
    padding: 40px;
  }
  
  .slide-text h3 {
    margin-top: 0;
    color: #aa1500;
    font-size: 2.5rem;
  }
  
  .slide-text p {
    font-size: 1.2rem;
    line-height: 1.8;
    font-family: "Exo", sans-serif;
    color: #ccc;
  }
  
  .slide-image {
    flex: 0 0 40%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  
  .slide-image img {
    width: 100%;
    max-width: 400px;
    border-radius: 10px;
    box-shadow: 0 0 30px #aa1500;
    transition: transform 0.3s;
  }
  
  .slide-image img:hover {
    transform: scale(1.08);
  }
  
  .nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #aa1500;
    border: none;
    font-size: 2.5rem;
    cursor: pointer;
    padding: 1rem;
    border-radius: 50%;
    box-shadow: 0 0 15px #aa1500;
    z-index: 10;
  }
  
  .nav-btn:hover {
    background: #aa1500;
    color: white;
  }
  
  #prev {
    left: 20px;
  }
  
  #next {
    right: 20px;
  }
  
  .slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
  }
  


/* Tablets (keep side-by-side but adjust spacing) */
@media (max-width: 1024px) {
  .slide-text h3 {
    font-size: 2rem;
  }

  .slide-text p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .slide-image img {
    max-width: 300px;
  }
}

/* Phones (stack: text first, image after) */
@media (max-width: 600px) {
  .slide {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .slide-text {
    padding: 20px;
  }

  .slide-text h3 {
    font-size: 1.6rem;
  }

  .slide-text p {
    font-size: 0.95rem;
    line-height: 1.4;
  }

  .slide-image {
    margin-top: 20px;
    flex: none;
    width: 100%;
  }

  .slide-image img {
    max-width: 90%;
    height: auto;
  }
  .nav-btn {
    top : 70%
  }
  .stars {
    position: fixed;
    width: 100%;
    height: 120vh;
    
  }
}