/* General Styles */
body {
    font-family: Arial, sans-serif, 'Roboto', sans-serif;
    background-image: url("https://jay.codingcareerconnect.com//history/watermark.png");
    background-size: cover;
    background-repeat: no-repeat;
    margin: 0; /* Reset default margin */
    padding: 0; /* Reset default padding */
}

h1 {
    text-align: center;
    margin-top: 20px;
}

.category-title {
    text-align: center;
    margin-bottom: 35px;
    font-weight: bold;
    font-size: 24px;
}
.game-board {
    display: flex;
    justify-content: center;
}

.row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.category-box {
    background-color: blue;
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
     margin-bottom: 25px;
}

.category {
    margin-top: 20px;
}

/* Flip Card Styles */
.flip-card {
    background-color: #f3f3f3;
    width: 200px;
    height: 200px;
    perspective: 1000px;
    margin: 20px auto; /* Center flip cards horizontally */
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
}

.flip-card-front {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.flip-card-back {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transform: rotateY(180deg);
}

.points {
    font-size: 20px;
    font-weight: bold;
    color: #333;
}

/* Timer and Progress Bar Styles */
.timer {
    color: rgb(255, 0, 30);
    text-align: center;
}

.progress-bar {
    width: 25%;
    background-color: lightgray;
    border-radius: 5px;
    margin-top: 10px;
}

.progress {
    height: 20px;
    background-color: lime;
    border-radius: 5px;
    width: 0; /* Initial width set to 0, will be updated dynamically */
    transition: width 1s linear;
}

.question {
    font-size: 14px;
    margin-bottom: 20px;
}

.answer-input {
    margin-bottom: 15px;
    padding: 5px;
    width: 80%;
}

/* Hide Elements Initially */
.hidden {
    display: none;
}

/* Restart Button */
#restartButton {
    display: none; /* Hide restart button initially */
    margin: 20px auto; /* Center restart button horizontally */
}

/* Feedback Messages */
.feedback {
    margin-top: 10px;
    font-weight: bold;
    text-align: center;
}

/* Audio Controls */
audio {
    display: block;
    margin: 20px auto; /* Center audio controls horizontally */
}

/* Responsive Adjustments */
@media screen and (max-width: 768px) {
    .flip-card {
        width: 150px;
        height: 150px;
    }

    /* Adjust other styles as needed for smaller screens */
}
.hidden {
    display: none;
  }
  

#bw100Feedback,
#bw200Feedback,
#bw300Feedback,
#bw400Feedback,
#st100Feedback,
#st200Feedback,
#st300Feedback,
#st400Feedback,
#tc100Feedback,
#tc200Feedback,
#tc300Feedback,
#tc400Feedback,
#nb100Feedback,
#nb200Feedback,
#nb300Feedback,
#nb400Feedback {
    margin-top: 10px;
    font-weight: bold;
}