body {
	font-family: "Comic Neue", cursive;
    text-align: center;
    margin: 0;
    padding: 0;
    background-color: #d0e6f0;
}

#start-screen {
    margin-top: 50px;
}

#settings {
    margin: 20px auto;
    max-width: 300px;
    text-align: left;
}

#number-selection {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 10px;
    margin-bottom: 20px;
}


label {
    display: block;
}

#game-container {
    margin-top: 50px;
}

#trophy-container {
    position: relative;
    width: 200px;
    height: 300px;
    margin: 0 auto 20px;
    background-image: url('trophy.png'); /* Replace with your trophy image path */
    background-size: cover;
    background-position: center;
}

#trophy-cover {
    position: absolute;
    top: 0;
    width: 100%;
    background-color: #e0e0e0;
    height: 100%; /* Start fully covered */
    transition: height 0.5s ease;
    z-index: 1;
}

#question {
    font-size: 24px;
    margin: 20px 0;
}

#answer-input {
    font-size: 20px;
    padding: 10px;
    width: 100px;
    text-align: center;
}

#time-limit{
    font-size: 20px;
    padding: 10px;
    width: 100px;
    text-align: center;
}

#submit-btn {
    font-size: 20px;
    padding: 10px 20px;
    margin-top: 10px;
}

#start-btn {
    font-size: 20px;
    padding: 10px 20px;
    margin-top: 10px;
}

#feedback {
    font-size: 18px;
    margin-top: 15px;
    height: 24px;
    color: #ff0000;
    display: block;
}

#celebration {
    font-size: 36px;
    color: gold;
    display: none;
    animation: confetti 2s infinite;
}

@keyframes confetti {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

#countdown-bar-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #cccccc;
}

#countdown-bar {
    width: 100%;
    height: 100%;
    background-color: #4caf50;
    transition: width 0.1s linear;
}

#times-table-container {
    margin: 20px auto;
    width: 320px;
}

#times-table {
    width: 100%;
    border-collapse: collapse;
}

#times-table th, #times-table td {
    border: 1px solid #ddd;
    padding: 8px;
    text-align: center;
    font-size: 18px;
}

#times-table th {
    background-color: #f4f4f4;
}

.correct {
    background-color: #c6f6d5; /* Light green for correct */
}

.incorrect {
    background-color: #fbd5d5; /* Light red for incorrect */
}

.nav-icons {
    position: relative;
    display: flex;
    gap: 15px;
	left:50%
}

.nav-icon {
    position: relative;
    cursor: pointer;
}

.nav-icon img {
    width: 40px;
    height: 40px;
}

.tooltip {
    display: none;
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 3px;
    font-size: 12px;
    white-space: nowrap;
}

.nav-icon:hover .tooltip {
    display: block;
}
