@import url("https://fonts.googleapis.com/css2?family=Sedgwick+Ave&family=Source+Code+Pro&display=swap");
* {
  box-sizing: border-box;
  padding: 0;
  margin: 0;
}

body {
  background-color: #7f5a83;
  background-image: linear-gradient(315deg, #7f5a83 0%, #0d324d 74%);
}

i {
  padding: 0 7px;
  vertical-align: middle;
}

.header {
  border-bottom: 1px solid white;
}

.header div {
  width: 95%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: auto;
  text-align: center;
  color: white;
  font-family: "Sedgwick Ave", Helvetica, sans-serif;
}

.header .logo {
  width: 80px;
}

.header .title {
  padding: 10px;
  margin: auto;
}

.misc {
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  margin: 10px auto;
  color: white;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.misc > div {
  gap: 2px;
  padding: 2px;
  background-color: black;
}

.misc > div > div {
  background-color: darkslateblue;
}

.misc .label {
  padding: 5px 0;
}

.score {
  width: 35%;
  display: grid;
  grid-template-columns: 1.8fr 1.5fr 1.5fr;
  grid-template-rows: 1fr 1.25fr;
  text-align: center;
}

.score .nick {
  display: flex;
  align-items: center;
  justify-content: center;
  grid-row: 1/-1;
  overflow-x: auto;
}

.score input {
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  background-color: transparent;
  border: none;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.top {
  width: 35%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.25fr;
  text-align: center;
}

.top input {
  width: 100%;
  height: 100%;
  text-align: center;
  color: white;
  background-color: transparent;
  border: none;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.lang {
  width: 10%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1.25fr;
  text-align: center;
}

.lang .langLabel {
  grid-column: 1/-1;
}

.lang button {
  width: 100%;
  height: 100%;
  color: white;
  border: none;
  background-color: transparent;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.lang button:hover {
  background-color: #362e6b;
  cursor: pointer;
}

.info {
  width: 95%;
  padding: 10px;
  margin: 10px auto;
  border-radius: 5px;
  text-align: center;
  color: white;
  border: 1px solid white;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.content {
  width: 95%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 10px auto;
}

.board {
  width: 80%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(3, 1fr);
  justify-content: center;
  align-items: center;
  gap: 10px;
  padding: 10px;
}

.board .card {
  height: 200px;
  text-align: center;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  border-radius: 15px;
  border: 1px solid white;
}

.board .down {
  background-color: darkslateblue;
  background-image: url("../img/card.webp");
}

.board .up {
  background-color: rgba(0, 0, 0, 0);
  background-image: url("");
}

.board .card img {
  height: 200px;
  width: 100%;
  margin: auto;
  border-radius: 15px;
}

.board .card .hidden {
  display: none;
  box-shadow: none;
}

.board .card .selected {
  display: block;
  box-shadow: 0px 0px 15px 2px White;
}

.board .card .error {
  display: block;
  box-shadow: 0px 0px 15px 2px Red;
}

.board .card .match {
  display: block;
  box-shadow: 0px 0px 15px 2px LimeGreen;
}

.side {
  width: 15%;
  min-height: 100%;
  padding: 5px;
  text-align: center;
  color: white;
  border: 1px solid white;
  overflow: auto;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.side img {
  width: 100%;
}

.side span::-moz-selection {
  color: red;
}

.side span::selection {
  color: red;
}

.side:hover {
  font-weight: bold;
}

.footer {
  width: 95%;
  padding: 10px;
  margin: 10px auto;
  text-align: center;
  border-radius: 5px;
  color: white;
  border: 1px solid white;
  font-family: "Source Code Pro", Helvetica, sans-serif;
}

.block {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  background-color: transparent;
}

@media screen and (max-width: 1024px) {
  .board {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media screen and (max-width: 768px) {
  .misc {
    justify-content: center;
  }

  .misc > div {
    margin: 5px;
  }

  .score {
    width: 70%;
  }

  .top {
    width: 50%;
  }

  .lang {
    width: 30%;
  }

  .board {
    grid-template-columns: 1fr 1fr;
  }
}
@media screen and (max-width: 480px) {
  .misc {
    justify-content: center;
  }

  .misc > div {
    margin: 5px;
  }

  .score {
    width: 100%;
  }

  .top {
    width: 100%;
  }

  .lang {
    width: 40%;
  }

  .board {
    width: 100%;
    grid-template-columns: 1fr 1fr;
  }

  .side {
    display: none;
  }
}
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type=number] {
  -moz-appearance: textfield;
}

img {
  -webkit-user-select: none;
  -moz-user-select: none;
  -o-user-select: none;
  -ms-user-select: none;
      user-select: none;
}/*# sourceMappingURL=style.css.map */