@font-face {
    font-family: Klima;
    src: url("fonts/klima/webfonts/klima-regular-web.woff2") format("woff2");
}

@font-face {
    font-family: Klima Medium;
    src: url("fonts/klima/webfonts/klima-medium-web.woff2") format("woff2");
}

@font-face {
    font-family: Klima Bold;
    src: url("fonts/klima/webfonts/klima-bold-web.woff2") format("woff2");
}

@font-face {
    font-family: Klima Heavy;
    src: url("fonts/klima/webfonts/klima-heavy-web.woff2") format("woff2");
}

* {
    font-family: "Klima", sans-serif;
}

header {
    background: url("../img/oliver-moran-bg.webp") center right / cover fixed no-repeat;
    height: 100vh;
    margin-bottom: 125px;
}

@supports ( -webkit-touch-callout : none) {
    header {
        background-attachment: scroll !important;
    }
}

header #socials {
    position: absolute;
}

header .intro {
    height: 100vh;
    align-content: center;
}

@media screen and (max-width: 767px) {
    header {
        margin-bottom: 75px;
    }
    header .intro {
        height: calc(100vh - 60px);
        align-content: flex-end;
        padding-bottom: 1em;
    }

    header .contact-info ul > li:first-child {
        padding-bottom: 0.25em;
        display: inline-block;
    }
}

header h1,
header p {
    color: white;
    text-transform: uppercase;
}

header h1 {
    font-family: "Klima Heavy", sans-serif;
}

header p {
    font-family: "Klima Bold", sans-serif;
}

h1, h2, h3, h4, h5 {
    font-family: "Klima Medium", sans-serif;
    text-transform: uppercase;
}

footer {
    font-size: 80%;
    background-color: rgb(16,128,102);
    padding-top: 2em;
    padding-bottom: 1em;
    margin-top: -1px; /* make sure no white line appears */
}

footer img {
    width: 200px;
    margin-left: 2em;
    margin-bottom: 2em;
}

footer * {
    color: white !important;
}

header .contact-info {
    background-image: url("../img/polygon1.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    position: relative;
    top: -10px;
}

header .contact-info .row {
    align-content: center;
    height: 100px;
}

header .contact-info ul {
    margin-bottom: 0;
}
header .contact-info li {
    display: inline;
    padding-right: 1em;
}

article a {
    color: rgb(47, 181, 106);
}

article a:visited {
    color: rgb(47, 181, 106);
    filter: brightness(0.9);
}

article a:hover,
article a:active {
    color: rgb(47, 181, 106);
}

.contact-info svg {
    padding-right: 0.25em;
}

.contact-info li.socials {
    padding-right: 0.5em;
    font-size: 120%;
}

article .contact-info {
    background-image: url("../img/polygon2.svg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
}

.contact-info h2,
.contact-info h3,
.contact-info p,
.contact-info li a {
    color: white;
    text-transform: uppercase;
    text-decoration: none;
}

article .contact-info li.socials {
    display: inline-block;
    font-size: 150%;
}

.contact-info .text-muted {
    filter: brightness(0.95);
    color: white !important;
}

.contact-info a {
    color: #ffffff !important;
}

.contact-info a:visited {
    color: #ffffff !important;
    filter: brightness(0.9);
}

.contact-info a:hover,
.contact-info a:active {
    color: #ffffff !important;
}

.contact-info .form-control {
    border-radius: 0;
    color: rgb(13,100,80) !important;
}

.contact-info label {
    color: rgb(13,100,80) !important;
}

.ward-funds {
    font-size: 80%;
}

.ward-funds h2 {
    font-family: "Klima Heavy", sans-serif;
}

.ward-funds .btn-primary {
    color: white;
}

@media screen and (max-width: 767px) {
    .ward-funds {
        border-top: 1px dotted rgb(47, 181, 106);
    }

    .ward-funds h2 {
        color: rgb(47, 181, 106);
        margin-top: 1em;
    }
}

@media screen and (min-width: 768px) {
    .ward-funds {
        background-image: url("../img/polygon3.svg");
        background-repeat: no-repeat;
        background-size: 100% 100%;
        padding: 3em 1.5em;
        color: white;
        text-transform: uppercase;
    }
}

.ward-funds .btn-primary,
.ward-funds .btn-primary:visited,
.contact-info .btn-primary,
.contact-info .btn-primary:visited,
.contact-info .btn-default,
.contact-info .btn-default:visited {
    border-radius: 0;
    border: 2px solid rgb(13,100,80);
    background: rgb(13,100,80);
    text-transform: uppercase;
    font-family: "Klima Bold", sans-serif;
}

.ward-funds .btn-primary:hover,
.contact-info .btn-primary:hover,
.contact-info .btn-default:hover {
    border: 2px solid rgb(13,100,80);
    background: rgb(13,100,80);
    color: white;
    filter: brightness(0.9);
}

.ward-funds .btn-primary:active,
.contact-info .btn-primary:active,
.contact-info .btn-default:active {
    border: 2px solid white !important;
    background: rgb(13,100,80) !important;
}

.contact-info .btn-default,
.contact-info .btn-default:visited,
.contact-info .btn-default:hover,
.contact-info .btn-default:active {
    background-color: transparent !important;
    border-color: transparent !important;
    text-transform: capitalize;
}

.contact-info .btn-default:hover,
.contact-info .btn-default:active {
    filter: brightness(1);
    text-decoration: underline;
}

@media screen and (max-width: 767px) {
    .ward-funds .btn-primary:active {
        border-color: rgb(47, 181, 106) !important;
    }
}

.contact-info h2 {
    font-family: "Klima Heavy", sans-serif;
}

.contact-info ul {
    padding-left: 0;
    list-style: none;
}

.contact-info li a {
    font-family: "Klima Bold", sans-serif;
}

figcaption.text-muted {
    font-size: 80%;
    padding-top: 0.5em;
}

@media screen and (min-width: 768px) {
    #donate {
        font-size: 80%;
    }
}

@media screen and (max-width: 379px) {
    .hide-on-xxs1 {
        display: none !important;
    }
}

@media screen and (max-width: 419px) {
    .hide-on-xxs2 {
        display: none !important;
    }
}

@media screen and (max-width: 459px) {
    .hide-on-xxs3 {
        display: none !important;
    }
}

@media screen and (max-width: 499px) {
    .hide-on-xxs4 {
        display: none !important;
    }
}

@media screen and (max-width: 539px) {
    .hide-on-xxs5 {
        display: none !important;
    }
}

.small, small {
    font-size: 80% !important;
}