/* ===============================
   GLOBAL
=============================== */

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Josefin Sans',sans-serif;
}

body{

    background-image:url("dg7egt3-c4e91a6d-c40c-43f2-b256-7466bcc9a126.gif");
    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;

    width:100vw;
    height:100vh;

    overflow:hidden;

}


/* ===============================
   USERNAME SCREEN
=============================== */

#usernameScreen{

    position:fixed;

    inset:0;

    background:#FFD1DC;

    display:flex;

    flex-direction:column;

    justify-content:center;

    align-items:center;

    gap:20px;

    z-index:10000;

}

#usernameInput{

    width:280px;

    padding:12px;

    border:none;

    border-radius:12px;

    font-size:18px;

    text-align:center;

}

#continueBtn{

    padding:12px 30px;

    border:none;

    border-radius:12px;

    cursor:pointer;

    background:white;

    font-size:18px;

    transition:.25s;

}

#continueBtn:hover{

    transform:scale(1.05);

}


/* ===============================
   BOOT SCREEN
=============================== */

#welcome{

    position:fixed;

    inset:0;

    background:#FFD1DC;

    display:none;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    color:black;

    z-index:9999;

}

.progressBar{

    width:280px;

    height:10px;

    background:white;

    border-radius:10px;

    overflow:hidden;

    margin-top:15px;

}

#progress{

    width:0%;

    height:100%;

    background:black;

}


/* ===============================
   DESKTOP
=============================== */

#desktop{

    width:100%;

    height:100%;

    display:none;

}
/* ===============================
   TASKBAR
=============================== */

#taskbar{

    position:fixed;

    bottom:0;

    left:0;

    width:100%;

    height:60px;

    background:rgba(228,153,171,.90);

    backdrop-filter:blur(15px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 20px;

    z-index:1000;

}

#taskbar button{

    border:none;

    cursor:pointer;

    transition:.25s;

}

#taskbar button:hover{

    transform:scale(1.08);

}



/* ===============================
   TASKBAR ICONS
=============================== */

#taskIcons{

    display:flex;

    gap:12px;

    align-items:center;

}

#taskIcons button{

    width:45px;

    height:45px;

    border-radius:12px;

    background:rgba(255,255,255,.20);

    font-size:22px;

}

#taskIcons img{

    width:30px;

    height:30px;

    border-radius:8px;

}



/* ===============================
   CLOCK
=============================== */

#clock{

    background:#FFD1DC;

    color:black;

    padding:8px 16px;

    border-radius:15px;

    font-weight:bold;

}



/* ===============================
   DESKTOP ICON
=============================== */

#desktopIcon{

    position:absolute;

    top:100px;

    left:40px;

    text-align:center;

    color:white;

    cursor:pointer;

    transition:.25s;

}

#desktopIcon:hover{

    transform:scale(1.05);

}

#desktopIcon img{

    width:70px;

    height:70px;

    border-radius:18px;

}



/* ===============================
   WINDOWS
=============================== */

.window{

    position:absolute;

    width:470px;

    border-radius:20px;

    overflow:hidden;

    background:rgba(255,255,255,.30);

    backdrop-filter:blur(15px);

    box-shadow:0 10px 35px rgba(0,0,0,.35);

}

.windowHeader{

    background:#FFD1DC;

    color:black;

    padding:12px;

    display:flex;

    justify-content:space-between;

    align-items:center;

    cursor:move;

    user-select:none;

}

.windowContent{

    padding:25px;

    text-align:center;

}



/* ===============================
   PROFILE IMAGE
=============================== */

.profileImage{

    width:130px;

    height:130px;

    border-radius:20px;

    margin-bottom:15px;

}



/* ===============================
   WINDOW BUTTONS
=============================== */

.windowButton{

    width:30px;

    height:30px;

    border:none;

    border-radius:50%;

    cursor:pointer;

    font-size:18px;

    transition:.25s;

}

.windowButton:hover{

    transform:scale(1.12);

}

.minimize{

    background:#e0b9c2;

}

.close{

    background:#5f4e52;

    color:white;

}
/* ===============================
   SETTINGS WINDOW
=============================== */

.wallpaperBtn{

    width:100%;

    padding:12px;

    margin-top:10px;

    border:none;

    border-radius:12px;

    background:#FFD1DC;

    color:black;

    font-size:16px;

    cursor:pointer;

    transition:.25s;

}

.wallpaperBtn:hover{

    transform:scale(1.03);

    background:#f7c1cf;

}

#wallpaperUpload{

    width:100%;

    margin-top:15px;

}



/* ===============================
   FILE EXPLORER
=============================== */

#gallery{

    display:grid;

    grid-template-columns:repeat(auto-fill,minmax(100px,1fr));

    gap:15px;

    margin-top:20px;

}

#gallery img{

    width:100%;

    height:100px;

    object-fit:cover;

    border-radius:12px;

    cursor:pointer;

    transition:.25s;

    border:2px solid rgba(255,255,255,.35);

}

#gallery img:hover{

    transform:scale(1.05);

}



/* ===============================
   PHOTO VIEWER
=============================== */

#photoViewer{

    max-width:100%;

    max-height:450px;

    border-radius:15px;

    box-shadow:0 10px 25px rgba(0,0,0,.3);

}



/* ===============================
   BUTTONS
=============================== */

button{

    font-family:'Josefin Sans',sans-serif;

}

input[type="file"]{

    margin-top:15px;

}



/* ===============================
   LINKS
=============================== */

a{

    color:#4d2d36;

    text-decoration:none;

    font-weight:bold;

}

a:hover{

    text-decoration:underline;

}



/* ===============================
   SHUTDOWN SCREEN
=============================== */

#shutdownScreen{

    position:fixed;

    inset:0;

    background:black;

    color:white;

    display:none;

    justify-content:center;

    align-items:center;

    flex-direction:column;

    z-index:99999;

    font-size:32px;

    animation:fadeIn .6s;

}



/* ===============================
   ANIMATIONS
=============================== */

@keyframes fadeIn{

    from{

        opacity:0;

    }

    to{

        opacity:1;

    }

}

@keyframes fadeOut{

    from{

        opacity:1;

    }

    to{

        opacity:0;

    }

}

.window{

    animation:fadeIn .25s ease;

}

button{

    transition:.25s;

}

button:hover{

    transform:scale(1.05);

}



/* ===============================
   SCROLLBAR
=============================== */

::-webkit-scrollbar{

    width:8px;

}

::-webkit-scrollbar-thumb{

    background:#d889a4;

    border-radius:20px;

}

::-webkit-scrollbar-track{

    background:rgba(255,255,255,.2);

}
/* Window Animation */

.window{

    animation: openWindow 0.35s ease;

}


@keyframes openWindow{

    from{

        transform: scale(0.7);

        opacity:0;

    }


    to{

        transform:scale(1);

        opacity:1;

    }

}



/* Minimize Animation */

.minimizeAnimation{

    animation:minimizeWindow 0.3s ease forwards;

}


@keyframes minimizeWindow{

    from{

        transform:scale(1);

        opacity:1;

    }


    to{

        transform:scale(0.2);

        opacity:0;

    }

}
.window{

position:absolute;

top:150px;

left:200px;

}