* {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', sans-serif;
    box-sizing: border-box;
}

.container {
    width: 100%;
    height: 100vh;
    background-image: url(pexels-sohail-nachiti-807598.jpg);
    background-size: cover;
    display: flex;
    align-items: center;
    justify-content: center;
}

.searchbox {
    background: white;
    width: 90%;
    max-width: 650px;
    padding: 10px;
    display: flex;
    align-items: center;
    border-radius: 50px;
    height: 85px;
    position: relative;
    overflow: hidden;
}

.searchbox input {
    flex: 1;
    padding: 15px 10px;
    border: 0;
    outline: 0;
    background: transparent;
    font-size: 25px;
}

.searchbox button img {
    width: 25px;
}

.searchbox button {
    padding: 10px 12px;
    border: 0;
    outline: 0;
    background: transparent;
    cursor: pointer;
}

.slider {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation: slider 6s linear infinite;
}

.slider div {
    height: 85px;
    display: flex;
    align-items: center;
}

.slider img {
    width: 40px;
}

@keyframes slider {
    0% { transform: translateY(-85px); }
    5% { transform: translateY(0px); }
    30% { transform: translateY(0px); }
    35% { transform: translateY(85px); }
    65% { transform: translateY(85px); }
    75% { transform: translateY(170px); }
    100% { transform: translateY(170px); }
}

/* Media Queries for Mobile Devices */
@media (max-width: 768px) {
    .searchbox {
        height: 70px;
        max-width: 500px;
    }

    .searchbox input {
        font-size: 20px;
    }

    .searchbox button img {
        width: 20px;
    }

    .slider img {
        width: 30px;
    }
}

@media (max-width: 480px) {
    .searchbox {
        height: 60px;
        max-width: 90%;
    }

    .searchbox input {
        font-size: 18px;
    }

    .searchbox button img {
        width: 18px;
    }

    .slider img {
        width: 25px;
    }
}
