/* Global */
body {
    margin: 0;
    font-family: "MS PGothic", sans-serif;
    background-color: #121212;
    color: #f5f5f5;
    display: flex;
}

main {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-left: 220px;
    padding: 20px;
}

main section {
    margin-bottom: 40px;
    width: 100%;
    max-width: 1200px;
}

/* Sidebar */
.sidebar {
    width: 200px;
    background-color: #1a1a1a;
    padding: 20px;
    position: fixed;
    height: 100%;
}

.sidebar h2 {
    color: #e67e22;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar li {
    list-style-type: "> ";
    margin: 15px 0;
}

.sidebar a {
    color: #f5f5f5;
    text-decoration: none;
}

.sidebar a:hover {
    color: #e67e22;
}

/* Main */
/* main {

} */

/* Highlights */
.highlight-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 50px;
}

.highlight-card {
    width: 350px;
    height: 300px;

    display: flex;
    flex-direction: column;

    border: 2px solid #e67e22;
    overflow: hidden;
}

/* Header */
.highlight-card .header {
    padding: 10px;
}

.highlight-card .header h3 {
    margin: 0;
    font-size: 1.2rem;
}

.highlight-card .header p {
    margin: 5px 0 0;
    font-size: 0.9rem;
    color: #ccc;
}

/* Image fills remaining space */
.highlight-card img {
    width: 100%;
    height: 180px;
    object-fit: fill;
}

/* Footer */
.highlight-card .footer {
    display: flex;
    background: #e67e22;
    color: white;
    font-weight: bold;
}

.highlight-card .footer div {
    flex: 1;
    text-align: center;
    padding: 5px;
    border-right: 1px solid rgba(0, 0, 0, 0.2);
}

.highlight-card .footer div:last-child {
    border-right: none;
}

.highlight-card .footer a {
    color: blue;
    text-decoration: underline;
    display: block;
}

/* Card image container */
.image-container {
    flex: 1;
    min-height: 0;
}

.image-container img {
    width: 100%;
    height: 100%;
    object-fit: fill;
    display: block;
}

/* Technologies */
.badge-container {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.badge {
    padding: 5px 10px;
    border-radius: 1px;
    font-weight: bold;
    color: #fff;
}

/* Clients */
.client-container {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.client-logo {
    height: 60px;
    opacity: 0.8;
    transition: opacity 0.3s;
}

.client-logo:hover {
    opacity: 1;
}

.sidebar h4 {
    display: flex;
    align-items: center;
    text-align: center;
    color: #ffffff; /* Change to match your theme */
    font-size: 1.1rem;
    margin: 20px 0 10px 0; /* Adds spacing around the section header */
}

/* Create the lines before and after the text */
.sidebar h4::before,
.sidebar h4::after {
    content: '';
    flex: 1; /* Forces the lines to take up all available space */
    border-bottom: 1px solid #444; /* Line thickness and color */
}

/* Adds a gap between the lines and the text */
.sidebar h4::before {
    margin-right: 10px;
}

.sidebar h4::after {
    margin-left: 10px;
}