/* From Uiverse.io by Na3ar-17 */ 

.radio-input {
    display: flex;
    flex-direction: column;
    width: 90%;
    /*margin: 30px;*/
  }

  div.concluido .radio-input {
    pointer-events: none;
  }
  
  
  .radio-input label {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 10px; /*20px 20px;*/
    cursor: pointer;
    /*height: 50px;*/
    position: relative;
    color: rgb(153, 153, 153);
    font-size: 0.9rem;
    /*margin: 10px 0px;*/
  }
  
  .radio-input label::before {
    position: absolute;
    content: "";
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%; /*45px;*/
    z-index: -1;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border-radius: 10px;
    border: 2px solid transparent;
  }
  .radio-input label:hover::before {
    transition: all 0.2s ease;
    background-color: #2a2e3c;
  }
  
  .radio-input .label:has(input:checked)::before {
    background-color: #2d3750;
    border-color: #435dd8;
    /*height: 50px;*/
    /*padding: 20px;*/
  }

  div.concluido .radio-input .label:has(input:checked)::before {
    border-color: red;
  }

  .radio-input .label:has(input.correto)::before {
    border-color: green !important;
  }  
  
  .radio-input .label .text {
    color: #fff;
  }
  
  .radio-input .label input[type="radio"] {
    background-color: #4e4e4e;
    appearance: none;
    width: 17px;
    height: 17px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
    flex-shrink: 0;
  }
  .radio-input .label input[type="radio"]:checked {
    background-color: #435dd8;
    -webkit-animation: puls 0.7s forwards;
    animation: pulse 0.7s forwards;
  }
  
  .radio-input .label input[type="radio"]:before {
    content: "";
    width: 6px;
    height: 6px;
    border-radius: 50%;
    transition: all 0.1s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #fff;
    transform: scale(0);
  }
  
  .radio-input .label input[type="radio"]:checked::before {
    transform: scale(1);
  }


  .radio-input .label.correta::before {
    border-color: green; /* Cor que deseja para as respostas corretas */
    background-color: #2d3750; /* Ajuste conforme necessário */
    height: 50px;
    padding: 20px;
}

.radio-input .label.incorreto::before {
  border: 2px solid red; /* Cor da borda incorreta */
  background-color: #2d3750; /* Ajuste conforme necessário */
  height: 50px;
  padding: 20px;
}

.radio-input .label.incorreta::before {
  border-color: red; /* Cor da borda para respostas incorretas */
  background-color: #2d3750; /* Ajuste conforme necessário */
  height: 50px;
  padding: 20px;
}


  
  @keyframes pulse {
    0% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.4);
    }
    70% {
      box-shadow: 0 0 0 8px rgba(255, 255, 255, 0);
    }
    100% {
      box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
  }
  


/* From Uiverse.io by mrhyddenn */ 
.shadow__btn {
    padding: 10px 20px;
    border: none;
    font-size: 17px;
    color: #fff;
    border-radius: 7px;
    letter-spacing: 4px;
    font-weight: 700;
    text-transform: uppercase;
    transition: 0.5s;
    transition-property: box-shadow;
    margin: 20px auto;
    display: block;
  }
  
  .shadow__btn {
    background: rgb(0,140,255);
    box-shadow: 0 0 25px rgb(0,140,255);
  }
  
  .shadow__btn:hover {
    box-shadow: 0 0 5px rgb(0,140,255),
                0 0 25px rgb(0,140,255),
                0 0 50px rgb(0,140,255),
                0 0 1px rgb(0,140,255);
  }


/* From Uiverse.io by absoluteSTrange */ 
.btnAtividade {
  flex-grow: 1;
  flex-shrink: 0;
  width: 80%;
  padding: 1rem;
  border-radius: 10px;
  border: 0;
  background-color: rgb(255, 56, 86);
  letter-spacing: 1.5px;
  font-size: 15px;
  transition: all 0.3s ease;
  box-shadow: rgb(201, 46, 70) 0px 10px 0px 0px;
  color: hsl(0, 0%, 100%);
  cursor: pointer;
  margin: 10px;
}

.btnAtividade[disabled] {
  background-color: #888;
  box-shadow: #555 0px 10px 0px 0px;
}

.btn2{
  background-color: #37718E;
  box-shadow: #29566d 0px 10px 0px 0px;
}
.btn3{
  background-color: #5CAB7D;
  box-shadow: #4a8864 0px 10px 0px 0px;
}

.btnAtividade:not([disabled]):hover {
  box-shadow: rgb(255, 255, 255) 0px 7px 0px 0px;
}

.btnAtividade:not([disabled]):active {
  background-color: rgb(255, 56, 86);
  /*50, 168, 80*/
  box-shadow: rgb(201, 46, 70) 0px 0px 0px 0px;
  transform: translateY(5px);
  transition: 200ms;
}

/* From Uiverse.io by reshades */ 
.button {
  background-color: transparent;
  color: transparent;
  border: none;
  width: 8.5em;
  height: 2.9em;
  margin: 20px 15px;
  position: absolute;
  left: 0;
  top: 0;
  cursor: pointer;
}

