body {
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Roboto',sans-serif;
}
nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background-color: #222831; /* updated nav bar color */
}

nav a {
    text-decoration: none;
    color: #EEEEEE; /* nav link color for contrast */
    transition: color 0.2s;
}

nav a:hover {
    color: #00ADB5; /* accent color on hover */
}

.main-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: #EEEEEE; /* updated background color */
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 2rem;
}

/* Accent color example for buttons or highlights */
.accent {
    color: #00ADB5;
}

.nav-links {
    display: flex;
    gap: 10px;
}

.nav-social {
    display: flex;
    gap: 10px;
}

.aboutme {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.left-picture {
    height: clamp(4rem, 28vw, 70rem);
    width:  auto;
}
.right-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    word-break: break-word;
    overflow-wrap: break-word;
    width: 500px;
}
img { 
    height: 25px;
    width: 25px;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #EEEEEE; /* updated background color */
    min-height: 100vh;
    width: 100%;
    box-sizing: border-box;
    padding-bottom: 2rem;
}

.project-row {
    display: flex;
    align-items: center;
    background: #EEEEEE;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1rem 2rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
}
.courses-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    justify-content: center;
    margin-top: 2rem;
}

.course-row {
    flex: 0 1 350px; /* allows cards to shrink/grow, preferred width 350px */
    max-width: 350px;
    min-width: 260px;
    background: #EEEEEE;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1rem 2rem;
    margin-bottom: 0; /* gap handles spacing now */
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.course-img {
    flex-shrink: 0;
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.course-img img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.course-info {
    flex: 1;
    min-width: 0;
}

.skillicons {
    height: 100px;
    width: 100px;
}

.skills-content-container {
    margin-top: 2.5rem; /* Adds space below nav bar */
}

.skillsrow {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0,0,0,0.07);
    padding: 1.5rem 2rem;
    margin-bottom: 2rem;
    gap: 2rem;
    text-align: center;
}

.skillsrow p:first-child {
    font-size: 1.35rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #222831;
    letter-spacing: 0.5px;
}


.project-info h2 {
    text-align: center;
    width: 100%;
    font-size: 1.4rem;
    font-weight: 600;
    color: #222831;
    margin-bottom: 0.5rem;
}

.nav-social img[alt="GitHub profile"] {
    filter: brightness(0) invert(1);
    transition: filter 0.2s;
}
.nav-social img[alt="GitHub profile"]:hover {
    filter: brightness(0.7) invert(1);
}

.nav-logo {
    color: white;
}