@font-face {
  font-family: 'Linux Libertine';
  /* normal */
  src: url('../fonts/linux-libertine/LinLibertine_R.woff') format('woff');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'Linux Libertine';
  /* italic */
  src: url('../fonts/linux-libertine/LinLibertine_RI.woff') format('woff');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'Linux Libertine';
  /* bold */
  src: url('../fonts/linux-libertine/LinLibertine_RB.woff') format('woff');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'Linux Libertine';
  /* bold */
  src: url('../fonts/linux-libertine/LinLibertine_RBI.woff') format('woff');
  font-weight: bold;
  font-style: italic;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;

  font-family: "Linux Libertine";
}

.swal2-popup * {
  font-family: Arial, Helvetica, sans-serif;
}

.swal2-popup {
  width: 512px;
}

.swal2-icon {
  font-size: 2rem;
}

.swal2-actions {
  font-size: 2rem;
}

body {
  display: flex;
  justify-content: center;
  align-items: start;
  
  margin: 0;
  overflow: hidden;
  background: radial-gradient(
    ellipse at 70% 20%,
    #3a0ca3 0%,
    #432371 30%,
    #1a1333 60%,
    #0a0826 100%
  );
  min-height: 100vh;
  position: relative;
  color: white;
  font-family: sans-serif;
}

/* Camada do céu */
#sky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1; /* fica atrás de tudo */
}

.star {
  position: absolute;
  border-radius: 50%;
  background: white;
  opacity: 0.3;
  animation: twinkle 3s infinite alternate;
}

@keyframes twinkle {
  from { opacity: 0.2; }
  to   { opacity: 1; }
}


.container {
  padding: 10px;
  width: 100%;
}

.uppercase {
  text-transform: uppercase;
}

#float-buttons-left-box {
  position: absolute;
  left: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  gap: 8px;
}

#float-buttons-right-box {
  position: absolute;
  right: 40px;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: end;
  gap: 6px;
}

#wiki-head {
  width: 100%;
  height: auto;
  position: absolute;
  z-index: 999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

#wiki-footer {
  width: 100%;
  height: auto;
  position: absolute;
  bottom: 0px;
  z-index: 999;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

/* start */
#wiki-start {
  background-color: #202020;
  color: #bdc1c6;
  min-width: 200px;
  height: 20px;
  border-radius: 0px 0px 5px 0px;
  text-align: center;
  padding: 10px;
  box-shadow: 0 0 1em black;
  cursor: pointer;
  pointer-events: all;
}

#wiki-hint {
  width: 400px;
  max-width: 400px;
  max-height: 600px;
  overflow: auto;
  box-shadow: 0px 0px 20px black;
  border: 2px solid transparent;
  outline: 1px solid white;
  border-radius: 7px;

  transform: 1s all;

  margin-bottom: 15px;
}

#wiki-hint-content {
  width: 100%;
  height: 100%;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  padding: 10px;
  color: black;
  background-color: white;
  text-align: center;
  border-radius: 5px;
  transition: 0.3s all;
  z-index: 1;
  text-align: center;
  font-size: 14px;

  gap: 16px;
}

#btn-hint {
  background-color: #FFD700;
  color: #202020;
  height: 64px;
  width: 64px;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: all;
  /* border: 3px solid rgb(40, 40, 40); */
}

#btn-hint:hover {
  scale: 1.1
}

#invite {
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;

  transition: 0.3s all;

  font-weight: 600;
  font-size: 18px;
}

#invite-icon {
  width: 64px;
  height: 64px;
  border-radius: 100%;
  border: 3px solid transparent;
  outline: 1px solid rgb(90, 90, 90);

  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

#invite svg {
  width: 32px;
  height: 32px;
  border-radius: 100%;

  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;

  transition: 1s all;
}

#invite:hover {
  transform: scale(1.05);
}

#hint-votes {
  font-size: 10px;
  background-color: #FFD700;
  border-radius: 0px 0px 5px 5px;
}

