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

img {
    margin: 6px;
    width: 155px;
    height: 169px;
    border-radius: 5px;
    flex-basis: 70px;
    box-shadow: 3px 3px 2px rgb(0 0 0 / 18%);
}


.card {
    width: 357px;
    height: 190px;
    background: #F5EEDC;
    font-family: Arial, Helvetica, sans-serif;
    font-size: 11px;
    color: black;
    margin: 5px;
    list-style-type: none;
    border-radius: 5px;
    box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.5);
}

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

h3 {
    margin: 5px 0px 3px 0;
    margin-left: 10px;
    font-size: 14px;
    text-align: left;
    color: #266bb6;
}

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

dl {
    display: flex;
    flex-direction: row;
    margin-top: 5px;
}

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;
    height: 90px;
    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: 30px;
    margin: 15px 0 10px;
}

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

.actionsContainer {
    display: flex;
    /* gap: 4px; */
    place-items: center;
}

.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: #F5EEDC;
    height: 100%;
    margin: 0;
}

section {
    background: #F5EEDC;
    padding: 15px 10px;
    flex-direction: row;
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 10px;
    box-shadow: 1px 0px 10px 0px #000000b0;
    padding: 8px 10px 18px;
}

label {
    font-family: 'Inter', sans-serif;
    color: black;
    font-size: 11px;
    font-weight: 500;
    margin-left: 1px;
}

select {
    padding: 4px 1px;
    display: inline-flex;
    text-align: justify;
    background-color: rgb(250, 249, 249);
    border-radius: 2px;
    font-size: 10px;
    font-family: sans-serif;
    border-color: #007bff;
    font-weight: 600;
}

.iconKey {
    fill: #007bff;
    color: #007bff;
    width: 38px;
    height: 42px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
}

.texApiKeyIcon {
    margin: 0;
    color: black;
    font-family: 'Inter', sans-serif;
    font-size: 11px;
    font-weight: 500;
}


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

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

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

#showApiKeyDialog {
    fill: #007bff;
    color: #2672c4;
    width: 25px;
    height: 25px;
    place-self: start;
}

#closeApiKeyDialog {
    border: 0;
    background-color: transparent;
    font-size: 25px;
    font-weight: 700;
    color: #000;
    opacity: .5;
    line-height: 1;
    position: relative;
    bottom: 10px;
    left: 10px;
}

#apiKeyDialog {
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid rgba(0, 0, 0, .2);
    border-radius: 4px;
    box-shadow: 1px 0px 10px 0px #000;
}

.dialogHeader {
    display: flex;
    justify-content: space-between;
    place-items: center;
    margin-bottom: 10px;
}

.dialogHeader>label {
    font-size: 14px;
    font-weight: 600;
}

.dialogBody {
    display: flex;
    flex-direction: column;
    min-width: 300px;
    gap: 1rem;
}

.dialogBody>input {
    padding: 4px;
    background-color: rgb(250, 249, 249);
    border-radius: 3px;
    font-size: 12px;
    font-family: sans-serif;
    font-weight: 500;
    border: 1px solid #007bff;
}

.custom-button {
    padding: 5px;
    border-radius: 5px;
    font-size: 10px;
    font-family: sans-serif;
    font-weight: 700;
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    margin-left: auto;
    cursor: pointer;
    width: fit-content;
    place-self: end;
}

#iconGroupChat {
    width: 30px;
    height: 30px;
    margin-left: 309px;
}

#iconChatGroup {
    fill: #007bff;
    color: #2672c4;
    width: 38px;
    height: 43px;
    place-self: start;
    margin-right: -9px;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 999;
    opacity: 1.5;
    background-color: white;
    display: inline-block;
    border-radius: 60px;
    box-shadow: 0 0 2px #888;
    padding: 0.5em 0.6em;
}

.iconChat {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: -13px;
}

.bodySection {
    min-height: 100vh;
    display: grid;
    grid-template-rows: auto 1fr auto;
}

.buttonInfoAndChat {
    position: absolute;
    margin-left: 238px;
    margin-top: 154px;
}

#moreInfo {
    background-color: rgb(250, 249, 249);
    border-radius: 5px;
    font-size: 12px;
    font-family: sans-serif;
    border-color: #007bff;
    font-weight: 600;
}

#individualChat {
    background-color: rgb(250, 249, 249);
    border-radius: 5px;
    font-size: 12px;
    font-family: sans-serif;
    border-color: #007bff;
    font-weight: 600;
}

#viewIndividualChat {
    background-image: url("https://i.ibb.co/7j0dKxx/Rectangle-47-1.png");
}

.contentIcons {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    height: 40px;
    background: #F5EEDC;
    align-items: flex-end;
    justify-content: space-between;
    align-content: stretch;
}

#iconChatG {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
    fill: #007bff;
    color: #2672c4;
    width: 45px;
    height: 43px;
}

