body {
    background: radial-gradient(circle at top, #4b4b4b, #2e2e2e);
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    display: flex;
}

/* Sidebar for nav */
aside {
    width: 200px;
    background: #1f1f1f;
    color: #ddd;
    min-height: 100vh;
    padding: 20px;
}

    aside h2 {
        color: #ffd369;
        margin-top: 0;
    }

    aside nav ul {
        list-style: none;
        padding: 0;
    }

    aside nav li {
        margin: 15px 0;
    }

    aside a {
        color: #ddd;
        text-decoration: none;
    }

        aside a:hover {
            color: #ffd369;
        }

/* Main content area */
main {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
}

h1 {
    font-size: 2.5em;
    color: #fff;
    margin-bottom: 0;
}

h2.section {
    font-size: 1.8em;
    color: #fff;
    margin-top: 40px;
}

h3 {
    font-size: 1.25em;
    color: #fff;
    margin-top: 40px;
}

p {
    color: #ccc;
    font-size: 1em;
    line-height: 1.5em;
}

/* Project container carousel */
.container {
    display: flex;
    overflow-x: auto;
    gap: 14px; /* reduced gap */
    padding: 10px 0;
}

.container-item {
    flex: 0 0 180px; /* narrower width */
    background: linear-gradient(135deg, #5a5a5a, #3a3a3a);
    border-radius: 8px;
    padding: 12px; /* slightly less padding */
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
}

    .container-item:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(255,211,105,0.5);
        cursor: pointer;
    }

    .container-item strong {
        display: block;
        margin-bottom: 10px;
        color: #ffd369;
        font-size: 1.1em;
    }

    .container-item a {
        color: #ffd369;
        text-decoration: underline;
        font-weight: bold;
    }

    .container-item a:hover {
        color: #ffffff;
        text-shadow: 0 0 5px #ffd369;
        text-shadow: 0 0 8px #ffd369;
        text-decoration: underline;
    }

.grayArea {
    background: #2e2e2e;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.5);
}

    .grayArea p {
        color: #ccc;
        font-size: 1em;
        line-height: 1.5em;
    }

#about a {
    color: #ffd369;
    text-decoration: underline;
    font-weight: bold;
}

#about a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #ffd369;
}

#contact a {
    color: #ffd369;
    text-decoration: underline;
    font-weight: bold;
}

#contact a:hover {
    color: #ffffff;
    text-shadow: 0 0 5px #ffd369;
}

p a {
    color: #ffd369;
    text-decoration: underline;
    font-weight: bold;
}

    p a:hover {
        color: #ffffff;
        text-shadow: 0 0 5px #ffd369;
    }

/* Responsive: hide sidebar on small screens */
@media (max-width: 768px) {
    aside {
        display: none;
    }

    body {
        display: block;
    }
}

.contact-links {
    display: flex;
    gap: 20px;
    margin-left: 3%;
    margin-top: 10px;
}

.icon-link {
    display: flex;
    align-items: center;
    color: #ffd369;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2em;
    transition: color 0.2s ease-in-out, text-shadow 0.2s ease-in-out;
}

    .icon-link img {
        width: 24px;
        height: 24px;
        margin-right: 8px;
        filter: brightness(1.2);
        transition: transform 0.2s ease-in-out;
    }

    .icon-link:hover {
        color: #ffffff;
        text-shadow: 0 0 5px #ffd369;
    }

        .icon-link:hover img {
            transform: scale(1.2);
        }