#end-match {
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background-color: #5cb85c;
  color: white;
  cursor: pointer;
  transition: 0.3s all;
  position: absolute;
  bottom: -12px;
  right: -10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#cancel-match {
  width: 24px;
  height: 24px;
  border-radius: 100%;
  background-color: #d9534f;
  color: white;
  cursor: pointer;
  transition: 0.3s all;
  position: absolute;
  bottom: 6px;
  right: -2px;
  display: flex;
  justify-content: center;
  align-items: center;
}

#cancel-match:hover {
  scale: 1.05;
}

#change-guest-image {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background: white;
  color: black;

  position: absolute;
  right: 0;
  bottom: 0;

  cursor: pointer;

  transition: 0.3s all;
}

#change-guest-image:hover {
  transform: scale(1.1)
}

#wiki-goal-btn {
  color: black;
  cursor: pointer;
  width: 60px;
  height: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: white;
  border-end-start-radius: 16px;
  border-end-end-radius: 16px;
}

#wiki-goal-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: fixed;
  top: 0;
}

#wiki-goal {
  border: 2px solid transparent;
  border-top: none;
  outline: 1px solid white;
  border-radius: 0px 0px 7px 7px;
  box-shadow: 0px 0px 20px black;
  margin-left: 10px;
  margin-right: 10px;
}

#wiki-goal-content {
  color: black;
  background-color: white;
  border-radius: 0px 0px 5px 5px;
  padding: 5px 10px 5px 10px;
  text-align: center;
}

#free-hint {
  font-size: 12px;
  background-color: #202020;
  padding: 5px;
  border-radius: 0px 0px 5px 5px;
}

.daily-challenge {
  box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
  border: 1px #202020 solid;
  border-radius: 12px;
  position: fixed;
  right: 15px;
  bottom: 15px;
}

#daily-challenge-container {
  width: 350px;
}

#daily-challenge-ranking {
  max-height: 220px;
  background-color: #20202080;
  gap: 6px;
  color: white;
  padding: 8px;
  display: flex;
  justify-content: start;
  align-items: center;
  flex-direction: column;
  margin-top: 2px;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  overflow: hidden;
  overflow-y: auto;
}

#new-wiker {
  background-color: rgba(0, 0, 0, 0.8);
  z-index: 999;
  position: fixed;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 30px;
  width: 100%;
  height: 100%;
}

/* #new-wiker p {
  line-height: 12px;
  ;
  color: white;
  font-size: 52px;
  font-weight: bold;

  animation: pulse 0.5s linear infinite;
}

#new-wiker small {
  color: white;
  font-size: 21px;
  font-weight: bold;

  animation: pulse 0.5s linear infinite;
} */

/* #new-wiker img {
  width: 100%;
  width: 350px;
  height: 350px;
  border-radius: 100%;

  animation: tada 1.5s linear infinite;
} */

#wikersModal {
  padding: 10px;
}

#wikers-card {
  background-color: #20202040;
  width: 100%;
  min-height: 250px;
  border-radius: 16px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.user-image {
  width: 100%;
  height: 100%;
  border-radius: 100%;

  object-fit: fill;
  pointer-events: none;
}

.title-card {
  width: 294px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 16px;
  background-color: white;
  border-radius: 12px;
  color: black;
  padding: 5px 3px 5px 3px;
  font-size: 21px;
  position: absolute;
  top: -19px;
  z-index: 999;
}

#profile-cards {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  position: relative;
  gap: 72px;
  width: 100%;

  margin-top: 19px;
}

#change-guest-image,
#change-user-image {
  width: 32px;
  height: 32px;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 1px solid #00000080; */
  border-radius: 100%;
  background: white;
  color: black;

  position: absolute;
  right: 0;
  bottom: 0;

  cursor: pointer;

  transition: 0.3s all;

  text-decoration: none;
}

#change-guest-image:hover,
#change-user-image:hover {
  transform: scale(1.1)
}

.wikers {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 21px;
  row-gap: 16px;

  padding-top: 40px;
  padding-left: 30px;
  padding-right: 30px;
  padding-bottom: 30px;
  flex-grow: 1;

  overflow: auto;
}

