@import url('https://fonts.googleapis.com/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&family=Jost:ital,wght@0,100..900;1,100..900&display=swap');
body{
    padding: 0;
    margin:0;
    display: flex;
    justify-content: center;
    background: transparent;
    flex-direction: column;
    color:white;
    font-family: "Inter","Jost",sans-serif;
    user-select: none;
}
.content {
    overflow: hidden;
}
.default-screen, .player-screen, .categories-screen {
    transition: 250ms;
    height: 100vh;
}
.default-screen.hidden {
    opacity: 0;
    transform: translateX(-10px);
}
.player-screen.hidden,.categories-screen.hidden {
    opacity: 0;
    transform: translateX(10px);
}
.options {
    background:black;
    width: calc(100% - 30px);
    display:flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
    border-radius: 10px;
    overflow: hidden;
}
.option {
    display:flex;
    padding:15px;
    padding-left: 20px;
    align-items: center;
    cursor: pointer;
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
    transition: 70ms;
}
.option:active {
    background:rgb(20,20,20);
    filter: blur(1px);
}
.option i {
    width: 35px;
    display:block;
}
.option span {
    margin-left: auto;
    margin-right: 10px;
    font-weight: 900;
    color:rgb(190,190,190);   
}
.option-seperator {
    display:flex;
    margin-left: auto;
    margin-right:auto;
    width: calc(100% - 100px);
    border:1px solid rgb(50,50,50);
    border-radius: 5px;
}
button.default {
    padding:15px 25px;
    background:black;
    color:inherit;
    border-radius: 50px;
    border:none;
    font-family: inherit;
    font-weight: 600;
    display:flex;
    margin-left: auto;
    margin-right: auto;
    margin-top:30px;
    box-shadow: 0 5px 5px 0 rgba(0,0,0,0.2);
    cursor: pointer;
    transition: 150ms;
    font-size: 16px;
}
button.default:active {
    box-shadow: 0 3px 5px 0 rgba(0,0,0,0.2);
    transform: translateY(3px);
}
.main-btn-outer {
    position: fixed;
    left: 0px;
    bottom:0px;
    padding-bottom: 25px;
    width: 100%;
    background:linear-gradient(to top, rgb(219, 1, 19), transparent);
    min-height: 100px;
    display:flex;
    align-items: center;
}
.imposter-outer {
    position: absolute;
    top:0;
    left:0;
    background:linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    height: 100%;
    width: 100%;
    display:flex;
    align-items: end;
    cursor: pointer;
    overflow:hidden;
    transition: 250ms;
}
.imposter-box {
    background:black;
    width: calc(100% - 10px);
    display:flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    padding-top:20px;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.6);
    padding-bottom: 20px;
    cursor:default;
    transition: 250ms;
}
.imposter-box span {
    font-weight: 800;
    display:block;
    text-align: center;
    font-size: 25px;
}
.imposter-box .selector {
    display:flex;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    font-weight: 900;
    margin-top:20px;
    align-items: center;
    border-radius: 5px;
    font-size: 24px;
    margin-bottom: 20px;
}
.imposter-box .selector i {
    padding:10px;
    font-size: 22px;
    cursor: pointer;
}
.imposter-box .selector div {
    padding:10px 20px;
    background:rgb(50,50,50);
    border-radius: 5px;
}
.imposter-outer.hidden .imposter-box {
    transform: translateY(100%);
}
.imposter-outer.hidden {
    opacity: 0;
}
.frame-header {
    padding-top:10px;
    padding-left: 10px;
    display:flex;
    flex-direction: column;
}
.frame-controls i {
    font-size: 25px;
    display:flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: 150ms;
    height: 50px;
    width: 50px;
    position: fixed;
    top:5px;
    left: 5px;
}
.frame-controls i:nth-child(2) {
    right: 5px;
    left: unset;
}
.frame-controls i:active {
    font-size: 20px;
}
.frame-header .header {
    font-weight: 900;
    font-size: 50px;
    display: block;
    text-align: center;
    font-family: "Inter",sans-serif;
    margin-top:40px
}
.frame-header .credits {
    display:block;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.5px;
    font-size: 18px;
    margin-top:5px;
}
.head-row {
    height: 65px;
    align-items: center;
    display:flex;
    justify-content: center;
    font-size:20px;
    font-weight: 500;
}
.player-list {
    background:black;
    width: calc(100% - 30px);
    display:flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 155px;
}
.player-list .player-name {
    display:flex;
    padding:15px;
    padding-left: 20px;
    align-items: center;
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
    transition: 70ms;
}
.player-list .player-name input{
    width: 100%;
    background:transparent;
    font-size: inherit;
    color:inherit;
    font-weight: inherit;
    font-family: inherit;
    outline: transparent;
    border:none;
}
.player-list .player-name i {
    color:rgb(255, 0, 55);
    font-size: 18px;
    padding: 3px;
    padding-right: 5px;
    cursor: pointer;
}
.categories-list {
    background:black;
    width: calc(100% - 30px);
    display:flex;
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    margin-top:20px;
    border-radius: 10px;
    overflow: hidden;
}
.categories-list label {
    display:flex;
    padding:15px;
    padding-left: 20px;
    align-items: center;
    cursor: pointer;
    font-family: "Inter";
    font-weight: 600;
    font-size: 16px;
    transition: 70ms;
}
.categories-list label:active {
    background:rgb(20,20,20);
    filter: blur(1px);
}
.categories-list label i.i {
    width: 30px;
}
.categories-list label i:not(.i) {
    color:red;
    font-size: 18px;
    display:none;
    margin-left: auto;
}
.categories-list input:checked + label i:not(.i) {
    display:flex;
}
.loading {
    position: fixed;
    top:0;
    left: 0;
    width: 100vw;
    height: 100vh;
    display:flex;
    justify-content: center;
    align-items: center;
    background: rgb(240, 44, 9);
    transition: 250ms;
    opacity: 0;
    flex-direction: column;
}
.loading span {
    margin-bottom: 15px;
    font-weight: 600;
    font-size: 24px;
}
.loader {
  width: 80px;
  aspect-ratio: 1;
  border: 10px solid transparent;
  box-sizing: border-box;
  background: 
    radial-gradient(farthest-side,#fff 98%,transparent) 0    0/20px 20px,
    radial-gradient(farthest-side,#fff 98%,transparent) 100% 0/20px 20px,
    radial-gradient(farthest-side,#fff 98%,transparent) 100% 100%/20px 20px,
    radial-gradient(farthest-side,#fff 98%,transparent) 0 100%/20px 20px,
    linear-gradient(#fff 0 0) 50%/40px 40px,
    rgb(240, 44, 9);
  background-repeat:no-repeat;
  filter: blur(4px) contrast(10);
  animation: l12 0.8s infinite;
  border-radius: 30px;
}
@keyframes l12 {
  100%  {background-position:100% 0,100% 100%,0 100%,0 0,center}
}
iframe {
    position: fixed;
    height: 100vh;
    width: 100vw;
    border:none;
    display:none;
    transition: 150ms;
    opacity: 0;
}
.disp {
    display: flex;
    align-items: center;
    flex-direction: column;
}
.card-outer *, .card-outer {
    touch-action: none;
}
.card-outer {
    display:flex;
    align-items: center;
    justify-content: center;
    height: calc(100vh - 60px);
    width: 100%;
}
.relative-cardbox.hidden {
    filter:blur(15px);
    opacity: 0;
}
.relative-cardbox {
    width: calc(100% - 60px);
    position: relative;
    aspect-ratio: 1/1.2;
    box-shadow: 0px 2px 30px 0 rgba(0,0,0,0.2);
    border-radius: 30px;
    transition: 300ms;
}
.card-reveal {
    background: black;
    height: calc(100% - 35px);
    border-radius: 30px;
    position: absolute;
    display: flex;
    bottom: 0;
    left: 0;
    width: 100%;
    justify-content: center;
    align-items: end;
    padding-bottom: 35px;
}
.card-name {
    position: absolute;
    bottom:0;
    left: 0;
    width: calc(100% - 8px);
    height: calc(100% - 8px);
    position: relative;
    border: 4px solid white;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    background:linear-gradient(to top,rgb(252, 29, 0),rgb(255, 113, 31));
    cursor: grab;
}
.card-name:active {
    cursor: grabbing;
}
.card-name span {
    position: absolute;
    width: 100%;
    display:block;
    text-align: center;
    left: 0;
    top:0;
    margin-top:15px;
    font-weight: 900;
    font-size: 55px;
    font-family: "Jost",sans-serif;
    word-break: break-all;
}
.card-name img {
    height: calc(100% + 15px);
    filter: drop-shadow(0 0 50px rgb(255, 113, 31));
    margin-top: 10px;
}
.card-reveal span {
    font-weight: 800;
    font-size: 29px;
}
.card-reveal i {
    background:rgb(60,245,60);
    font-size: 22px;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    margin-right: 10px;
}
.card-reveal i.imp {
    background:rgb(245,60,60);
}
button.main.hidden {
    opacity: 0;
    filter: blur(5px);
}
.beginner {
    display:flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50vh;
    font-size: 32px;
    font-weight: 700;
    opacity: 0;
    transition: 150ms;
}
.solve {
    position: fixed;
    bottom: 0;
    left: 0;
    height: 100vh;
    width: 100%;
    display:flex;
    justify-content: center;
    align-items: center;
    transition: 250ms;
    opacity: 0;
}
.solve button {
    height: fit-content;
}
label span.num {
    display: flex;
    opacity: 0;
    margin-left: auto;
    transition: 50ms;
}
span.num i {
    width: fit-content;
    color:rgb(60,245,60)
}
input:checked + label span.num {
    opacity: 1;
}
* {
    outline: none;
    -webkit-tap-highlight-color: transparent;
    -webkit-focus-ring-color: transparent;
    box-shadow: none;
}