@font-face {
  font-family: "winfont";
  src: url("assets/w95f.woff2") format("woff2");
}

body {
  background-image: url("https://w.wallhaven.cc/full/21/wallhaven-213edy.png");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: fixed;

}

.window-main {
  background-color: rgba(192, 192, 192, 1);
  font-family: winfont;
  display: flex;
  flex-direction: column;
}

/* the center window */
.center-div {
  position: fixed;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);

  width: 900px;
  height: 900px;
}

/* name of the window */
.window-title-bar {
  display: flex;
  flex-direction: row;
  align-items: center;

  h1 {
    font-weight: bold;
    font-size: 1.5rem;
    margin: 0;
    padding: 0;
  }

  .window-title-spacer {
    flex-grow: 1;
  }

  .window-title-icon {
    height: 24px;
    padding: 2px;
  }

  /* inactive color */
  /* background-color: #808080; */
  /* color: #bdbdbd; */

  background-color: #000080;
  color: #ffffff;

  margin: 2px;
}

.window-action-menu {
  display: flex;
  gap: 2px;
  margin-right: 2px;

  img {
    height: 22px;
    padding: 0;
    margin: 0;
  }
}

.window-file-menu {
  display: flex;
  gap: 16px;
  padding-left: 12px;
  padding-top: 1px;

  a::first-letter {
    text-decoration: underline;
  }
}

.border-1 {
  border-right: 2px solid black;
  border-bottom: 2px solid black;
  border-top: 2px solid white;
  border-left: 2px solid white;
}

.border-2 {
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  border-top: 2px solid black;
  border-left: 2px solid black;
}

.homepage-body {
  display: flex;
  justify-content: space-around;
  align-content: flex-start;
  flex-wrap: wrap;
  flex: 1;
  gap: 10px;

  margin: 4px;
  padding: 20px 5px;

  background-color: #ffffff;

}

.homepage-item {
  display: flex;
  flex-direction: column;
  flex: 0;
  flex-basis: 15%;
  align-items: center;

  padding-top: 16px;

  img {
    max-width: 80px;
    height: auto;
  }

  a {
    text-align: center;
  }

  a:hover {
    color: white;
    background-color: #000080;
  }
}

.music-div {
  position: fixed;
  left: 40vw;
  top: 60%;
  transform: translate(50%, 50%);

  width: 600px;
  height: 220px;
}

.music-div .title-bar {
  background-color: #808080;
  color: #bdbdbd;
}


.music-div .player-body {
  display: flex;
  align-items: center;
  flex: 1;
  margin: 8px;
}

.music-div #album-cover {
  width: 140px;
  margin-right: 10px;
}

.music-div .player-controls {
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: center;
}

.music-div .track-info-item {
  display: flex;
  align-items: center;
  gap: 0 5px;
}

.music-div .track-info-item .boxed {
  background-color: white;
  border-left: 2px solid black;
  border-top: 2px solid black;
  border-right: 2px solid white;
  border-bottom: 2px solid white;
  flex: 1;
  padding: 2px 2px 0 2px;
}

.player-actions {
  display: flex;
  justify-content: space-evenly;
}

button {
  border-radius: 0;
  padding: 0 30px;
  font-size: 1.2rem;
  font-weight: bold;
}

.photo-div {
  position: fixed;
  left: 20vw;
  top: 50vh;
  /* transform: translate(-50%, -50%); */

  width: 500px;
  height: 500px;

  .photo-album-body {
    flex: 1;

    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;

    .pictureframe {
      flex: 1;
      display: flex;
      flex-direction: column;
      justify-content: center;

      height: auto;

      #current-photo {
        max-width: 375px;
        max-height: 375px;
      }
    }
  }

}

.quote-div {
  position: fixed;
  left: 70%;
  top: 20%;
  transform: translate(-50%, -50%);

  width: 700px;
  height: 300px;
}
