/* 
 * Header and Menu Icon Update with Colorful Lines
 * This CSS adds colorful borders to the header and updates the menu icon
 * to match the design used throughout the website
 */

/* Header with colorful borders on all four sides */
header {
    position: relative;
    border: none;
    padding: 15px;
    margin-bottom: 20px;
}

header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #ff5e62, #ff9966, #ffcc33, #00b09b, #96c93d);
}

header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(to right, #96c93d, #00b09b, #ffcc33, #ff9966, #ff5e62);
}

header::before,
header::after {
    z-index: 10;
}

/* Left and right colorful borders for header */
header .header-side-border-left {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #ff5e62, #ff9966, #ffcc33, #00b09b, #96c93d);
    z-index: 10;
}

header .header-side-border-right {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(to bottom, #96c93d, #00b09b, #ffcc33, #ff9966, #ff5e62);
    z-index: 10;
}

/* Colorful menu icon */
.menu-icon {
    display: inline-block;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 100;
}

.menu-icon .bar {
    width: 25px;
    height: 3px;
    margin: 5px 0;
    transition: 0.4s;
    border-radius: 3px;
}

.menu-icon .bar:nth-child(1) {
    background: linear-gradient(to right, #ff5e62, #ff9966);
}

.menu-icon .bar:nth-child(2) {
    background: linear-gradient(to right, #ffcc33, #00b09b);
}

.menu-icon .bar:nth-child(3) {
    background: linear-gradient(to right, #00b09b, #96c93d);
}

/* Animation for menu icon when active */
.menu-icon.active .bar:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.menu-icon.active .bar:nth-child(2) {
    opacity: 0;
}

.menu-icon.active .bar:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}

/* Content container styling for HTML files */
.content-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

.content-container h1, 
.content-container h2, 
.content-container h3 {
    color: #2c3e50;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

.content-container h1 {
    font-size: 2.2em;
    border-bottom: 3px solid #f1c40f;
    padding-bottom: 10px;
}

.content-container h2 {
    font-size: 1.8em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 5px;
}

.content-container h3 {
    font-size: 1.5em;
    border-bottom: 1px solid #2ecc71;
    padding-bottom: 3px;
}

.content-container p {
    margin-bottom: 1em;
}

.content-container ul, 
.content-container ol {
    margin-left: 2em;
    margin-bottom: 1em;
}

.content-container table {
    border-collapse: collapse;
    width: 100%;
    margin-bottom: 1em;
}

.content-container th, 
.content-container td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: left;
}

.content-container th {
    background-color: #f2f2f2;
    font-weight: bold;
}

.content-container tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Responsive design for mobile devices */
@media (max-width: 768px) {
    .content-container {
        padding: 10px;
    }
    
    .content-container h1 {
        font-size: 1.8em;
    }
    
    .content-container h2 {
        font-size: 1.5em;
    }
    
    .content-container h3 {
        font-size: 1.3em;
    }
    
    .content-container table {
        display: block;
        overflow-x: auto;
    }
}