#homeIcon {
    fill: #007bff;
    color: #007bff;
    width: 45px;
    height: 43px;
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-content: center;
    justify-content: space-between;
}

.iconChat {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-around;
    align-items: flex-start;
    margin-top: -13px;
    align-content: flex-start;
    flex-direction: column;
}

#textHome {
    margin: 0;
    font-size: 12px;
    text-align: center;
    line-height: 0.8;
    color: #266bb6;
}

#textKey {
    margin: 0;
    font-size: 12px;
    text-align: center;
    line-height: 0.8;
    color: #266bb6;
}

#textSociety {
    margin: 0;
    font-size: 12px;
    text-align: center;
    line-height: 0.8;
    color: #266bb6;
}

#headerChat {}

#bodyChat {
    background-image: url(https://i.ibb.co/7j0dKxx/Rectangle-47-1.png);
    width: 100%;
    height: 100%;
    background-repeat: round;
}

.sharkImg {
    width: 100px;
    height: 100px;
    border-radius: 4rem;
    margin-right: 1rem;
    margin-top: 1rem;
}

.message-input {
    margin-top: 344px;
    place-self: end;
    border-radius: 3rem;
    align-self: center;
    border: none;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
    grid-column: 1;
    grid-row: 2;
    height: 40px;
    width: calc(100% - 80px);
    padding-left: 1rem;
}

.nameSharks {
    margin: 5px 0px 3px 0;
    margin-left: 119px;
    font-size: 16px;
    text-align: left;
    color: #000;
}

#iconSends {
    position: absolute;
    bottom: 4px;
    transform: translateX(-46px);
    width: 35px;
    height: 35px;
    fill: #007bff;
    color: #007bff;
}

.response-container {
    margin: 0 0 10px;
}

.user-response {
    background-color: #52a2f9;
    padding: 5px 10px;
    border-radius: 5px;
    margin-right: 50%;
}

.ai-response {
    background-color: #e0e0e0;
    padding: 5px 10px;
    border-radius: 5px;
    margin-left: 50%;
}

.input-container {
    position: relative;
}

.wordsuser {
    font-family: sans-serif;
    color: #ffffff;
}

.responsemessage {
    font-family: sans-serif;
    color: black;
}



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

    h1 {
        font-size: 64px;
        margin-top: -30px;
    }

    h2 {
        font-size: 32px;
    }

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

    .card {
        width: 420px;
        height: 440px;
        font-size: 20px;
        flex-wrap: wrap;
        display: flex;
    }

    img {
        width: 400px;
        height: 260px;
        flex-basis: auto;
        margin: 5px 10px 10px 10px;
    }

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

    h3 {
        font-size: 18px;
        margin-left: 20px;

    }

    h4 {
        font-size: 15px;
        margin-left: 20px
    }

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

    .p {
        font-size: 24px;
    }

    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-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;
        margin-left: 15px;

    }

    #longevityText {
        font-family: 'Inter', sans-serif;
        color: black;
        font-size: medium;
        font-weight: 700;
        margin-right: 140px;
        margin-left: 10px;
        position: relative;
    }

    .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;
        margin-left: -121px;
    }

    #clearFilter {
        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;
        margin-left: 15px;

    }

    .iconKey {
        fill: #007bff;
        color: #007bff;
        width: 45px;
        height: 43px;
        margin-left: 25px;
        margin-top: -35px;
        cursor: pointer;
    }

    .texApiKeyIcon {
        font-size: medium;
        color: black;
        margin-left: -50px;
        margin-top: 32px;
        font-family: 'Inter', sans-serif;
        font-weight: 700;
    }

    #showApiKeyDialog {
        fill: #007bff;
        color: #2672c4;
        width: 25px;
        height: 25px;
        place-self: start;
        position: absolute;
        right: 95px;
        top: 85%;
        transform: translateY(-50%);
    }

    #iconChatGroup {
        fill: #007bff;
        color: #2672c4;
        width: 38px;
        height: 43px;
        place-self: start;
        margin-right: -9px;
        position: fixed;
        bottom: 20px;
        right: 20px;
        z-index: 999;
        opacity: 1.5;
        background-color: white;
        display: inline-block;
        border-radius: 60px;
        box-shadow: 0 0 2px #888;
        padding: 0.5em 0.6em;
    }

    .buttonInfoAndChat {
        position: absolute;
        margin-left: 277px;
        margin-top: 273px;
    }

    #moreInfo {
        background-color: rgb(250, 249, 249);
        border-radius: 5px;
        font-size: medium;
        font-family: sans-serif;
        border-color: #007bff;
        font-weight: 600;
        padding: 5px;
    }

    #individualChat {
        background-color: rgb(250, 249, 249);
        border-radius: 5px;
        font-size: medium;
        font-family: sans-serif;
        border-color: #007bff;
        font-weight: 600;
        padding: 5px;
    }

    header {
        padding: 50px;

    }

    footer {
        padding: 0rem;
        height: 60px;
    }
}