@font-face {
    font-family: SamsungOne;
    src: url('/rs/assets/fonts/SamsungOne-400_v1.0.ttf');
}
@font-face {
    font-family: SamsungOne;
    font-weight: 500;
    src: url('/rs/assets/fonts/SamsungSharpSans-Medium.ttf');
}
@font-face {
    font-family: SamsungOne;
    font-weight: 700;
    src: url('/rs/assets/fonts/SamsungSharpSans-Bold_0.ttf');
}

* {
    box-sizing: border-box;
    font-family: SamsungOne;
}

body {
    background-color: #F4F4F4;
    margin: 0;
}

.hidden {
    display: none!important;
}
.text-center {
    text-align: center;
}

.signup {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
}
.signup-content {
    max-width: 432px;
}
.signup-logo,
.game-logo,
.leaderboards-logo {
    width: 200px;
}
.signup-logo,
.leaderboards-logo {
    display: block;
    margin: 0 auto 60px auto;
}
.signup h1 {
    margin: 0 0 10px 0;
    font-size: 2.6em;
    font-weight: 700;
    text-align: center;
}
.signup-description {
    text-align: center;
    margin: 0 0 20px 0;
}
.signup form input {
    width: 100%;
    margin: 10px 0;
    padding: 13px 20px;
    background-color: #fff;
    border: 2px solid #fff;
    border-radius: 10px;
}
.signup form input.hasError {
    border-color: #D2383A;
}
.signup form .error {
    margin-top: 40px;
    padding: 15px 20px;
    background-color: #D2383A;
    border-radius: 10px;
}
.signup form .error p {
    color: #fff;
    margin: 0;
    text-align: center;
}
.signup form button {
    color: #fff;
    background-color: #000;
    display: block;
    width: 100%;
    padding: 15px;
    border: none;
    border-radius: 60px;
}

.game {
    margin: 0 auto;
    padding: 0 50px;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}
.game-content {
    width: 100%;
}
.game-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 50px;
}
.game-timer {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
.game-timer p {
    margin: 0;
}
.game-currentTime {
    color: #3C68B1;
    font-size: 2.6em;
    font-weight: bold;
}
.game-cards {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    column-gap: 15px;
    row-gap: 15px;
}

.leaderboards {
    max-width: 720px;
    margin: 70px auto 0 auto;
}
.leaderboards h2 {
    margin: 70px 0 20px 0;
    font-size: 2.6em;
    font-weight: 700;
    text-align: center;
}
.leaderboards h3 {
    color: #3C68B1;
    margin: 0 0 30px 0;
    font-size: 2em;
    font-weight: 700;
    text-align: center;
}
.leaderboards-currentScore {
    font-weight: 700;
    color: #3C68B1;
}
.leaderboards table {
    width: 100%;
    margin-bottom: 50px;
}
.leaderboards table th {
    font-weight: 400;
    text-align: left;
}
.leaderboards table th:last-child {
    text-align: right;
}
.leaderboards table td {
    font-weight: 700;
}
.leaderboards table td:last-child {
    text-align: right;
}
.leaderboards table tbody tr td {
    padding: 15px 0;
    border-bottom: 1px solid #D9D9D9;
}
.leaderboards a {
    display: block;
    text-align: center;
    color: #3C68B1;
    margin-bottom: 40px;
}




.card {
  height: 0;
  padding-top: 56.25%;
  width: 100%;
  border-radius: 10px;
  background-color: white;
  position: relative;
  transform-style: preserve-3d;
  transition: all 0.5s ease-in-out;
}

.front-image {
  width: 100%;
  height: 100%;
  transition: all 300ms ease-in-out;
  opacity: 1;
}

.card.flipped {
  transform: rotateY(180deg);
}
.card.match img {
    opacity: 0.5;
  }

.front, .back {
    position: absolute;
    overflow: hidden;
    border-radius: 10px;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
}

.card .front {
  display: flex;
  justify-content: center;
  align-items: center;
}

.card .back {
  background-color: #457ABE;
  backface-visibility: hidden;
}

.card .front {
  transform: rotateY(180deg);
}








/* Checkbox styling */
.checkbox {
    display: block;
    position: relative;
    padding-left: 30px;
    margin: 10px 0 12px 0;
    font-size: 0.9em;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
  
/* Hide the browser's default checkbox */
.checkbox input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
  
/* Create a custom checkbox */
.checkmark {
    position: absolute;
    top: -2px;
    left: 0;
    height: 20px;
    width: 20px;
    background-color: #fff;
    border-radius: 50%;
}
  
/* When the checkbox is checked, add a blue background */
.checkbox input:checked ~ .checkmark {
    background-color: #457ABE;
}
  
/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}
  
/* Show the checkmark when checked */
.checkbox input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.checkbox .checkmark:after {
    left: 7px;
    top: 4px;
    width: 4px;
    height: 8px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

/* width */
::-webkit-scrollbar {
    width: 14px;
    margin-right: 10px;
  }
  
  /* Track */
  ::-webkit-scrollbar-track {
    background: #ffffff;
    border-radius: 7px;
  }
  
  /* Handle */
  ::-webkit-scrollbar-thumb {
    background: #3C68B1;
    border-radius: 7px;
  }
  
  /* Handle on hover */
  ::-webkit-scrollbar-thumb:hover {
    background: #555;
  }
