body {
	font-family: 'Roboto', sans-serif;
	user-select: none;
}

h1 {
	font-family: 'Roboto', sans-serif;
	user-select: none;
	text-align: center;
}

.page {
  margin: auto;
  width: 1000px;
  transition: opacity 1s;
}

.null-opacity {
  opacity: 0;
  transition: opacity 1s;
}


@media screen and (max-width: 1000px) {
  .page {
	  width: 100%;
  }
}

#main {
  display: grid;
  gap: 20px;
}

#attempts {
  font-size: 120%;
  margin-bottom: 20px;
}

.flip-card {
  background-color: transparent;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: center;
  transition: transform 0.6s;
  transform-style: preserve-3d;
  box-shadow: 0 4px 20px 0 rgba(0,10,20,0.2);
  border-radius: 10%;
}
.flip-card-selected .flip-card-inner {
  background-color: transparent;
  width: 100%;
  height: 100%;
  aspect-ratio: 1/1;
  perspective: 1000px;
  transform: rotateY(180deg);
}

.flip-card-front, .flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 10%;
}

.flip-card-front {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  background-color: #fff;
  border-radius: 10%;
}

.flip-card-back {
  background-color: #2980b9;
  transform: rotateY(180deg);
}

.card-img {
	width: 100%;
	height: 100%;
	border-radius: 10%;
}

.scores-hidden {
	opacity: 0;
	height: 0;
	display: none;
}

.scores-show {
	opacity: 1;
	height: auto;
	display: show;
	transition: opacity 1s;
}

span {
	font-size: 200%;
}

h2 {
	font-size: 200%;
}

.var-option {
	border-radius: 10px;
	box-shadow: 0 4px 20px 0 rgba(0,10,20,0.2);
	background-color: #fff;
	font-size: 200%;
	margin: 10px;
	padding: 20px;
	text-align: center;
	transition: all 0.4s;
}

.var-option:hover {
	box-shadow: 0 5px 30px 0 rgba(0,10,20,0.2);
	transform: translateY(-4px);
	transition: all 0.4s;
}

#restart {
	margin-top: 40px;
	background-color: #0f7ffb;
	color: #fff;
    padding: 16px;
	border: none;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 200%;
	border-radius: 10px;
}

