/* 
* Odin Project Page Styles Index
* 
* etch-a-sketch.html
* dom-manipulation.html
* drumkit.html
* loops.html
* array-functions.html
* rps.html, rps-ui.html
*/

/* etch-a-sketch.html */
html.etch-a-sketch {
  /* line-height: 1.15; */
  line-height: normal;
}
/* #etch-a-sketch h1 {
  background-color: rgb(0, 112, 184);
} */
article.etch-a-sketch {
  margin: 0 auto;
  display: block;
}
.set-grid-size {
  /* background-color: rgb(173, 31, 104); rgb(173, 31, 104) hsl(155, 30%, 80%) */
  /* color: hsl(155, 30%, 50%); */
  /* color: white; */
}
.sketch-container {
  line-height: normal;
  /* content-box | border-box */ 
  /* box-sizing: content-box; */
  /* box-sizing: border-box; */
  width: 500px;
  height: 500px;
  margin: 20px auto 0;
  display: flex;
  justify-content: center;
  /* justify-content: flex-end; */
  flex-wrap: wrap;
  /* align-content: flex-start; */
  /* align-content: flex-end; */
  /* align-content: center; */
  border-bottom: .5px solid black;
  border-right: .5px solid black;
}
.grid-square {
  border-top: .5px solid black;
  border-left: .5px solid black;
  margin: 0;
  padding: 0;
  /* background-color: rgba(10, 10, 10, .5);
  background-color: rgba(0, 0, 0, .5);
  background-color: rgba(10, 10, 10);
  background-color: rgb(0, 102, 174);
  background-color: rgb(0, 112, 184);
  background-color: rgb(10, 122, 194); */
  /* background-color: white; */
}
.post-wrapper > .article-body-wrap.etch-a-sketch h2:first-child + p {
  text-align: center;
  margin-top: 0;
}
/* .blackBg {
  background-color: black;
}
.red {
  background-color: red;
} */

/* dom-manipulation.html */
.article-body-wrap.dom {
  display: block;
}
#dom-item-lister,
.dom-item-container {
  max-width: 600px;
  padding: 15px 20px;
  border: solid 1px green;
}
#dom-item-lister {
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  background-color: green;
}
.dom-item-container {
  margin: 0 auto 2em;
}
#dom-item-lister > div h2 {
  margin: 0 10px 0 0;
  color: linen;
}
span.bold {
  font-weight: bold;
}
.web-dev-simplified li {
  list-style-type: circle;
  line-height: 1.75em;
}
input[value="Submit"] {
  margin-left: 10px;
}
.lister-app-list {
  display: flex;
  flex-direction: column;
  padding: 0;
}
.lister-app-list li {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  border: solid .25px #444;
  padding: 10px;
  margin: 0;
  align-items: center;
}
li button {
  background-color: red;
  border-radius: 3px;
  border: solid 1px #444;
  color: linen;
  cursor: pointer;
}

/* 
  Dropdown menu bug:
  global.css line 142
  .nav-list__item--nested-list li:last-child
  All list-items after first need padding-top:0; 
  Or some other global solution.
  Something like :nth-child :not(:first-child)

      background-color: rgba(128, 128, 128, .75);
			padding: 5px;
			border-radius: 3px;
*/
/* Drumkit */
.odin-drumkit .main-nav label span.menu-toggle {
  background-color: rgba(128, 128, 128, .75);
  padding: 5px;
  border-radius: 3px;
}
.odin-drumkit .main-nav .nav-list-toggle li.nav-list__item > a {
  color: inherit;
}
#site-header {
  flex: 0;
}
html.drumkit {
  background-image: url('../../images/odin-project-images/pexels-mantas-hesthaven-354304.jpg');
  /* cover | fill */
  background-size: cover;
  background-position: center;
}
header.odin-drumkit + #main-content {
  display: flex;
  flex-direction: column;
  justify-content:center;
}
#drumkit {
  width: 100%;
}
#drumkit small {
  color: rgb(96, 96, 6);
  display: block;
  text-align: center;
}
#drumkit small a {
  color: inherit;
  text-decoration: underline;
}
#drumkit small + p {
  text-align: center;
  margin-bottom: 5em;
}
.keys {
  display: flex;
  flex-direction: row; 
  flex-wrap: wrap;
  justify-content: center;
  align-content: center;
}
.key {
  margin: 1em;
  border: solid 3px #333;
  background-color: rgba(0, 0, 0, .3);
  padding: .5em;
  text-align: center;
  color: rgba(0, 255, 13, 0.7);
  border-radius: 5px;
  /* transition property name: like border or margin, etc */
  /* transition-delay and -duration: in seconds or ms */
  /* -timing-function: ease | ease-in | ease-out | ease-in-out */
  transition: all 0.5s ease;
  flex-basis: 60px;
}
.playing {
  /* offset-x | offset-y | blur-radius | spread-radius | color */
  box-shadow: 2px 2px 2px rgba(0, 0, 0, .5);
  border: solid 3px yellow;
  transform: scale(1.1);
}
span.sound {
  display: block;
  margin-top: .5em;
  font-size: 9px;
}
kbd {
  font-size: 1.3em;
  color: linen;
}

/* .search-form {
  margin: 2em 0 0 40px;
} */
input#menu-toggle:focus {
  border: 3px solid yellow;
}
.math {
  display: block;
  padding: 1em;
  font-size: 1.3em;
}

/* array-functions.html */
dt {
  padding: .5rem 0;
}
dd {
  padding-bottom: 1rem;
}
dt + span {
  color: red;
  display: block;
  padding-bottom: 16px;
}

/* rps.html (Rock Paper Scissors) #a41b5f; LSW red */
  /* Desktop */
  @media screen and (min-width: 600px) {
    .post-wrapper {
      display: block;
    }
  }
  #rps-ui {
    margin: 0 auto;
    border: solid 1px magenta;
    height: 500px;
  }
  .button-wrap {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    /* border: solid 3px magenta; */
  }
  .button-wrap button {
    width: 100px;
    padding: 10px;
    margin: 10px;
    cursor: pointer;
  }
  .rps-score {
    text-align: center;
    /* border: solid 1px magenta; */
    margin: 0 0 1em 0;
  }
  .rps-score > p {
    font-size: 1.25em;
    margin-top: 0;
  }
  .rps-score span {
    display: inline-block;
    padding: 1em;
  }
  .play-round-result {
    text-align: center;
    margin: 20px auto;
    font-size: 2em;
  }


  /* Mobile */
  h2 {
    text-align: center;
  }
  /* Desktop
  @media screen and (min-width: 600px) {
    .button-wrap {
      display: flex;
      justify-content: space-between;
      border: solid 1px black;
    }
  }
  /* Desktop
  @media screen and (min-width: 600px) {
    h2 {
      Not sure I want align left
      text-align: left;
    }
  }
*/