/* fonts */

@font-face {
    font-family: 'brother-1816';
    src: url('font/brother1816-regular.otf') format('opentype');
}

:root {
    --primary: #570f1b;
}

html, body {
    height: 100%;
}

html {
}

body {
    display: flex;
    flex-direction: column;
    line-height: 1.5em;
    color: rgb(74, 74, 74);
    font-family: 'brother-1816', sans-serif;
}

header, footer {
    background-color: var(--primary);
}

main {
    flex: 1 0 auto;
}

footer {
    flex-shrink: 0;
}

h1, h2 {
    color: #3A242A;
}

h1 {
    font-family: 'Palatino Linotype', serif;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-top: 0.8em;
    margin-bottom: 1.2em;
}

h2 {
    font-weight: bolder;
    font-size: 1.5rem;
}

.tiny {
    font-size: 0.75rem;
}

.small {
    font-size: 0.875rem;
}

.large {
    font-size: 1.05rem;
}

input[type=checkbox].form-check-input, input[type=radio].form-check-input {
    border: 1px solid #000;
    vertical-align: middle;
    transform: scale(1.4);
    margin-left: -15px;
    margin-right: 18px;
}

    input[type=checkbox].form-check-input:checked, input[type=radio].form-check-input:checked {
        background-color: #000;
    }

input[type=checkbox].form-check-input {
    border-radius: 2px;
}

label.form-check-label {
    display: unset;
}

input[type=text].form-control,
input[type=date].form-control,
input[type=email].form-control,
input[type=password].form-control,
input[type=number].form-control,
input[type=tel].form-control,
input[type=url].form-control,
.form-select {
    border-radius: 3px;
    border: 1px solid #686e77;
    height: 38px;
    font-size: 1em;
}

textarea.form-control {
    font-size: 1em;
}

input[type=file].form-control {
    border: 2px solid #000;
}

textarea.form-control {
    border: 2px solid #000;
}

.form-label {
    font-weight: bold;
}

.lang-btn {
    color: #fff;
    border: 1px solid #fff;
    border-radius: 30px;
    width: 60px;
    height: 60px;
    text-align: center;
    vertical-align: middle;
    line-height: 55px;
}

.btn {
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: 400;
    letter-spacing: 2px;
}

.btn-sm {
    padding: 8px 12px;

}

.btn-primary {
    color: rgb(255, 255, 255);
    border: 2px solid var(--primary);
    background: var(--primary);
}

    .btn-primary:hover {
        background: var(--primary);
        color: rgb(255, 255, 255);
        border: 2px solid var(--primary);
    }

.btn.btn-primary:active {
    background-color: #7c2c39;
}

a {
    color: var(--primary);
    text-decoration: none;
}

.max-500 {
    max-width: 500px;
}

.max-250 {
    max-width: 250px;
}

.max-150 {
    max-width: 150px;
}

.max-100 {
    max-width: 100px;
}

/* WCAG 2.2 AA: visible focus indicator */
*:focus-visible {
    outline: 2px solid #258cfb;
    outline-offset: 2px;
}

/* WCAG 2.2 AA: improve contrast for helper/muted text (4.5:1 minimum) */
.text-muted, .form-text {
    color: #595959 !important;
}
