html, body {
    font-family: 'Montserrat', sans-serif;
}
html, body, .page {
    height: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.page {
    display: flex;
    flex-direction: column;
    height: 100vh; /* Imposta l'altezza della pagina al 100% del viewport */
}

main {
    flex-grow: 1; /* Occupa tutto lo spazio disponibile */
    display: flex;
    flex-direction: column;
}

article.content {
    flex-grow: 1; /* Permette al contenuto di espandersi */
    display: flex;
    flex-direction: column;
    align-items: center; /* Per centrare orizzontalmente */
    justify-content: center; /* Per centrare verticalmente */
    width: 100%;
    height: 100%;
    padding: 20px; /* Per evitare che il contenuto tocchi i bordi */
    overflow: auto; /* Aggiunge uno scroll se il contenuto è troppo grande */
}

h1:focus {
    outline: none;
}

a, .btn-link {
    color: #0071c1;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.btn-red {
    background-color: #C95136 !important;
}

.btn-blue {
    background-color: #144fe2 !important;
}

.btn-grigio {
    background-color: #63656B !important;
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
    box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.content {
    padding-top: 1.1rem;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}