* {
    color: #002142;
    font-family: 'Source Sans Pro', sans-serif;
    text-align: center;
}

.grid-container {
  display: grid;
  grid-template-columns: 4fr 1fr;
  grid-template-rows: 10% 20% 20% 10% 20% 10%;
    grid-template-areas:
    "header header"
    "textballoon textballoon"
    "left topright"
    "left bottomright"
    "progress progress"
    "footer footer";
  padding: 5px;
}

.form-container {
  grid-area: header;
}

.progress-container {
	grid-area: progress;
}

.ball-container {
 grid-area: bottomright;
}

.cat-container {
	grid-area: left;
}

.feel-container {
	grid-area: textballoon;
}

.score-container {
 grid-area: topright;
 }

.name-container {
  grid-area: footer;
 }
.label{
width: 100%;
}

@media only screen and (min-width: 800px)  {

.grid-container {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 1.1fr;
  grid-template-rows: 20% 20% 10% 20% 30%;
    grid-template-areas:
    "header header header"
    "topleft main topright"
    "topleft main bottomright"
    "bottomleft main bottomright"
    "footer footer footer";
  padding: 5px;
}

.form-container {
  grid-area: header;
}

.progress-container {
	grid-area: topleft;
}

.ball-container {
 grid-area: bottomleft;
}

.cat-container {
	grid-area: main;
}

.feel-container {
	grid-area: topright;
}

.score-container {
 grid-area: bottomright;
 }

.name-container {
  grid-area: footer;
 }
}

.nameForm, .colorForm {
     font-size: 1.2em;
}


input[type="button"], button, .scoreDisplay {
    background-color: #ffe135; /* Yellow */
    border: none;
    margin: 0px 0px 0px 5px;
    padding: 0.4em 0.6em;
    display: inline-block;
    border-radius: 3px;
    font-size: 1em;
}

button {
	display: block;
	margin: 10px 10px 10px 10px;
}

#scoreText {
  font-size: 3em;
}

#level {
  font-style: italic;
  color: white;
}
.label{
width: auto;
display: inline-block;
}
input[type="text"] {

	  display: inline-block;
		margin-left: 5px;
}

.cat {
  height: auto;
  width: 88%;
  display: block;
	margin: 0 auto;

}

.feelDisplay {
  position: relative;
  background-image: url("balloon.jpg");
  background-size: 60vh 20vh;
  background-repeat: no-repeat;
  background-position: center;
  height: 140px;
}

#feelText {
	position: relative;
	display: block;
	width: 40vh;
	margin-left: auto;
	margin-right: auto;
	top: 20%;
	text-align: center;
	font-size: 1.3em;
}


.nameDisplay {
  font-size: 1.2em;
}
.nameDisplay2 {
  padding-bottom: 15px;
  color: #00172e;
  font-size: 5em;
  display: block;
	margin: 0 auto;
	width: 35%;
  border-radius: 4px;
}

.barDescription {
    display: block;
    width: 75%;
  	margin-left: auto;
  	margin-right: auto;
    height: 30px;
    text-align: left;
    font-size: 1.2em;
    font-style: italic;
}

#foodBar, #loveBar, #petBar {
    width: 80%;
    margin-top: 10px;
  	margin-left: auto;
  	margin-right: auto;
    height: 30px;
    background-color: grey;
    border-radius: 3px;
}

#foodProgress {
    width: 50%;
    height: 30px;
    background-color: #3eb300; /*green*/
    border-radius: 3px;
}

#petProgress {
    width: 30%;
    height: 30px;
    background-color: orange;
    border-radius: 3px;
}

#loveProgress {
    width: 30%;
    height: 30px;
    background-color: orange;
    border-radius: 3px;
}
