/* AustinOS1 - green theme
   still learning css so keeping this simple */

body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  background-color: #2e5339;
  overflow: hidden;
}

/* welcome screen */
#welcome-screen {
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #1b3324;
  color: #d9f2df;
  text-align: center;
}

#welcome-screen h1 {
  font-size: 40px;
  margin-bottom: 5px;
}

#enter-btn {
  margin-top: 20px;
  padding: 10px 25px;
  font-size: 16px;
  background-color: #7bc47f;
  border: 3px outset #4c8f52;
  cursor: pointer;
}

#enter-btn:hover {
  background-color: #94d698;
}

/* desktop is hidden until you click enter, script.js switches display */
#desktop {
  display: none;
}

/* top bar */
#topbar {
  height: 35px;
  background-color: #1b3324;
  color: #d9f2df;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
  font-size: 14px;
  box-sizing: border-box;
}

/* desktop icons */
#icons {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 20px;
  width: 90px;
}

.icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  cursor: pointer;
  color: #eafff0;
  text-shadow: 1px 1px 2px black;
}

.icon-img {
  width: 45px;
  height: 45px;
  border: 2px solid #4c8f52;
  color: #1b3324;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  font-weight: bold;
  border-radius: 6px;
}

/* gave each app icon its own color so they're easier to tell apart */
.icon-about {
  background-color: #cdeccf;
}

.icon-notes {
  background-color: #ffe9a8;
}

.icon-music {
  background-color: #ffc2c2;
}

.icon-weather {
  background-color: #a8d8ff;
}

.icon-label {
  font-size: 12px;
  margin-top: 3px;
}

/* windows */
.window {
  position: absolute;
  top: 80px;
  left: 150px;
  width: 300px;
  background-color: #e8f5e9;
  border: 2px solid #4c8f52;
  display: none;
  box-shadow: 4px 4px 6px rgba(0,0,0,0.4);
}

.window.open {
  display: block;
}

.window-top {
  background-color: #4c8f52;
  color: white;
  padding: 6px 8px;
  display: flex;
  justify-content: space-between;
  cursor: move;
  font-size: 14px;
  user-select: none;
}

.close-btn {
  cursor: pointer;
  padding: 0 5px;
}

.close-btn:hover {
  background-color: #a33;
}

.window-body {
  padding: 10px;
  font-size: 14px;
  color: #1b3324;
}

#notes-area {
  width: 95%;
  height: 100px;
}

#notes-status {
  font-size: 12px;
  color: #2e5339;
  margin-left: 8px;
}
