body {
    font-family: Arial;
    margin: 0 0 20px
}

.copyright {
    text-decoration: none;
    color: #000
}
.altf21 {
    margin-top: 10px;
}
.text_link {
    text-decoration: none;
    color: #007BFF
}

.search-container {
    margin-top: 24px;
    margin-bottom: 1px
}

.search {
    border-radius: 6px;
    position: relative;
    top: -5px;
    padding: 5px
}

.card {
    width: 250px;
    padding: 5px;
    border-radius: 8px;
    border: 2px solid #ccc;
    background-color: #f7f7f7
}

.card img {
    width: 56px;
    height: 56px;
    border: 0;
    display: block
}

.card a {
    color: #007BFF;
    text-decoration: none
}

.card a:hover {
    text-decoration: underline
}

.results {
    list-style-type: none;
    padding: 0;
    display: none
}

.results li {
    padding: 10px;
    border: 3.4px solid #000000da;
    border-radius: 10px;
    background-color: #ffffff1f;
    margin-bottom: 5px;
    display: flex;
    align-items: center
}

.results img {
    margin-right: 10px;
    width: 40px;
    height: 40px
}

#results a {
    text-decoration: none;
    color: #000;
    width: 100%
}

.cards-container {
    display: flex;
    margin: 0;
    flex-wrap: wrap;
    gap: 24px
}

@media screen and (min-width: 1200px) {
    .cards-container {
        flex-direction:row;
        justify-content: flex-start;
        align-items: flex-start
    }

    .card {
        flex: 1 1 250px;
        max-width: 30%
    }
}

@media screen and (max-width: 600px) {
    .card {
        width:100%;
        box-sizing: border-box
    }
}
