/*general reset and base styles */
body, html {
    margin: 0;
    padding: 0;
    font-family: 'Arial', sans-serif;
    background-color: #1a1a1a;
    color: #f0f0f0;
}

.container {
    width: 90%;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

h1 {
    color: #FFFFFF;
    font-size: 24px;
    text-align: center;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
}

p, label {
    color: #cccccc;
}

/*link styling */
a {
    color: #4a90e2;
    text-decoration: none;
}

a:hover {
    text-decoration: underline;
}

/*form styling */
form {
    background-color: #262626;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

input[type="email"], input[type="password"], input[type="text"], input[type="submit"], input[type="button"] {
    width: calc(100% - 22px);
    padding: 10px;
    margin-top: 8px;
    margin-bottom: 16px;
    border: none;
    border-radius: 4px;
    box-sizing: border-box;
}

input[type="submit"], input[type="button"] {
    background-color: #2F2F2F; 
	color: white; 
	padding: 10px 20px; 
	text-decoration: none; 
	cursor: pointer;
	transition: background-color 0.3s, color 0.3s; 
	margin-top: 15px;
}



label {
    display: block;
    margin-top: 20px;
}

/*table styling */
table {
    width: 100%;
    border-collapse: collapse;
}

table, th, td {
    border: 1px solid #444;
}

th, td {
    padding: 8px;
    text-align: left;
}

/*image styling within quiz pages */
img {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh; /* Adjust or remove if you have a header/footer */
}

form, table {
    margin: 0 auto; /* Centering form and table specifically */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    font-size: 16px;
    cursor: pointer;
    text-align: center;
    text-decoration: none;
    outline: none;
    color: #fff;
    background-color: #2F2F2F;  /* Correct black color code */
    border: none;
    border-radius: 5px;
}

.button:hover {background-color: #FFFFFF}

.button:active {
    background-color: #000000;  /* Correct black color code */
    box-shadow: 0 5px #666;
    transform: translateY(4px);
}

.centered-content {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column; /* Stack elements vertically */
    width: 100%; /* Ensures full container width is used */
}

.full-width-button {
    width: 88.4%; /* Adjust width as needed */
    box-sizing: border-box; /* Includes padding and border in the element's width */
}