body, h1, h2, p, ul, li, a {
    margin: 0;
    padding: 0;
}

* {
  box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    line-height: 1.5;
    color: #000000;
    background-color: #ffffff;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #191970;
    color: white;
    padding: 1rem 2rem;
    border-bottom: #000000 solid 2px;
}

header .logo {
    font-size: 1.5rem;
    font-weight: bold;
}

header nav ul {
    list-style: none;
    display: flex;
    gap: 1.5rem;
}

header a {
    color: white;
    text-decoration: none;
    font-weight: bold;
}

.hero {
    text-align: center;
    padding: 2rem;
    background: #191970;
    color: white;
}

main {
    flex: 1;
    padding: 2rem;
}

section {
    margin-bottom: 2rem;
}

h2 {
    margin-bottom: 0.5rem;
    color: #0F52BA;
}

footer {
    text-align: center;
    background-color: #191970;
    color: white;
    padding: 1rem;
    margin-top: auto; /* Pushes the footer to the bottom of the page */
    border-top: #000000 solid 2px;
}
















.games-container {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    max-height: calc(90vh - 9rem);
    box-sizing: border-box; /* Ensure padding is included in the height */
}

.games-sidebar {
    flex: 1;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    overflow-y: auto; /* Enable vertical scrolling */
    max-height: calc(100vh);
}

.games-display {
    flex: 2;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.games-sidebar h2,
.games-display h2 {
    color: #004080;
}

.games-display {
    text-align: center;
}

.challenge-buttons {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.circular-button {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    background-color: #004080;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: background-color 0.3s ease;
    padding:5px;
    font-size: 1rem;
    border: 5px solid #000000;

}

.button-bronze{
    border-bottom: 5px solid #cd7f32;

}

.button-silver{
    border-left: 5px solid #c0c0c0;
    border-bottom: 5px solid #c0c0c0;

}

.button-gold{
    border-top: 5px solid #cd7f32;
    border-left: 5px solid #cd7f32;
    border-bottom: 5px solid #cd7f32;

}

.button-platinum{
    border-top: 5px solid #A1C6EA;
    border-left: 5px solid #A1C6EA;
    border-right: 5px solid #A1C6EA;
    border-bottom: 5px solid #A1C6EA;

}

.circular-button:hover {
    background-color: #0066cc;
}

.circular-button:active {
    background-color: #002050;
}

.circular-button:focus {
    outline: none;
    box-shadow: 0 0 5px #004080;
}





.ordered-answer-button {
    padding: 1rem 2rem;
    margin: 1rem;
    font-size: 2rem;
    min-width: 100px;
}

#ordered-game-sum {
    font-size: 2rem;

}

#scrambled-game-sum {
    font-size: 2rem;

}

#recogniton-game-sum {
    font-size: 2rem;

}

#ordered-answer-input {
    font-size: 1.5rem; /* Increase the size of the text */
    padding: 10px; /* Optional: Adds padding to make it look better */
    border: 2px solid #ccc; /* Optional: Adds a border to the input */
    border-radius: 5px; /* Optional: Adds rounded corners to the input */
    min-width: 20%; /* Optional: Makes the input field span the full width of its container */
}

#scrambled-answer-input {
    font-size: 1.5rem; /* Increase the size of the text */
    padding: 10px; /* Optional: Adds padding to make it look better */
    border: 2px solid #ccc; /* Optional: Adds a border to the input */
    border-radius: 5px; /* Optional: Adds rounded corners to the input */
    min-width: 20%; /* Optional: Makes the input field span the full width of its container */
}


#recognition-buttons-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 columns */
    gap: 10px; /* Spacing between buttons */
    margin: 20px auto;
    max-width: 600px; /* Adjust if needed */
}

.recognition-button {
    font-size: 1.5rem; /* Larger text */
    width: 100px; /* Button width */
    height: 100px; /* Button height */
    background-color: #f0f0f0; /* Default background */
    border: 2px solid #ccc;
    border-radius: 10px; /* Rounded corners */
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
}

.recognition-button:hover {
    background-color: #dfe6f2; /* Highlight on hover */
    transform: scale(1.1); /* Slightly enlarge on hover */
}

.recognition-button:active {
    background-color: #b0c4de; /* Pressed effect */
}














.login-container {
    background-color: lightgrey;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: auto;
}

.login-form h2 {
    margin-bottom: 1rem;
    color: #333;
}

.form-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.form-group label {
    font-weight: bold;
    margin-bottom: 0.5rem;
}

.form-group input {
    width: 100%;
    padding: 0.5rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 1rem;
}

button[type="submit"] {
    width: 100%;
    padding: 0.75rem;
    background-color: #004080;
    color: white;
    border: none;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

button[type="submit"]:hover {
    background-color: #0066cc;
}

button[type="submit"]:active {
    background-color: #002050;
}










.progressTable{
    border-collapse: collapse;
    th,td{
        width:30px;
        text-align: center;
        border: #000000 solid;
    }
}



.disabled {
    pointer-events: none;
    opacity: 0.5;
}










.resource-section {
    margin: 2rem auto;
    padding: 0;
    border: 1px solid #191970;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f9f9f9;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.resource-header {
    background-color: #191970;
    color: white;
    padding: 1rem;
    text-align: center;
}

.resource-header h2 {
    color: white !important;
}


.resource-content {
    padding: 1rem 1.5rem;
}

.resource{
    display: inline-block;
    border: 1px solid #191970;
    padding: 1rem 1.5rem;

    border-radius: 10px;

}



