* {
    font-family: 'Lora', Georgia, 'Times New Roman', Times, serif;
}

:root {
    /* Primary Color Variables */
    --Dark-Brown-Primary: #3B2F2F;
    --Dark-Green-Primary: #2C5F2D;
    --Beige-Primary: #F8F8E7;

    /* Secondary Color Variables */
    --Light-Green-Secondary: #E3E6D3;
    --Light-Brown-Secondary: #ECE1D0;
    --Links-Blue: #006366;
    --Yellow-Secondary: #FFBF00;
    --Rust-Secondary: #B5651D;

    /* Darker Variations */
    --Darker-Green-Primary: #244e25;

    /* Breakpoints */
    --breakpoint-sm: 576px;
    --breakpoint-md: 768px;
    --breakpoint-lg: 992px;
    --breakpoint-xl: 1200px;
}

/* Reusable Styles */
body {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
    color: var(--Dark-Brown-Primary);
    background-color: var(--Beige-Primary);
}

h1 {
    font-size: 42px;
    font-style: normal;
    font-weight: 500;
    line-height: 52px;
}

h2 {
    font-size: 32px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

h3 {
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    line-height: normal;
}

.body-xs {
    font-size: 12px;
    font-weight: 500;
}

/* Button Styles */

.btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 10px 16px;
    gap: 10px;
    border-radius: 23px;
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
}

.btn.btn-primary {
    color: var(--Beige-Primary);
    background: var(--Dark-Green-Primary);
    border-color: var(--Dark-Green-Primary);
}

.btn.btn-primary:active {
    color: var(--Dark-Green-Primary);
    background: var(--Beige-Primary);
    border: 1px solid var(--Dark-Green-Primary);
}

.btn.btn-primary:hover {
    color: var(--Beige-Primary);
    background: var(--Darker-Green-Primary);
    border-color: var(--Darker-Green-Primary);
}

.btn.btn-primary:disabled {
    color: var(--Beige-Primary);
    background: #fff;
    border: 1px solid var(--Beige-Primary);
}

.btn.btn-outline-primary {
    color: var(--Dark-Green-Primary);
    background: var(--Beige-Primary);
    border: 1px solid var(--Dark-Green-Primary);
}

.btn.btn-outline-primary:hover {
    color: var(--Dark-Green-Primary);
    background: var(--Light-Brown-Secondary);
    border: 1px solid var(--Dark-Green-Primary);
}

.btn.btn-outline-secondary {
    color: var(--Beige-Primary);
    background: transparent;
    border: 1px solid var(--Beige-Primary);
}

.btn.btn-secondary,
.btn.btn-outline-secondary:hover {
    color: var(--Dark-Brown-Primary);
    background: var(--Yellow-Secondary);
    border-color: var(--Yellow-Secondary);
}

.btn.btn-secondary:hover {
    color: var(--Beige-Primary);
    background: var(--Rust-Secondary);
    border-color: var(--Rust-Secondary);
}

.btn.btn-tertiary {
    color: var(--Beige-Primary);
    background: var(--Links-Blue);
    border-color: var(--Links-Blue);
}

.btn.btn-tertiary-no-outline {
    color: var(--Links-Blue);
    background: transparent;
    border-color: transparent;
}

/* Bullet Points */

.bullet-point {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.bullet-point-with-text {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
}

.bullet-point-with-text .bullet-point {
    display: flex;
    padding: 4px 0px;
    align-items: center;
    gap: 10px;
}

.bullet-point-text {
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 26px;
}

.bullet-points-col-2 {
    -webkit-column-count: 1;
    /* Chrome, Safari, Opera */
    -moz-column-count: 1;
    /* Firefox */
    column-count: 1;
}

.bullet-points-col-2 .bullet-point-with-text {
    width: 100%;
}

.email-bullets .bullet-point {
    justify-content: center;
    padding: 0;
    height: 35px;
    width: 35px;
    line-height: 35px;
    color: white;
    background-color: var(--Links-Blue);
    border-radius: 100%;
}

.email-bullets .bullet-point-with-text {
    align-items: center;
    margin-bottom: 16px;
}

.yellow-bullet-list {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}

.yellow-bullet {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50px;
    background-color: var(--Yellow-Secondary);
}

/* Icon Bullet Points */

.icon-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 40px;
}

.icon-list.centered-items .icon-list-item {
    align-items: center;
}

