/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

body {
  background-color: white;
  color: black;
  font-family: Verdana;
}

:root {
    --button-color: #c0c0c0;
    --button-hover-color: #a0a0a0;
    --taskbar-color: #5691eb;
    --close-btn-color: #eeeb12;
    --min-btn-color: #f9f4c9;
}

body{
    margin: 0;
    padding: 0;
    height: 100vh;
    background: #c0f4f4;
    background: linear-gradient(45deg, #ff69b4, #87ceeb, #c7e8c7, #dda0dd);
    background-size: cover;
    background-position-y: -10px;
    font-family: 'Tiny5', sans-serif;
    font-size: 16px;
    overflow-x: hidden;
    overflow-y: hidden;
}
.desktop{
    height: calc(100vh - 40px);
    position: relative;
}

.desktop-icons {
            position: absolute;
            top: 20px;
            left: 20px;
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

.icon-image {
            width: 32px;
            height: 32px;
            background: linear-gradient(45deg, #ff69b4, #87ceeb);
            border: 2px solid #fff;
            border-radius: 4px;
            margin-bottom: 5px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 16px;
            box-shadow: 2px 2px 4px rgba(0,0,0,0.3);
        }
.desktop-icon {
            display: flex;
            flex-direction: column;
            align-items: center;
            cursor: pointer;
            width: 60px;
            color: white;
            text-shadow: 1px 1px 1px rgba(0,0,0,0.8);
            font-size: 11px;
            text-align: center;
        }

.icon-image:hover{
            background: linear-gradient(45deg, #ff1493, #00bfff);
            box-shadow: 0 0 10px rgba(255, 20, 147, 0.5);
            transform: scale(1.05);
            transition: background 0.3s, box-shadow 0.3s, transform 0.3s;
}
        

.taskbar {
    height: 40px;
    background: var(--taskbar-color);
    border-top: 1px solid #99acd4;
    box-shadow: 0 -1px #75a6de;
    position: fixed;
    bottom: 0;
    width: 100%;
    display: flex;
    align-items: center;
}

.clock{
    margin-left: auto ;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
}

.boot-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    color: #0f0;
    font-family: monospace;
    padding: 20px;
    z-index: 1000;
    white-space: pre-line;
    overflow: hidden;
}

.fade-out {
    animation: fadeOut 1s forwards;
}
@keyframes fadeOut {
    to {
        opacity: 0;
        visibility: hidden;
    }
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
}

.modal-content {
    background-color: #c0c0c0;
    margin: 10% auto;
    padding: 2px;
    width: 300px;
    border: 2px solid;
    border-color: #fff #808080 #808080 #fff;
    box-shadow: 2px 2px #000;
}

.modal-header {
    background: var(--window-title-color);
    color: white;
    font-weight: bold;
    padding: 2px 4px;
    height: 18px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-body {
    padding: 10px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #808080 #fff #fff #808080;
}
.modal-close {
    width: 14px;
    height: 14px;
    background: var(--close-btn-color);
    border: 1px solid;
    border-color: #fff #808080 #808080 #fff;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
}

.modal-close:active {
    border-color: #808080 #fff #fff #808080;
}