body {
	margin: 0px;
	min-width: 320px;
	font-family: 'Teko', sans-serif;
  display: flex;
  flex-direction: column;
}

div {
	  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Old versions of Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}

#upper-container {
	width: 100%;
  background-color: #c7e0eb;
  text-align: center;
  max-height: 448px;
  display: inline-flex;
  flex-direction: row;
  align-content: center;
}

#snowman-big {
	max-width: 100%;
	max-height: 100%;
	background-color: white;
	display: inline-block;
}

#snowman-collectible {
	width: 28px;
	height: 28px;
	background-color: blueviolet;
	position: absolute;
	top: 0px;
	left: 0px;
	display: none;
}

#snowman-div {
	background-color: #929da3;
	width: 80%;
  display: inline-flex;
  align-items:  center;
  justify-content: center;
}

#layers {
	background-color: #c7e0eb;
	max-height: 100%;
  width: 25%;
  display: inline-flex;
  overflow-y: auto;
  overflow-x: hidden;
  flex-wrap: nowrap;
  flex-direction: column;
  align-items: center;
  min-width: 120px;
}


#lower-container {
	width: 100%;
	background-color: #b0d3e3;
	text-align: center;
}

/* Layer controls */
#layer-controls {
	width: 100%;
	background-color: #ffffff4a;
	text-align: center;
}

.disabled {
	opacity: 20%;
}

.control {
	width: 80px;
  height: 80px;
  margin: 10px;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  background-color: whitesmoke;
  font-size: 20px;
}

.material-icons {
	font-size: 40px;
}

/* Items */
.item {
  max-width: 100px;
  max-height: 100px;
  display: inline-block;
  margin: 5px;
  background: white;
  border-radius: 3px;
  position: relative;
}

#items {
	display: inline-flex;
  width: 100%;
  overflow-y: auto;
  height: 500px;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: center;
  align-content: flex-start;
  max-width: 550px;
}

#layers .item {
	width: 100%;
}

.equipped {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	border: 2px dashed #4aa7f3;
}

.selected {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
	border: 3px solid #007ee7;
}

input {
	display: none;
}

img {
	width: 100%;
}

.item-name {
	position: absolute;
	bottom: 0px;
	width: 100%;
	    text-shadow: 0 0 3px white;
}


@media only screen and (max-width: 600px) {
  #upper-container {
    height: 240px;
  }

  .control {
		width: 60px;
	  height: 60px;
	  margin: 5px;
  }
}