#left-info {
  background-color: #202020;
  min-width: 52px;
  height: 100vh;
}

.size-6 {
  width: 28px;
  height: 28px;
}

.size-5 {
  width: 21px;
  height: 21px;
}

.size-4 {
  width: 18px;
  height: 18px;
}

.size-3 {
  width: 16px;
  height: 16px;
}

.size-2 {
  width: 14px;
  height: 14px;
}

.size-1 {
  width: 12px;
  height: 12px;
}

#btn-previous {
  background-color: whitesmoke;
  color: #202020;
  height: 64px;
  width: 64px;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  /* border: 3px solid rgb(40, 40, 40); */
}

#btn-users {
  background-color: whitesmoke;
  color: #202020;
  height: 64px;
  width: 64px;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: all;
  /* border: 3px solid rgb(40, 40, 40); */
}

#btn-categories {
  background-color: #1ed195;
  color: #202020;
  height: 64px;
  width: 64px;
  border-radius: 64px;
  cursor: pointer;
  transition: all 0.5s;
  z-index: 999;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  pointer-events: all;
  /* border: 3px solid rgb(40, 40, 40); */
}

#btn-categories:hover>#categories-votes {
  display: flex;
}

#categories-votes {
  font-size: 10px;
  border-radius: 0px 0px 5px 5px;
}

#btn-previous:hover,
#btn-categories:hover,
#btn-users:hover {
  scale: 1.1;
}

#footer-info {
  position: fixed;
  background-color: #202020;
  width: 100%;
  height: 5vh;
  box-shadow: 0 0 1em black;
  bottom: 0;
}

#right-info {
  background-color: #202020;
  min-width: 52px;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

.users {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  column-gap: 21px;
  row-gap: 16px;
}

.winner {
  width: 256px;
  height: 256px;
  border-radius: 256px;
  background-color: white;
  margin: 5px;

  box-sizing: border-box;
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  border: 3px solid rgb(80, 80, 80);
}

.winner img {
  width: 100%;
  height: 100%;
  border-radius: 100%;

  object-fit: fill;
  object-position: center;

  pointer-events: none;
}

.user-info {
  width: 96px;
  height: 96px;
  border-radius: 100%;
  border: 3px solid transparent;
  outline: 1px solid rgb(90, 90, 90);

  position: relative;
}

.user:hover {
  transform: scale(1.05);
}

#auth {
  position: absolute;
  top: 20px;
  right: 20px;

  color: white;
  width: 48px;
  height: 48px;

  transition: 0.3s all;
}

#auth:hover {
  transform: scale(1.1)
}

@keyframes spin {
  from {
    transform: rotate(0deg)
  }

  to {
    transform: rotate(360deg)
  }
}

.primary-btn {
  border: none;
  border-radius: 12px;
  background-color: whitesmoke;
  color: black;

  transition: 0.3s all;
  font-weight: 600;
  padding: 5px 15px 5px 15px;
  font-size: 21px;
  cursor: pointer;

  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;

  min-height: 38px;
  text-decoration: none;
}

.primary-btn:hover {
  scale: 1.05;
}

.user {
  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;

  transition: 0.3s all;

  font-weight: 600;
  font-size: 18px;
}

.user-info img {
  width: 100%;
  height: 100%;
  border-radius: 100%;

  object-fit: fill;
  object-position: center;

  pointer-events: none;
}

.user-focus {
  outline: 1px solid white;
}

.wiker,
.redeem-wiker {
  position: relative;

  display: flex;
  flex-direction: column;
  justify-content: end;
  align-items: center;
  gap: 8px;

  transition: 0.3s all;

  font-weight: 600;
  font-size: 16px;

  cursor: pointer;
}

.wiker .card-face {
  height: 36rem;
  width: 28rem;
}

.wiker-info {
  width: 300px;
  height: 400px;
  border-radius: 1.5rem;
  border: 3px solid transparent;
  outline: 1px solid rgb(90, 90, 90);

  position: relative;

  display: flex;
  justify-content: center;
  align-items: start;
  flex-direction: column;
}

