body {
    font-family: Arial, sans-serif;
    margin: 0;
    background-color: #f4f4f4;
}

header {
    background-color: navy;
    color: white;
    text-align: center;
    padding: 20px;
}

header img{
    width:120px;
    height:120px;
    border-radius:50%;
    object-fit:cover;
    margin-bottom:10px;
}

main {
    width: 100%;
    box-sizing: border-box;
    padding: 20px;
}

section {
    background: white;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
}

footer {
    background-color: navy;
    color: white;
    text-align: center;
    padding: 10px;
}

/* three-column liquid layout */
.container {
    display: flex;
    gap: 20px;
    width: 100%;
    box-sizing: border-box;
}

.projects {
    flex: 2;
    height: 80vh;
    overflow-y: auto;
    padding-right: 15px;
}

.about {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    height: 80vh;
    overflow-y: auto;
}

.info {
    flex: 1;
    background-color: white;
    padding: 20px;
    border-radius: 10px;
    height: 80vh;
    overflow-y: auto;
}

/* individual project boxes */
.projects section {
    background-color: white;
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.projects h3 {
    margin-top: 0;
}

.projects a {
    display: inline-block;
    margin-top: 10px;
    text-decoration: none;
    color: navy;
    font-weight: bold;
}

.projects a:hover {
    color: darkred;
}

.about h2,
.info h2 {
    margin-top: 0;
}

.about ul,
.info ul {
    padding-left: 20px;
}

.about li,
.info li {
    margin-bottom: 8px;
}

/* ---------- Interactive Graphic ---------- */

#workspace{
    margin-top:20px;
    text-align:center;
}

#monitor{
    width:220px;
    height:140px;
    background:#333;
    border:8px solid #000;
    border-radius:10px;
    margin:auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

#screen{
    width:190px;
    height:110px;
    background:black;
    color:white;
    display:flex;
    align-items:center;
    justify-content:center;
    font-weight:bold;
    border-radius:5px;
}

#stand{
    width:25px;
    height:40px;
    background:#555;
    margin:auto;
}

#keyboard{
    width:240px;
    height:28px;
    background:#777;
    border-radius:5px;
    margin:15px auto;
}

#mouse{
    width:35px;
    height:55px;
    background:#777;
    border-radius:50%;
    margin:auto;
}

#coffee{
    position: relative;
    font-size:40px;
    margin-top:15px;
}

#steam{
    height:20px;
    font-size:20px;
}

.workspaceButtons{
    text-align:center;
    margin-top:20px;
}

.workspaceButtons button{
    margin:5px;
    padding:8px 15px;
    cursor:pointer;
}

/* Coffee steam animation for Interactive Graphic */
#steam {
    display: none;
    position: absolute;
    width: 8px;
    height: 25px;
    background: #999;
    border-radius: 50%;
    top: -25px;
    left: 48%;
    transform: translateX(-50%);
    opacity: 0.8;
    animation: steamRise 2s infinite;
}

@keyframes steamRise {
    from {
        transform: translateY(0);
        opacity: 0.8;
    }

    to {
        transform: translateY(-25px);
        opacity: 0;
    }
}

/* Interactive Game Styling */
#gameArea {
    width: 300px;
    height: 200px;
    border: 2px solid black;
    position: relative;
    margin-top: 15px;
}

#bug {
    position: absolute;
    font-size: 35px;
    cursor: pointer;
    display: none;
}

/* Static News and Announcement Blog */

#newsBlog {
    background-color: #f5f5f5;
    padding: 15px;
    margin-top: 25px;
    border-radius: 10px;
}

#newsBlog button {
    padding: 10px;
    cursor: pointer;
}

/* Movie Recommendation Tool Styling */

#movieTool {
    background-color: #f5f5f5;
    padding: 20px;
    margin-top: 25px;
    border-radius: 10px;
}

#movieTool input,
#movieTool select {
    padding: 5px;
}