        @page {
            size: A4;
            margin: 0.5in;
        }
        
body {
font-family: Tahoma,Verdana,Helvetica,sans-serif;
font-size: 100%;
line-height: 1.3;
margin: 0;
padding: 20px;
color: black;
        }
		
p	{text-align: center;
font-style: italic;
margin-bottom: 30px;
color: #666;
	}
		
#lyric {
font-size:0.8em;
font-weight:normal;
text-align:left;
}
		
a:link, a:active {
text-decoration:none;
color:maroon;
font-weight:bold;
}

a:visited {
text-decoration:none;
color:8b0000;
font-weight:bold;
}

a:hover {
text-decoration:none;
color:#b22222;
font-weight:bold;
}
        
        h1 {
            text-align: center;
            font-size: 1.6em;
            margin-bottom: 20px;
            color: maroon;
            border-bottom: 2px solid #8B4513;
            padding-bottom: 10px;
			}	
        
        .timeline-container {
            display: flex;
            flex-direction: column;
            gap: 15px;
        }
        
        .period-section {
            border: 1px solid maroon;
            border-radius: 8px;
            padding: 12px;
            background-color: #fafafa;
            break-inside: avoid;
            margin-bottom: 15px;
        }
        
        .period-header {
            font-weight: bold;
            font-size: 1.3em;
            color: maroon;
            text-align: center;
            margin-bottom: 8px;
            border-bottom: 2px solid maroon;
            padding-bottom: 8px;
        }
        
        .age-section {
            border: 2px solid #4682B4;
            border-radius: 8px;
            padding: 15px;
            background-color: #f0f8ff;
            margin-bottom: 20px;
            break-inside: avoid;
        }
        
        .age-header {
            font-weight: bold;
            font-size: 1.4em;
            color: #4682B4;
            text-align: center;
            margin-bottom: 15px;
            border-bottom: 2px solid #4682B4;
            padding-bottom: 8px;
        }
        
        .sub-period {
            background-color: white;
            border-left: 4px solid #daa520;
            padding: 10px;
            margin-bottom: 10px;
            border-radius: 4px;
        }
        
        .sub-period-title {
            font-weight: bold;
            color: #daa520;
            font-size: 1.1em;
            margin-bottom: 4px;
        }
        
        .dates {
            font-style: italic;
            color: #8B4513;
            font-weight: bold;
            font-size: 0.9em;
            margin-bottom: 6px;
        }
        
        .description {
            color: black;
            font-size: 0.95em;
            line-height: 1.4;
        }
        
        .prehistoric {
            background-color: #fff8dc;
            border: 2px solid #daa520;
        }
        
        .prehistoric .age-header {
            color: #daa520;
            border-bottom-color: #daa520;
        }
        
        .ancient {
            background-color: #f0fff0;
            border: 2px solid #00fa9a;
        }
        
        .ancient .age-header {
            color: #00fa9a;
            border-bottom-color: #00fa9a;
        }
        
        .classical {
            background-color: #ffe4e1;
            border: 2px solid #dc143c;
        }
        
        .classical .age-header {
            color: #dc143c;
            border-bottom-color: #dc143c;
        }
        
        .medieval {
            background-color: #e6e6fa;
            border: 2px solid #9370db;
        }
        
        .medieval .age-header {
            color: #9370db;
            border-bottom-color: #9370db;
        }
        
        .modern {
            background-color: #f5f5dc;
            border: 2px solid #8b4513;
        }
        
        .modern .age-header {
            color: #8b4513;
            border-bottom-color: #8b4513;
        }
		
        .year-section {
            border: 2px solid maroon;
            border-radius: 8px;
            padding: 12px;
            background-color: #fafafa;
            break-inside: avoid;
			margin-bottom: 1%;
        }
        
        @media print {
            body { 
                font-size: 85%; 
            }
            .age-section {
                break-inside: avoid;
            }
        }