body1 {
    margin: 0;
    background: #b6c19b; /* soft mossy green */
    /* font-family: 'Courier New', monospace; */
    font-family: Roboto, Helvetica, Arial, sans-serif;
    padding: 0;
    color: #333;
}

body {
    margin: 0;
    background: #b6c19b; /* soft mossy green */
    font-family: 'Courier New', monospace;
    padding: 0;
    color: #333;
}

.links a {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

.info p {
    font-family: Roboto, Helvetica, Arial, sans-serif;
}

#cv-button {
    font-family: 'Courier New', monospace;
}

.now-playing {
    font-family: 'Courier New', monospace;
}

.container {
    display: flex;
    max-width: 1400px;
    margin: 30px auto;
    background: #e0e4d4;
    border: 2px solid #a5b58b;
    border-radius: 10px;
    overflow: hidden;
}

.sidebar {
    width: 250px;
    background: #6d8a60;
    padding: 20px;
    text-align: center;
    color: #fff;
}

.sidebar h2 {
    font-size: 1.3em;
    margin: 20px 0 10px;
}

.sidebar a {
    color: #f4f4f4;
}

.sidebar .links a {
    text-decoration: none;
    margin: 5px 0;
    padding: 5px;
    border: 1px solid #c7d7b1;
    border-radius: 5px;
}

.sidebar a:hover {
    background: #90a57c;
}

.sidebar .info p {
    font-size: 12px;
}

.profile-img, .frog-img {
    width: 100%;
    border-radius: 8px;
}

.content {
    flex: 1;
    padding: 20px;
}

.links {
    margin-top: 1.5rem;
}

.links h2 {
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-weight: 600;
}

.links p {
    margin: 0;
}

.links a img {
    position: absolute;
    left: 10px;               /* distance from the left edge */
    top: 50%;                 /* vertical center */
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.links a {
    position: relative;       /* allow positioning inside */
    display: block;
    text-align: center;
    gap: 8px;
    margin: 0.3rem 0;
    text-decoration: none;
    transition: color 0.2s ease;
}

.links img.linkedin {
    filter: none;
    fill: #0a66c2;
    background-color: #0a66c2;
    -webkit-mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/linkedin.svg') no-repeat center;
    mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/linkedin.svg') no-repeat center;
    background-size: cover;
}
.links img.gitlab {
    background-color: #fc6d26;
    -webkit-mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/gitlab.svg') no-repeat center;
    mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/gitlab.svg') no-repeat center;
    background-size: cover;
}
.links img.pinterest {
    background-color: #bd081c;
    -webkit-mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/pinterest.svg') no-repeat center;
    mask: url('https://cdn.jsdelivr.net/gh/simple-icons/simple-icons/icons/pinterest.svg') no-repeat center;
    background-size: cover;
}

.links img.linkedin,
.links img.gitlab,
.links img.pinterest {
    display: inline-block;
    background-repeat: no-repeat;
}

.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header h1 {
    margin: 0;
    font-size: 1.5em;
}

.buttons button {
    margin-left: 5px;
    background: #bcd0a4;
    border: none;
    padding: 5px 10px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
}

.buttons button:hover {
    background: #9fb98b;
}

.heart-button {
    background: none;
    border: none;
    cursor: pointer;
    color: #aaa;
    transition: transform 0.2s ease, color 0.3s ease;
}

.heart-button.clicked {
    color: red;
}

.heart-count {
    font-size: 16px;
    margin-left: 6px;
    color: #555;
    vertical-align: middle;
}

.welcome, .status, .projects, .more-info {
    margin-top: 20px;
    background: #f4f7ed;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cdd8b9;
}

.status {
    display: flex;
    justify-content: space-between; /* push left + right sides apart */
    align-items: flex-start;        /* align everything to the top */
    position: relative;
    background: #f4f7ed;
    padding: 15px;
    border-radius: 10px;
    border: 1px solid #cdd8b9;
}

.status p {
    margin: 0;
}

.music-player {
    width: 180px;
    height: 180px;
    background: #dfe5d3;
    border: 2px solid #a5b58b;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;   /* centers the controls vertically */
    align-items: center;
    position: relative;        /* so we can position "Now Playing" inside */
    margin-left: auto;         /* push to the right side of status section */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-align: center;
    padding: 1rem;
}

.music-player .now-playing {
    position: absolute;
    top: 10px;
    left: 10px;
    font-size: 0.9rem;
    margin: 0;
    text-align: left;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: auto;
}

.player-controls button {
    background: #bcd0a4;
    border: none;
    padding: 12px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1.3rem;
    transition: background 0.2s ease, transform 0.2s ease;
}

.player-controls button:hover {
    background: #9fb98b;
    transform: scale(1.1);
}

.player-controls i {
    pointer-events: none;
}

.progress-wrapper {
    display: flex;
    align-items: center;
    gap: 5px;
    width: 100%;
    margin-top: auto;
    font-size: 12px;
}

.progress-container {
    flex: 1;
    height: 6px;
    background: #bbb;
    border-radius: 3px;
    cursor: pointer;
    position: relative;
}

.progress {
    height: 100%;
    width: 0%;
    background: #6d8a60;
    border-radius: 3px;
}

.frog-icon {
    width: 40px;
    display: block;
    margin: 10px auto 0;
}

/* --- PROJECT SECTION --- */
.projects {
    padding: 2rem;
}

.projects h2 {
    margin-bottom: 1rem;
    font-size: 1.8rem;
    text-align: center;
}

/* Horizontal Tag Filter */
.tag-filter {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.tag-btn {
    background: #eee;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.75rem;
    font-family: 'Courier New', monospace;
    transition: all 0.2s ease;
}

.tag-btn:hover {
    background: #ddd;
}

.tag-btn.active {
    background: #333;
    color: #fff;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    position: relative;
}

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    cursor: pointer;
    opacity: 1;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: scale(1.03);
    box-shadow: 0 8px 16px rgba(0,0,0,0.15);
}

.card.hide {
    display: none;
}

.card img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.card-content {
    padding: 0.8rem 1rem;
}

.card-content h3 {
    margin: 0 0 0.3rem;
    font-size: 1.1rem;
}

.card-content p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    color: #666;
}

