@media screen and (max-width: 768px) {
    .widget {
        display: none;
    }

    .love {
        top: inherit;
        bottom: 60px;
    }

    .container {
        max-width: 100vw;
    }

    .title-bar-controls {
        width: 110px;
    }

    .logo img {
        width: 20px;
        height: 20px;
    }

    .title-bar-text {
        text-align: center;
        font-size: 11px;
    }

    .title-bar-controls button i {
        font-size: 14px;
    }

    .sidebar {
        width: 45px;
    }

    .sidebar-icon i {
        font-size: 22px;
    }

    aside.explorer {
        width: 110px;
        left: 45px;
    }

    .file-list li a {
        font-size: 13px;
    }

    .menu-bar {
        left: 154px;
        height: 43px;
    }

    .menu-bar ul li a {
        font-size: 13px;
        width: 100px;
    }

    .menu-bar ul img {
        width: 13px;
        height: 13px;
        margin-right: 6px;
    }

    .code-column {
        width: 60px;
        font-size: 14px;
    }

    .title .vscode-tag,
    .title .vscode-tog,
    .title .vscode-title {
        font-size: 19px;
    }

    .para .vscode-tag,
    .para .vscode-tog,
    .para .vscode-para,
    .vscode-com {
        font-size: 15px;
    }

    p {
        font-size: 15px;
    }

    .checkbox input[type="checkbox"] {
        width: 15px;
        height: 15px;
    }

    .checkbox input[type="checkbox"]:checked::before {
        font-size: 15px;
    }

    .checkbox label {
        font-size: 11px;
    }

    .containerSkills {
        grid-template-columns: repeat(2, 1fr); 
        grid-gap: 25px;
    }    

    .projects-container {
        grid-template-columns: 1fr;
    }

    .project a {
        font-size: 15px;
    }

    .img-container {
        height: auto; 
        aspect-ratio: 16 / 9; 
    }
    .project-content {
        padding: 15px;
    }

    #desktopGame {
        bottom: 60px;
        height: auto;
        display: flex;
    }

    .icon img {
        width: 40px;
    }
}

@media screen and (max-width: 576px) {

    .container {
        max-width: 100vw;
        max-height: calc(100vh - 40px);
    }

    .content {
        left: 40px;
        width: calc(100vw - 40px);
        padding: 0px 15px 0 65px;
    }

    .logo img {
        width: 18px;
        height: 18px;
    }

    .title-bar-controls {
        width: 80px;
    }

    .title-bar-controls .maximize-button {
        pointer-events: none;
    }

    .title-bar-controls button i {
        font-size: 10px;
    }

    .title-bar-text {
        text-align: center;
        font-size: 8px;
    }

    .sidebar {
        width: 40px;
    }

    .sidebar-icon i {
        font-size: 18px;
    }

    .menu-bar {
        left: 40px;
        height: 39px;
        width: calc(100vw - 40px);
    }

    .menu-bar ul li a {
        font-size: 10px;
        width: 73px;
    }

    .menu-bar ul img {
        width: 10px;
        height: 10px;
        margin-right: 5px;
    }

    .code-column {
        width: 50px;
        font-size: 12px;
    }

    .title .vscode-tag,
    .title .vscode-tog,
    .title .vscode-title {
        font-size: 16px;
    }

    .para .vscode-tag,
    .para .vscode-tog,
    .para .vscode-para,
    .vscode-com {
        font-size: 12px;
    }

    p {
        font-size: 12px;
    }

    .checkbox {
        width: 200px;
    }

    .checkbox input[type="checkbox"] {
        width: 12px;
        height: 12px;
    }

    .checkbox input[type="checkbox"]:checked::before {
        font-size: 12px;
    }

    .checkbox label {
        font-size: 9px;
    }

    .containerSkills {
        grid-template-columns: 1fr; 
        grid-gap: 15px;
    }

    .skills-list {
        padding: 10px;
        height: auto; 
    }

    .skills-list h3 {
        font-size: 14px;
    }

    .skills-list ul li {
        font-size: 12px;
    }

    .projects-container {
        grid-template-columns: repeat(1, 1fr);
    }

    .project a {
        font-size: 14px;
    }

    .img-container {
        height: auto; 
    }

    .project-content {
        padding: 10px;
    }

    .projectsSkills img {
        width: 30px;
        height: 30px;
    }

    section.contact {
        display: block;
    }

    .warning-status .status-bar-section,
    .status-bar-section {
        font-size: 10px;
    }

    .taskbar {
        height: 40px;
        width: 100vw;
        padding: 0 10px;
    }

    .menu {
        width: auto;
    }

    .menu img {
        width: 25px;
        height: 25px;
        padding: 5px;
    }

    .search-bar {
        padding: 5px 10px;
        margin-left: 5px;
    }

    .search-bar i {
        margin-right: 8px;
        font-size: 10px;
    }

    .search-bar input {
        font-size: 10px;
        width: 90px;
    }

    .logo-vscode {
        width: 25px;
        height: 25px;
    }

    .logo-vscode::after {
        height: 2px;
    }

    .logo-vscode.active::after {
        width: 10px;
    }

    .date,
    .time {
        font-size: 10px;
    }

    .left-section {
        padding: 2px 10px;
    }

    .right-section {
        padding: 2px 10px;
    }

    .weather-info {
        display: flex;
        flex-direction: column;
        margin-left: 3px;
        font-size: 10px;
    }

    .weather-icon img {
        width: 20px;
        height: 20px;
    }

    .explorer {
        display: none;
    }

    #desktopGame {
        bottom: 40px;
        height: auto;
        display: flex;
    }

    .icon {
        width: 80px;
        padding: 5px;
    }

    .icon img {
        width: 30px;
    }

    .icon-label {
        font-size: 12px;
    }

    #game-container {
        width: 95%;
        height: 85%;
    }
}


@media screen and (max-width: 768px) {
    .home-container {
        flex-direction: column-reverse; 
        align-items: center; 
        padding: 20px; 
    }

    .home-text {
        text-align: center; 
        width: 100%; 
        max-width: 450px; 
    }

    
    .home-text .description {
        text-align: left;
        margin-bottom: 30px; 
    }

  
    .home-text .contact-info {
        justify-content: flex-start; 
        flex-direction: column;
        gap: 15px;
        align-items: flex-start; 
        width: 100%; 
    }
}
