@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


body {
    font-family: "Poppins", system-ui;
    background:url(img/bg1.webp) repeat;
    margin: 0;
    padding: 0;
}
.clogo {
    background: var(--logo);
    background-size: contain; /* Ajusta a imagem para caber no botão */
    width: 100%;
    height: 110px;
}
#question-container {
    color: var(--questaotext);
}
footer {
    background-color: var(--text-color);
    padding: 8px;
    color: #fff;
    text-align: center;
    margin-top: 120px;
    bottom: 0;
    font-size: 12px;
    letter-spacing: 1.1px;    
}
footer a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}


#result-container {
 font-weight: 800;
 padding-top: 40px;;
}
.incorrect {
    color: red;
}
.correct {
    color: green;
}
#quiz-container {
    max-width: 500px;
    background: var(--quizbg);
    margin: 0 auto;
    margin-top: 90px;
    text-align: center;
    padding: 40px;
    border-radius: 8px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}
#hint-container {
    color: #17bd70;
}
h2 {
    font-size: 18px;
    line-height: 25px;
}

#progress {
    margin-bottom: 20px;
}

#progress-bar {
    height: 20px;
    margin-top: 30px;;
    background-color: #FDD456;
    width: 0;
    border-radius: 5px;
    transition: width 0.5s;
}

#progress-percentage {
    margin-left: 10px;
    color: var(--porcentagemtext);
}

