html {
    box-sizing: border-box;
}

*,
*::before,
*::after {
    box-sizing: inherit;
}

html,
body {
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

body {
    background: #ffffff url('../img/geometry2.png'); /* Background pattern from Subtle Patterns */
    font-family: 'Coda', cursive;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

h1 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
}

/* https://stackoverflow.com/questions/10614481/disable-double-tap-zoom-option-in-browser-on-touch-devices/53236027#53236027 */
.disable-dbl-tap-zoom {
  touch-action: manipulation;
}

/*
 * Styles for the deck of cards
 */

.deck {
		/* width: 660px;
    min-height: 680px;
    background: linear-gradient(160deg, #02ccba 0%, #aa7ecd 100%);
		padding: 32px; */
		width: 800px;
    min-height: 800px;
    background: url(../assets/020-shop-bg.svg) no-repeat center top;
    padding: 200px;
    /* border-radius: 10px; */
    /* box-shadow: 12px 15px 20px 0 rgba(46, 61, 73, 0.5); */
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    margin: 0 0 3em;
}

.deck .card {
    /* height: 125px;
		width: 125px; */
		height: 90px;
		width: 90px;
		padding: 15px;
    background: #2e3d49;
    /* font-size: 0; */
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 5px 2px 20px 0 rgba(46, 61, 73, 0.5);
}

.deck .card.open {
    transform: rotateY(0);
    background: #02b3e4;
    cursor: default;
}

.deck .card.show>* {
		/* font-size: 33px; */
		width: 75%;
		height: 75%;
}

.deck .card.match,
.deck .card.match>* {
    background: #02ccba;
}

.deck .card.match>* {
    cursor: default;
		/* font-size: 33px; */
		width: 75%;
		height: 75%;z
}

.deck .card img {
	width: 0px;
	height: 0px;
}

/*
 * Styles for the Score Panel
 */

.score-panel {
		position: absolute;
		top: 80px;
    text-align: left;
    width: 345px;
    margin-bottom: 10px;
}

.score-panel .stars {
    margin: 0;
    padding: 0;
    display: inline-block;
		margin: 0 5px 0 0;
		vertical-align: middle;
}

.score-panel .stars li img {
	width: 100%;
	height: 100%;
}

.score-panel .stars li {
    list-style: none;
		display: inline-block;
		height: 25px;
		width: 25px;
}

.score-panel .restart {
		float: right;
    cursor: pointer;
}

/*
 * Modal
 */
.hide {
  display: none;
}

.modal {
    position: absolute;
    top: 0%;
    left: 0%;
    height: 100%;
    width: 100%;
    /* background: rgba(0, 0, 0, .6); */
}

.modal-content {
    position: absolute;
    width: 500px;
		overflow: visible;
		margin: 0;
		top: 165px;
		text-align: center;

		background-color: rgba(0, 0, 0, 0);
		background-clip: unset;
		border: none;
		border-radius: unset;
		outline: none;
}

.modal-footer {
	justify-content: center;
}

.winning-stars {
    padding-top: 20px;
    padding-bottom: 50px;
}

.winning-stars img{
    position: relative;
    width: 200px;
    height: auto;
    display: inline;
    margin: 0px 5px 0px 5px;
}

.modal-stats {
    margin-top: 40px;
}

.modal-stats span{
    padding: 0px 50px 0px 50px;
}

.modal-buttons {
  margin-top: 20px;
}