/*
 CSS for Memogry game plugin
 Author: Yane Frenski
*/

/* the stle for the wrapper element */
.quizy-memorygame{
  position:relative;
  width:100%;
}

/* styles of the card to show */
.quizy-memorygame .mgcard-show{
  width:156px;
  height:156px;
  border-radius: 10px;
  background-size: 100% 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.quizy-memorygame .mgcard-show img {
  width: 100%;
  height: 100%;
  width: 95%;
  height: 95%;
  border-radius: 10px;
  border: 1px solid gray;
  box-shadow: 6px 6px 0px -2px rgba(0,0,0,0.1);
}

.quizy-memorygame .quizy-mg-item{
  position:absolute;
  cursor:pointer;
  text-align:center;
}

.quizy-memorygame .quizy-mg-item .quizy-mg-item-bottom, .quizy-memorygame .quizy-mg-item .quizy-mg-item-top{
  position:absolute;
  top:0;
  left:0;
  text-align:center;
}

.quizy-mg-item .quizy-mg-item-top{
  background-image: url('img/quizy-mg-item-top.png');
  background-size: 100% 100%;
}

/* styles for the popup notifications */
.quizy-mg-notification-fly{
  width:180px;
  height:180px;
  position:absolute;
  z-index:1000;
  display:none;
}

.quizy-mg-notification-fly-neg{
  background:url('img/quizy-mg-notif-neg.png');
  background-size: 100% 100%;
}

.quizy-mg-notification-fly-pos{
  background:url('img/quizy-mg-notif-pos.png');
  background-size: 100% 100%;
}

/* styles for the game summary */
#quizy-game-summary {
  width: 320px;
  height: 160px;
  position: absolute;
  z-index: 1001;
  border: 1px solid #000;
  display: none;
  text-align: center;
  border-radius: 10px;
  padding: 20px;
  background: rgb(5,25,48);
  background: linear-gradient(120deg, rgb(5, 25, 48) 0%, rgb(29, 56, 87) 100%);
  box-shadow: 6px 6px 0px -2px rgba(0,0,0,0.1)
}

#quizy-game-summary div.gs-column{
  width:75px;
  float:left;
  padding:10px 0 10px 20px;
  color:#fff;
  text-shadow: 1px 1px 1px rgba(0,0,0, 0.5);
  text-align:center;
}

#quizy-game-summary #gs-column1{
  font-size:16px;
  padding-top:30px;
}

#quizy-game-summary #gs-column2{
  font-size:12px;
  padding-top: 65px;
  background:url('img/mg-timeicon.png') no-repeat 70% 25%;
  background-size: 50% 50%;
}

#quizy-game-summary #gs-column3{
  font-size:12px;
  padding-top: 65px;
  background:url('img/mg-clickicon.png') no-repeat 70% 25%;
  background-size: 50% 50%;
}


#quizy-game-summary #gs-closebut,
#quizy-game-summary #gs-replaybut{
  display: inline-block;
  margin-top: 10px;
  width: 70px;
  padding: 10px;
  text-align: center;
  background: #FFF;
  cursor: pointer;
  border-radius: 10px;
}

#quizy-game-summary #gs-closebut:hover,
#quizy-game-summary #gs-replaybut:hover{
  background: #fff;
}

#quizy-game-summary #gs-replaybut{
  margin-right: 20px;
}

.quizy-game-clear{
  clear: both;
}
