body {
  font-family: "MS Sans Serif", Arial, sans-serif;
  background: url("images/win95.jpg") center center / cover;
  margin: 0;
  padding: 20px;
  height: 100vh;
  overflow: hidden;
}

.desktop-icon {
  width: 60px;
  text-align: center;
  color: white;
  margin-bottom: 30px;
  cursor: pointer;
}

.desktop-icon img {
  width: 48px;
  height: 48px;
  display: block;
  margin: 0 auto;
}

.icon-text {
  font-size: 12px;
  text-shadow: 1px 1px black;
}

.icon-container {
  position: absolute;
  top: 20px;
  left: 20px;
}

.window,
.explorer-window {
  position: absolute;
  top: 100px;
  left: 100px;
  background-color: white;
  border: 2px solid black;
  box-shadow: 4px 4px #808080;
  padding: 0;
  z-index: 10;
  overflow: hidden;
}

.window-header {
  background-color: #000080;
  color: white;
  padding: 4px;
  cursor: move;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.button {
  background-color: #c0c0c0;
  border: 1px solid #999;
  padding: 5px 10px;
  cursor: pointer;
  font-family: Arial, sans-serif;
  box-shadow: 2px 2px 0px #808080;
  outline: none;
  transition: box-shadow 0.2s ease;
}

/* Efekt kliknięcia - przycisk wydaje się wklęsły */
.button-large:active {
  box-shadow: inset 2px 2px 0px #808080; /* Wciśnięty efekt */
  transform: translate(1px, 1px); /* Przesunięcie w dół i w prawo */
}

/* Rozmiary przycisków */
.button-small {
  padding: 2px 6px;
  font-size: 12px;
}

.button-medium {
  padding: 5px 10px;
  font-size: 14px;
}

.button-large {
  border: 1px solid black;
  padding: 10px 30px;
  cursor: pointer;
  box-shadow: 2px 2px 0px #808080; /* Wypukły efekt */
}

.button:hover {
  background-color: #ffffff;
}

.window-bar {
  display: flex;
  justify-content: space-around;
  background-color: #c0c0c0;
  border-top: 2px solid #000;
  padding: 10px 0;
}

.explorer {
  display: flex;
  flex-direction: column;
  padding: 10px;
  background-color: white;
  color: black;
  height: 100%;
}

.folder {
  width: 50px;
  text-align: center;
  margin: 25px;
  cursor: pointer;
}

.folder img {
  width: 32px;
  height: 32px;
}

.info-window {
  width: 400px;
  height: 250px;
  background-color: #c0c0c0;
  border: 2px solid #000;
  box-shadow: 4px 4px #808080;
  position: fixed; /* Ustawienie elementu w określonym miejscu względem ekranu */
  top: 50%;
  left: 50%;
  transform: translate(
    -50%,
    -50%
  ); /* Przesunięcie o połowę szerokości i wysokości, aby element był dokładnie na środku */
  z-index: 5;
}

.info-window-header {
  background-color: #000080;
  color: white;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.info-window-content {
  padding: 20px;
  background-color: #c0c0c0;
}

.explorer-window-header {
  background-color: #000080;
  color: white;
  padding: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.window-content,
.explorer-window-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px;
  background-color: white;
  flex-grow: 1;
  position: relative;
  min-width: 250px;
  max-width: 850px;
  min-height: 200px;
  flex-direction: row;
  height: auto; /* Sprawia, że wysokość jest dostosowana do treści */
  box-sizing: border-box;
}

.window-content-2,
.explorer-window-content-2 {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  padding: 10px;
  background-color: white;
  flex-grow: 1;
  position: relative;
  min-width: 550px;
  min-height: 150px;
  flex-direction: row;
}

.icon {
  width: 50px;
  text-align: center;
  margin: 25px;
}

.icon img {
  width: 32px;
  height: 32px;
}

.icon span {
  display: block;
  margin-top: 5px;
  font-size: 12px;
}

.window-footer,
.explorer-window-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #c0c0c0;
  border-top: 1px solid black;
  padding: 8px;
  text-align: right;
  font-size: 12px;
  box-sizing: border-box;
}
.popup {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background-color: white;
  border: 2px solid black;
  padding: 20px;
  z-index: 1001;
  box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.2);
}

.popup-content {
  text-align: center;
}

.popup-content h2 {
  margin-bottom: 20px;
}

.popup-content button {
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
}
