/* http://puphpeteerdev.inttech.de/parteimemory/ */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  background: white;
  /* background-image: linear-gradient(to top left, #9b59b6, #1abc9c); 
  background-image: url("https://upload.wikimedia.org/wikipedia/commons/thumb/8/85/Die_PARTEI_Logo_Blur_Schatten_Vektor_V2.svg/800px-Die_PARTEI_Logo_Blur_Schatten_Vektor_V2.svg.png");
  background-repeat: no-repeat;
  background-size: 30%;
  background-position: right 20px bottom 20px;*/
  font-family: impact;
  position: relative;
  text-align: center;
}

/* HEADER */
header {
  color: black;
  letter-spacing: 2px;
  font-size: 18px;
  padding: 10px 5px;
}

header img {
	width: 300px;
	object-fit: contain;
}

@media only screen and (min-width: 768px) {
  header {
    font-size: 22px;
  }
}

@media only screen and (min-width: 1024px) {
  header {
    font-size: 26px;
    padding: 10px;
  }
}

/* main SECTION */
.main {
  background: none;
  width: 310px;
  height: 520px;
/*   box-shadow: 3px 3px 3px 1px rgba(0,0,0,0.4); */
  margin: auto;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

@media only screen and (min-width: 768px) {
  .main {
    width: 610px;
    height: 480px;
  }
}

@media only screen and (min-width: 1024px) {
  .main {
    width: 780px;
    height: 600px;
  }
}

.box {
  background: #555555;
/*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); 
  background-size: 250%; */
  width: 90px;
  height: 127px;
  float: left;
  margin: 10px 0 0 10px;
}

@media only screen and (max-width: 767px) {
  .box {
    width: 60px;
    height: 85px;
  }
}

@media only screen and (min-width: 1024px) {
  .box {
    width: 120px;
    height: 170px;
  }
}

.play:hover {
  opacity: 0.7;
  cursor: pointer;
}

img {
  width: 100%;
  display: block;
  
}

/* STATUS bar */
#state {
  background: #555555;
/*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); 
  background-size: 250%; */
  width: 290px;
  line-height: 25px;
  float: left;
  margin: 10px 0 0 10px;
  padding: 0 10px;
  color: white;
  font-size: 16px;
}

@media only screen and (min-width: 768px) {
  #state {
    width: 590px;
  }
}

@media only screen and (min-width: 1024px) {
  #state {
    width: 770px;
    line-height: 35px;
  }
}

#time {
  float: left;
}

#time::after {
  content: " Sek.";
}

#score {
  float: right;
}

#score::after {
  content: " Punkte";
}

/* FOOTER */
footer p {
  color: white;
  padding: 5px 10px;
  font-size: 14px;
  letter-spacing: 1px;
  background: #888888;
}

footer p a {
  color: #ddd;
  text-decoration: none;
}

footer p a:hover {
  color: white;
  text-decoration: underline;
}

.hidden {
  display: none !important;
}

.show {
  display: block;
}

/* .outlined {
  outline: solid 2px #34495e;
  background: #9b59b6;
} */

/* PRE modal window */
#pre {
  position: absolute;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  text-align: center;
}

#themes {
  margin: auto;
  padding: 20px;
  width: 250px;
  background: white;
  color: #555555;
  font-size: 20px;
  letter-spacing: 1px;
}

#themes p {
  margin-top: 10px;
  padding: 5px 20px;
  border: solid 1px;
  background: white;
  color: #555555;
  cursor: pointer;
  font-size: 16px;
}

#themes p:hover {
  background: #555555;
/*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
  background-size: 250%;
  color: white;
}

/* POST modal window */
#post {
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
}

#post > div {
  width: 300px;
  padding: 20px 0 40px;
  background: white;
  color: #555555;
}

#post p:first-child, 
#post #final {
  font-weight: bold;
  letter-spacing: 2px;
  margin: auto;
  padding: 10px 20px;
}

#post #again {
  color: #555555;
  text-decoration: none;
  margin: auto;
  padding: 10px 20px;
  width: 160px;
  border: solid 1px;
}

#post #again:hover {
  background: #555555;
/*   background-image: linear-gradient(to top left, #9b59b6, #1abc9c); */
  background-size: 250%;
  color: white;
  cursor: pointer;
}

.headline {
	color: black;
}