html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.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;
}

html {
    position: relative;
    min-height: 100%;
}

html,
body {
    height: 100%;
    margin: 0;
}

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    margin-bottom: 60px;
    color: #333;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.site-header,
.site-footer {
    flex: 0 0 auto;
    background: #fff;
    z-index: 10;
}

.site-content {
    flex: 1 1 auto;
    overflow-y: auto;
    min-height: 0;
}

a {
    text-decoration: none;
}

a.btn {
    margin: .5rem;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
    color: var(--bs-secondary-color);
    text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
    text-align: start;
}

h1 {
    font-size: 2.5rem;
    font-weight: 200;
    line-height: 2.6rem;
    margin-bottom: 0.4rem;
}

.logo {
    height: 10rem;
    width: auto;
}

.navbar > .container {
    align-items: flex-end;
}

@media (min-width: 576px) {
    .navbar .navbar-collapse {
        padding: 0 0 2rem 0;
    }
}

.navbar-nav {
    --bs-nav-link-padding-y: 0;
}

    .navbar-nav li.nav-item {
        font-size: 1.1rem;
        height: 2rem;
        padding: 0 .5rem 0 0;
    }

.nav-item a {
    border-bottom: .2rem solid white;
    display: inline-block;
}

    .nav-item a:hover {
        border-bottom: .2rem solid lightblue;
    }

.nav-item .nav-link {
    color: #1F618D;
}

.nav-link.active-page {
    color: #212529;
    border-bottom: 3px solid #5DADE2;
    cursor: default;
    pointer-events: none;
}

    .nav-link.active-page:hover {
        color: #212529;
        background: none;
    }

.hero p {
    font-size: 1.2rem;
}

.topic {
    display: flex;
    flex-direction: row;
    gap: 1rem;
    margin-bottom: 1rem;
}

.topic-image {
    border: 2px solid #555;
    border-radius: .5rem;
    box-shadow: 2px 2px 8px rgba(0, 0, 0, .3);
    width: 12rem;
    height: 100%;
}

.topic-link {
    text-decoration: none;
    font-size: 1.25rem;
}

.card {
    border: .1rem solid #333;
    border-radius: .5rem;
    padding: 1rem;
    background-color: #f9f9f9;
}

.card-text {
    font-size: 1.1rem;
    margin-bottom: 0;
}

    .card-text img.featured-image {
        border: 2px solid #555;
        border-radius: .5rem;
    }

    .card-text img {
        margin: 1rem 0;
    }

    .card-text blockquote {
        font-size: 1.1rem;
    }

.journey-summary {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

    .journey-summary img {
        border: 2px solid #555;
        border-radius: .5rem;
        width: 12rem;
        height: auto;
    }

    .cta {
        display: flex;
        justify-content: left;
        gap: 1rem;
        margin-bottom: 1rem;
    }

    .cta button {
        background-color: darkgreen;
        color: white;
        border: .1rem solid #333;
        border-radius: .5rem;
        font-size: 1.25rem;
        font-weight: 300;
        padding: .3rem .5rem;
    }

        .cta button:hover {
            background-color: green;
            border-color: black;
            box-shadow: 0 0 0 .1rem white, 0 0 0 .25rem green;
        }

.impact-heading {
    font-size: 2.25rem;
    font-weight: 400;
    margin-bottom: 1rem;
}

.impact ul {
    display: flex;
    gap: 2rem;
    margin: 0;
    padding: 0;
}

.impact li {
    font-size: 1.25rem;
    list-style: none;
    border-left: .25rem solid lightblue;
    margin-block: 0 1rem;
    padding-inline-start: .75rem;
}

.impact-digits {
    font-size: 1.75rem;
    font-weight: 700;
    line-height: 1;
    margin-block-end: .25rem;
}

.card.success-story {
    border: .1rem solid #333;
    border-radius: .5rem;
    padding: 1rem;
    background-color: #f9f9f9;
}

    .card.success-story img {
        width: 100%;
    }

.partner-card {
    display: flex;
    flex-direction: row;
}

.partner-logo {
    padding: 1.5rem 0 0 0;
    width: 8rem;
    height: auto;
}

.success-story img {
    max-width: 44rem;
}

.adoption-header-summary {
    display: flex;
    flex-direction: row;
}

.adoption-page img {
    max-width: 100%;
}