/* CSS is how you can add style to your website, such as colors, fonts, and positioning of your
   HTML content. To learn how to do something, just try searching Google for questions like
   "how to change link color." */

* {
  max-width: 100%;
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
}


body {
  background-image: url('./img/bg.png'); /* credits: https://unsplash.com/pt-br/fotografias/os-discos-flutuam-dentro-de-uma-grade-digital-de-algum-tipo-cd3rN353nu4 */
  color: black;
  font-family: "MS Sans Serif", sans-serif;
  font-size: 14px;
}

header {
  margin: 1rem 2rem;
  background-color: #F2C9E4;
}

header ul {
  width: 100%;
  padding: 2rem;
  list-style: none;
}

aside {
  padding: 1rem;
  max-width: 100%;
  background: #F2C9E4;
  color: #D90D7D;
}

main {
  padding: 2rem;
  max-width: 100%;
  width: 100%;
  background-color: #F2C9E4;
}

footer {
  position: fixed;
  width: 100%;
  bottom: 0;
}

iframe {
  width: 100%;
  max-width: 560px;
  display: block;
}

/* CONTAINERS */
.container--main {
  max-width: 100%;
  overflow: hidden;
  padding: 2rem 2rem 5rem 2rem;
  display: grid;
}
.container--main > * {
  margin-bottom: 2rem;
}
.container--center {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* POP-UPS*/
.popup {
  position: relative;
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
}

.popup__header {
  width: 100%;
  padding: 0.2rem;
  position: absolute;
  top: 0;
  left: 0;
  font-weight: bold;
  background-color: #1B0A26;
  color: #D8A7D9;
}
.popup--not-found {
  max-width: 500px;
  margin: 2rem;
}
.popup--not-found a {
  display: block;
  margin: 0.5rem 0;
  text-align: center;
}

/* TASKBAR */
.taskbar {
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 2px 6px;
  height: 32px;
}
.taskbar .start {
  background: #c0c0c0;
  border-top: 2px solid #fff;
  border-left: 2px solid #fff;
  border-right: 2px solid #404040;
  border-bottom: 2px solid #404040;
  padding: 2px 12px;
  cursor: pointer;
  font-weight: bold;
}
.taskbar .start:active {
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
}
.taskbar .tray {
  padding: 0 8px;
  border-top: 2px solid #404040;
  border-left: 2px solid #404040;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  background: #c0c0c0;
}

.drawing {
  width: 100%;
  max-width: 250px;
}

/* UTILS */
.grid {
  display: grid;
}

@media only screen and (min-width: 900px){
  aside {
    width: 100%;
    max-width: 200px;
  }

  .container--main {
    display: flex;
  }
  
  .container--main > *:first-child {
    margin-right: 2rem;
  }

}