/*
 * Custom CSS
 */

:root {
    --bs-body-bg: var(#fff);
    --brand-red: #e31b22;
}

body {
    line-height: 1;
}

body, input, select, textarea {
    font-family: "Open Sans", Helvetica, sans-serif;
    font-size: 14pt;
    font-weight: 400;
    line-height: 1.65em;
}

@media screen and (max-width: 1680px) {
    body, input, select, textarea {
        font-size: 13pt;
    }
}

@media screen and (max-width: 1280px) {
    body, input, select, textarea {
        font-size: 12pt;
    }
}

@media screen and (max-width: 736px) {
    body, input, select, textarea {
        font-size: 11pt;
        letter-spacing: 0.0375em;
    }
}

nav {
    border-bottom: 10px solid var(--brand-red);
}

.navbar-brand {
    display: flex;
    align-items: center;
}

.navbar-brand img {
    width: 50px;
    height: 55px;
}

@media screen and (max-width: 500px) {
    .navbar-brand img {
        display: none !important;
    }
}

.header {
    color: #fff;
    background: url(img/home.png) no-repeat scroll center center;
    background-size: cover;
    border-bottom: 20px solid var(--brand-red);
}

.masthead {
    margin-top: 5rem !important;
    margin-bottom: 15rem !important;
}

@media (min-width: 768px) {
    .masthead {
        margin-top: 5rem !important;
        margin-bottom: 25rem !important;
    }
}

article .header-line {
    width: 30px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 0 auto 30px calc(var(--bs-gutter-x)* .5);
}

article .header-line-center {
    width: 30px;
    height: 3px;
    background-color: var(--brand-red);
    margin: 0 auto 30px auto;
}

.icon {
    width: 36px;
    height: 36px;
    border-radius: 9999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(193, 18, 31, .1);
    color: var(--brand-red);
    margin-right: .5rem;
}

.teaser {
    position: relative;
    border-radius: 10px;
    padding: 2rem 1rem;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    border: 2px solid #c4c4c4;
}

.teaser.p {
    margin-bottom: 1rem;
}

.teaser-icon {
    margin: 1rem;
    font-size: 2.5rem;
    color: #c1121f;
}

.footer {
    background-color: black;
    color: white;
    border-top: 10px solid var(--brand-red);
}

.footer a {
    color: var(--brand-red);
    text-decoration: none;
}