body {
    font-family: Tahoma, Verdana, Arial, sans-serif;
    font-size: 12px;
    color: #222;
    background: #dfdfdf;
    margin: 0;
    padding: 0;
}
.home-container {
    width: 900px;
    margin: 0 auto;
    background: #fff;
    border: none;
    box-shadow: none;
    padding: 0;
}
.home-header {
    background: #003366;
    color: #fff;
    padding: 16px 24px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 2px;
    border-bottom: none;
    position: relative;
}
.sub-header-bar {
    background: #5284c1;
    color: #fff;
    font-size: 13px;
    padding: 6px 24px;
    display: flex;
    align-items: center;
    gap: 8px;
    border-bottom: 1px solid #3a5e8c;
    justify-content: center;
    text-align: center;
}
.sub-header-bar a {
    color: #fff;
    text-decoration: underline;
    font-weight: normal;
    margin: 0 4px;
    transition: color 0.2s;
}
.sub-header-bar a:hover {
    color: #dbeafe;
}
.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
}
.myspace-search {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-right: 0;
}
.myspace-search input[type="text"] {
    padding: 2px 6px;
    font-size: 13px;
    border: 1px solid #7b9ebd;
    border-radius: 2px;
    background: #e5eefa;
    color: #003366;
}
.myspace-search button {
    padding: 2px 10px;
    font-size: 13px;
    background: #7b9ebd;
    color: #fff;
    border: none;
    border-radius: 2px;
    cursor: pointer;
}
.myspace-search button:hover {
    background: #003366;
}
.header-presented {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-left: auto;
    text-align: right;
}
.home-profile {
    display: flex;
    padding: 24px;
}
.profile-left {
    width: 250px;
    margin-right: 32px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.profile-pic {
    width: 250px;
    height: 250px;
    background: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.profile-pic img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile-info {
    font-size: 13px;
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
}
.profile-main {
    flex: 1;
}
.profile-blurb {
    background: #e5eefa;
    border: 1px solid #7b9ebd;
    padding: 12px;
    margin-bottom: 18px;
}
.profile-section {
    margin-bottom: 18px;
}
.profile-section h2 {
    font-size: 16px;
    color: #FF6600;
    padding-left: 2px;
    padding-top: 3px;
    padding-bottom: 3px;
    margin-bottom: 8px;
    background: #ffcc99;
    border-bottom: none;
    box-sizing: border-box;
}
.friends-section {
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.friends-list {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}
.friend {
    width: 70px;
    text-align: center;
    font-size: 11px;
}
.friend-pic {
    width: 70px;
    height: 70px;
    background: #ddd;
    border: 1px solid #7b9ebd;
    margin-bottom: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #888;
}
.projects-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-top: 10px;
}
.project-card {
    background: #f8f9fa;
    border: 1px solid #7b9ebd;
    padding: 14px 18px 10px 18px;
    min-width: 220px;
    max-width: 320px;
    flex: 1 1 220px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}
.project-title {
    font-size: 1.1em;
    font-weight: bold;
    margin-bottom: 6px;
}
.project-title a {
    color: #003366;
    text-decoration: underline;
}
.project-title a:hover {
    color: #7b9ebd;
}
.project-desc {
    font-size: 0.98em;
    color: #333;
}
.photos-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 10px 0 0 0;
}
.photos-grid img {
    width: 100px;
    height: 100px;
    object-fit: fill;
    border: 1px solid #bbb;
    background: #eee;
}
.comments-section {
    background: #f3f3f3;
    border: 1px solid #7b9ebd;
    padding: 10px;
}
.comment {
    border-bottom: 1px solid #ccc;
    padding: 6px 0;
}
.comment:last-child {
    border-bottom: none;
}
a {
    color: #003366;
    text-decoration: underline;
    font-weight: normal;
}
a:hover {
    color: #7b9ebd;
}
.home-footer {
    background: #003366;
    color: #fff;
    text-align: center;
    padding: 8px 0 4px 0;
    border-top: none;
}
.badges-bar {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    padding: 4px 0;
}
.badges-bar img {
    width: 88px;
    height: 31px;
    display: inline-block;
    border: 1px solid #2222;
    background: #fff;
}
.find-me-links {
    display: flex;
    gap: 32px;
    align-items: center;
    margin: 12px 0 0 0;
}
.find-me-links a {
    color: #003366;
    font-size: 2.2em;
    text-decoration: none;
    transition: color 0.2s;
}
.find-me-links a:hover {
    color: #7b9ebd;
}
.profile-actions {
    margin: 10px 0 14px 0;
    display: flex;
    gap: 12px;
    justify-content: center;
}
.profile-actions img {
    width: 48px;
    height: 48px;
    background: none;
    border: none;
    object-fit: contain;
    display: block;
}
#banner-ad-findme {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
    border: none;
}
#banner-ad-findme img {
    display: inline;
    width: 100%;
    height: auto;
    border: 1px solid #7b9ebd;
    vertical-align: middle;
    
    
}
#banner-ad-concerts {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
}
#banner-ad-concerts img {
    display: inline;
    width: 100%;
    height: auto;
    
    vertical-align: middle;
    border: 1px solid #7b9ebd;
    
}
#banner-ad-hackathons {
    width: 100%;
    min-height: 80px;
    text-align: center;
    margin: 18px 0 8px 0;
    padding: 8px 0;
    background: none;
    border: none;
}
#banner-ad-hackathons img {
    display: inline;
    width: 100%;
    height: auto;
    
    vertical-align: middle;
    border: 1px solid #7b9ebd;
    
}

@media (max-width: 950px) {
    .home-container { width: 100vw; min-width: 0; }
}
@media (max-width: 700px) {
    .home-container {
        width: 100vw;
        min-width: 0;
        margin: 0;
        border: none;
        box-shadow: none;
        background: #fff;
    }
    .home-header {
        padding: 10px;
    }
    .sub-header-bar {
        padding: 6px 8px;
        font-size: 1em;
        flex-wrap: wrap;
        gap: 4px;
        justify-content: center;
        text-align: center;
    }
    .header-content {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    .header-presented {
        margin-left: 0;
        text-align: left;
    }
    .myspace-search {
        margin-right: 0;
    }
    .home-profile {
        flex-direction: column;
        padding: 10px;
        gap: 0;
    }
    .profile-left {
        width: 100%;
        margin-right: 0;
        align-items: center;
    }
    .profile-pic {
        width: 60vw;
        height: 60vw;
        max-width: 98vw;
        max-height: 60vw;
    }
    .profile-info {
        font-size: 1em;
        width: 100%;
        box-sizing: border-box;
    }
    .friends-section {
        width: 100%;
        padding: 8px 0;
    }
    .friends-list {
        gap: 10px;
    }
    .friend-pic {
        width: 50px;
        height: 50px;
    }
    .projects-grid {
        flex-direction: column;
        gap: 10px;
    }
    .project-card {
        min-width: 0;
        max-width: 100vw;
        padding: 10px 8px 8px 8px;
    }
    .photos-grid {
        gap: 8px;
        justify-content: center;
    }
    .photos-grid img {
        width: 70px;
        height: 70px;
    }
    .profile-section h2 {
        font-size: 1.1em;
        margin: 12px -8px 6px -8px;
        padding: 6px 8px;
        background: #fcc77b;
        color: #f65113;
        border-bottom: none;
    }
    .profile-blurb {
        font-size: 0.98em;
        padding: 8px;
    }
    .comments-section {
        font-size: 0.98em;
        padding: 6px;
    }
}
