:root {
    --wagerGreen: #1cad75;
    --backColour: #191919;
    --textColour: #f1f1f1;
    --highlight: #1cad75;
    --borderColour: #333333;
    --tabColour: #262626;
    --fontPrimary: 'Poppins', Arial, sans-serif;
    --fontSecondary: 'Roboto', sans-serif;
    --boxShadow: 0px 4px 12px rgba(0, 0, 0, 0.3);
}

.baseholder {
    font-family: var(--fontPrimary);
    background-color: var(--backColour);
    color: var(--textColour);
    margin: 0;
    padding: 0;
    line-height: 1.8;
}

.main-container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 0;
}

.main-header {
    text-align: center;
    margin-bottom: 40px;
}

.main-body {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.guide-title {
    font-weight: 700;
    font-size: 2.5em;
    color: var(--textColour);
    margin: 20px 0;
}

.guide-claimer {
    border-bottom: 1px solid var(--wagerGreen);
    color: white;
    padding: 0px 10px;
    display: inline-block;
    font-size: 0.9em;
    font-weight: 500;
    margin-bottom: 20px;
}

.guide-subtitle {
    font-size: 1.2em;
    color: var(--textColour);
    opacity: 0.8;
}

.tip-image-container {
    display: flex;
    gap: 10px;
    flex-direction: row;
}



.tip-image-offers-money, .tip-image-betting, .tip-image-balancing-money {
    max-width: 600px;
    height: auto;
    border-radius: 15px;

}
.tip-container {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.tip-container p {
    font-size: 1.2em;
}

.final-tips {
    padding: 20px;
    background-color: var(--tabColour);
    border-left: 3px solid var(--wagerGreen);
    display: flex;
    justify-content: left;
    flex-direction: column;
    
}

.tips-list {
    margin-left: 25px;
}
.tip-container-small {
    max-width: 800px;
}




#quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--backColour);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000; /* Ensure it appears above other elements */
    color: white;
    font-size: 1.5em;
    text-align: center;
    transition: opacity 0.3s ease;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* Visible state */
.visible {
    opacity: 1;
    visibility: visible;
}


/* General Overlay Styling */
#quiz-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8); /* Semi-transparent dark background */
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    overflow: auto;
}

#showOverlayBtn {
    background-color: transparent;
    border: 1px solid var(--wagerGreen);
    padding: 5px 15px;
    font-size: 1.25em;
    color: white;
    border-radius: 5px;
    transition: 0.4s;
}

#showOverlayBtn:hover {
    transform: translateY(-5px);
}
.close-btn {
    
    top: 10px;
    right: 10px;
    background-color: transparent;
    color: red;
    border: 1px solid red;
    font-family: 'poppins', sans-serif;
    border-radius: 50%;
    font-size: 20px;
    width: 30px;
    height: 30px;
    text-align: center;
    line-height: 30px;
    cursor: pointer;
    font-weight: bold;
}
/* Quiz Container */
#quiz-container {
    font-family: 'poppins', sans-serif;
    overflow-y: auto;
    height: 600px;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 75px;
    background-color: #1e1e1e;
    padding: 20px;
    font-family: 'roborto', sans-serif;
    border-radius: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.5);
    width: 90%;
    max-width: 800px;
    text-align: center;

    /* Scrollbar styling for Firefox */
    scrollbar-width: thin; /* Makes the scrollbar thinner */
    scrollbar-color: #333333 #1e1e1e; /* Thumb color and track color */
}

/* Scrollbar styling for WebKit browsers (Chrome, Edge, etc.) */
#quiz-container::-webkit-scrollbar {
    width: 8px; /* Width of the scrollbar */
}

#quiz-container::-webkit-scrollbar-thumb {
    background-color: #333333; /* Color of the scrollbar thumb */
    border-radius: 4px; /* Rounded corners for the thumb */
}

#quiz-container::-webkit-scrollbar-thumb:hover {
    background-color: #555555; /* Lighter color on hover for the thumb */
}

#quiz-container::-webkit-scrollbar-track {
    background-color: #1e1e1e; /* Background color of the track */
    border-radius: 4px; /* Rounded corners for the track */
}

.quiz-header {
    display: flex;
    flex-direction: row;
    justify-content: right;
    width: 100%;
    height: 40px;
}
#quiz-content {
    width: 100%;
    display: flex;
    flex-direction: column;
}

/* Question Heading */
#quiz-container h2 {
    font-size: 1em;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--wagerGreen);
    color: white; /* Highlight color */
}

/* Options List */
#quiz-container ul {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#quiz-container ul li {
    margin: 10px 0;
}

#quiz-container ul li label {
    text-align: left;
    display: flex;
    align-items: center;
    cursor: pointer;
}

#quiz-container ul li input[type="radio"] {
    margin-right: 10px;
    transform: scale(1.2);
}

.quiz-question label {
    font-size: 1em;
}
/* Buttons */
#quiz-container button {
    background-color: #1cad75;
    color: #ffffff;
    border: none;
    box-shadow: var(--boxShadow);
    border-radius: 5px;
    padding: 5px 20px;
    font-size: 1.2em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#quiz-container button:hover {
    background-color: #17a067;
}

/* Disabled Button */
#quiz-container button:disabled {
    background-color: #555555;
    cursor: not-allowed;
}

/* Results Section */
#quiz-container ul li.correct {
    color: #1cad75;
}

#quiz-container ul li.incorrect {
    color: #d9534f;
}

/* Restart Button */
#quiz-container #restartQuizBtn {
    box-shadow: var(--boxShadow);
    background-color: #1cad75;
    transition: 0.4s;
   
}

#quiz-container #restartQuizBtn:hover {
    
    transform: translateY(-5px);
    background-color: var(--backColour);
    border: 1px solid #1cad75;
}

/* Close Overlay Button */
#closeOverlayBtn {
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: #d9534f;
    color: #ffffff;
    border: none;
    border-radius: 50%;
    padding: 10px 15px;
    font-size: 1.2em;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.3);
    transition: background-color 0.3s ease;
}

#closeOverlayBtn:hover {
    background-color: #c12e2a;
}

.correct-answers-container {
    font-size: 0.7em !important;
}



@media (max-width: 1500px) {
    #quiz-container {
        margin-top: 150px;
    }
    .tip-image-offers-money {
        max-width: 600px;
        height: auto;
    }
    .tip-image-betting {
        height: 400px;
        
    }
    .tip-image-balancing-money {
       
        height: 500px;
    }
    .tip-image-container:first-of-type {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
    
    
}

@media (max-width: 1200px) {
    .tip-image-container {
        flex-direction: column-reverse;
        justify-content: center;
        align-items: center;
    }
}


@media (max-width: 750px) {
    #quiz-container {
        margin-top: 150px;
    }
}

@media (max-width: 650px) {
    .correct-answers-container {
        font-size: 0.5em !important;
    }
    .tip-image-offers-money {
        
        height: 300px;
    }
}

@media (max-width: 550px) {
    
    .tip-image-offers-money {
        
        height: 250px;
    }
    .tip-image-balancing-money {
       
        height: 400px;
    }
    .tip-image-betting {
        height: 325px;
        
    }
}

@media (max-width: 450px) {
    
    .tip-image-offers-money {
        
        height: 150px;
    }
    .tip-image-balancing-money {
       
        height: 300px;
    }
    .tip-image-betting {
        height: 225px;
        
    }
}