body {
	display: flex;
	flex-direction: column;
	align-items: center;
  justify-content: center;
	background-color: EDE0D4;
	font-family: Helvetica Neue, Helvetica, Arial, sans-serif;
	min-height: 100vh;
}

body h1 {
  font-size: 1.5rem;
}

body h5 {
	margin: 0;
  font-size: 1.2rem;
}

body h3#confirm-guess {
	display:none;
}
body.confirm h3#confirm-guess {
	display:block;
}

body textarea.share-text {
  opacity:0;
}

input[type="text"] {
	font-size: 1.3rem;
	padding:0.5rem;
	margin-top: 1rem;
  scroll-margin: 10px;
}
body.confirm input[type="text"], body.done-error input[type="text"] {
	display: none;
}

body #matches {
	display:flex;
	flex-wrap: wrap;
	width:100%;
	max-width: 50rem;
	margin: 0 auto;
	justify-content: center;
}

body #matches .match {
	padding:1rem 2rem;
	border:0.2rem solid #2F3E46;
	border-radius: 0.25rem;
	width:15rem;
	margin: 1rem;
	cursor: pointer;
	display: flex;
	justify-content: center;
	text-align: center;
	align-items: center;
	font-size: 1.2rem;
}

body #default-prompt {
  font-size: 10rem;
}


body a#longer-guess {
  margin-top: 1rem;
  cursor: pointer;
}
body a#longer-guess:hover {
  text-decoration: underline;
}
body.done-error a#longer-guess {
  display: none;
}

body h5#point-instructions {
  margin-top: 1rem;
}

body #matches .match:hover, body div#confirm-selection div:first-child {
	background: #2F3E46;
	color: #fff;
}
body.confirm #matches .match {
	border: none;
  font-size:1.3rem;
  font-weight: 600;
}
body.confirm #matches .match:hover {
	background: transparent;
	color: #2F3E46;
	cursor: none;
}

body.confirm h5#point-instructions, body.done-error h5#point-instructions {
  display:none;
}


body div.performance {
  display:none;
  font-size: 2.7rem;
  margin-bottom: 0.2rem;
}
body div.performance div.points {
  width:13rem;
  flex:0 0 auto;
  display:flex;
  justify-content: flex-end;
}
body div.performance div.result-container {
  width:1rem;
  flex:0 0 auto;
  display:flex;
  align-items: center;
}
body div.performance .point {
  display: none;
  margin-left: 0.2rem;
}
body div.performance .point.result-incorrect, body div.performance .point.result {
  animation: pop 500ms ease-in;
}

body div#show-details {
  display: none;
  margin-bottom: 2rem;
  width:100%;
  text-align: center;
}

body.done-error div#show-details {
  display:block;
}

body div#show-details iframe {
  margin-bottom:0.5rem;
  z-index: 10;
  position: relative;
  border: none;
}

body div#show-details h5 {
  width:100%;
  text-align: center;
  font-size: 1.3rem;
}

body div#show-details h6 {
  font-size: 1.1rem;
  font-weight: 400;
  width: 100%;
  text-align: center;
  margin: 0.2rem 0 0 0;
}


body div#confirm-selection {
	visibility: hidden;
	justify-content: space-between;
	display: flex;
	margin-top: 5rem;
	width: 100%;
	max-width: 19rem;
}
body div#confirm-selection div {
	padding:1rem 2rem;
	border:0.2rem solid #2F3E46;
	border-radius: 0.25rem;
	cursor: pointer;
	display:flex;
	justify-content: center;
	color: #2F3E46;
	width:15rem;
}
body div#confirm-selection div:first-child {
	width:41%;
	flex:0 0 auto;
	margin-right: 1rem;


}
body div#confirm-selection div:last-child {
	flex:1 1 auto;
}
body.confirm div#confirm-selection {
	visibility: visible;
}
body.done-error div#confirm-selection {
  display: none;
}

body div.o-circle__sign--success, body div.o-circle__sign--failure {
	display:none;
}

body div#game-over {
  display:none;
  justify-content: center;
  flex-direction: column;
  align-items: center;
  margin-top: 2rem;
}
body.done-error div#game-over {
  display: flex;
}


body div#game-over div#share {
  display: flex;
  width: 100%;
  max-width: 200px;
  background: #354F52;
  padding: 0.5rem 1rem;
  justify-content: center;
  font-size: 1.3rem;
  color: #fff;
  cursor: pointer;
  border:none;
  z-index:10;
  position: relative;
}

body.done-error .play {
  display:none;
}

