/* Base Reset and Normalization */
*, 
*::before, 
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

/* Global Typography and Body Styles */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #FFFFFF;
//    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Headings */
h1, h2 {
    text-align: center;
    color: #2c3e50;
    border-bottom: 1px solid #eaecef;
    padding-bottom: 10px;
    margin-bottom: 20px;
}

h2 {
    background: lightblue;
    padding: 10px;
}

/* Links */
a {
    color: #0366d6;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    text-decoration: underline;
    color: #054084;
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

/* Utility Classes */
.image-container {
    text-align: center;
    margin: 20px 0;
}

.browser-recommendation {
    margin-top: 20px;
    font-size: 0.8em;
    text-align: center;
}

.browser-recommendation a {
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

/* Menu-specific Styles */
.menu-item {
    margin: 10px 0;
    padding: 5px;
    background-color: lightblue;
}

.menu-item a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: #333;
}

.menu-item img {
    vertical-align: middle;
    max-height: 24px;
    max-width: 32px;
    object-fit: cover;
}

/* Responsive Design */
@media (max-width: 600px) {
    body {
        padding: 10px;
        font-size: 16px;
    }
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	overflow: hidden;
}
#menu-frame {
	position: fixed;
	left: 0;
	top: 0;
	width: 20%;
	height: 100%;
	border: none;
}
#main-frame {
	position: fixed;
	right: 0;
	top: 0;
	width: 80%;
	height: 100%;
	border: none;
}
.noframes-content {
	display: none;
}

/* Comparison Table Styles */
.comparisontable {
    width: 100%;
    margin: 20px 0;
    overflow-x: auto;
}

.comparisontable ul.row {
    display: flex;
    list-style: none;
    border-bottom: 1px solid #eaecef;
    min-height: 60px;
    align-items: stretch;
}

.comparisontable ul.row:first-child {
    background-color: #f6f8fa;
    font-weight: bold;
}

.comparisontable ul.row:nth-child(even) {
    background-color: #fafbfc;
}

.comparisontable ul.row li {
    flex: 1;
    padding: 10px;
    border-right: 1px solid #eaecef;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-width: 120px;
}

.comparisontable ul.row li:last-child {
    border-right: none;
}

.comparisontable ul.row li.legend {
    background-color: lightblue;
    font-weight: bold;
    flex: 0 0 200px;
    min-width: 200px;
    text-align: left;
    align-items: flex-start;
}

.comparisontable img {
    max-width: 100%;
    height: auto;
    margin-bottom: 10px;
    object-fit: contain;
}

.comparisontable a {
    margin-top: 5px;
}

/* Responsive Design for Comparison Table */
@media (max-width: 768px) {
    .comparisontable ul.row {
        flex-direction: column;
    }
    
    .comparisontable ul.row li {
        border-right: none;
        border-bottom: 1px solid #eaecef;
        min-width: 100%;
    }
    
    .comparisontable ul.row li:last-child {
        border-bottom: none;
    }
    
    .comparisontable ul.row li.legend {
        flex: 1;
        min-width: 100%;
    }
}
