@charset "UTF-8";

h2 {
    font: 700 4.3rem/5.2rem var(--font5);
    text-align: center;
    color: var(--color3);
    margin: auto;
}

.who {
    background-color: var(--color9);
}

.who .container-four {
    width: 100%;
    max-width: 141rem;
    margin: auto;
    padding: 8rem 1rem 10rem;
}

.who .container-four .cards {
    width: 100%;
    margin: 10rem auto 0;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 4rem 2rem;
}

.who .container-four .cards .card {
    width: 100%;
    max-width: 45rem;
    border-radius: 2rem;
    border: none;
    padding: 4.8rem 1rem 6.4rem;
    position: relative;
    overflow: hidden;
    background-color: var(--color0);
    box-shadow: 2px 6px 27px 4px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    align-items: center;
    align-self: stretch;
    transition: 300ms ease-in-out;
}

.who .container-four .cards .card:hover {
    transform: translateY(-5px);
}

.who .container-four .cards .card img {
    width: 100%;
    max-width: 16rem;
}

.who .container-four .cards .card h3 {
    font: 700 3rem/3.6rem var(--font5);
    color: var(--color3);
}

.who .container-four .cards .card p {
    font: 400 1.6rem/2.5rem var(--font2);
    text-align: center;
    color: var(--color3);
    width: 100%;
    max-width: 39rem;
    margin: 2rem auto 0;
}

.who .container-four .cards .card-three p {
    text-align: left;
}

.family {
    padding: 10rem 1rem 11rem;
    background: linear-gradient(135deg, var(--color5), var(--color6));
}

.family h2 {
    width: 100%;
    max-width: 73.1rem;
    color: var(--color0);
}

.family .button {
    display: flex;
    padding: 1.6rem 2.1rem 1.2rem;
    width: 100%;
    max-width: 22.8rem;
    margin: auto;
    border: none;
    border-radius: 10rem;
    background-color: var(--color0);
    font: 700 1.7rem/1.7rem var(--font5);
    color: var(--color5);
    box-shadow: rgba(0, 0, 0, 0.15) 0 4px 13px 1px;
    transition: 300ms ease-in-out;
}

.family .button::before {
    content: url(./assets/heart.png);
    width: 2.1rem;
    height: 1.9rem;
    margin-right: 1rem;
}

.family .button:hover {
    transform: translateY(-2px);
}

footer {
    background-color: var(--color3);
    padding: 4rem 1rem 3.2rem;
}

footer .container-eight {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 6rem;
    width: 100%;
    max-width: 103rem;
    margin: auto;
}

footer .container-eight .container-one {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 31.2rem;
}

footer .container-eight .container-one .footer-logo {
    width: 100%;
}

footer .container-eight .container-one .socials {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 15.2rem;
    margin-top: 4rem;
}

footer .container-eight .container-one .socials img {
    width: 100%;
    max-width: 4.1rem;
    height: auto;
    transition: 0.3s ease-in-out;
}

footer .container-eight img:hover {
    transform: scale(1.03);
}

footer .container-eight .container-two {
    width: 100%;
    max-width: 28rem;
}

footer .container-eight h4 {
    font: 700 3rem/3.6rem var(--font5);
    color: var(--color0);
    position: relative;
    padding-bottom: 1rem;
}

footer .container-eight h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: var(--color5);
}

footer .container-eight .container-two nav {
    display: flex;
    justify-content: space-between;
    margin-top: 1rem;
    gap: 2rem;
}

footer .container-eight .container-two ul li {
    font: 600 1.6rem/3.8rem var(--font4);
    color: var(--color2);
    transition: color 0.3s ease, transform 0.3s ease;
}

footer .container-eight .container-two ul li:hover {
    color: var(--color5);
    transform: translateX(5px);
}

footer .container-eight .contact-and-apps {
    width: 100%;
    max-width: 26rem;
}

footer .container-eight .contact-and-apps h4 {
    margin-bottom: 2rem;
}

footer .container-eight .contact-and-apps p {
    display: flex;
    align-items: center;
    font: 600 1.6rem / 1.6rem var(--font4);
    color: var(--color2);
    margin-bottom: 2rem;
    gap: 0.5rem;
}

footer .container-eight .contact-and-apps img {
    width: 100%;
    max-width: 2.2rem;
    height: auto;
    transition: 0.3s ease-in-out;
}

footer .container-eight .contact-and-apps .apps {
    display: flex;
    justify-content: space-between;
    width: 100%;
    max-width: 23rem;
}

footer .container-eight .contact-and-apps .apps img {
    width: 100%;
    max-width: 11.5rem;
    height: auto;
    margin: 1rem 0 0;
    transition: 0.3s ease-in-out;
}

footer .line {
    display: block;
    width: 100%;
    max-width: 118rem;
    height: 0.1rem;
    margin: 4rem auto 2.5rem;
    background-color: var(--color2);
}

footer .copyright {
    font: 500 1.4rem/1.4rem var(--font3);
    color: var(--color2);
    text-align: center;
    width: 100%;
    margin: auto;
}

@media (max-width: 1023px) {
    footer .container-eight {
        max-width: 60rem;
        padding: 4rem 1rem 3.2rem;
    }

    footer .container-eight h4 {
        text-align: center;
    }

    footer .container-eight h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 767px) {
    h2 {
        font-size: 3.2rem;
        line-height: 4rem;
    }

    .who .container-four .cards {
        margin: 6rem auto 0;
    }

    .family h2 {
        max-width: 44rem;
    }
}

@media (max-width: 539px) {
    .who .container-four .cards .card p {
        font-size: 1.6rem;
    }

    .family h2 {
        max-width: 33rem;
    }
}

@media (max-width: 374px) {}