
/* box sizing */

*, *:before, *:after {
	box-sizing: inherit;
}

/* markup */

HTML {
	height: 100%;
	line-height: 1.45;
	-webkit-overflow-scrolling: touch;
  font-size: 100%;
  box-sizing: border-box;
  color: #EEFBFB;
  background: #12232E;
}

body {
  position: relative;
	min-height: 100%;
	font-family: "Roboto", Arial, "Lucida Grande", sans-serif;
	font-weight: 400;
  color: #EEFBFB;
  margin: 0;
  padding: 0;
  border: 0;
  display: flex;
  min-height: 100vh;
  flex-direction: column;
  background: #12232E url(../gfx/bg.jpg?c=2) 50% 50% no-repeat;
  background-size: cover;
}

/* elements */

a {
  color: #EEFBFB;
  text-decoration: underline;
}

a.active {
  text-decoration: none;
  opacity: 0.5;
}

a:hover {
  text-decoration: none;
}

*:focus {
    outline: none;
}

input.submit, input.button, button {
  -webkit-appearance: none;
  -moz-appearance: none;
}

img {
  display: inline-block;
}

/* header */

header {
  position: relative;
  margin: 0;
  display: flex;
  flex-flow: row nowrap;
  justify-content: space-between;
  align-items: center;
  padding: 3vw 5vw;
  background: rgba(4, 18, 28, 0.94);
}

@media (min-width: 700px) {
  header {
    padding: 1vw 5vw;
  }
}

.header-logo img {
  width: 15vw;
  height: auto;
}

@media (min-width: 700px) {
  .header-logo img {
    width: 5vw;
  }
}

.header-links {
  font-size: 3vw;
}

@media (min-width: 700px) {
  .header-links {
    font-size: 1vw;
  }
}

.header-links a {
  line-height: 1em;
}

/* footer */

footer {
  position: relative;
  margin: 0;
  padding: 3vw 5vw;
  text-align: center;
  background: rgba(4, 18, 28, 0.94);
}

@media (min-width: 700px) {
  footer {
    padding: 1vw 5vw;
  }
}

/* main */

main {
  position: relative;
  flex: 1;
  background: rgba(10, 25, 36, 0.92);
  padding: 3vw 5vw;
}

h1 {
  font-weight: 100;
  text-align: center;
}

h2 {
  text-align: center;
  font-size: 1em;
  margin-bottom: 0.5em;
}


@media (min-width: 700px) {
  main {
    padding: 1vw 5vw;
  }
}

/* input */

input.text {
  width: 100%;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid #23536e;
  font-size: 1em;
  border-radius: 0.7em;
  color: #EEFBFB;
  padding: 0.5vw 0.2em;
}

input.text:hover {
  border: 1px solid #4DA8DA;
}

.art-line.lowest input.text {
  border: 1px solid #4DA8DA;
  color: #4DA8DA;
}

button, input.button {
  background: #23536e;
  color: #EEFBFB;
  border-radius: 40em;
  font-weight: 700;
  border: 0;
  padding: 0.5em 1.3em;
  cursor: pointer;
  transition: background 300ms ease;
}

button:hover, input.button:hover {
  background: #4DA8DA;
}

/* art */

#art {
  margin: 0 auto;
  max-width: 40em;
}

.art-line {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5em;
}

.art-line-prev {
  flex: 0 1 auto;
  font-size: 1.4em;
  line-height: 1em;
  width: 3em;
  text-align: left;

}

.art-line-post {
  flex: 0 1 auto;
  font-size: 1.4em;
  line-height: 1em;
  width: 3em;
  text-align: right;

}

.art-line-prev {
  opacity: 0.2;
  background: url(../gfx/arrow.svg) 2.5em 55% no-repeat;
  background-size: 0.3em auto;
}

.art-line-post {
  opacity: 0.5;
  background: url(../gfx/arrow.svg) 0.3em 55% no-repeat;
  background-size: 0.3em auto;
}

.art-line.lowest .art-line-post {
  opacity: 1;
}

.art-line-input span {
  color: #23536e;
}

.art-line-input input {
  width: 3em;
  font-size: 1.2em;
  line-height: 1em;
  text-align: center;
}

#art-sum {
  padding-top: 1em;
  text-align: center;
  display: none;
}

#art-sum.active {
  display: block;
}

#art-sum p strong {
  font-weight: 400;
  color: #4DA8DA;
}
#put-waste {
  font-size: 2em;
  display: none;
}
#put-waste.active {
  display: inline;
}
#put {
  font-size: 2em;
}