/* Box Model Hack */
* {
  box-sizing: border-box;
  font-family: 'Roboto Mono', monospace;
}

/* Clear fix hack */
.clearfix:after {
     content: ".";
     display: block;
     clear: both;
     visibility: hidden;
     line-height: 0;
     height: 0;
}

.clear {
	clear: both;
}

/******************************************
/* BASE STYLES
/*******************************************/
html {
  font-size: 62.5%;
}

body {
  background: rgb(209, 212, 219);
  font-size: 2rem;
  text-align: center;
}

h1, h2, h3, h4, h5, h6, ul, li {
  margin: 0;
  padding: 0;
}

form {
  box-shadow: none;
}

ul, li {
  list-style: none;
}

a {
  color: black;
  text-decoration: none;
}

a:hover {
  color: gray;
}

/******************************************
/* LAYOUT
/*******************************************/
header {
  margin: 2rem 0;
}

.mainSpace {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.stopWatchSection {
  align-items: center;
  background: black;
  background: rgb(80, 80, 80);
  box-shadow: 1px 1px 2px rgb(55, 55, 55);
  display: flex;
  margin-bottom: 2rem;
  max-width: 550px;
  min-width: 550px;
  flex-direction: column;
  flex-wrap: nowrap;
  flex: 2;
  padding: 2rem;
  touch-action: manipulation;
}

.stopWatchDisplay {
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 5rem;
  margin: 4rem 0;
  text-align: center;
  width: 75%;
}

#hoursMinsSeconds {
  font-size: 3rem;
  margin-bottom: 2rem;
}

.buttons {
  display: flex;
  flex-flow: row nowrap;
}

.button {
  transition: all .07s ease;
}

.buttons button {
  background: rgb(122, 122, 122);
  border: 1px solid rgb(80, 80, 80);
  color: white;
  height: 70px;
  width: 150px;
  font-size: 3rem;
  margin: 2rem 1rem 4rem 1rem;

}

.spaceLeft, .spaceRight {
  flex: 2;
}

.clicking {
  transform: scale(0.9);
  background: rgb(198, 198, 198);
}


.footerSection ul {
  display: flex;
  flex-direction: row;
  justify-content: center;
  margin-bottom: 2rem;
}

.footerSection li {
  margin: 0 2rem;
}


/* Media Queries */

@media screen and (max-width: 900px) {

  header {
    margin-top: 1.5rem;
  }

  .stopWatchSection {
    margin-bottom: 1rem;
    transform: scale(0.8);
    -webkit-transform: scale(0.8);
  }

  .spaceLeft,
  .spaceRight {
    display: none;
  }

}
