body {
    margin: 0;
    overflow: hidden;
    font-family: 'Pixelify Sans', sans-serif;
}
.desktop {
    width: 100%;
    height: 100vh;
    background-image: url('images/wallpaper.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
}
.icons {
    display: flex;
    justify-content: flex-start;
    flex-direction: column;
    gap: 18px;
    padding: 20px 0 0 20px;
}
.My-computer,.paint,.Notepad,.cmd {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 130px;
    cursor: pointer;
}
.My-computer img,.paint img,.Notepad img{
    width: 85px;
    height: 85px;
    object-fit: contain;
}
.cmd img {
    width: 99px;
    height: 99px;
}
.My-computer p,.paint p,.Notepad p,.cmd p{
    font-size: 18px;
    color: rgb(255, 255, 255,0.9);
    text-align: center;
    margin: 4px 0 0 0;
        text-shadow:
        -1px -1px 0 rgb(34, 34, 34),
         1px -1px 0 rgb(34, 34, 34),
        -1px  1px 0 rgb(34, 34, 34),
         1px  1px 0 rgb(34, 34, 34);

}
.My-computer,
.Notepad,
.paint,.cmd {
    transition: transform 0.15s ease-out;
}

.My-computer:hover,
.Notepad:hover,
.paint:hover,.cmd:hover {
    transform: translateY(-4px) rotate(-1deg);
}
.windows {
    display: flex;
    gap: 30px;
    padding: 30px;
    flex-wrap: wrap;
}
.My-computer-window,.Notepad-window{
    width: 500px;
    height: 500px;
    position: absolute;
    background-color: #ffd4d4;
    border: 2px solid #8c8c8c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}
.paint-window {
    width: 550px;
    height: 500px;
    position: absolute;
    background-color: #ffd4d4;
    border: 2px solid #8c8c8c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
    }
.computer-header {
    background: #f7ff86;
    color: white;
    padding: 5px 16px;
    font-weight: bold;
    border-bottom: 2px solid #f7ff86;
}
.notepad-header {
    background: #ff8686;
    color: white;
    padding: 5px 16px;
    font-weight: bold;
    border-bottom: 2px solid #ff8686;
}
.paint-header {
    background: #869eff;
    color: white;
    padding: 5px 16px;
    font-weight: bold;
    border-bottom: 2px solid #9cb0ff;
}

.image1, .image2, .image3 {
    width: 110px;
    height: 120px;
}
.computer-content {
    display: flex;
    gap: 10px;
    padding: 20px;
}
.notepad-content {
    padding: 20px;
}
.notepad-content textarea {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    padding: 10px;
    font-size: 16px;
    resize: none;
    border: none;
    background-color: aliceblue;
    box-sizing: border-box;
}
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 5px;
    background-color: #f0f0f0;
    border-top: 2px solid #ccc;
    width: 100%;
    height: 40px;
}
.start-button {
    background: #ff8686;
    border: 3px solid #fff4f4;
    border-right-color: #c95f5f;
    border-bottom-color: #c95f5f;
    border-radius: 8px;
    padding: 7px 18px;
    cursor: pointer;
    font-size: 18px;
    font-family: "Pixelify Sans", sans-serif;
    color: white;
    box-shadow: 2px 2px 0 #7d7d7d;
}
.start-button:hover {
    background: #f19191;
}

.start-button:active {
    transform: translate(2px, 2px);
    box-shadow: none;
    border-left-color: #c95f5f;
    border-top-color: #c95f5f;
    border-right-color: #fff4f4;
    border-bottom-color: #fff4f4;
}
.close-button {
    background: #ff8686;
    border: 2px solid #ffdddd;
    border-radius: 6px;
    width: 35px;
    height: 35px;
    cursor: pointer;
    font-size: 24px;
    font-family: "Pixelify Sans", sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
}
.close-button:hover {
    box-shadow: 3px 3px 0 rgba(0, 0, 0, 0.3);
}
.taskbar-clock {
    font-size: 18px;
    color: rgb(49, 49, 49);
    padding: 10px 20px;
}

.My-computer-window,.Notepad-window,.paint-window, .about-window {
    display: none;
}

.computer-header,.notepad-header,.paint-header,.about-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #8c8c8c;
    font-size: 20px;
    letter-spacing: 5px;
}
.pixel-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(90, 130, 200, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(90, 130, 200, 0.12) 1px, transparent 1px);
    background-size: 4px 4px;
    z-index: 1000;
}
.icons {
    position: relative;
    z-index: 10;
}

.pixel-grid {
    z-index: 2;
}