.wiker-name {
  height: 40px;
  width: 100%;
  background-color: #5cb85c;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 5px;
  border-top-right-radius: 1.5rem;
  border-top-left-radius: 1.5rem;
  font-size: 12px;
  text-align: center;
}

.wiker-desc {
  height: 80px;
  width: 100%;
}

.wiker-info img {
  width: 100%;
  height: 100%;

  object-fit: cover;
  object-position: center;

  pointer-events: none;
}

.wiker-focus {
  outline: 1px solid white;
}

.wiker:hover,
.redeem-wiker:hover {
  transform: scale(1.05);
}

.user-name {
  background-color: #202020;
  padding: 5px 15px 5px 15px;
  border-radius: 5px;
  display: none;
}

.user:hover>.user-name {
  display: block;
}

.leader-user {
  width: 36px;
  position: absolute;
  top: -28px;
  left: 27px;

}

#wiki-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
  color: #bdc1c6 !important;
}

#wiki-frame iframe {
  width: 100%;
  height: 100vh;
  background-color: #101418;
}

.bg-dark-grey {
  background-color: #101418;
}

#wiki-middle {
  max-width: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-left: 5px;
  margin-right: 5px;
}

@media only screen and (max-width: 600px) {
  #float-buttons-left-box {
    left: 5px;
    bottom: 5px;
  }

  #float-buttons-right-box {
    right: 5px;
    bottom: 5px;
  }

  .daily-challenge {
    width: calc(100% - 30px);
    bottom: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
  }

  #daily-challenge-container {
    width: 100%;
  }
}

.kick-user {
  width: 21px;
  height: 21px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  background-color: #d9534f;
  color: white;

  position: absolute;
  right: 1px;
  top: 1px;

  cursor: pointer;

  transition: 0.3s all;
}

.kick-user:hover {
  transform: scale(1.2);
}

.d-none {
  display: none !important;
}

/* LOADING */
.loader {
  width: 48px;
  height: 48px;
  position: relative;
}

.loader::before,
.loader::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 48em;
  height: 48em;
  background-image:
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0),
    radial-gradient(circle 10px, #FFF 100%, transparent 0);
  background-position: 0em -18em, 0em 18em, 18em 0em, -18em 0em,
    13em -13em, -13em -13em, 13em 13em, -13em 13em;
  background-repeat: no-repeat;
  font-size: 0.5px;
  border-radius: 50%;
  animation: blast 1s ease-in infinite;
}

.loader::after {
  font-size: 1px;
  background: #fff;
  animation: bounce 1s ease-in infinite;
}

@keyframes bounce {

  0%,
  100% {
    font-size: 0.75px
  }

  50% {
    font-size: 1.5px
  }
}

@keyframes blast {

  0%,
  40% {
    font-size: 0.5px;
  }

  70% {
    opacity: 1;
    font-size: 4px;
  }

  100% {
    font-size: 6px;
    opacity: 0;
  }
}

/* LOADING */


/* CLICK TO COPY */

/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  bottom: 110%;
  left: 50%;
  margin-left: -60px;
  /* Use half of the width (120/2 = 60), to center the tooltip */
  background-color: black;
  color: #fff;
  text-align: center;
  padding: 5px 0;
  border-radius: 6px;

  /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
}

/* Show the tooltip text when you mouse over the tooltip container */
/* .tooltip:hover .tooltiptext {
  visibility: visible;
} */
/* CLICK TO COPY */

/* Escalamento tipográfico com font-size base de 9px */
h1 {
  font-size: 4.44rem;
  /* ~40px */
}

h2 {
  font-size: 3.56rem;
  /* ~32px */
}

h3 {
  font-size: 3.11rem;
  /* ~28px */
}

h4 {
  font-size: 2.67rem;
  /* ~24px */
}

h5 {
  font-size: 2.22rem;
  /* ~20px */
}

h6 {
  font-size: 1.78rem;
  /* ~16px */
}

/* Ajustes opcionais para line-height e espaçamento */
h1,
h2,
h3,
h4,
h5,
h6 {
  line-height: 1.2;
  margin: 0.5rem 0;
}