* {
  margin: 0;
  padding: 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}

::selection {
  display: none;
}

body {
  overflow: hidden;
}

#macOS {
  display: block;
}

#back {
  width: 110%;
  height: 105%;
  aspect-ratio: 1.78;
}

#back img {
  background: no-repeat center center/cover;
  height: 100vh;
  width: 100%;
  border-radius: 0px;
}

.main {
  position: absolute;
  width: 1520px;
  height: 740px;
  border-radius: 20px;
  border-color: black;
  border-width: 2px;
}

.main header img {
  width: 101.5%;
  position: absolute;
  top: 0px;
  border-radius: 0px 00px 0px 0px;
}

#dock-container {
  position: fixed;
  bottom: -100%;
  text-align: center;
  right: 20%;
  left: 15.5%;
  width: 73%;
  height: 50px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 10px;
  margin-bottom: 7px;
  transition: all 0.5s ease-in-out;
}

#dock-container li {
  list-style-type: none;
  display: inline-block;
  position: relative;
  transition: all 0.28s ease-in-out;

}

#dock-container li img {
  width: 48px;
  height: 48px;
  -webkit-box-reflect: below 2px -webkit-gradient(linear, left top, left bottom, from(transparent),
      color-stop(0.7, transparent), to(rgba(255, 255, 255, .5)));
  -webkit-transition: all 0.3s;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  transition: all 0.28s ease-in-out;

}

#dock-container li:hover img {
  -webkit-transform: scale(1.5);
  transform: scale(1.8);
  margin: 0 0.5em;
}

#dock-container li:hover+li img,
#dock-container li.prev img {
  -webkit-transform: scale(1.2);
  transform: scale(1.2);
  margin: 0 0.6em;
}

#dock-container:hover {
  width: 75%;
}

#dock-container li span {
  display: none;
  position: absolute;
  bottom: 80px;
  left: 0;
  width: 102%;
  background-color: rgba(255, 255, 255, .5);
  padding: 0px 5px;
  border-radius: 5px;
  transition: all 0.8s ease-in-out;

}

#dock-container li:hover span {
  bottom: 85px;

  display: block;
  color: #fff;
  width: max-content;
}

@media (max-width:500px) {
  body {
    width: 100%;
    height: 100%;
    overflow: hidden;

  }

  .main {
    position: fixed;
    height: 100vh;
    max-width: 100vw;
  }

  #macOS {
    height: 100vh;
    width: 100vw;
    overflow: hidden;

  }

  #dock-container {
    position: absolute;
    width: 95vw;
    margin-left: -50px;
  }

  #dock-container #dock ul li img {
    height: 10px;
    width: 10px;
  }

}