* {
  margin: 0;
  padding: 0;
}

body {
  background-color: whitesmoke;
  font-family: sans-serif;
  letter-spacing: 1px;
  
}
h1 {
  font-size: 65px;
}
article {
  color: white;
  width: 100%;
  font-size: border-box;
  margin-bottom: 50px;
}
.wrapper {
  max-width: 50vw;
  margin: 0 auto;
  display: flex;
  align-items: center;
  flex-direction: column;
  padding: 20px 0;
}
.wrapper > h2 {
  font-size: 45px;
  margin: 20px 0;
}
.slideRules {
  background: lightcoral;
  border-top-left-radius: 10px;
  border-top-right-radius: 10px;
  font-size: 30px;
  padding: 10px 20px;
}
.slideRules:hover {
  cursor: pointer;
}
#rules {
  padding: 20px;
  font-size: 25px;
  background-color: lightcyan;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  color: black;
  display: none;
}
.taskProgress {
  position: fixed;
  top: 40vh;
  left: 1vw;
  padding: 2.5vh;
}
.taskProgress, .timeProgress{
  position: fixed;
  top: 40vh;
  left: 1vw;
  padding: 2.5vh;
}
.timeProgress {
  position: fixed;
  top: 5vh;
  left: 1vw;
  padding: 2.5vh;
}
.taskProgress p,  .timeProgress p {
  text-align: center;
  font-size: 40px;
  margin-bottom: 10px;
}
.image {
  width: 65%;
}
.image img {
  width: 100%;
  box-shadow: 0 0 20px black;
}
.answer {
  width: 65%;
  display: flex;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
  border-radius: 10px;
}
#inputTask1 {
  font-size: 35px;
  background: rgba(0, 0, 0, 0);
  border: none;
  border-bottom: 2px solid black;
  border-top-left-radius: 5px;
  border-bottom-left-radius: 5px;

}
#inputTask1:focus {
  outline: none;
}
#btnTask1 {
  font-size: 20px;
  flex-grow: 1;
  background-color: red;
  color: white;
  border: none;
  border-bottom: 2px solid black;
  border-top-right-radius: 5px;
  border-bottom-right-radius: 5px;

}
#btnTask1:hover {
  cursor: pointer;
}
#nextTask {
  display: none;
}

.back {
  display: block;
  border: 1px solid black;
  border-radius: 5px;
  text-decoration: none;
  font-size: 20px;
  margin: 0 auto;
  padding: 10px;
  background-color: antiquewhite;
}
#start {
  width: 250px;
  height: 10vh;
  font-size: 30px;
  background-color: aqua;
  display: flex;
  border-radius: 12px;
  justify-content: center;
  align-items: center;
}
.sounds {
  display: none;
}
.gameBoard {
  width: 100%;
  grid-template-columns: repeat(6, 1fr);
  grid-template-rows: repeat(4, 1fr);
  gap: 5px;
  display: none;
}
.card {
  background: #fff;
  text-align: center;
  line-height: 100px;
  cursor: pointer;
  transform-style: preserve-3d;
  transition: all 0.5s;
}

.card img {
  max-width: 100%;
  max-height: 100%;
  margin: 0 auto;
  display: block; 
}
.front {
  background-color: blue;
  backface-visibility: hidden;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  color: #fff;
  font-weight: bold;
}
.back {
  transform: rotateY(180deg);
  backface-visibility: hidden;
  /* position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0; */
}
.flip {
  transform: rotateY(180deg);
}