body {
    background-color: #000000;
    color: #e0e0e0;
    font-family: 'Old London', 'Book Antiqua', serif;
    margin: 0;
    padding: 0;
}

.container {
    background-color: #1e1e1e;
    border-radius: 10px;
    padding: 2rem;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.8);
    margin: 2rem auto;
    max-width: 800px;
    position: relative;
    text-align: center;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.75);
    z-index: -1;
}

h1 {
    text-align: center;
    color: #f8f9fa;
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.6);
	font-family: 'Old London', serif;
}

h2 {
    color: #f8f9fa;
    font-size: 1.25rem;
    margin-bottom: 1rem;
	font-family: 'Old London', serif;
}

h4 {
    color: #f8f9fa;
    font-size: 1.25rem;
    margin-bottom: 1rem;
	font-family: 'Old London', serif;
}

p {
	font-family: 'Book Antiqua', sans-serif;
}
.pagina {
	text-align: center;
	color: #e0e0e0;
	font-family: 'Old London', serif;
}

.testo.intro p, .testo p {
    text-align: center;
    font-size: 1rem;
    line-height: 1.6;
    color: #b0b0b0;
    margin-bottom: 1rem;
	font-family: 'Book Antiqua', sans-serif;
}

table.tab-risposte {
    width: 80%;
	max-width: 600px;
    background-color: #2a2a2a;
    border-radius: 8px;
    border-collapse: collapse;
    margin: 0 auto;
}

table.tab-risposte td {
    padding: 0.5rem;
    font-size: 1rem;
    color: #e0e0e0;
    vertical-align: middle;
    border-bottom: 1px solid #444;
    line-height: 1.5;
    text-align: left;
    white-space: nowrap;
	font-family: 'Book Antiqua', sans-serif;
}

table.tab-risposte input[type="radio"], table.tab-risposte input[type="checkbox"] {
    transform: scale(1.2);
    margin-right: 0.4rem;
}

.nonrispondo-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.nonrispondo {
    margin: 0;
}

button.btn {
    background-color: #d9534f;
    color: #fff;
    border-radius: 4px;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
	font-family: 'Book Antiqua', sans-serif;
}

button.btn:hover {
    background-color: #c9302c;
}

button.btn-primary {
    background-color: #d32f2f;
    color: #fff;
    border-radius: 4px;
    border: none;
    padding: 0.5rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

button.btn-primary:hover {
    background-color: #c62828;
}

.modal-content {
    background-color: #1a1a1a;
    color: #ffffff;
    border: none;
}

.modal-header, .modal-footer {
    border-bottom: none;
    border-top: none;
    background-color: #1a1a1a;
}

.modal-title {
    color: #e0e0e0;
}

.close {
    color: #ffffff;
}

.modal-body {
    color: #e0e0e0;
    background-color: #1a1a1a;
}

.close:hover {
    opacity: 1;
}

.valuta {
    text-align: center;
    margin-top: 2rem;
}