body,
html {
    margin: 0;
    padding: 0;
    background-color: white;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', sans-serif;
}

.margin-right {
    margin-right: 10px;
}

.top-section-wrapper {
    overflow: hidden;
    background-color: #001D37;
    padding-left: 16px;
    padding-right: 16px;
    /* padding-bottom: 150px; */
}

.top-section {
    color: white;
    padding-top: 80px;
    padding-bottom: 80px;
    max-width: 1066px;
    margin: 0 auto;
    position: relative;
}

.actual-top-content {
    z-index: 2;
    position: relative;
}

.top-section h1 {
    font-size: 4rem;
    margin: 0;
    line-height: 97.3%;
    max-width: 525px;
}


.intro-text {
    font-size: 1.25rem;
    line-height: 169.5%;
    margin: 1rem 0;
    max-width: 435px;
}


.intro-buttons {
    margin-bottom: 70px;
}

.our-btn {
    display: inline-block;
    font-size: 1.125rem;
    font-weight: 600;
    background-color: #475AFF;
    border: 2px solid #475AFF;
    color: #FFF;
    text-decoration: none;
    padding: 13px 25px;
    border-radius: 1000px;
    transition: background-color .3s ease-out, border .3s ease-out, color .3s ease-out;
}

.our-btn:hover {
    background-color: #2E40E2;
    border: 2px solid #2E40E2;
}

.our-btn--outline {
    background-color: transparent;
    border: 2px solid white;
}

.our-btn--outline:hover {
    background-color: white;
    color: #475AFF;
    border: 2px solid white;
}

.utility-mr {
    margin-right: 10px;
}

.intro-feature {
    padding: 33px 25px;
    border: 1px solid rgba(255, 255, 255, .24);
}

.intro-feature p {
    margin: 0;
    font-size: 1.0625rem;
}

.intro-feature h2 {
    font-size: 1.5rem;
    margin: 31px 0 3px 0;
}

.intro-features {
    display: grid;
    column-gap: 16px;
    row-gap: 16px;
}

@media screen and (min-width: 580px) {
    .intro-features {
        grid-template-columns: 1fr 1fr;
    }
}

@media screen and (min-width: 900px) {
    .intro-features {
        /* grid-template-columns: 1fr 1fr 1fr 1fr; */
        grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    }
}

.circle {
    width: 617px;
    height: 617px;
    background: #D660FF;
    opacity: .85;
    border-radius: 50%;
    filter: blur(150px);
    position: absolute;
    top: 62px;
    right: -390px;
}

.circle-two {
    width: 617px;
    height: 617px;
    background: #6079FF;
    opacity: .85;
    border-radius: 50%;
    filter: blur(150px);
    position: absolute;
    top: -365px;
    left: -123px;
}

.pet-section {
    background-color: white;
    padding: 70px 16px;
    margin: 0;
    margin-left: 25px;
    margin-right: 25px;
}

.pets-wrapper {
    max-width: 1066px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    margin: 0;
    line-height: 1;
}


.pet-filter {
    color: #959595;
    font-size: 1.175rem;
}

.pet-filter button {
    background-color: transparent;
    border: none;
    font-size: 1.175rem;
    font-family: "Source Sans 3", sans-serif;
    color: #959595;
}

.pet-filter button:hover {
    color: #686767;

}

.pet-filter .active,
.pet-filter .active:hover {
    color: #1d44f5;
    text-decoration: underline;
}

.pet-list-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(390px, 1fr));
    column-gap: 34px;
    row-gap: 28px;
}

.pet-card {
    overflow: hidden;
    display: grid;
    grid-template-columns: 165px 1fr;
    border: 1px solid #f3f3f3;
    border-radius: 20px;
    box-shadow: 2px 2px 5px 0px rgba(0, 0, 0, 0.08);
}

.pet-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.pet-card-photo {
    order: 1;
    grid-row: 1;
}

.card-header {
    display: grid;
    grid-template-columns: 1fr 1fr;
    position: relative;
}

.contact-owner-icon {
    margin: 0 auto;
    height: 40px;
    width: 40px;
    position: absolute;
    right: -10px;
    top: -10px;
}

.pet-card-text {
    padding: 20px 30px;
}

.pet-card-text h3 {
    margin: 0 0 10px 0;
    font-size: 1.625rem;
    font-weight: 600;
}

.pet-card-description {
    margin: 0 0 1rem 0;
    color: #626262;
    line-height: 150%;
}

@media screen and (min-width: 600px) {
    .pet-card-description {
        font-size: 1rem;
    }

    .pet-age {
        color: #a2a2a2;
        margin: 0;
    }



    .site-footer {
        color: #a6a6a6;
        font-size: 0.875rem;
        text-align: center;
    }

    @media screen and (min-width: 600px) {
        .pet-card-description {
            font-size: 1rem;
        }

        .pet-card-text {
            padding: 21px 29px;
        }

        .pet-list-section {
            row-gap: 28px;
        }

        .pet-filter {
            font-size: 1.375rem;
        }

        .home-top {
            padding-top: 139px;
            padding-bottom: 139px;
        }

        .intro-features {
            grid-template-columns: 1fr 1fr 1fr 1fr;
        }

        .section-title {
            font-size: 5.31rem;
        }

        .pet-filter>button {
            font-size: 1.375rem;
        }

        .pet-section {
            padding: 130px 16px;
        }

        .intro-buttons {
            margin-bottom: 129px;
        }

        .top-section h1 {
            font-size: 6.25rem;
        }

        .top-section {
            padding-top: 139px;
            padding-bottom: 139px;
        }
    }