.button svg {
  width: 1.6em;
  margin: -0.2em 0.8em 1em;
  position: absolute;
  display: flex;
  transition: all 0.6s ease;
  transform: scaleX(-1);
  color: #fff;
}

/*.button:hover svg {
  transform: translateX(5px);
}*/

.text {
  margin: 0 1.5em
}


@media (min-width: 768px) {
  .btnAtividade{
    width: 28%; /*50%;*/
  }

  .button {
    background-color: #ffffff00;
    color: #fff;
    width: 8.5em;
    height: 2.9em;
    border: #3654ff 0.2em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.6s ease;
    margin: 20px 25px;
    align-self: flex-end;
    order: 2;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 1; 
  }
  
}
@media (min-width: 1024px) {
  /*.btnAtividade{
    width: 50%;
  }*/

  .radio-input{
    width: 50%;
  }

  .button {
    background-color: #ffffff00;
    color: #fff;
    width: 8.5em;
    height: 2.9em;
    border: #3654ff 0.2em solid;
    border-radius: 11px;
    text-align: right;
    transition: all 0.6s ease;
    margin: 20px 25px;
    align-self: flex-end;
    order: 2;
    position: absolute;
    left: 0;
    top: 0;
    flex-shrink: 1; 
  }
}

/* From Uiverse.io by Na3ar-17 */ 

.label4 {
  position: relative;
  display: block;
  width: 250px;
  display: flex;
  border-radius: 6px;
  border: 2px solid #373737;
  padding: 15px 8px 15px 10px;
  text-align: left;
  margin: 10px auto;

  .icon {
    position: absolute;
    top: 53%;
    right: 0;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    color: #c5c5c5;
  }

  .input4 {
    background-color: transparent;
    outline: none;
    border: none;
    color: #c5c5c5;
    font-size: 16px;
  }
}

/* From Uiverse.io by JkHuger */ 
.rainbow-hover {
  display: block;
  margin: 30px auto 0px auto;
  font-size: 16px;
  font-weight: 700;
  color: #ff7576;
  background-color: #2B3044;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 24px;
  position: relative;
  line-height: 24px;
  border-radius: 9px;
  box-shadow: 0px 1px 2px #2B3044,
    0px 4px 16px #2B3044;
  transform-style: preserve-3d;
  transform: scale(var(--s, 1)) perspective(600px)
    rotateX(var(--rx, 0deg)) rotateY(var(--ry, 0deg));
  perspective: 600px;
  transition: transform 0.1s;
}

.sp {
  background: linear-gradient(
      90deg,
      #866ee7,
      #ea60da,
      #ed8f57,
      #fbd41d,
      #2cca91
    );
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block;
}

.rainbow-hover:active {
  transition: 0.3s;
  transform: scale(0.93);
}


.xp-container {
  display: flex;
  background-color:  transparent;
  color: transparent;
  border: none;
  height: 2.9em;
  margin: 15px 10px;
  position: absolute;
  right: 0;
  top: 0;
  float: right;
}

.xp-container > button {
  background-color: #ffffff00;
  color: #fff;
  padding: 0.05rem 0.4rem;
  border-radius: 11px;
  text-align: center;
  transition: all 0.6s ease;
  cursor: pointer;
}

.xp-value {
  font-size: 1em;
  color: #3481f5; /* Cor verde para o XP */
}


/* Estilo da barra de rolagem */
::-webkit-scrollbar {
  width: 12px; /* Largura da barra de rolagem vertical */
  height: 5px; /* Altura da barra de rolagem horizontal */
}

/* Estilo da parte da barra de rolagem que pode ser movida */
::-webkit-scrollbar-thumb {
  background-color: #004cbe; /* Cor do "polegar" (a parte que se move) */
}

/* Estilo da parte da barra de rolagem que não pode ser movida */
::-webkit-scrollbar-track {
  background-color: transparent; /* Cor do fundo da barra de rolagem */
}

/* Estilo da parte que aparece quando o mouse passa sobre a barra de rolagem */
::-webkit-scrollbar-thumb:hover {
  background-color: #0062f4; /* Cor do "polegar" quando o mouse passa sobre ele */
}


.card {
  position: absolute;
  top: 10vh;
  margin-left: 20px;
  background-color: #007bff;
  color: white;
  padding: 15px 20px;
  border-radius: 10px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  width: 300px;
  text-align: center;
  animation: fadeOut 0.5s ease forwards; /* Para sumir suavemente */
  display: none; /* Começa escondido */
}

.card.active {
  display: block; /* Torna visível quando ativo */
  animation: none;
}

.progress-bar {
  position: relative;
  margin-top: 10px;
  height: 5px;
  background-color: rgba(255, 255, 255, 0.4);
  border-radius: 5px;
  overflow: hidden;
}

.progress-bar-inner {
  height: 100%;
  width: 100%;
  background-color: #ffcc00;
  transform: scaleX(0);
  transform-origin: left;
  animation: progress 3s linear forwards;
}

@keyframes progress {
  from {
    transform: scaleX(1);
  }
  to {
    transform: scaleX(0);
  }
}

@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}