/* Basic Page Setup */
body {
    margin: 0;
    padding: 0;
    background-color: white;
    font-family: sans-serif;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
  }
  
  /* Container holding all rectangles */
  .container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    width: 70%;
    height: 200vh;
    overflow-y: auto;
    padding: 20px 0;
  }
  
  /* Rectangle styling */
  .rectangle {
    background-color: white;
    color: #007BFF;
    height: 420px; /* Rectangle height */
    border-radius: 10px;
    padding: 30px 40px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    cursor: pointer;
    transition: transform 0.4s ease, box-shadow 0.4s ease, height 0.4s ease;
    transform-origin: bottom center;
    
    /* Box-shadow for extra shade around rectangle and below */
    box-shadow: 0 15px 30px rgba(0, 0, 255, 0.1), 0 5px 15px rgba(0, 0, 255, 0.15); /* Shadow below */
  }
  
  /* Hover effect: grow and lift */
  .rectangle:hover {
    transform: translateY(-10px) rotateX(5deg);
    height: 250px;  /* Increased height on hover */
    
    /* Increase shadow on hover for more depth */
    box-shadow: 0 20px 40px rgba(0, 0, 255, 0.2), 0 10px 25px rgba(0, 0, 255, 0.3);
  }
  
  /* Fullscreen effect on click */
  .rectangle.active {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999;
    font-size: 2em;
    border-radius: 0;
    padding: 0;
    transition: all 0.5s ease;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    box-shadow: none; /* Remove shadow when full screen */
  }
  
  /* Header inside each rectangle (top-aligned) */
  .header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    margin-bottom: 20px;
  }
  
  .year {
    font-weight: bold;
  }
  
  .project {
    text-align: right;
  }
  