/* Стили для тела страницы */
body {
    margin: 0;
    padding: 0;
    overflow: hidden;
    font-family: 'MS Sans Serif', Tahoma, sans-serif;
}

/* Рабочий стол */
.desktop {
    width: 100vw;
    height: 100vh;
    background-color: #008080;
    position: relative;
    
    background-size: cover;
    background-position: center;
}

/* Иконки на рабочем столе */
/* ... ваш существующий CSS ... */

/* Контейнер для иконок */
/* ... ваш существующий CSS ... */

/* Контейнер для иконок */
.icon-container {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 20px;
    left: 20px;
}

/* Иконки на рабочем столе */
.icon {
    width: 80px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    cursor: pointer;
}

.icon img {
    width: 32px;
    height: 32px;
}

.icon span {
    display: block;
    margin-top: 5px;
    font-size: 12px;
}

/* Стили для кнопки приложения в панели задач */
.taskbar-app-button {
    background-color: #C0C0C0;
    border: 2px solid #808080;
    padding: 0 5px;
    margin-left: 5px;
    height: 24px;
    display: flex;
    align-items: center;
    cursor: pointer;
}

.taskbar-app-button img {
    width: 16px;
    height: 16px;
    margin-right: 5px;
}

.taskbar-app-button span {
    font-size: 12px;
}

/* Остальные стили остаются без изменений */



/* Окно приложения */
.window {
    width: 600px;
    height: 400px;
    background-color: #C0C0C0;
    border: 2px solid #000;
    box-shadow: 2px 2px #808080;
    position: absolute;
    top: 50px;
    left: 50px;
    display: none;
    flex-direction: column;
}

/* Заголовок окна */
.title-bar {
    background-color: #000080;
    color: white;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

.title {
    font-weight: bold;
    font-size: 14px;
}

.controls button {
    background-color: #C0C0C0;
    border: 1px solid #808080;
    width: 16px;
    height: 16px;
    margin-left: 2px;
    cursor: pointer;
}

/* Меню окна */
.menu-bar {
    background-color: #C0C0C0;
    height: 20px;
    display: flex;
    align-items: center;
    padding-left: 5px;
}

.menu-item {
    margin-right: 10px;
    font-size: 12px;
    cursor: pointer;
}

/* Содержимое окна */
.content {
    background-color: #FFFFFF;
    flex-grow: 1;
    padding: 10px;
    overflow: auto;
}

/* Панель задач */
.taskbar {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 30px;
    background-color: #C0C0C0;
    display: flex;
    align-items: center;
    border-top: 2px solid #FFFFFF;
    box-shadow: inset 0 2px 0px #808080;
}

/* Стили для кнопки "Пуск" с иконкой */
.start-button {
    background-color: #C0C0C0;
    border: 2px solid #808080;
    padding: 0;
    margin-left: 5px;
    cursor: pointer;
    width: auto;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.start-button img {
    height: 24px;
    width: auto;
}
/* ... ваш существующий CSS ... */

/* Стили для окна командной строки */
#cmd-window {
    width: 600px;
    height: 400px;
    background-color: black;
    color: lime;
    border: 2px solid #000;
    box-shadow: 2px 2px #808080;
    position: absolute;
    top: 70px;
    left: 70px;
    display: none;
    flex-direction: column;
    font-family: 'Courier New', monospace;
}

#cmd-window .title-bar {
    background-color: #000080;
    color: white;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

#cmd-window .controls button {
    background-color: #C0C0C0;
    border: 1px solid #808080;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

#cmd-window .content {
    background-color: black;
    color: lime;
    flex-grow: 1;
    padding: 10px;
    overflow: auto;
}

.cmd-content {
    padding: 10px;
}

#cmd-output {
    margin: 0;
    white-space: pre-wrap;
}
/* Начальный экран */
.startup-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #008080;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    z-index: 1000;
}

/* Кнопка "Start" перед анимацией */
#start-button {
    cursor: pointer;
}

#start-button img {
    width: 150px; /* Настройте размер по вашему желанию */
    height: auto;
}

/* Стили для анимации загрузки */
#animation {
    display: flex;
    flex-direction: column;
    align-items: center;
    display: none; /* Скрыто по умолчанию */
}

