body {
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    font-family: 'Segoe UI', sans-serif;
    background-color: rgb(255, 255, 255);
}

form {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-input {
    width: 100%;
    border: none;
    height: 30px;
    box-shadow: 0px 0px 8px 5px rgba(34, 60, 80, 0.26);
    border-radius: 10px;
}

.search-btn {
    margin-top: 1px;
    border: none;
    max-width: 40px;
    max-height: 40px;
    background-color: transparent;
}

.elements {
    margin-top: 20px;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.element_link {
    text-decoration: none;
    color: black;
}

.element {
    border-radius: 16px;
    width: 100%; 
}

.element_img {
    aspect-ratio: 1 / 1; 
    border-radius: 16px;
}

.element_text {
    margin: 10px;
    font-size: 14px;
    line-height: 1.4;
}

.element_text b {
    font-size: 16px;
    display: block;
    margin-bottom: 4px;
}

.element_text i {
    font-style: italic;
    color: #555;
}

.like {
    margin-top: 6px;
    display: inline-block;
    cursor: pointer;
}

.footer {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    padding: 10px 0;
    box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
    z-index: 100;
}

.footer-icon img {
    width: 28px;
    height: 28px;
    transition: transform 0.2s ease;
}