.icon-list-item {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.icon-list-bullet {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    font-size: 30px;
    color: var(--Dark-Brown-Primary);
    background-color: var(--Light-Green-Secondary);
    border-radius: 50%;
}

.icon-list-bullet .custom-icon {
    height: 40px;
}

.icon-list-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.icon-list-header {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
}

.icon-list-sub-text {
    font-size: 16px;
}

.main-tertiary .icon-list a:not(.btn) {
    color: var(--Yellow-Secondary);
    font-weight: bold;
}

.green-link {
    color: var(--Dark-Green-Primary);
}

.green-link:hover {
    text-decoration: underline;
}

.yellow-text {
    color: var(--Yellow-Secondary);
}

/* Rotated Images */

.img-rotated {
    transform: rotate(-3deg);
}

.img-rotated+.img-rotated {
    width: 60%;
    margin-left: auto;
    margin-top: -18px;
    transform: rotate(7deg);
}

/* Card Styles */

.card {
    padding: 24px;
    background-color: var(--Light-Green-Secondary);
}

.card-img-top {
    height: 220px;
    margin: 0 0 16px;
    object-fit: cover;
    border-radius: 16px;
}

.card-img-top.img-thumbnail {
    object-fit: contain;
    padding: 10px 32px;
}

.card-img-top.logo {
    object-fit: contain;
    width: fit-content;
    margin: 0 auto 16px;
}

.card-body {
    padding: 0;
}

.card-body.centered {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    text-align: center;
}

.card-body.centered.condensed {
    gap: 8px;
}

.card-title {
    font-size: 22px;
    font-weight: 600;
    line-height: 26px;
    color: var(--Rust-Secondary);
}

.card-text {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 16px;
}

.card-text+.card-text {
    margin-top: 8px;
}

.card-text-specs {
    display: flex;
    align-items: center;
    font-size: 14px;
    gap: 8px;
}

#adoption-cards {
    padding: 1.5rem;
    overflow: auto;
}

#adoption-cards .card {
    background-color: #fff;
}

#adoption-cards .card-body {
    gap: 16px;
    display: flex;
    flex-direction: column;
}

#adoption-cards .card-img-top {
    height: 337px;
    position: relative;
}

.fa-up-right-and-down-left-from-center {
    position: absolute;
    bottom: 10px;
    right: 10px;
    color: white;
}

#adoption-cards .card-img {
    object-fit: cover;
    height: 100%;
}

/* Adoption Cards Page */

#available-animals .navbar-brand {
    margin: 0 0 8px 0;
}

#adoption-section-container {
    padding: 30px 0;
}

#adoption-cards-page .navbar-brand {
    margin: auto;
    max-width: none;
}

#adoption-cards-page #adoption-cards {
    padding: 1.5rem;
    overflow: auto;
    height: auto;
}

@media (max-width: 992px) {
    #adoption-cards-page #adoption-cards .card-img-top {
        height: auto;
    }

    #adoption-cards-page #adoption-cards .card-img {
        height: auto;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    border-radius: 8px;
    background-color: #e7e7e7;
    border: 1px solid #cacaca;
}

::-webkit-scrollbar-thumb {
    border-radius: 8px;
    background-color: var(--Rust-Secondary);
}

/* Accordion */
.accordion-button {
    font-size: 18px;
    color: var(--Dark-Brown-Primary);
    background-color: var(--Light-Green-Secondary);
}

.accordion-button:focus {
    box-shadow: 0 0 0 2px var(--Dark-Green-Primary);
}

.accordion-button:not(.collapsed) {
    color: var(--Beige-Primary);
    background-color: var(--Dark-Green-Primary);
}

.accordion-item {
    color: var(--Dark-Brown-Primary);
    background-color: var(--Beige-Primary);
    border: 1px solid var(--Dark-Brown-Primary);
}

.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23F8F8E7' stroke-linecap='round' stroke-linejoin='round'><path d='M2 5L8 11L14 5'/></svg>");
}

/* Section Styles */

.section-container {
    padding: 40px 0;
}

.section-container.short {
    padding: 40px 0;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.section-row {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 48px;
}

.section-content-photos {
    max-width: 100%;
    border-radius: 16px;
}

h1.section-title {
    text-align: center;
}

.section-content-text {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    gap: 32px;
    flex-shrink: 0;
}

.section-text {
    display: flex;
    flex-direction: column;
    gap: 24px;
    align-self: stretch;
}

.section-text h2,
.section-text p {
    margin: 0;
}

.section-text .section-emphasis {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    margin: 16px auto;
    padding: 12px;
    color: var(--Dark-Green-Primary);
    font-size: 16px;
    font-style: italic;
    border-radius: 4px;
    background: var(--Beige-Primary);
}

.section-text .card.section-emphasis {
    margin: 0;
}

.section-emphasis-title {
    margin-bottom: 8px;
    font-weight: bold;;
}

.section-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    align-self: stretch;
}