.play {
  align-items: center;
  display: flex;
  justify-content: center;
  margin-top:-3rem;
  position: relative;
}
.play .callout {
  position:absolute;
  bottom:1rem;
  background-color: #354F52;
  padding:0.5rem;
  width:15rem;
  text-align: center;
  color:#fff;
  border-radius: 0.25rem;
  display:none;
}
body.longer .play .callout {
   animation: fadeIn 2s ease-in-out;
   display:block;
}

body canvas {
  overflow-y: hidden;
  overflow-x: hidden;
  width: 100%;
  height: 100%;
  margin: 0;
  position: fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index:0;
  display:none;
  box-sizing: border-box;
}



@media (prefers-color-scheme: dark) {
  body {
    background-color: #2F3E46;
    color:#F4F3EE;
  }

  body #matches .match {
    border:0.2rem solid #F4F3EE;
  }

  body div#confirm-selection div:first-child {
    background-color: #F4F3EE;
    color:#2F3E46;
  }
  body.confirm #matches .match, body.confirm #matches .match:hover {
    background-color: #2F3E46;
    color:#F4F3EE; 
  }
  body div#confirm-selection div:last-child {
    border-color: #F4F3EE;
    color:#fff;
  }

  body.longer .play .callout {
    background-color: #F4F3EE;
    color: #2F3E46;
  }

  body div#game-over div#share {
    background-color: #2F3E46;
    color:#F4F3EE;
    border:#F4F3EE 1px solid;
  }
}


@media screen and (max-width:600px) {
  body #matches {
    justify-content: space-around;
  }

  body #matches .match {
    font-size: 1rem;
    width:40%;
    margin:0.5rem 0rem;
    box-sizing:border-box;
    padding:0.5rem 1rem;
  }

  body.confirm #matches .match {
    width:80%;
  }

  body div.performance {
    font-size: 1.8rem;
  }

  body div.performance div.result-container {
    width:5rem;
  }

  body div#show-details iframe { 
    width:99%;
    max-height: 200px;
  }
}


