@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800;900&display=swap");

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

body {
    color: #fff;
    background: #1d1b1b;
}

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 20px 10%;
    background: transparent;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.logo {
    font-family: 'Sarina', regular;
    font-size: 40px;
    color: #ffc7ab;
    text-shadow: 0 0 15px black;
    text-decoration: none;
    font-weight: 700;
}

.navbar a {
    font-size: 18px;
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    margin-left: 35px;
    transition: .3s;
}

.navbar a:hover,
.navbar a.active {
    color: #ffc7ab;
}

.main {
    min-height: 97vh;
    background: url("/assets/media/quiz.jpg") no-repeat;
    filter: blur(15px);
    background-size: cover;
    background-position: center;
    pointer-events: auto;
    transition: .3s ease;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    background: #fff;
    border-radius: 6px;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
    width: 100%;
    max-width: 700px;
    background-color: rgba(0,0,0, 0.8);
    padding: 30px;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0,0,0, 0.1);
}

.heading {
    text-align: center;
    font-size: 40px;
    color: #ffc7ab;
    margin-bottom: 50px;
}

label {
    display: block;
    font-size: 12px;
    margin-bottom: 10px;
    color: #fff;
    text-transform: capitalize;
}

select {
    width: 100%;
    padding: 10px;
    text-transform: capitalize;
    border-radius: 5px;
    margin-bottom: 20px;
    background-color: #fff;
    color: #1d1b1b;
    font-size: 14px;
}

.btn {
    width: 100%;
    height: 60px;
    background-color: #ffc7ab;
    border: none;
    border-radius: 10px;
    color: #1d1b1b;
    margin-top: 15px;
    font-size: 18px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s linear;
}

.btn:hover {
    background-color: #ffc7ab;
    font-size: 20px;
    font-weight: 500;
}

.btn:disabled {
    cursor: not-allowed;
    background-color: #576081;
}

.hide {
    display: none;
}

.timer {
    width: 100%;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}

.timer .progress {
    position: relative;
    width: 100%;
    height: 40px;
    background-color: transparent;
    border-radius: 30px;
    overflow: hidden;
    margin-bottom: 0px;
    border: 3px solid #ffc7ab;
}

.timer .progress .progress-bar {
    width: 50%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    background: linear-gradient(to right, #ea517c, #b478f1);
    transition: 1s linear;
}

.timer .progress .progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    font-size: 16px;
    font-weight: 500;
}

.question-wrapper .number {
    color: #ffc7ab;
    font-size: 20px;
    font-weight: 500;
    margin-bottom: 15px;
}

.question-wrapper .number .total {
    color: #ffc7ab;
    font-size: 16px;
}

.question-wrapper .question {
    color: #fff;
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 15px;
}

.answer-wrapper .answer {
    width: 100%;
    height: auto;
    padding: 15px;
    border-radius: 10px;
    color: #fff;
    border: 3px solid #576081;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    cursor: pointer;
    transition: 0.3s linear;
}

.answer .text {
    word-wrap: break-word;
    font-size: 0.9em;
    line-height: 1.2;
}

.answer:hover {
    border-color: #ffc7ab;
}

.answer.selected .checkbox .icon {
    opacity: 1;
}

.answer.selected {
    border-color: #fabb9c;
}

.answer.correct {
    border-color: #0cef2a;
}

.answer.wrong {
    border-color: #fc3939;
}

.question-wrapper,
.answer-wrapper {
    margin-bottom: 15px;
}

.btn.next {
    /* Show when answer submit */
    display: none;
}

.end-screen .score {
    color: #fff;
    font-size: 25px;
    font-weight: 500;
    margin-bottom: 80px;
    text-align: center;
}

.end-screen .score-text {
    color: #a2aace;
    font-size: 16px;
    margin-bottom: 120px;
}

@media (max-width: 468) {
    .container {
        min-height: 100vh;
        max-width: 100%;
        border-radius: 0;
    }
}

.side-footer
{
    font-size: 16px;
    font-weight: 600;
    text-align: center;
    background-color: #ffc7ab;
    color: #1d1b1b;
    position: relative;
    bottom: 0;
    width: 100%;
}

.side-footer a
{
    color: #942253;
    text-decoration: none;
}

.sound-switcher
{
    position: fixed;
    right: 0;
    top: -25px;
    padding: 15px;
    width: 200px;
    border: 1px solid #e8dfec;
    background: #fdf9ff;
    z-index: 101;
    border-radius: 5px;
    transition: all 0.3s ease;
    transform: translateX(100%);
}

.sound-switcher .s-icon
{
    position: absolute;
    height: 40px;
    width: 40px;
    text-align: center;
    font-size: 20px;
    background: #fdf9ff;
    color: #302e4d;
    right: 100%;
    border: 1px solid #e8dfec;
    margin-right: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 50%;
}

.sound-switcher .s-icon i
{
    line-height: 40px;
}

.sound-switcher .on-off
{
    top: 55px;
}