@import url("https://fonts.googleapis.com/css?family=Baloo+Paaji|Open+Sans:300,300i,400,400i,600,600i,700,700i");

.speakerCloseMed {
  position: absolute;
  width: 50px;
  height: 50px;
  background: url(../imgs/sclose.png) center center no-repeat;
  top: 20px;
  right: 20px;
  z-index: 5000000;
  cursor: pointer;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
body {
  font-family: "Baloo Paaji";
  background-color: #695aa6;
  color: #695aa6;
}
.correct
{
  display: none;
}
.total
{
  display: none;
}

.score {
  font-family: "Baloo Paaji";
  text-align: center;
  font-size: 2rem;
  font-weight: bold;
  letter-spacing: 0.25rem;
  margin: 22px;
  position: relative;
  transition: opacity 0.2s;
  margin-top: 50px;
}
#play-again-btn {
  position: absolute;
  top: -0.5rem;
  left: 50%;
  margin-left: -136px;
  font-size: 19px;
  font-weight: bold;
  color: #fff;
  background-color: #695aa6;
  border: 2px solid #fff;
  border-radius: 14px;
  padding: 8px 10px;
  outline: none;
  letter-spacing: 0.05em;
  cursor: pointer;
  display: none;
  opacity: 0;
  transition: opacity 0.5s, transform 0.5s, background-color 0.2s;
  border-radius: 53px;
  top: -347px;
  height: 80px;
  width: 80px;
  background-image: url(../imgs/reffo.png);
  background-position: center;
  background-repeat: no-repeat;
  -webkit-box-shadow: -1px 1px 0px 50px rgba(68,56,120,0.79);
  -moz-box-shadow: -1px 1px 0px 50px rgba(68,56,120,0.79);
  box-shadow: -1px 1px 0px 50px rgba(68,56,120,0.79);
}
#play-again-btn:hover {
  background-color: #594e8c;
}
#play-again-btn:active {
  background-color: #504583;
}
#play-again-btn.play-again-btn-entrance {
  opacity: 1;
  transform: translateX(6rem);
}
.draggable-items {
  display: flex;
  margin: 3rem 0 1.5rem 0;
  justify-content: center;
  transition: opacity 0.5s;
  height: 80px;
  margin-top: 100px;
}
.draggable {
  height: 5rem;
  width: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: bold;
  margin: 0rem 0.5rem;
  cursor: move;
  transition: opacity 0.2s;
}
.origin {
  height: 5rem;
  width: 5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 4rem;
  font-weight: bold;
  margin: 0rem 0.5rem;
  cursor: move;
  transition: opacity 0.2s;
}
.draggable:hover {
  opacity: 0.5;
}
.matching-pairs {
  transition: opacity 0.5s;
}
.matching-pair {
  height: 6rem;
  width: 22rem;
  margin: 0.5rem auto;
  display: flex;
  justify-content: space-between;
}
.matching-pair span {
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  user-select: none;
  width: 15rem;
}
.label {
}

.droppable {
  width: 6rem;
  font-size: 4rem;
  border: 4px dotted #b4add3;
  transition: 0.2s;
  border-radius: 16px;
}
.droppable-hover {
  background-color: #594e8c;
  transform: scale(1.1);
}
.dropped {
  border: 0px solid transparent;
}
.dragged {
  user-select: none;
  opacity: 0.1;
  cursor: default;
  background-size: contain;
background-repeat: no-repeat;
background-position: center;
}
.draggable.dragged:hover {
  opacity: 0.1;
}

@media (max-width: 600px) {
  html {
    font-size: 14px;
  }
  #play-again-btn {
    top: -0.4rem;
  }
  #play-again-btn.play-again-btn-entrance {
    transform: translateX(7rem);
  }

  #play-again-btn {
    top: -400px;
  }
}

#canvas
{
  top:0;
  position: absolute;
  z-index: -1;
}

.alertText
{
  width: 90%;
  height: auto;
  text-align: center;
  font-size: 22px;
  color: #fff;
  font-weight: bold;
  font-family: "Baloo Paaji";
  margin-top: 20px;
  line-height: 1;
  margin-left: 5%;
} margin-left: 5%;
}} margin-top: 10px;
}