.card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
}

.card .tags span {
    background: #f0f0f0;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
}

.more-tags {
    display: none; /* hidden by default */
    flex-wrap: wrap;
    gap: 0.5rem;
}

/*.tag-filter {*/
/*    display: flex;*/
/*    gap: 0.5rem;*/
/*    flex-wrap: wrap;*/
/*    align-items: center;*/
/*}*/

.toggle-more {
    background: #cccccf;        /* Bright blue background */
    color: white;               /* White text */
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    cursor: pointer;
    font-size: 0.9rem;
    font-weight: bold;
    transition: background 0.2s ease, transform 0.2s ease;
}

.toggle-more:hover {
    background: #a5a5a5;       /* Darker blue on hover */
    transform: scale(1.05);    /* Slight grow effect */
}

h3 {
    margin-bottom: 0.1rem;
}

h3 + p {
    margin-top: 0.1rem;
}

/* ================================
   📱 Mobile Responsive Styles
   ================================ */
@media (max-width: 768px) {
    /* --- Layout --- */
    .container {
        flex-direction: column;        /* Sidebar stacks on top */
        margin: 0;
        border-radius: 0;
        max-width: 100%;
    }

    .sidebar {
        width: 96%;
        padding: 2%;
        text-align: center;
    }

    .content {
        padding: 15px;
    }

    /* --- Header --- */
    .header {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .header h1 {
        font-size: 1.3em;
    }

    .buttons {
        width: 100%;
        display: flex;
        justify-content: flex-start;
        flex-wrap: wrap;
        gap: 5px;
    }

    .buttons button {
        flex: 1 1 auto;
        padding: 8px;
        font-size: 0.85rem;
    }

    /* --- Projects --- */
    .projects {
        padding: 1rem;
    }

    .projects h2 {
        font-size: 1.5rem;
    }

    .card-grid {
        grid-template-columns: 1fr;   /* One column on mobile */
        gap: 1rem;
    }

    .card img {
        height: 160px;
    }

    .card-content h3 {
        font-size: 1rem;
    }

    .card-content p {
        font-size: 0.85rem;
    }

    /* --- Tag Filter --- */
    .tag-filter {
        gap: 0.4rem;
        justify-content: flex-start;
        padding: 0 0.5rem;
    }

    .tag-btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .toggle-more {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    /* --- Sections --- */
    .welcome, .status, .projects, .more-info {
        margin-top: 15px;
        padding: 12px;
    }

    .frog-icon {
        width: 30px;
    }
}

/* Even smaller devices */
@media (max-width: 480px) {
    .header h1 {
        font-size: 1.1em;
    }

    .buttons button {
        font-size: 0.75rem;
        padding: 6px;
    }

    .tag-btn, .toggle-more {
        font-size: 0.75rem;
    }

    .card img {
        height: 140px;
    }
}

/* ================================
   📱 Sidebar Hamburger Menu (Mobile)
   ================================ */
/* ================================
   📱 Mobile Drawer Sidebar
   ================================ */
.mobile-topbar {
    display: none;
}

#menu-toggle {
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
}

.mobile-title {
    margin: 0;
    font-size: 1.2rem;
}

/* Drawer behavior on mobile */
@media (max-width: 768px) {
    .mobile-topbar {
        display: flex;
        background: #6d8a60;
        color: #fff;
        padding: 10px 15px;
        display: flex;
        align-items: center;
        justify-content: space-between;
    }

    .container {
        flex-direction: column;
        margin: 0;
        max-width: 100%;
        border: none;
        border-radius: 0;
    }

    .sidebar {
        position: fixed;
        top: 0;
        left: -80%; /* hide off screen */
        width: 250px;
        height: 100%;
        background: #6d8a60;
        padding: 20px;
        color: #fff;
        box-shadow: 2px 0 8px rgba(0, 0, 0, 0.3);
        transition: left 0.3s ease;
        z-index: 1000;
    }

    .sidebar.active {
        left: 0; /* slide in */
    }

    /*.sidebar-content {*/
    /*    overflow-y: auto;*/
    /*    height: 100%;*/
    /*}*/

    .content {
        padding: 15px;
    }

    body.menu-open {
        overflow: hidden; /* prevent background scroll when menu is open */
    }
}

.status-left {
    display: flex;
    flex-direction: column;
    gap: 10px;             /* space between text and GIFs */
}

.cute-gifs {
    display: flex;
    justify-content: center; /* center all GIFs horizontally */
    flex-wrap: wrap;         /* wrap to next line if needed */
    gap: 10px;               /* space between each GIF */
}

.cute-gifs img {
    width: 130px;             /* adjust size as needed */
    height: 130px;
    left: 150px ;
    position: absolute;
    object-fit: contain;
    border-radius: 8px;      /* optional: round corners */
    animation: bounce 2s infinite; /* subtle animation */
}

.status-gif {
    position: absolute;
    width: 130px;
    height: 130px;
    object-fit: contain;
    animation: float 3s ease-in-out infinite alternate;
}

.status-gif.top1 {
    top: 0;       /* at the top of status section */
    left: 33%;      /* center horizontally */
}

.status-gif.top2 {
    top: 0;       /* at the top of status section */
    left: 48%;      /* center horizontally */
}

.status-gif.bottom1 {
    bottom: -30px;    /* at the bottom of status section */
    left: 5%;     /* center horizontally */
}

.status-gif.bottom2 {
    bottom: -3px;    /* at the bottom of status section */
    left: 25%;     /* center horizontally */
}

.status-gif.bottom3 {
    bottom: -25px;    /* at the bottom of status section */
    left: 40%;     /* center horizontally */
}

.status-gif.bottom4 {
    bottom: -10px;    /* at the bottom of status section */
    left: 60%;     /* center horizontally */
}

/* optional animation */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

@media (max-width: 1400px) {
    .hide-mobile {
        display: none;
    }
}