ul {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    flex-direction: row;
    padding: 0;
    justify-content: center;
}

img {
    width: 70px;
    height: 66px;
    border-radius: 5px;
    flex-basis: 70px;
}

.card {
    width: 300px;
    height: 110px;
    background: #F5EEDC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: small;
    color: black;
    margin: 10px;
    list-style-type: none;
}

p {
    font-family: Arial, Helvetica, sans-serif;
    font-size: xx-small;
    color: black;
    text-align: left;
    margin: 0cap;
    margin-left: 10px;
    margin-left: 10px;
    margin-top: 5px;
    margin-bottom: 2px;
}

h3 {
    margin: 0 0 2px 0;
    margin-left: 10px;
    font-size: 15px;
    text-align: left;
}

h4 {
    text-align: left;
    margin: 0 0 5px 0;
    margin-left: 10px;
    opacity: 0.7;
    font-style: italic;
}

dl {
    display: flex;
    flex-direction: row;
}

header {
    background-image: url(https://images.unsplash.com/photo-1530053969600-caed2596d242?q=80&w=2874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: bottom;
    filter: contrast(106%);
    background-repeat: no-repeat;
    color: #FFFFFF;
    padding: 10px;
    text-align: center;

}

footer {
    background-image: url(https://images.unsplash.com/photo-1530053969600-caed2596d242?q=80&w=2874&auto=format&fit=crop&ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D);
    background-size: cover;
    background-position: bottom;
    filter: contrast(106%);
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #FFFFFF;
    padding: 0;
    text-align: center;
    width: 100%;
    height: 37px;
    font-size: 10px;
}

h1 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 50px;
}

h2 {
    font-family: 'Inter', sans-serif;
    font-weight: 800;
    font-size: 20px;
}

.p {
    background-size: 0%;
    padding: 10px;
    text-align: center;
    color: #FFFFFF;
    font-size: 15px;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
}

main {
    background-color: #DAD7D7;
    padding: px;
    text-align: center;
}

body {
    background-repeat: no-repeat;
    background-attachment: fixed;
    background-size: cover;
    color: #FFFFFF;
    height: 100%;
    margin: 0;
}

section {
    background: #F5EEDC;
    padding: 1rem 0;
    flex-direction: row;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
}

label {
    font-family: 'Inter', sans-serif;
    color: black;
    font-size: small;
    font-weight: 700;
    margin-right: 3px;
    margin-left: 1px;
}

select {
    padding: 0px;
    display: inline-flex;
    gap: 500px;
    text-align: justify;
    background-color: rgb(250, 249, 249);
    border-radius: 5px;
    font-size: x-small;
    font-family: sans-serif;
}
#clearFilter {
    padding: 5px;
    border-radius: 5px;
    font-size: 8px;
    font-family: sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    margin-left: auto;
    margin-right: 52px;
    cursor: pointer;
}

#longevityText {
    color: black;
    font-family: 'Inter', sans-serif;
    font-size: x-small;
    font-weight: 700;
    margin-left: 2px;
}

#longevityProm {
    padding: 5px;
    border-radius: 5px;
    font-family: sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    cursor: pointer;
    font-size: 8px;
}

@media (min-width : 900px) {
    body {
        background-color: rgb(209, 206, 206);
    }

    .card {
        width: 424px;
        height: 424px;
        font-size: 20px;
    }

    img {
        width: 386px;
        height: 253px;
        flex-basis: auto;
    }

    dl {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    h3 {
        font-size: 20px;
    }

    h4 {
        font-size: 15px;
    }

    p {
        font-size: 15px;
        font-family: Arial, Helvetica, sans-serif;
    }

    h1 {
        font-size: 64px;
    }

    h2 {
        font-size: 32px;
    }

    div {
        align-self: start;
        margin-left: 10px;
        margin-top: 5px;
    }

    footer {
        height: 97px;
    }

    .p {
        font-size: 24px;
    }

    .longevity {
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0 4%;
        background-size: cover;
        background-position: bottom;
        filter: contrast(96%);
        width: 100%;
        height: 100%;
        border-radius: 5px;
    }

    #longevityProm {
        padding: 5px;
        border-radius: 5px;
        font-size: medium;
        font-family: sans-serif;
        font-weight: 700;
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
        cursor: pointer;
    }

    #longevityText {
        font-family: 'Inter', sans-serif;
        color: black;
        font-size: medium;
        font-weight: 700;
        margin-right: 15px;
        margin-left: 15px;
    }
    
    section {
        background: #F5EEDC;
        padding: 1rem 0;
        display: flex;
        flex-direction: row;
        align-items: center;
        margin: 0 4%;
    }

    label {
        font-family: 'Inter', sans-serif;
        color: black;
        font-size: medium;
        font-weight: 700;
        margin-right: 15px;
        margin-left: 15px;
    }

    select {
        padding: 5px;
        display: inline-flex;
        gap: 500px;
        text-align: left;
        background-color: rgb(250, 249, 249);
        border-radius: 5px;
        font-size: medium;
        font-family: sans-serif;
    }

    #clearFilter {
        padding: 5px;
        border-radius: 5px;
        font-size: medium;
        font-family: sans-serif;
        font-weight: 700;
        color: #fff;
        background-color: #007bff;
        border-color: #007bff;
        margin-left: auto;
        margin-right: 15px;
        cursor: pointer;
    }
}