.section-row-16 {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.section-col-8 {
    display: flex;
    width: 234px;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.main-primary .section-row,
.main-tertiary .section-row,
.main-tertiary .section-text {
    color: var(--Beige-Primary);
}

.main-secondary .section-emphasis {
    background: var(--Links-Blue);
    color: var(--Beige-Primary);
}

.section-emphasis.link-emphasis {
    background-color: var(--Links-Blue);
}

.main-secondary .section-emphasis.neutral {
    background: var(--Light-Green-Secondary);
    color: var(--Rust-Secondary);
}

.main-secondary .section-info .section-emphasis.neutral a:not(.btn),
.main-tertiary .section-info .section-emphasis a:not(.btn) {
    color: var(--Links-Blue);
}

.main-secondary .section-info a:not(.btn) {
    color: var(--Links-Blue);
}

.main-secondary .section-info .section-emphasis a:not(.btn) {
    color: var(--Yellow-Secondary);
}

.main-primary .section-info a:not(.btn),
.main-tertiary .section-info a:not(.btn) {
    color: var(--Yellow-Secondary);
}

main .main-secondary:first-child .section-container {
    padding-top: 32px;
}

/* End of Section Styles */

/* Header and Footer */

#header {
    box-shadow: 0 2px 4px 0 rgba(0, 0, 0, .2);
    position: relative;
    z-index: 10;
}

#header .navbar {
    padding: 1rem 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    white-space: wrap;
    padding: 0;
    margin-right: 8px;
    font-size: 18px;
    font-weight: 700;
    color: var(--Dark-Brown-Primary);
    max-width: 236px;
}

.navbar-brand #logo {
    width: 46.32px;
    height: 48px;
    margin-right: 14px;
}

.nav-link,
#footer .footer-link {
    color: var(--Dark-Green-Primary);
    font-size: 16px;
}

.navbar-nav .nav-link.active,
.navbar-nav .nav-link.show {
    color: var(--Dark-Green-Primary);
    font-weight: bold;
    text-decoration: underline;
}

.nav-link:focus,
.nav-link:hover,
#footer .footer-link:focus,
#footer .footer-link:hover {
    color: var(--Rust-Secondary);
}

#footer .container {
    padding-top: 40px;
    padding-bottom: 40px;
    color: var(--Dark-Brown-Primary);
}

#footer-brand {
    color: var(--Dark-Brown-Primary);
    text-decoration: none;
}

#footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin: 16px 0 28px;
}

.footer-link {
    flex-basis: 115px;
}

#social-media {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 36px;
    color: var(--Dark-Green-Primary);
    margin-bottom: 48px;
}

#social-media a {
    color: var(--Dark-Green-Primary);
}

#iNaturalist {
    height: 32px;
}

.footer-link:link {
    text-decoration: none;
    color: black;
}

.footer-link:visited {
    text-decoration: none;
    color: black;
}

#scrollToTopBtn {
    display: none;
    /* Hidden by default */
    position: fixed;
    /* Fixed/sticky position */
    bottom: 20px;
    /* Place the button at the bottom of the page */
    right: 30px;
    /* Place the button 30px from the right */
    z-index: 99;
    /* Make sure it does not overlap */
    outline: none;
    /* Remove outline */
    cursor: pointer;
    /* Add a mouse pointer on hover */
    padding: 15px;
    /* Some padding */
    border-radius: 100%;
    /* Rounded corners */
    font-size: 18px;
    /* Increase font size */
    height: 50px;
    width: 50px;
}

nav {
    background-color: var(--Beige-Primary);
}

.main-primary {
    background-color: var(--Dark-Brown-Primary);
}

.main-secondary {
    background-color: var(--Beige-Primary);
}

.main-tertiary {
    background-color: var(--Dark-Green-Primary);
}

footer {
    background-color: var(--Light-Brown-Secondary);
}

/* Articles */

#article {
    display: block;
    width: 100%;
}

#article > *:not(:first-child) {
    margin-top: 16px;
}

.sub-title {
    font-size: 20px;
    font-weight: 600;
    line-height: 26px;
}

#article .sub-title ~ .sub-title {
    margin-top: 24px;
}

.float-img {
    border-radius: 16px;
    max-width: 100%;
    display: inline;
    clear: both;
    max-height: 300px;
}

.float-img-full {
    width: 100%;
    max-height: none;
}

.float-img-right {
    float: right;
    margin: 20px 0 20px 20px;
}

.float-img-left {
    float: left;
    margin: 20px 20px 20px 0;
}

.section-info.article a:not(.btn) {
    color: var(--Dark-Green-Primary);
}

#article .bullet-point-with-text {
    width: 100%;
}

/* Home Page */
.img-fluid {
    height: calc(100vh - 200px);
    object-fit: cover;
    width: 100%;
}

#hero h1 {
    font-size: 24px;
    color: var(--Beige-Primary);
    margin-bottom: 24px;    
    text-shadow: #000 0px 0px 7px;
}

#hero .hero-txt {
    margin: auto;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 10px;
    padding: 0 40px;
}