#startup-logo {
    width: 300px;
    height: auto;
    animation: fadeIn 2s;
}

#loading-text {
    color: white;
    font-size: 24px;
    margin-top: 20px;
    opacity: 0;
    animation: fadeIn 2s 1s forwards;
}

/* Анимация появления */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
/* Стили для окна с прогресс-баром */
#progress-window {
    width: 450px;
    height: 150px;
    background-color: #C0C0C0;
    border: 2px solid #000;
    box-shadow: 2px 2px #808080;
    position: absolute;
    top: 100px;
    left: 100px;
    display: none;
    flex-direction: column;
}

#progress-window .title-bar {
    background-color: #000080;
    color: white;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

#progress-window .controls button {
    background-color: #C0C0C0;
    border: 1px solid #808080;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.progress-content {
    background-color: #C0C0C0;
    flex-grow: 1;
    padding: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.progress-container {
    width: 80%;
    height: 20px;
    background-color: white;
    border: 1px solid #000;
    margin-bottom: 10px;
    position: relative;
}

#progress-bar {
    width: 0%;
    height: 100%;
    background-color: #000080;
}

#progress-text {
    margin-bottom: 10px;
    font-size: 14px;
}

#speed-up-btn {
    background-color: #C0C0C0;
    border: 2px solid #808080;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: inset -1px -1px 0 #FFFFFF, inset 1px 1px 0 #000000;
}

#speed-up-btn:active {
    box-shadow: inset 1px 1px 0 #FFFFFF, inset -1px -1px 0 #000000;
}
/* Стили для окна с поздравлением */
#congrats-window {
    width: 700px;
    height: 500px;
    background-color: #C0C0C0;
    border: 2px solid #000;
    box-shadow: 2px 2px #808080;
    position: absolute;
    top: 50px;
    left: 50px;
    display: none;
    flex-direction: column;
}

#congrats-window .title-bar {
    background-color: #000080;
    color: white;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
}

#congrats-window .controls button {
    background-color: #C0C0C0;
    border: 1px solid #808080;
    width: 16px;
    height: 16px;
    cursor: pointer;
}

.congrats-content {
    background-color: #FFFFFF;
    flex-grow: 1;
    padding: 20px;
    text-align: center;
}

.congrats-content h1 {
    margin-top: 20px;
    font-size: 24px;
    color: #000080;
}
/* ... ваш существующий CSS ... */

/* Стили для контента окна с поздравлением */
.congrats-content {
    background-color: #FFFFFF;
    flex-grow: 1;
    padding: 20px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Заголовок */
.congrats-content h1 {
    margin-top: 20px;
    font-size: 24px;
    color: #000080;
}

/* Рамка для картинки */
.image-frame {
    width: 375px;
    height: 250px;
    border: 2px solid #000;
    background-color: #C0C0C0;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    margin-bottom: 20px;
}

/* Стили для картинки внутри рамки */
.image-frame img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

/* Кнопка "Buy $send.exe" */
#buy-button {
    background-color: #C0C0C0;
    border: 2px solid #808080;
    padding: 5px 20px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: inset -1px -1px 0 #FFFFFF, inset 1px 1px 0 #000000;
}

#buy-button:active {
    box-shadow: inset 1px 1px 0 #FFFFFF, inset -1px -1px 0 #000000;
}
/* Стили для кнопок-ссылок */
.button-link {
    display: inline-block;
    background-color: #C0C0C0;
    border: 2px solid #808080;
    padding: 5px 10px;
    cursor: pointer;
    font-size: 14px;
    box-shadow: inset -1px -1px 0 #FFFFFF, inset 1px 1px 0 #000000;
    text-decoration: none;
    color: black;
}

.button-link:active {
    box-shadow: inset 1px 1px 0 #FFFFFF, inset -1px -1px 0 #000000;
}

/* Стили для иконок-ссылок */
.icon-link {
    text-decoration: none;
    color: inherit;
}

.icon-link .icon {
    width: 80px;
    text-align: center;
    color: white;
    margin-bottom: 30px;
    cursor: pointer;
}