.windows {
    position: relative;
    z-index: 10;
}
.note-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
}
.notepad-content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px;
}
.notepad-content textarea {
    width: 100%;
    height: 150px;
    border-radius: 20px;
    padding: 10px;
    font-size: 18px;
    resize: none;
    background-color: aliceblue;
    font-family: pixelify sans, sans-serif;
    box-sizing: border-box;
}
.add-note {
    padding: 10px;
    background: rgb(255, 115, 115);
    border: 2px solid #ffdddd;
    border-radius: 20px;
    cursor: pointer;
}
.note-title {
    margin: 10px;
    padding: 10px;
    background: rgb(255, 236, 236);
    border: 2px solid #ffdddd;
    border-radius: 32px;
    cursor: pointer;
    font-family: pixelify sans, sans-serif;
}
.paint-content {
    display: flex;
    flex-direction: row;
    padding: 20px;
    gap: 20px;
    box-sizing: border-box;
    align-items: flex-start;
}
.paint-sidebar {
    display: flex;
    flex-direction: column;
    gap: 7px;
    align-items: flex-end;
    width: 50px;
}
.paint-sidebar p,.tool-box p{
    margin:0;
    font-size:12px;
    color:#444;
}
.colors {
    cursor: pointer;
    display:flex;
    flex-direction:column;
    gap:5px;
    flex-wrap:wrap;
}
.color {
    width: 25px;
    height: 25px;
    border-radius: 40%;
    border: 0.5px solid #000000;
}
.paint-center{
    display:flex;
    justify-content:center;
    align-items:center;
    border: #313131 1px solid;
    border-radius: 14px;
}
#paint-canvas{
    width:350px;
    height:350px;
    background:white;
    border:2px solid #999;
    border-radius:10px;
    image-rendering:pixelated;
    display: block;
    background-image:
        linear-gradient(to right, rgba(0,0,0,0.08) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(0,0,0,0.08) 1px, transparent 1px);
    background-size:10px 10px;
    margin: 8px;
}
.paint-tools {
    display: flex;
    flex-direction:column;
    align-items: center;
}
.tool {
    width: 45px;
    height: 45px;
    font-size: 16px;
    border-radius: 30%;
    border: 0.5px solid #000000;
    background-color: #fffefe;
    cursor: pointer;
    gap: 10px;
    padding:10px 6px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.tool:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}
.color:hover {
    opacity: 0.8;
    cursor: pointer;
}
.tool-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
    margin: 5px;

}
.tools-title,.paint-title {
    font-size:15px;
    color:#444;
    text-align:center;
    align-items: flex-start;
}
.cats,.about-me {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}
.cats-content {
    display: none;
    gap: 20px;
    padding: 20px;
}