#hero .btn-container {
    gap: 24px;
}

#quick-info {
    justify-content: space-evenly;
}

#quick-info .section-row-16 {
    flex-basis: 300px;
}

#spinner {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

#kids-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url(/arr/assets/images/kids-1.jpg);
    height: 50vh;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#kids-hero .section-text,
#about-hero .section-text {
    padding: 24px;
    border-radius: 16px;
    text-align: center;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-shadow: #000 0px 0px 7px;
}

#emergency-contact {
    background-image: linear-gradient(to right, hsl(0, 0%, 0%) 0%, hsla(0, 0%, 0%, 0.964) 7.4%, hsla(0, 0%, 0%, 0.918) 15.3%, hsla(0, 0%, 0%, 0.862) 23.4%, hsla(0, 0%, 0%, 0.799) 31.6%, hsla(0, 0%, 0%, 0.73) 39.9%, hsla(0, 0%, 0%, 0.655) 48.2%, hsla(0, 0%, 0%, 0.577) 56.2%, hsla(0, 0%, 0%, 0.497) 64%, hsla(0, 0%, 0%, 0.417) 71.3%, hsla(0, 0%, 0%, 0.337) 78.1%, hsla(0, 0%, 0%, 0.259) 84.2%, hsla(0, 0%, 0%, 0.186) 89.6%, hsla(0, 0%, 0%, 0.117) 94.1%, hsla(0, 0%, 0%, 0.054) 97.6%, hsla(0, 0%, 0%, 0) 100%), url(/arr/assets/images/contact-1.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

#staff .card-text {
    font-size: 18px;
}

#staff .section-emphasis {
    gap: 24px;
}

#staff .section-emphasis .col:first-of-type {
    font-weight: bold;
}

#about-hero {
    background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url(/arr/assets/images/about.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    height: 40vh;
}

.desktop-btn {
    display: none;
}

/* Supplements Table */

.table-container {
    overflow: auto;    
    border-radius: 16px;
}

#sup-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 auto 40px;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
}

#sup-table th, #sup-table td {
    padding: 10px;
    text-align: center;
    font-size: 16px;
}

#sup-table th {
    background-color: var(--Dark-Green-Primary);
    color: white;
    font-weight: normal;
}

#sup-table td {
    border-top: 1px solid #ddd;
}

#sup-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

#sup-table tr:hover {
    background-color: #f1f1f1;
}

#sup-table td.label {
    text-align: left;
    font-weight: bold;
}

@media (max-width: 768px) {
    #sup-table th, #sup-table td {
        font-size: 14px;
        padding: 8px;
    }
}

/* Temp Converter */
.temp-container {
    max-height: none;
    background-color: #ffffff;
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    width: 350px;
    text-align: center;
    transition: transform 0.3s ease;
}
.temp-container:hover {
    transform: scale(1.05);
}
.temp-container h2 {
    font-size: 1.8em;
    color: #333;
    margin-bottom: 20px;
}
.temp-container input[type="number"] {
    padding: 12px;
    width: 100%;
    margin-bottom: 15px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    text-align: center;
    transition: border-color 0.3s ease;
}
.temp-container input[type="number"]:focus {
    border-color: #007bff;
    outline: none;
}
.temp-container select {
    padding: 12px;
    width: 100%;
    margin-bottom: 20px;
    border-radius: 5px;
    border: 1px solid #ddd;
    font-size: 1em;
    background-color: #fafafa;
}
.temp-container .result {
    margin-top: 20px;
    font-size: 1.2em;
    font-weight: bold;
    color: #444;
}
.temp-container .error {
    color: red;
}
.temp-container .unit-label {
    margin-top: 10px;
    font-size: 1.1em;
    color: #333;
}


@media (min-width: 992px) {
    #hero .img-fluid {
        min-height: 350px;
    }

    #hero .hero-txt {
        top: 10vh;
    }

    #hero h1 {
        font-size: 38px;
    }

    #header {
        padding: 0;
    }

    .navbar-brand {
        margin-right: 64px;
        max-width: none;
    }

    .navbar-expand-lg .navbar-nav {
        gap: 16px;
    }

    .mobile-btn {
        display: none;
    }

    .desktop-btn {
        display: block;
    }

    h1.section-title {
        text-align: unset;
    }

    .section-container {
        padding: 80px 0;
    }

    .bullet-points-col-2 {
        -webkit-column-count: 2;
        /* Chrome, Safari, Opera */
        -moz-column-count: 2;
        /* Firefox */
        column-count: 2;
    }

    #about-permits .section-row-16 {
        max-width: 30%;
    }

    #article .section-emphasis {
        width: 70%;
    }
}


@media (min-width: 1200px) {
    #hero .img-fluid {
        min-height: 500px;
    }
}