@charset "UTF-8";
*, *::before, *::after {
  box-sizing: border-box; }

html {
  color: #111111;
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 16px; }

body {
  background: #fff;
  color: #111111;
  font-family: "Open Sans", Arial, sans-serif;
  font-weight: 300;
  font-size: 16px;
  margin: 0; }

a {
  color: #111111; }
  a:hover {
    text-decoration: none; }
  a:active, a:focus {
    color: inherit;
    outline: none;
    text-decoration: none; }

header {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 75px;
  background-color: #69305a; }

footer {
  display: flex;
  justify-content: center; }
  footer hr {
    border-bottom: 1px solid #ccc;
    border-top: 0px; }
  footer .social {
    text-align: center; }
    footer .social img {
      margin: 15px; }
    footer .social a {
      color: #fff;
      text-decoration: none;
      font-family: arial; }
  footer .contact {
    width: 800px; }
    footer .contact table {
      width: 200px; }
    footer .contact span {
      font-size: 12px;
      color: #b7b7b7;
      font-family: arial; }
    footer .contact a {
      font-size: 12px;
      color: #b7b7b7;
      font-family: arial;
      text-decoration: none; }
      footer .contact a span {
        color: #69305a;
        font-size: 14px;
        font-family: arial; }
    footer .contact img {
      margin: 5px; }

p {
  color: #c0c0c0;
  font-size: 16px;
  font-family: "Open Sans", Arial, sans-serif;
  text-align: center;
  margin: 10px; }
  p.wishes {
    font-size: 32px;
    margin-top: 30px; }
  p.hashtag {
    font-size: 24px;
    color: #69305a; }
  p.rules {
    font-size: 16px; }

.game-scene {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 50px; }
  .game-scene #emoji-grid, .game-scene #avatar-grid {
    display: grid;
    grid-template-columns: repeat(5, 20%);
    grid-template-rows: repeat(4, 25%); }
  .game-scene #emoji-grid {
    margin-left: 200px;
    margin-right: 50px; }
  .game-scene #avatar-grid {
    margin-right: 200px;
    margin-left: 50px; }
  .game-scene .emoji {
    cursor: grab; }
  .game-scene .emoji, .game-scene .avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 5px;
    height: 60px;
    width: 60px; }
  .game-scene #separator {
    display: flex;
    border-left: #c0c0c0 solid 2px; }
    .game-scene #separator .arrow-right {
      align-self: center;
      width: 0;
      height: 0;
      border-top: 10px solid transparent;
      border-bottom: 10px solid transparent;
      border-left: 10px solid #c0c0c0; }

.is-hidden {
  display: none !important; }

#results #action {
  text-align: center; }

#results button {
  background-color: #69305a;
  border: none;
  border-radius: 10px;
  color: #fff;
  padding: 15px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 4px 2px; }

#results .cards {
  display: flex;
  flex-wrap: wrap;
  margin: 0 25px;
  justify-content: center; }

#results .card {
  flex-basis: 35%;
  display: flex;
  justify-content: center;
  background-color: #f8f8f8;
  padding: 20px;
  box-shadow: 2px 2px #c0c0c0;
  margin: 10px;
  border-radius: 10px; }

.button-close {
  display: inline-block;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
  color: #c0c0c0;
  font-size: 24px;
  text-align: center; }

.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(190, 190, 190, 0.6);
  z-index: 9999; }

.modal {
  padding: 20px 30px;
  top: 40%;
  transform: translateY(-50%);
  width: 40%;
  position: relative;
  min-height: 270px;
  margin: 5% auto 0;
  background: #fff;
  z-index: 9999;
  display: flex;
  justify-content: center;
  border-radius: 10px; }
  .modal .error {
    align-self: center;
    text-align: center; }

.modal .picture, .cards .picture {
  width: 160px; }

.modal .content .emoji, .cards .content .emoji {
  width: 80px;
  height: 80px;
  margin-left: -40px;
  margin-top: 15px;
  border-radius: 50%;
  border: 2px solid #c0c0c0;
  background-color: #fff;
  padding: 8px; }
  .modal .content .emoji img, .cards .content .emoji img {
    width: 60px;
    height: 60px; }

.modal .content blockquote, .cards .content blockquote {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14.4px;
  font-style: italic;
  color: #A9A9A9;
  line-height: 24px;
  quotes: "«" "»";
  margin: -80px 20px 15px 55px;
  text-align: justify;
  text-justify: inter-word; }

.modal .content blockquote:before, .cards .content blockquote:before {
  content: open-quote;
  margin-right: 5px; }

.modal .content blockquote:after, .cards .content blockquote:after {
  content: close-quote;
  margin-left: 5px; }

.modal .content blockquote:before,
.modal .content blockquote:after, .cards .content blockquote:before,
.cards .content blockquote:after {
  display: inline-block;
  color: #A9A9A9;
  font-size: 16px;
  top: 0;
  position: relative; }

.modal .content cite, .cards .content cite {
  font-family: "Open Sans", Arial, sans-serif;
  font-size: 14.4px;
  margin-inline-start: 55px;
  color: #A9A9A9; }