.fondo {
  background: #f4471f;
  border-radius: 50%;
  box-shadow: 0 1px 2.2px rgba(0, 0, 0, 0.051),
    0 2.3px 5.3px rgba(0, 0, 0, 0.059), 0 4.4px 10px rgba(0, 0, 0, 0.06),
    0 7.8px 17.9px rgba(0, 0, 0, 0.059), 0 14.6px 33.4px rgba(0, 0, 0, 0.059),
    0 35px 80px rgba(0, 0, 0, 0.07);
  cursor: pointer;
  height: 100px;
  position: absolute;
  width: 100px;
}
.botón:active .fondo {
  background: white;
}
.icono {
  height: 200px;
  transform: rotate(-120deg);
  transition: transform 500ms;
  width: 200px;
}
.parte {
  background: white;
  height: 200px;
  position: absolute;
  width: 200px;
}
.izquierda {
  clip-path: polygon(
    43.77666% 55.85251%,
    43.77874% 55.46331%,
    43.7795% 55.09177%,
    43.77934% 54.74844%,
    43.77855% 54.44389%,
    43.77741% 54.18863%,
    43.77625% 53.99325%,
    43.77533% 53.86828%,
    43.77495% 53.82429%,
    43.77518% 53.55329%,
    43.7754% 53.2823%,
    43.77563% 53.01131%,
    43.77585% 52.74031%,
    43.77608% 52.46932%,
    43.7763% 52.19832%,
    43.77653% 51.92733%,
    43.77675% 51.65633%,
    43.77653% 51.38533%,
    43.7763% 51.11434%,
    43.77608% 50.84334%,
    43.77585% 50.57235%,
    43.77563% 50.30136%,
    43.7754% 50.03036%,
    43.77518% 49.75936%,
    43.77495% 49.48837%,
    44.48391% 49.4885%,
    45.19287% 49.48865%,
    45.90183% 49.48878%,
    46.61079% 49.48892%,
    47.31975% 49.48906%,
    48.0287% 49.4892%,
    48.73766% 49.48934%,
    49.44662% 49.48948%,
    50.72252% 49.48934%,
    51.99842% 49.4892%,
    53.27432% 49.48906%,
    54.55022% 49.48892%,
    55.82611% 49.48878%,
    57.10201% 49.48865%,
    58.3779% 49.4885%,
    59.6538% 49.48837%,
    59.57598% 49.89151%,
    59.31883% 50.28598%,
    58.84686% 50.70884%,
    58.12456% 51.19714%,
    57.11643% 51.78793%,
    55.78697% 52.51828%,
    54.10066% 53.42522%,
    52.02202% 54.54581%,
    49.96525% 55.66916%,
    48.3319% 56.57212%,
    47.06745% 57.27347%,
    46.11739% 57.79191%,
    45.42719% 58.14619%,
    44.94235% 58.35507%,
    44.60834% 58.43725%,
    44.37066% 58.41149%,
    44.15383% 58.27711%,
    43.99617% 58.0603%,
    43.88847% 57.77578%,
    43.82151% 57.43825%,
    43.78608% 57.06245%,
    43.77304% 56.66309%,
    43.773% 56.25486%
  );
  transition: clip-path 500ms;
}
.derecha {
  clip-path: polygon(
    43.77666% 43.83035%,
    43.77874% 44.21955%,
    43.7795% 44.59109%,
    43.77934% 44.93442%,
    43.77855% 45.23898%,
    43.77741% 45.49423%,
    43.77625% 45.68961%,
    43.77533% 45.81458%,
    43.77495% 45.85858%,
    43.77518% 46.12957%,
    43.7754% 46.40056%,
    43.77563% 46.67156%,
    43.77585% 46.94255%,
    43.77608% 47.21355%,
    43.7763% 47.48454%,
    43.77653% 47.75554%,
    43.77675% 48.02654%,
    43.77653% 48.29753%,
    43.7763% 48.56852%,
    43.77608% 48.83952%,
    43.77585% 49.11051%,
    43.77563% 49.38151%,
    43.7754% 49.65251%,
    43.77518% 49.9235%,
    43.77495% 50.1945%,
    44.48391% 50.19436%,
    45.19287% 50.19422%,
    45.90183% 50.19408%,
    46.61079% 50.19394%,
    47.31975% 50.1938%,
    48.0287% 50.19366%,
    48.73766% 50.19353%,
    49.44662% 50.19338%,
    50.72252% 50.19353%,
    51.99842% 50.19366%,
    53.27432% 50.1938%,
    54.55022% 50.19394%,
    55.82611% 50.19408%,
    57.10201% 50.19422%,
    58.3779% 50.19436%,
    59.6538% 50.1945%,
    59.57598% 49.79136%,
    59.31883% 49.39688%,
    58.84686% 48.97402%,
    58.12456% 48.48572%,
    57.11643% 47.89493%,
    55.78697% 47.16458%,
    54.10066% 46.25764%,
    52.02202% 45.13705%,
    49.96525% 44.01371%,
    48.3319% 43.11074%,
    47.06745% 42.4094%,
    46.11739% 41.89096%,
    45.42719% 41.53667%,
    44.94235% 41.3278%,
    44.60834% 41.24561%,
    44.37066% 41.27137%,
    44.15383% 41.40575%,
    43.99617% 41.62256%,
    43.88847% 41.90709%,
    43.82151% 42.24461%,
    43.78608% 42.62041%,
    43.77304% 43.01978%,
    43.773% 43.428%
  );
  transition: clip-path 500ms;
}
.puntero {
  border-radius: 50%;
  cursor: pointer;
  height: 100px;
  position: absolute;
  -webkit-tap-highlight-color: transparent;
  width: 100px;
}
.active .icono {
  transform: rotate(-90deg);
}
.active .izquierda {
  clip-path: polygon(
    56.42249% 57.01763%,
    54.93283% 57.0175%,
    53.00511% 57.01738%,
    50.83554% 57.01727%,
    48.62036% 57.01718%,
    46.55585% 57.01709%,
    44.83822% 57.01702%,
    43.66373% 57.01698%,
    43.22863% 57.01696%,
    42.86372% 57.01904%,
    42.56988% 57.01621%,
    42.3402% 56.99486%,
    42.16778% 56.94152%,
    42.0457% 56.84267%,
    41.96705% 56.68478%,
    41.92493% 56.45432%,
    41.91246% 56.13777%,
    41.91258% 55.76282%,
    41.9129% 55.37058%,
    41.91335% 54.96757%,
    41.91387% 54.56032%,
    41.91439% 54.15537%,
    41.91485% 53.75926%,
    41.91517% 53.3785%,
    41.91529% 53.01965%,
    41.94275% 52.72355%,
    42.02117% 52.51653%,
    42.14465% 52.38328%,
    42.30727% 52.30854%,
    42.50308% 52.27699%,
    42.72619% 52.27341%,
    42.97065% 52.28248%,
    43.23056% 52.2889%,
    43.94949% 52.28896%,
    45.45083% 52.28912%,
    47.47445% 52.28932%,
    49.76027% 52.28957%,
    52.04818% 52.28981%,
    54.07805% 52.29003%,
    55.5898% 52.29019%,
    56.32332% 52.29024%,
    56.58221% 52.28816%,
    56.83726% 52.28948%,
    57.07897% 52.30593%,
    57.29794% 52.34898%,
    57.48468% 52.43029%,
    57.62978% 52.56146%,
    57.72375% 52.7541%,
    57.75718% 53.01981%,
    57.75713% 53.37763%,
    57.75699% 53.81831%,
    57.75679% 54.31106%,
    57.75657% 54.82507%,
    57.75635% 55.32958%,
    57.75615% 55.79377%,
    57.75601% 56.18684%,
    57.75596% 56.47801%,
    57.7549% 56.50122%,
    57.74034% 56.5624%,
    57.6955% 56.64887%,
    57.60334% 56.748%,
    57.44691% 56.84712%,
    57.20925% 56.93358%,
    56.87342% 56.99471%
  );
}
.active .derecha {
  clip-path: polygon(
    56.42249% 42.44625%,
    54.93283% 42.44637%,
    53.00511% 42.44649%,
    50.83554% 42.4466%,
    48.62036% 42.4467%,
    46.55585% 42.44679%,
    44.83822% 42.44685%,
    43.66373% 42.4469%,
    43.22863% 42.44691%,
    42.86372% 42.44483%,
    42.56988% 42.44767%,
    42.3402% 42.46902%,
    42.16778% 42.52235%,
    42.0457% 42.6212%,
    41.96705% 42.77909%,
    41.92493% 43.00956%,
    41.91246% 43.32611%,
    41.91258% 43.70105%,
    41.9129% 44.0933%,
    41.91335% 44.49631%,
    41.91387% 44.90355%,
    41.91439% 45.3085%,
    41.91485% 45.70462%,
    41.91517% 46.08537%,
    41.91529% 46.44422%,
    41.94275% 46.74032%,
    42.02117% 46.94735%,
    42.14465% 47.0806%,
    42.30727% 47.15534%,
    42.50308% 47.18688%,
    42.72619% 47.19047%,
    42.97065% 47.1814%,
    43.23056% 47.17497%,
    43.94949% 47.17491%,
    45.45083% 47.17476%,
    47.47445% 47.17455%,
    49.76027% 47.1743%,
    52.04818% 47.17406%,
    54.07805% 47.17384%,
    55.5898% 47.17369%,
    56.32332% 47.17363%,
    56.58221% 47.17571%,
    56.83726% 47.17439%,
    57.07897% 47.15795%,
    57.29794% 47.1149%,
    57.48468% 47.03359%,
    57.62978% 46.90242%,
    57.72375% 46.70977%,
    57.75718% 46.44406%,
    57.75713% 46.08625%,
    57.75699% 45.64557%,
    57.75679% 45.15282%,
    57.75657% 44.6388%,
    57.75635% 44.1343%,
    57.75615% 43.6701%,
    57.75601% 43.27703%,
    57.75596% 42.98586%,
    57.7549% 42.96265%,
    57.74034% 42.90148%,
    57.6955% 42.815%,
    57.60334% 42.71587%,
    57.44691% 42.61675%,
    57.20925% 42.53029%,
    56.87342% 42.46916%
  );
}


@keyframes pop {
  0% {
    scale:0;
  }
  50% {
    scale:1.3;
  }
  75% {
    scale:0.8;
  }
  100% {
    scale:1;
  }
}


@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  50% {
    opacity: 1;
    transform: translate(0, 0) rotate(0deg);
  }
  55% {
    transform: translate(-2px, 2px) rotate(3deg);
  }
  57% {
    transform: translate(2px, -2px) rotate(-3deg);
  }
  63% {
    transform: translate(-5px, -5px) rotate(3deg);
  }
  68% {
    transform: translate(2px, 2px) rotate(-3deg);
  }
  71% {
    transform: translate(0, 0) rotate(0deg);
  }
  75% {
    transform: translate(0, 0) rotate(0deg);
  }
  79% {
    transform: translate(-2px, 2px) rotate(3deg);
  }
  83% {
    transform: translate(2px, -2px) rotate(-3deg);
  }
  87% {
    transform: translate(-2px, -2px) rotate(3deg);
  }
  91% {
    transform: translate(2px, 2px) rotate(-3deg);
  }
  97% {
    transform: translate(0, 0) rotate(0deg);
  }
  100% {
    transform: translate(0, 0) rotate(0deg);
  }
}

