@import url("https://fonts.googleapis.com/css?family=Montserrat&display=swap");
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Montserrat', sans-serif;
}

h2 {
  text-align: center;
}

a {
  text-decoration: none;
  color: #1d1d33;
}

.hereiam{
  background-color: #65c9ff;
}

p {
  text-align: center;
  text-transform: uppercase;
  padding-top: 20px;
margin-bottom: 10px;
}
.logo a{
 padding: 0;
 text-decoration: none;
 color: white;
}
.logo a:hover{
  background-color: #25557c;
}
.is-flipped {
  -webkit-transform: rotateY(180deg);
          transform: rotateY(180deg);
}

.container {
  background-color: #ffff;
  padding-bottom: 45px;
  position: relative;
  z-index: 0;
  margin-top: 60px;
}

.active {
  margin: 5px;
}

.bg {
  background-color: #ffff;
}

.box {
  text-align: center;
  -webkit-transition: ease-in;
  transition: ease-in;
}

.black {
  background-color: rgba(0, 0, 0, 0.7);
  position: absolute;
  top: 30%;
  left: 25%;
  right: 25%;
  border-radius: 5px;
  padding-bottom: 2em;
  padding-top: 2em;
  color: white;
}

.solved {
  margin: 5px;
}

.hidden {
  background-color: #585858 !important;
  margin: 5px;
}

.colors {
  height: 50px;
  margin: 5px;
  width: 100%;
  cursor: pointer;
  border: 1px solid grey;
}

#colorchoise {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: right;
      -ms-flex-pack: right;
          justify-content: right;
  margin-left: 30px;
  -webkit-box-shadow: 5px 5px 10px #bbbaba;
          box-shadow: 5px 5px 10px #bbbaba;
  padding: 0 30px 30px;
}

.wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
      -ms-flex-flow: row-reverse;
          flex-flow: row-reverse;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
          
}

div#container #column-1 .quadrat {
  background-color: red;
}

#game {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
          margin-top:2em;
}

#container {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}



.werte {
  text-align: center;
}

#werte, #playerPoints, #playerTurns {
  font-size: 20px;
  margin-bottom: 0;
  text-align: right;
  width: 84%;

}
.reload{
  text-align: center;
}
.reload button {
  color: black;
  cursor: pointer;
}

button {
  margin-top: 20px;
  width: 130px;
  height: 41px;
  background: transparent;
  border: 1px solid;
  border-radius: 3px;
  font-weight: bold;
  text-transform: uppercase;
  color: white;
  cursor: pointer;
}

canvas {
  background-color: rgba(0, 0, 0, 0.7);
}

#popupbox {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
}

.invisible {
  display: none;
}

.row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}

.quadrat {
  margin: 5px;
  -webkit-transition: -webkit-transform 1s;
  transition: -webkit-transform 1s;
  transition: transform 1s;
  transition: transform 1s, -webkit-transform 1s;
  -webkit-transform-style: preserve-3d;
          transform-style: preserve-3d;
  border-radius: 4px;
  -webkit-box-shadow: 5px 5px 10px #bbbaba;
          box-shadow: 5px 5px 10px #bbbaba;
}

.quadrat:hover {
  -webkit-box-shadow: 1px 1px 10px #1d1d33;
          box-shadow: 1px 1px 10px #1d1d33;
}

.quadratheader {
  width: 100%;
  background-color: #585858;
  height: 50px;
}

a {
  text-decoration: none;
  color: white;
  text-transform: uppercase;
  padding: 17px;
}

a:hover {
  background-color: #65c9ff;
}




@media only screen and (min-width: 320px) {
  .quadrat, .active {
    width: 65px;
    height: 65px;
  }
  .colors {
    width: 80%;
    height: 40px;
    margin: 5px auto;
  }
  #colorchoise {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: right;
        -ms-flex-pack: right;
            justify-content: right;
    margin-left: 30px;
    -webkit-box-shadow: 5px 5px 10px #bbbaba;
            box-shadow: 5px 5px 10px #bbbaba;
    padding: 0 10px 30px;
    margin-top:2em;
  }
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-flow: column-reverse;
            flex-flow: column-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  
}

@media only screen and (min-width: 670px) {
  .quadrat, .active {
    width: 100px;
    height: 100px;
  }
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
            flex-flow: row-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #colorchoise {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: right;
        -ms-flex-pack: right;
            justify-content: right;
    margin-left: 30px;
    -webkit-box-shadow: 5px 5px 10px #bbbaba;
            box-shadow: 5px 5px 10px #bbbaba;
    padding: 0 30px 30px;
  }
  
}

@media only screen and (min-width: 1200px) {
  .quadrat, .active {
    width: 120px;
    height: 120px;
  }
  .colors {
    height: 50px;
    margin: 5px;
    width: 100%;
  }
  .wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: reverse;
        -ms-flex-flow: row-reverse;
            flex-flow: row-reverse;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
  #colorchoise {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-pack: right;
        -ms-flex-pack: right;
            justify-content: right;
    margin-left: 30px;
    -webkit-box-shadow: 5px 5px 10px #bbbaba;
            box-shadow: 5px 5px 10px #bbbaba;
    padding: 0 30px 30px;
  }
}
@media only screen and (max-width: 670px) {
  .nav {
    background-color: #25557c;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    display: -ms-grid;
    display: grid;
    -ms-grid-rows: 174px;
    grid-template-rows: 174px;
    width: 100%;
    position: fixed;
    right: 0;
    top: 0;
  }
  ul.navlist {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    margin-top: 50px;
  }

  ul li {
    display: inline-block;
    margin-right: 20px;
    padding: 8px;
  }
  #werte, #playerPoints, #playerTurns {
    font-size: 20px;
    margin-bottom: 0;
    text-align: right;
    width: 84%;
 
  }
}

