* {
    box-sizing: border-box;
    margin: 0px;
    padding: 0px;
    text-align: center;
}

body {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  height: 100%;
}

#banner {
  float: left;
  width: 100%;
}

.upper-50 {
  height: 135px;
  float: left;
}

#title {
  width: 65%;
}

h1 {
  width: 100%;
  text-align: left;
  font-size: 450%;
  padding-top: 35px;
  padding-left: 8%;
}

#upload-button-div {
  width: 35%;
  font-size: 220%;
  margin: 0px;
  border: 0px;
  outline:0; /* gets rid of blue outline when clicked */
}

#content {
  width: 100%;
  height: 0px;
  flex-grow: 999;
}

.lower-50 {
  display: none;
  /* display: flex; */
  float: left;
  height: 100%;
  padding: 20px;
}

#theImage {
  display: none;
  /* display: flex; */
  width: 60%;
}

#color-buttons {
  display: none;
  /* display: flex; */
  flex-wrap: wrap;
  width: 40%;
  overflow-y: auto;
}

/* media queries should be used to change buttond
display to a simple column. Flexbox can't
do literally ALL the work for me */
.buttons {
  font-size: 180%;
  padding: 10% 5% 10%;
  margin: 0px 4px 4px 0px;
  /* border-radius: 25px; */
}

@media only screen and (max-width: 500px) {

  #title {
    width: 40%;
    height: 70px;
  }

  h1 {
    width: 100%;
    text-align: left;
    font-size: 40px;
    padding: 4%;
  }

  #upload-button-div {
    width: 60%;
    height: 70px;
    font-size: 25px;
    text-align: center;
    padding-bottom: 0px;
    margin: 0px;
    border: 0px;
    outline: 0; /* gets rid of blue outline when clicked */
  }

   .lower-50 {
     display: none;
    padding: 0px;
    overflow-y: auto;
  }

  #theImage {
    display: none
    padding: 0px;
    margin: 0px;
    width: 100%;
    height: 40%;
  }

  #color-buttons {
    display: none;
    float: center;
    flex-wrap: wrap;
    align-content: stretch;
    width: 100%;
    overflow-y: visible;
    padding-top: 2px;
  }

  .buttons {
    font-size: 148%;
    flex-grow: 100;
    margin: 1px;
    /* padding: 6% 4% 6%; */
    /* margin: 0px 1px 1px 0px; */
    /* border-radius: 25px; */
  }

}