.button {
    font-family: 'Ropa Sans', sans-serif;
    color: white;
    width: 96%;
    margin: 0 auto;
    margin-top: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05rem;
    border: 1px solid #202020;
    padding: 0.8rem 2.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 531.28 200'%3E%3Cdefs%3E%3Cstyle%3E .shape %7B fill: %23FF4655 %7D %3C/style%3E%3C/defs%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolygon class='shape' points='415.81 200 0 200 115.47 0 531.28 0 415.81 200' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-color: #202020;
    background-size: 200%;
    background-position: 200%;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
    transition-property: background-position, border, color;
    position: relative;
    z-index: 1;
   }
   
   .button:hover {
    border: 1px solid #EE5766;
    color: white;
    background-position: 40%;
   }
   
   .button.selected {
    background-color: #fdd456!important;
    border: 1px solid #fdd456!important;
    color: white;
    background-position: 40%;
   }
   

   .button:before {
    content: "";
    position: absolute;
    background-color: #656d78;
    width: 0.2rem;
    height: 0.2rem;
    top: -1px;
    left: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .button:hover:before {
    background-color: white;
   }
   
   .button:hover:after {
    background-color: white;
   }
   
   .button:after {
    content: "";
    position: absolute;
    background-color: #fdd456!important;
    width: 0.3rem;
    height: 0.3rem;
    bottom: -1px;
    right: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .button-borders {
    position: relative;
    width: fit-content;
    height: fit-content;
   }
   
   .button-borders:before {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    top: -0.3em;
    border: 1px solid #0E1822;
    border-bottom: 0px;
       /* opacity: 0.3; */
   }
   
   .button-borders:after {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    bottom: -0.3em;
    border: 1px solid #0E1822;
    border-top: 0px;
       /* opacity: 0.3; */
    z-index: 0;
   }
   
   .shape {
    fill: #0E1822;
   }

.option {
    font-family: 'Ropa Sans', sans-serif;
    color: white;
    margin: 10px;
    cursor: pointer;
    font-size: 13px;
    font-weight: bold;
    letter-spacing: 0.05rem;
    border: 1px solid #656d78;
    padding: 0.8rem 2.1rem;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 531.28 200'%3E%3Cdefs%3E%3Cstyle%3E .shape %7B fill: %23FF4655 %7D %3C/style%3E%3C/defs%3E%3Cg id='Layer_2' data-name='Layer 2'%3E%3Cg id='Layer_1-2' data-name='Layer 1'%3E%3Cpolygon class='shape' points='415.81 200 0 200 115.47 0 531.28 0 415.81 200' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E%0A");
    background-color: #656d78;
    background-size: 200%;
    background-position: 200%;
    background-repeat: no-repeat;
    transition: 0.3s ease-in-out;
    transition-property: background-position, border, color;
    position: relative;
    z-index: 1;
   }
   
   .option:hover {
    border: 1px solid #EE5766;
    color: white;
    background-position: 40%;
   }
   
   .option.selected {
    background-color: #EE5766;
    border: 1px solid #EE5766;
    color: white;
    background-position: 40%;
   }
   

   .option:before {
    content: "";
    position: absolute;
    background-color: #656d78;
    width: 0.2rem;
    height: 0.2rem;
    top: -1px;
    left: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .option:hover:before {
    background-color: white;
   }
   
   .option:hover:after {
    background-color: white;
   }
   
   .option:after {
    content: "";
    position: absolute;
    background-color: #EE5766;
    width: 0.3rem;
    height: 0.3rem;
    bottom: -1px;
    right: -1px;
    transition: background-color 0.15s ease-in-out;
   }
   
   .button-borders {
    position: relative;
    width: fit-content;
    height: fit-content;
   }
   
   .button-borders:before {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    top: -0.3em;
    border: 1px solid #0E1822;
    border-bottom: 0px;
       /* opacity: 0.3; */
   }
   
   .button-borders:after {
    content: "";
    position: absolute;
    width: calc(100% + 0.5em);
    height: 50%;
    left: -0.3em;
    bottom: -0.3em;
    border: 1px solid #0E1822;
    border-top: 0px;
       /* opacity: 0.3; */
    z-index: 0;
   }
   
   .shape {
    fill: #0E1822;
   }
   
   .floating-image {
    position: absolute;
    width: 250px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    filter: blur(2px);
    animation: float 10s ease-in-out infinite;
}

@keyframes float {
    0% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-50px) rotate(20deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}

.floating-image2 {
    position: absolute;
    bottom: 0;
    right: 10px;
    width: 100px; /* Ajuste o tamanho conforme necessário */
    height: auto;
    animation: float2 15s ease-in-out infinite;
}

@keyframes float2 {
    0% {
        transform: translateY(10) rotate(0deg);
    }
    50% {
        transform: translateY(-120px) rotate(10deg);
    }
    100% {
        transform: translateY(0) rotate(0deg);
    }
}


/* Estilos para telas pequenas */
@media (max-width: 480px) {
    .floating-image, .floating-image2 {
        display: none;
    }
    #quiz-container {
        width: 80%;
        padding: 15px;
    }
    .clogo {
        width: 100%;
        padding-top: 0px;
    }
}

/* Estilos para telas pequenas */
@media (max-width: 768px) {
    .floating-image, .floating-image2 {
        display: none;
    }
    #quiz-container {
        width: 80%;
        padding: 15px;
    }
    .clogo {
        width: 100%;
        padding-top: 0px;
    }
}

/* Variáveis para o tema claro */
:root {
    --quizbg: #ffffffcc;
    --text-color: #ea5566c2;
    --questaotext: #000;
    --porcentagemtext: #000;
    --logo: url('img/LOGO.webp') no-repeat center center;

}

/* Variáveis para o tema escuro */
[data-theme="dark"] {
    --quizbg: #000000cc;
    --text-color: #000000cc;
    --questaotext: #fff;
    --porcentagemtext: #fff;
    --logo: url('img/logobranco.webp') no-repeat center center;

}



/* BOTÃO DARK LIGHT */
.switch {
    display: block;
    --width-of-switch: 3.5em;
    --height-of-switch: 2em;
    /* size of sliding icon -- sun and moon */
    --size-of-icon: 1.4em;
    /* it is like a inline-padding of switch */
    --slider-offset: 0.3em;
    position: absolute;
    right: 10px;
    top: 10px;
    width: var(--width-of-switch);
    height: var(--height-of-switch);
  }
  
  /* Hide default HTML checkbox */
  .switch input {
    opacity: 0;
    width: 0;
    height: 0;
  }
  
  /* The slider */
  .slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #f4f4f5;
    transition: .4s;
    border-radius: 30px;
  }
  
  .slider:before {
    position: absolute;
    content: "";
    height: var(--size-of-icon,1.4em);
    width: var(--size-of-icon,1.4em);
    border-radius: 20px;
    left: var(--slider-offset,0.3em);
    top: 50%;
    transform: translateY(-50%);
    background: linear-gradient(40deg,#ff0080,#ff8c00 70%);
    ;
   transition: .4s;
  }
  
  input:checked + .slider {
    background-color: #303136;
  }
  
  input:checked + .slider:before {
    left: calc(100% - (var(--size-of-icon,1.4em) + var(--slider-offset,0.3em)));
    background: #303136;
    /* change the value of second inset in box-shadow to change the angle and direction of the moon  */
    box-shadow: inset -3px -2px 5px -2px #8983f7, inset -10px -4px 0 0 #a3dafb;
  }


  /* Barra de rolagem do elemento */
  body::-webkit-scrollbar {
    width: 12px;               /* width of the entire scrollbar */
  }
  
  body::-webkit-scrollbar-track {
    background: rgb(172, 171, 170);        /* color of the tracking area */
  }
  
  body::-webkit-scrollbar-thumb {
    background-color: var(--text-color);    /* color of the scroll thumb */
    border-radius: 20px;       /* roundness of the scroll thumb */
    border: 1px solid rgb(255, 255, 255);  /* creates padding around scroll thumb */
  }