*,
::before,
::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* :root {
  --large-text: 16px;
} */

::selection {
  background-color: #eac435;
  color: rgb(202, 26, 202);
}
::-moz-selection {
  background-color: #eac435;
  color: rgb(202, 26, 202);
}

body {
  background-color: #ffd5d5;
  /* background-color: #ffd8fc; */
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 1rem;
  /* font-weight: 600; */
}

/* .desktop-container {

}
.desktop-container__left {
  border: 1px solid black;
}
.desktop-container__right {
  border: 1px solid black;
} */

.card {
  background-color: rgb(255, 227, 227);
  /* background-color: rgb(255, 255, 255); */
  border: 2px solid transparent;
  border-radius: 5px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
/* .card:hover {
  border: 2px solid black;
} */

.card--border {
  border: 2px solid white;
}
/* .card--no-border:hover {
  border: 2px solid transparent;
} */
/* .card--no-border-small:hover {
  border: 2px solid white;
} */

.card__image {
  width: 108%;
}

.card--normal {
  width: 90px;
  height: 60px;
}

.card--small {
  width: 42px;
  height: 28px;
}

.card--selected {
  border: 2px solid black;
}

.button {
  font-size: 1rem;
  /* font-weight: 600; */
  padding: 5px 10px 5px 10px;
  border: 1px solid transparent;
  background-color: white;
  border-radius: 5px;
}
.button:hover {
  /* background-color: rgb(255, 251, 188); */
  border: 1px solid black;
  transition: all 0.3s ease-in-out;
}

.button--timer {
  width: 100%;
}
a {
  text-decoration: none;
  color: black;
  /* font-family: Arial, Helvetica, sans-serif; */
  font-size: 1rem;
}

@media (min-width: 768px) {
  body {
    font-size: 1.4rem;
  }
  .card--normal {
    width: 150px;
    height: 100px;
  }
  .card--small {
    width: 72px;
    height: 44px;
  }
  .button {
    font-size: 1.4rem;
  }
  /* a {
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
  } */
}

@media (min-width: 1280px) {
  body {
    font-size: 2rem;
  }
  .card--normal {
    width: 225px;
    height: 150px;
  }
  .card--small {
    width: 105px;
    height: 65px;
  }

  .desktop-container {
    display: flex;
    flex-direction: row;
  }
  /* .desktop-container__left {
  } */
  /* .desktop-container__right {
  } */
  /* a {
    text-decoration: none;
    color: black;
    font-size: 1.4rem;
  } */
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.nav {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  height: 60px;
}

@media (min-width: 768px) {
  .nav {
    height: 80px;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.timer {
  /* border: 1px solid black; */
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

.game-board {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 10px;
}

.results {
  width: 290px;
  height: 270px;
  background-color: white;
  border-radius: 5px;
  display: flex;
  justify-content: space-around;
  align-items: center;
  flex-direction: column;
  padding: 30px;
}
.results p,
.results h3 {
  text-align: center;
}

@media (min-width: 768px) {
  .results {
    width: 470px;
    height: 430px;
    padding-top: 100px;
    padding-bottom: 100px;
  }
}

@media (min-width: 1280px) {
  .results {
    width: 695px;
    height: 630px;
  }
}

/* ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */

/* .completed-sets-section {
  margin-top: 20px;
} */

.set-alert {
  /* border: 1px solid black; */
  height: 40px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.set-alert__text {
  color: rgb(192, 0, 0);
}

.completed-sets-title-container {
  padding-top: 10px;
  padding-bottom: 10px;
  /* border: 1px solid black; */
  display: flex;
  justify-content: center;
}

.completed-sets-title {
  font-size: var(--large-text);
}

.completed-sets-container {
  /* border: 1px solid black; */
  display: grid;
  grid-template-columns: 1fr 1fr;
}

.completed-set {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  /* gap: 5px; */
  padding: 7px;
  border-bottom: 1px solid black;
}

.completed-set--left {
  border-right: 1px solid black;
  padding-left: 0;
}

.completed-set--right {
  padding-right: 0;
}

.completed-set--bottom {
  border-bottom: none;
}

@media (min-width: 768px) {
  .set-alert {
    height: 70px;
  }
  .completed-set {
    gap: 5px;
  }
  .completed-set--left {
    border-right: 1px solid black;
    padding-left: 0;
  }
  .completed-set--right {
    padding-right: 0;
  }
  .completed-set--bottom {
    border-bottom: none;
  }
}

@media (min-width: 1280px) {
  .completed-set {
    gap: 10px;
  }
  .completed-sets-container {
    /* border: 1px solid black; */
    display: grid;
    grid-template-columns: 1fr;
    padding: 30px;
  }
  .completed-sets-container > div {
    border-right: none;
    border-bottom: 1px solid black;
    padding: 10px 0 10px 0;
  }
}

/* INFO SECTION ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ */
.info-section {
  width: 290px;
  /* height: 290px; */
  /* border: 1px solid black; */
  border-radius: 5px;
  background-color: white;
  padding: 20px;
  margin-bottom: 30px;
}

@media (min-width: 768px) {
  .info-section {
    width: 470px;
  }
}
@media (min-width: 1280px) {
  .info-section {
    /* width: 695px; */
    width: 1090px;
  }
}

.hidden-element {
  display: none;
}

.invisible-element {
  visibility: hidden;
}