.cat-file {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cat-file p {
    margin-top: 0px;
    font-size: 13px;
}
.cat-image {
    width: 100px;
    height: 80px;
    object-fit: cover;
    border-radius: 10px;
}
.cat-popup {
    display: none;
    position: absolute;
    top: 140px;
    left: 110px;
    width: 250px;
    background: #ffad98;
    border: 2px solid #666;
    border-radius: 17px;
    padding: 17px;
    text-align: center;
    box-shadow: 4px 4px 0 rgba(0, 0, 0,0.3);
}

.cat-popup p {
    margin: 0 0 12px;
    font-size: 15px;
    color: #333;
}

.cat-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.cat-popup button {
    width: 80px;
    padding: 7px 0;
    border: 1px solid #222;
    border-radius: 10px;
    background: #fff7b8;
    cursor: pointer;
    font-family: "Pixelify Sans", sans-serif;
}
#back-from-cats {
    position: absolute;
    top: 62px;
    left: 20px;
    padding: 10px;
    border: 1px solid #444;
    border-radius: 10px;
    background: #fff7b8;
    font-family: "Pixelify Sans", sans-serif;
    cursor: pointer;
}
.about-me-content {
    padding: 20px;
    background: #ffd4d4;
    color: #ffefba;
    height: calc(100% - 50px);
    box-sizing: border-box;
    overflow-y: auto;
}
#back-from-about {
    margin-bottom: 20px;
    padding: 10px 16px;
    border: 2px solid #ffb6e6;
    background: #ffd6f5;
    color: #5a2d52;
    border-radius: 10px;
    font-family: "Pixelify Sans", sans-serif;
    cursor: pointer;
}
.about-window {
    width: 550px;
    height: 530px;
    position: absolute;
    border: 2px solid #8c8c8c;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 6px 6px 0 rgba(0, 0, 0, 0.2);
}
.about-header {
    background: #a4a2cc;
    color: #ffefba;
    padding: 5px 16px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.about-tab {
    display: flex;
    gap: 19px;
    margin-bottom: 13px;
}
.tab-button {
    border: 3px solid #8f82aa;
    background: #f4ead7;
    color: #6d5b74;
    border-radius: 10px;
    font-size: 19px;
    font-weight: bold;
    padding: 10px;
    font-family: "Pixelify Sans", sans-serif;
    cursor: pointer;
}
.active-tab {
    background: #6d5b74;
    color: #f4ead7;
    border: 3px solid #f4ead7;
}
.tab-page {
    display: none;
    padding: 15px;
    background: #f4ead7;
    color: #6d5b74;
    border-radius: 10px;
    border: 3px solid #6d5b74;
}
#about-page {
    display: flex;
    gap: 15px;
}
.left-about {
    width: 200px;
}
.profile-pic-box {
    background: #fff8ee;
    border: 2px solid #c8b7c9;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}
.profile-pic-box:hover ,.profile-info:hover,.profile-points:hover {
    border: 2px solid #a48fff;
}
.profile-pic {
    width: 100%;
    border-radius: 8px;
    display: block;
}
.profile-pic-box p {
    margin-top: 7px;
    font-size: 14px;
    color: #6d5b74;
}
.profile-info {
    background: #ffc7c5;
    border: 2px solid #b7b7c9;
    border-radius: 10px;
    padding: 12px;
}
.profile-info p {
    margin: 5px 0;
    font-size: 14px;
    color: #6d5b74;
}
.right-about {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.profile-points {
    background-color: #fff8ee;
    border: 2px solid #4b4b4b;
    border-radius: 10px;
    box-shadow: 7px 6px 0px #b7b7c9;
}
.profile-points h2 {
    margin-bottom: 10px;
    color: #7d93c9;
    font-size: 21px;
}
.profile-points p {
    margin: 5px 0;
    font-size: 15px;
    color: #6d5b74;
}
.random-pic-box {
    width: 250px;
    margin-left: auto;
}
.random-pic-box img {
    width: 100%;
    border-radius: 8px;
}
#likes-page {
    display: none;
    gap: 14px;
}

.left-likes {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 12px;
}
.likes-section{
    background: #fff8ee;
    border: 2px solid #c691c9;
    border-left: 7px solid #7d93c9;
    border-radius: 10px;
    padding: 10px;
    margin-bottom: 10px;
}
.likes-section:hover {
    border: 2px solid #7d93c9;
    border-left: 7px solid #c691c9;
}
.dislikes-section {
    background: #fff8ee;
    border: 2px solid #7d93c9;
    border-left: 7px solid #c691c9;
    border-radius: 10px;
    padding: 10px;
}
.dislikes-section:hover {
    border: 2px solid #c691c9;
    border-left: 7px solid #7d93c9;
}
.likes-section h2,.dislikes-section h2 {
    margin-bottom: 10px;
    font-size: 19px;
}
.likes-section p,.dislikes-section p {
    font-size: 14px;
    margin: 5px 0;
}
.right-likes {
    width: 130px;
}
.random-pic {
    width: 100%;
    border: 2px solid #c8b7c9;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 4px;
    background: #fff8ee;
}
.profile-points,
.likes-section,
.dislikes-section {
    padding: 10px;
    box-sizing: border-box;
}

.profile-points h2,
.likes-section h2,
.dislikes-section h2 {
    margin-top: 0;
}

.profile-points p,
.likes-section p,
.dislikes-section p {
    margin: 4px 0;
    line-height: 1.3;
}
.right-likes {
    width: 130px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.tab-box {
    background: #b57da6;
    border: 1px solid black;
    border-radius: 14px;
    padding: 12px;
}
.cmd-window {
    width: 500px;
    height: 500px;
    position: absolute;
    background: #ffd4d4;
    border: 2px solid #8c8c8c;
    overflow: hidden;
    padding-top: 0;
    border-radius: 15px;
    overflow: hidden;
    display: none;
    z-index: 20;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
}

.cmd-header {
    background: #444;
    color: #78ff5e;
    padding: 5px 16px;
    overflow: visible;
    box-sizing: border-box;
    min-height: 35px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #8c8c8c;
    font-size: 20px;
    letter-spacing: 5px;
}

.cmd-content {
    background: #111;
    color: #b6ffb3;
    height: calc(100% - 35px);
    padding: 15px;
    box-sizing: border-box;
    font-size: 18px;
    overflow-y: auto;
    overflow-x: hidden;
}

#cmd-output p {
    margin: 0 0 8px 0;
}

.cmd-input-line {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-top: 10px;
}

#cmd-input {
    background: transparent;
    border: none;
    outline: none;
    color: #b6ffb3;
    font-family: "Pixelify Sans", sans-serif;
    font-size: 18px;
    flex: 1;
    pointer-events: auto;
}
.system-popup {
    position: absolute;
    right: 20px;
    bottom: 60px;
    width: 310px;
    background: #f4ead7;
    border: 2px solid #8c8c8c;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
    z-index: 50;
}

.system-popup-header {
    background: #647caf;
    color: #ffefba;
    padding: 6px 14px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 18px;
    letter-spacing: 2px;
}

.system-popup-content {
    background: #f9ffd4;
    padding: 15px;
    color: #6d5b74;
    font-size: 18px;
}

.system-popup-content img {
    width: 90px;
    display: block;
    margin: 0 auto 10px auto;
}

#close-popup {
    width: 32px;
    height: 32px;
    border: 2px solid #ffdddd;
    border-radius: 10px;
    background: #ff8686;
    color: white;
    font-family: "Pixelify Sans", sans-serif;
    cursor: pointer;
}
.start-menu {
    display: none;
    position: absolute;
    bottom: 58px;
    left: 10px;
    width: 220px;
    background: #f4ead7;
    border: 3px solid #647caf;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 6px 6px 0 rgba(0,0,0,0.2);
    z-index: 100;
}

.start-menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    border-radius: 12px;
    cursor: pointer;
    color: #6d5b74;
    transition: 0.15s;
}

.start-menu-item:hover {
    background: #ffacac;
}

.start-menu-item img {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.start-menu-item p {
    margin: 0;
    font-size: 18px;
}